Commit Graph

9475 Commits

Author SHA1 Message Date
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
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
Andrej730 424042474b Merge systems UI into one
We had two very similar systems panels that were part of the old UI.
2024-04-16 11:04:29 +02:00
Dion Moult 5bb04010ae Fix #3095. Very basic implementation of a new zones panel. 2024-04-16 11:04:29 +02:00
Andrej730 91c7fe4628 Fixed tests after selector syntax update 2024-04-16 11:04:29 +02:00
Dion Moult c5e5f4ab6a Fix #3901. Add configurable list concatenation support in IfcFM. 2024-04-16 11:04:29 +02:00
Dion Moult eff68dda38 Fix #3903. Bug where stairs started off with an empty mesh and had a representation added, resulting in an invalid empty point cloud.
Now stairs have should_add_representation=False when creating the IfcStairFlight, and the representation is updated explicitly, similar to how parametric doors and windows etc have their representations updated.
2024-04-16 11:04:29 +02:00
Dion Moult afd3ac1881 Fix regression from 744c08e where type products cannot have an instance specified in create_shape 2024-04-16 11:04:29 +02:00
Dion Moult b5253556a9 Adding / editing shading / rendering styles in the style manager now updates Blender materials 2024-04-16 11:04:29 +02:00
Andrej730 bc9fc0b462 Forgot to fix test after 35d66f5 2024-04-16 11:04:29 +02:00
Andrej730 5d051b5bdd Fixed issue unlinking mesh objects
After d67eae5 delete_ifc_object is removing the meshes and it end up invalidating the unlinked object. Now mesh is copied before running delete_ifc_object
2024-04-16 11:04:29 +02:00
Andrej730 64f1ea9034 Fix tests after 808ff54 2024-04-16 11:04:29 +02:00
Andrej730 a5e667230d Minor fix after a47c57c 2024-04-16 11:04:29 +02:00
Andrej730 6297afa04c Fixed test after c34a9c5
Also fixed bug in the sheeter
2024-04-16 11:04:29 +02:00
Andrej730 219a5bbcf7 Fixed test after 418444a 2024-04-16 11:04:29 +02:00
Andrej730 ab39983d26 Fixed test after 90b40ff 2024-04-16 11:04:29 +02:00