Commit Graph

8525 Commits

Author SHA1 Message Date
Dion Moult cc338d8acc Forgot rabbit branding. 2024-04-16 11:05:24 +02:00
Dion Moult 0f0d600f3f New data purging IfcPatch recipe 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
Dion Moult f40281e979 Fix #3948. Bug where IfcTester PartOf facet didn't correctly read entity XML. 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 9571146065 Fix #3951. mats selector now supports IfcMaterialList. 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 c9dcd70cdb Improve data type error reporting 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 6759914188 See #3953. Fix bug where IDSes with a single enumeration value didn't validate. 2024-04-16 11:05:24 +02:00
Dion Moult 7f1a500445 Fix #3957. Fix bug where shared properties were not edited independently. 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
Ryan Schultz bb5fccf6fe More IFC class suggestions 2024-04-16 11:05:23 +02:00
Dion Moult cd5b54e240 Disable batching for removal as it doesn't seem to help mostly from experience. Still testing. 2024-04-16 11:05:23 +02:00
Dion Moult cbac393855 See #3955. PyPI release now specifies compatible Python versions. 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
Thomas Krijnen a7e925b942 Update test file for case insensitivity. Thanks Igor. 2024-04-16 11:05:23 +02:00
Dion Moult b07f7bcc58 get_footprint_area now unions 2D polygons to prevent double counting 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
Andrej730 1647acf0ca ifc2x3 pset library - fix bunch of unit related vlaidation errors #3929 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