Andrej730
4e070545ae
black .
2024-11-06 16:04:03 +05:00
Andrej730
262fca95e3
Bump IOS build #5661
2024-11-06 10:52:43 +05:00
Bruno Perdigão
6729739ee8
Fix a bug where the product decorator displays the incorrect position when type origin is not at world origin.
2024-11-04 10:48:11 -03:00
Bruno Perdigão
4a8710efd8
Fix product decorator to be uninstalled after mouse right click.
2024-11-04 10:27:49 -03:00
Ryan Schultz
f2c96b65e0
If perspective, don't add scale to the view title
2024-11-03 09:29:11 -06:00
Andrej730
caeabe2cd5
Optimize enums by moving them to data.py
2024-11-01 16:13:16 +05:00
Andrej730
9c0256165e
Use static enum items instead of dynamic
2024-11-01 16:13:16 +05:00
Andrej730
1acf8f1ed8
deprecate some prop.purge
2024-11-01 16:13:16 +05:00
Andrej730
0944f8a7cb
Fix unsafe enum items #5673
2024-11-01 16:13:15 +05:00
Andrej730
3debf62ca6
Mark unsafe enums #5673
2024-11-01 16:13:15 +05:00
Andrej730
f3019e4d7a
Store enum items strings references to be safe #5673
2024-11-01 16:13:15 +05:00
Andrej730
33b7c0a76f
small optimizations for enum props
2024-11-01 16:13:15 +05:00
Andrej730
ae18590893
typing
2024-11-01 16:13:15 +05:00
Dawid Huczyński
7517414552
add favicon to ifcopenshell-python and bonsaibim docs
2024-11-01 15:19:08 +05:00
Bruno Perdigão
4c08eaf953
Add a proposal to #3692
2024-10-31 17:43:30 -03:00
Bruno Perdigão
05b32b3c32
Fix #4298
2024-10-31 15:38:57 -03:00
Andrej730
08e38c65f5
Display Ifc length attributes as Blender length properties
...
Basically now all length ifc attributes should be displayed in UI as Blender length properties - they display the units and allow math, typing different units, etc.
Example - https://imgchest.com/p/dl7p93gz64o
2024-10-31 18:40:14 +05:00
Andrej730
3e44f0f37b
Quick way to select profile in profiles UI
...
Example - https://imgchest.com/p/9rydakllwyk
2024-10-31 18:40:14 +05:00
Andrej730
bd7ca78a37
bonsai - print number of voids for elements that hit void_limit
2024-10-31 18:40:13 +05:00
Andrej730
c53885f642
bonsai ifcclash - add separate property for export path
...
Example - https://i.imgur.com/bCRHx9q.png
Needed so it will be easier to rerun ifc clash without providing the same filepath each time.
2024-10-31 18:40:13 +05:00
Andrej730
904eb9fae8
Fix undo bugs with edited_objs
...
Now it's stored as a collection property in the project properties, so in the most cases we delegate to Blender to ensure it's handled properly on undo and redo.
2024-10-31 18:40:13 +05:00
Andrej730
09df81ab15
typing
2024-10-31 18:40:13 +05:00
Andrej730
06a6c2d79b
Option to apply openings to the geometry #5666
...
Button location - https://i.imgur.com/6zSv8vV.png
Now it's possible to "bake" openings to the geometry, The openings representation will be marked as "Reference".
2024-10-31 17:00:43 +05:00
Andrej730
b39f96e2ee
Fix bug duplicating edited object
...
It was losing original object representation on project save as it wasn't marked as edited.
2024-10-31 15:50:21 +05:00
Andrej730
64b3101cef
Skip applying scale to geometry on duplicate #5663
2024-10-31 15:50:21 +05:00
Andrej730
037b5d1bc1
Spatial container drop down to show only spatial objects
...
Example - https://i.imgur.com/v8p4D57.png (it's ignoring walls).
Since we now filter valid elements in poll_container_obj, then there is no need to check it twice in update_container_obj.
2024-10-30 18:45:50 +05:00
Andrej730
e463407de7
void_limit - document
2024-10-30 18:07:34 +05:00
Andrej730
28f81496dd
Small refactor for sync_edited_objects
...
1) remove materials if-branch as they're never edited
2) validate object explicitly
2024-10-30 18:07:34 +05:00
Andrej730
ccb223be94
Remove unnecessary ifc.finish_edits
...
Unused since we do not use fc.edit anymore for parametric geometry
2024-10-30 18:07:34 +05:00
Andrej730
33ed7e5234
typing
2024-10-30 18:07:34 +05:00
Andrej730
0662b0c5b6
Optimize updating representations adding/removing openings
...
No need to update all possible elements from decomposition because openings affect only related objects from IfcRelAggregate. For example, see #5639 .
2024-10-30 18:07:34 +05:00
Andrej730
59e0dbae2c
Fix 8ac9612 for IfcMaterials
2024-10-30 15:32:45 +05:00
Andrej730
e757c42204
Quick way to select style in Styles UI
...
Example - https://imgchest.com/p/ej7mkxp9ayd
2024-10-30 15:32:45 +05:00
Andrej730
b6da13c504
Fix hiding by accident object class asignment section in 86d0139f4
2024-10-30 15:32:45 +05:00
Andrej730
4dfb3cac51
bump ios build in bonsai
...
e8eb397 fixes #5658
2024-10-30 11:42:34 +05:00
Andrej730
8ac96124c9
Fix UI errors opening non-IfcMaterials in Materials UI
...
There was UI errors because ui data wasn't updated, now ui data update is tied to load_materials
2024-10-29 18:16:05 +05:00
Andrej730
bb23d74ce3
Fix bug in 4c93270ad for IfcMaterialLayers
2024-10-29 18:16:05 +05:00
Andrej730
ff0fe0db06
Small optimization for materials UI
2024-10-29 18:16:05 +05:00
Andrej730
87d185fef1
Lock scale for aggregate parts too if aggregate has openings
2024-10-29 18:16:05 +05:00
Andrej730
bfa2852ca9
typing
2024-10-29 18:16:04 +05:00
Andrej730
fd6a541689
bonsai bcf v3 - fix issue activating camera in some cases
2024-10-28 20:10:39 +05:00
Andrej730
4c3bb54f98
bim.update_representation to detect openings from it's aggregate and show an error
...
Previously it would apply scale and geometry with opening to the representation, basically corrupting it.
2024-10-28 18:22:11 +05:00
Andrej730
6a4167e234
bim.add_opening to sync representations before adding an opening
...
E.g. if object was scaled or edited. Previously geometry changes were either lost or applied in a weird way (to the object without scale).
2024-10-28 18:21:43 +05:00
Andrej730
147f0bfc9a
Sync parts positions before applying the opening
...
To avoid issues like this - https://imgchest.com/p/bp45zlzen45
2024-10-28 18:21:43 +05:00
Andrej730
a4979a74b2
Fix bug object position wouldn't be synced on project save
...
If project had scale and openings then bim.update_representation wouldn't apply it's position leading to unsynced position.
2024-10-28 18:21:42 +05:00
Andrej730
850c16c745
Fix bug when object scale wouldn't be applied on project save if object wasn't moved
2024-10-28 18:21:42 +05:00
Andrej730
b96e275251
Fix bim.update_representation not apply scales if object wasn't moved
...
Was also creating same issue when project was saved
2024-10-28 18:21:42 +05:00
Andrej730
bdbe91f043
typing
2024-10-28 18:21:42 +05:00
Andrej730
86d0139f41
Hide object related panels when there is no object active
2024-10-28 16:23:35 +05:00
Andrej730
f2e9f2beb9
Fix error adding custom pset to material set item when no item currently edited
...
Error traceback posted in #5647
2024-10-28 16:23:35 +05:00