Commit Graph

3330 Commits

Author SHA1 Message Date
Andrej730 29dda335ea test stairs calculated params 2024-04-16 11:05:25 +02:00
Andrej730 168095b1c1 Nosing Lengths / Tread Gap for parametric stairs #3422
Example - https://imgur.com/d8PxLV4
2024-04-16 11:05:25 +02:00
Ryan Schultz 66f57f90df Select multiple arrays at one time, from various parts. Deselect non-compliant objects. 2024-04-16 11:05:25 +02:00
Dion Moult 87a98afb64 Black 2024-04-16 11:05:24 +02:00
Andrej730 12a6bf88a9 Customize tread width for the first and last treads #3419
Available on all types of stairs, shouldn't break stairs previously created with BBIM.
Example - https://imgur.com/a/2wSueTM
2024-04-16 11:05:24 +02:00
Andrej730 3317dbd4a1 minor refactor 2024-04-16 11:05:24 +02:00
Andrej730 ba1a84e51b add force depsgraph update method 2024-04-16 11:05:24 +02:00
Andrej730 2697703bb1 skip black format on type manager template description for readibility 2024-04-16 11:05:24 +02:00
Andrej730 617c8b9fd5 stair profile generation code refactor
hopefully it's now a bit more readable
2024-04-16 11:05:24 +02:00
Andrej730 3ec513c56a Fixed stair calculated params not updating during edit (after 8b23c615c)
.data doesn't update on props change, so need to take data from props explicitly when BIMStairProperties.is_editing
2024-04-16 11:05:24 +02:00
Andrej730 7d25261395 move generate_stair_2d_profile to tool, add tests 2024-04-16 11:05:24 +02:00
Dion Moult fefb3cc0f2 Fix #3963. Bind IFC separate to P hotkey and prevent separation on non-IFC meshes. 2024-04-16 11:05:24 +02:00
Andrej730 611f7518d0 Fix issue with calculated params in stair ui
it was displaying incorrect data when stair was just loaded because it was relying on BIMStairProperties in ui.py
2024-04-16 11:05:24 +02:00
Dion Moult e2b132ba51 See #3951. IfcCSV now supports list concatenation. 2024-04-16 11:05:24 +02:00
Dion Moult c94dc3b47e Fix #3961. Improve UI so setting null now clears the value. 2024-04-16 11:05:24 +02:00
Andrej730 01dfd6f79a bim.select_all_array_objects not to clear previous selection #3960 2024-04-16 11:05:24 +02:00
Dion Moult 2bd7ce5996 Fix #3958. Bug where reassigning type class would incorrectly assign occurrence classes. 2024-04-16 11:05:24 +02:00
Dion Moult f4f227ffe7 Fix regressions in mapped native swept disk handling 2024-04-16 11:05:24 +02:00
Andrej730 edfe9fbcfa fix future warning for xml.etree
The warning was: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
2024-04-16 11:05:24 +02:00
Andrej730 f6eb1b0e78 remove blf.size deprecated dpi argument #3876
turn out it wasn't working for awhile now and in Blender 4.0 was completely removed
2024-04-16 11:05:24 +02:00
Andrej730 f3aa456677 Move new Blender 4.0 Simulation section to Scene/Blender tab #3876 2024-04-16 11:05:24 +02:00
Andrej730 7d785d70a2 Warning message on copying node graph on Blender 4.0+ #3876
As we're still looking for a workaround
2024-04-16 11:05:24 +02:00
Andrej730 9d642a0f5d Remove 3D shaders prefix #3876
In Blender 4.0 3D_* shaders are called without "3D_" prefix, otherwise it throws an error. Tested on Blender 3.6 - they work without "3D_" prefix too.
2024-04-16 11:05:23 +02:00
Andrej730 9499f4e80d More context override fixes #3876 2024-04-16 11:05:23 +02:00
Andrej730 5695efa997 fixing test after 0d0b91e 2024-04-16 11:05:23 +02:00
Gorgious56 036c14b538 You can now eyedrop an object in the viewport to copy container when editing container 2024-04-16 11:05:23 +02:00
Gorgious56 c9199caba5 You can now eyedrop an object in the viewport to copy class and predefined type when reassigning class 2024-04-16 11:05:23 +02:00
Gorgious56 e851d6b671 Clicking on an entry in the search field popup automatically validates and closes the popup
No need to click on "OK" anymore.
This is not a hacky workaround using the mouse position, it uses a signal sent to Blender to close the active popup
See https://blenderartists.org/t/programatically-close-pie-menu-2-79/1488807/2
re-committing since it seems I commited to the wrong branch last week
2024-04-16 11:05:23 +02:00
Andrej730 6a9ec1aa00 Replacing old context override method #3876 2024-04-16 11:05:23 +02:00
Andrej730 8b9790822e setup_pytest to find site-packages folder near sys.executable
Used to get errors running setup_pytest.py having python 3.10 installed on my pc (`sys_paths[-1]` was the system's python folder, not the blender's python).
2024-04-16 11:05:23 +02:00
Andrej730 9cd7d8428c Fixed #3949 2024-04-16 11:05:23 +02:00
Dion Moult 1a7b95bf1e Minor fix to Uniclass classification 2024-04-16 11:05:23 +02:00
Dion Moult cdc3f70ff4 Fix #3939. Bug where IfcLabel data type was incorrectly used for longer text data. 2024-04-16 11:05:23 +02:00
Ryan Schultz e641120166 Updated default JoinCriteria to accommodate new facet selector for statuses. 2024-04-16 11:05:23 +02:00
Andrej730 371c54036d test creating mep transition 2024-04-16 11:05:23 +02:00
Dion Moult 682990a30d Minor fixes 2024-04-16 11:05:23 +02:00
Dion Moult 11eefab4fc Add support for latest uniclass and add Uniclass July 2023 2024-04-16 11:05:23 +02:00
Sigma Dimensions (Yass) aa0d1cc230 fix displaying undefined or userdefined units in cost schedules 2024-04-16 11:05:23 +02:00
Sigma Dimensions (Yass) c18d756e74 fix displaying cost item totals 2024-04-16 11:05:23 +02:00
Massimo Fabbro b111d85830 New operator that creates a ceiling from cursor position in covering tool 2024-04-16 11:05:23 +02:00
Andrej730 056e0b050d fixed core tests after switch_representation changes 2024-04-16 11:05:23 +02:00
Andrej730 e09a57a9d3 "Edit Profile" in BIM Tool for mapped representations
basically now "edit profile" will be shown in BIM Tool UI and will work from shift+e hotkey if the active element's representation is mapped (for example, if it has openings)
2024-04-16 11:05:23 +02:00
Andrej730 746053eefb switch_representation to automatically switch to unresolved mapped representation
The cool thing about it now that it will automatically create a new mesh for "unresolved" representation if element has openings, otherwise it'll stick to the same mesh representation as the type object.

This fixed a few bugs:
- similar to b9a9abd but during extrusion profile edit
- applying void to the occurence used to remove the type and other occurences. Apparently it occured after 744c08e - previously we seems to rely on `ifcopenshell.geom.create_shape(settings, element)` to unresolve the representations. Though before 744c08e there still was an issue - it would apply the same opening to the all occurences and the type meshes but wasn't removing them.

Probably fixed a few other similar issues.
2024-04-16 11:05:23 +02:00
Andrej730 79b8125916 switch_representation not to break with temporary mesh representations
I've found a bug that if you have some object that consists of extrusion and can be edited in profile edit mode, when you finish editing, it would remove the type object (and I guess the other occurences objects).

It happened because during edit mode it's using temporary mesh data and `switch_representation` would replace this temp mesh data with new representation and remove the old mesh data that might still used by the other occurences and the type.

The issue also was leading to a crash during `box.template_icon(icon_value=AuthoringData.data["type_thumbnail"], scale=5)` if you had BIM Tool thumbnail preview opened in the process - removing type object would make thumbnail icon become invalid leading to the crash.

Crash mentioned here: https://community.osarch.org/discussion/1753/bbim-two-door-types-with-connected-properties
2024-04-16 11:05:22 +02:00
Dion Moult f30ceae7da Update beginners tutorial documentation with images from new UI. 2024-04-16 11:04:29 +02:00
Dion Moult f9236f8b42 You can now assign and unassign styles to materials 2024-04-16 11:04:29 +02:00
Dion Moult ca1925cc9f You can now specify a name when adding materials 2024-04-16 11:04:29 +02:00
Ryan Schultz acb29b5275 Additional clarification on save and save as 2024-04-16 11:04:29 +02:00
Dion Moult 13446cf6db Reorganise new stakeholders panel, move profiles into geometry tab. General UI polish. 2024-04-16 11:04:29 +02:00
Andrej730 fb650a8516 option to set active system
Now it's possible to set in UI active system (currently it's done "select" button next to the system).

Also changed the elements that are going to be decorated with system decorator. Previously it was decorating all the mep elements in the projects which was very performance heavy on large projects.
2024-04-16 11:04:29 +02:00