Gorgious56
5b3e3fc646
Fix not being able to apply or hide specific openings
bonsai-0.8.1-alpha2501030955
2025-01-03 10:54:54 +01:00
Gorgious56
57dbea2974
Fix #3854 : Assigning a class to a potential opening removes it from the openings pool
...
Also fix an error in previous commit
bonsai-0.8.1-alpha2501030934
2025-01-03 10:33:41 +01:00
Gorgious56
cc3074cdcc
#5919 : Add an option to set the opacity of the rest of the model when modifying openings
...
Option is located in the preferences
bonsai-0.8.1-alpha2501030902
2025-01-03 10:01:36 +01:00
Gorgious56
4c9697d260
Consolidate logic for toggling display of openings
2025-01-03 09:59:47 +01:00
Gorgious56
8dfcea0e24
Fix internal openings list not being cleared when applying an opening
bonsai-0.8.1-alpha2501030840
bonsai-0.8.1-alpha2501030843
2025-01-03 09:42:55 +01:00
Gorgious56
f0fac7ad8b
Reorganize addon preferences layout
...
Hopefully it's a little bit less daunting
2025-01-03 09:40:08 +01:00
Bruno Perdigão
f6c34ac196
Refactor enable_constraints for performance reasons.
...
`context.view_layer.update()` was being called for every object in the loop.
Now it is just called after all the constraints are enabled.
bonsai-0.8.1-alpha2501022012
2025-01-02 17:11:43 -03:00
Bruno Perdigão
5ebaaa6c8c
Minor fix to disable_aggregate_mode().
2025-01-02 17:11:43 -03:00
Bruno Perdigão
9838a54173
Minor fix in aggregate decorator.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
2c3c0b9d95
Improve performance for TAB into aggregate mode.
...
Use disable/enable constraint instead of `constraint.apply`. It keeps the
parts location with matrix calculation
2025-01-02 17:11:43 -03:00
Bruno Perdigão
548f6e0566
Improve performance for bim.aggregate_assing_new_objects_in_aggregate_mode()
...
Add constrain only to new objects instead of rebuilding all constraints from scratch.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
3874d19caa
Allow aggregate to me moved while in aggregate mode without moving its parts.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
87fee0b850
Add features for handling newly created objects in aggregate mode
...
- Highlight new objects in red when in aggregate mode
- Introduce an operator to add new objects to the current aggregate, accessible via a button in the header menu
2025-01-02 17:11:43 -03:00
Bruno Perdigão
3bccc993b7
Small fix in aggregate decorator.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
31ae2c5437
Create UI operators for aggregate mode in model workspace.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
85c48f6a63
Small refactor of aggregate decorator.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
833cc0604c
Improve performance in aggregate mode by removing hide_select.
...
Additionally, update rendering of objects outside the aggregate to use
'WIRE' instead of 'BOUNDS'.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
3dd83598e9
Prevent TAB from editing objects outside the aggregate in aggregate mode.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
3050abdb87
Small fix.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
f7c4b13d0a
Aggregate decorator refactor.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
91d3b8161e
Integrate aggregate mode toggle with Bonsai's TAB edit mode override.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
e9cc205ddd
Enable aggregate decorator by default on file startup.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
c48f50a67e
Small fix in aggregate move selection.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
6d9ee8828e
Small fix
2025-01-02 17:11:43 -03:00
Bruno Perdigão
28c95a7d9a
Remove debug print statements.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
9a6ff7c37c
Add bounding box decorator over aggregates.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
226ea10de8
Add aggregate mode decorator.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
3c590f097a
Prevent aggregate objects to be edited by TAB when not in aggregate mode.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
cbdbd5bd83
Add operator to toggle aggregate mode on and off.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
ccdf1cee0a
Hide selection of objects outside the aggregate when in "aggregate edit mode".
2025-01-02 17:11:43 -03:00
Bruno Perdigão
21d3b1d472
Small fix
2025-01-02 17:11:43 -03:00
Bruno Perdigão
0c7a0a6bda
Add aggregate decorator.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
3dcded819f
Add new way to move objects that are a part of an aggregate.
...
Now, when trying to move an object that is a part of an aggregate, the
`OverrideMoveAggregate` will be called, meaning that it will move the whole
aggregation. It works by creating constraints and moving the aggregate instead
of the selected object.
It also introduces the idea of editing an aggregate (no hotkey yet). When active, the user
will be able to move the parts of the aggregate instead of the whole aggregation: https://imgur.com/IcCGtPN
2025-01-02 17:11:43 -03:00
Bruno Perdigão
6f11f74aac
Apply aggregate constraints instead of removing.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
0daf4c9324
Remove constraints when object is unassigned from the aggregate.
2025-01-02 17:11:43 -03:00
Bruno Perdigão
7f838f81b4
Add aggregate constraints to import_ifc.py
2025-01-02 17:11:43 -03:00
Bruno Perdigão
cf9446c4a5
Constrain part objects to aggregate object when creating aggregations.
2025-01-02 17:11:43 -03:00
Richard Brice
26ba761c68
Refactors alignment geometry
2025-01-02 11:10:56 -08:00
Gorgious56
bb9be861c8
Fix blend file being saved twice in a row with CTRL-S
...
This caused a noticeable hiccup when a large file is saved twice on a network drive. Also it messed up the backup system.
bonsai-0.8.1-alpha2501021333
2025-01-02 14:32:29 +01:00
Gorgious56
ad815b697e
Fix #5570 : Regen button now appears in the toolbar for windows and doors
bonsai-0.8.1-alpha2501021312
2025-01-02 14:12:26 +01:00
Gorgious56
ca90ddc0b4
Fix 3134 : Flip shortcut is now displayed in the toolbar for doors and windows
bonsai-0.8.1-alpha2501021302
2025-01-02 14:02:00 +01:00
Gorgious56
fb35e80be0
Editing the representation of an opening now updates the gpu shader accordingly
bonsai-0.8.1-alpha2501021206
2025-01-02 13:06:14 +01:00
Gorgious56
21a62116a8
You can now hide all openings by pressing ESCAPE in the 3D Viewport
...
- Also fix CTD on UNDO after pressing ESCAPE due to previous commit
bonsai-0.8.1-alpha2501021018
2025-01-02 11:17:48 +01:00
Gorgious56
c2708b13d9
Minor fix on previous commit to correctly go out of ifc edit mode without saving representation
bonsai-0.8.1-alpha2501020955
2025-01-02 10:54:55 +01:00
Gorgious56
b949efe8ba
Fix #5849 : Use Keymap item instead of modal operator for override escape in 3D viewport
...
- Enables the vanilla Blender autosave feature back, since a running modal operator deactivates it
- ESC is not used by any other vanilla keymap in the 3D viewport (may be conflict with other addons)
- Hitting ESC over another type of editor (eg enum field in the properties editor) will not trigger disabling ifc item mode
- You can now hit ESC in IFC edit mode to cancel editing the geometry and go back to ifc object mode
bonsai-0.8.1-alpha2501020928
2025-01-02 10:27:52 +01:00
Thomas Krijnen
463289e462
pyodide build ( #5916 )
2024-12-31 16:09:54 +01:00
Thomas Krijnen
2fbb47d797
build_pyodide.yml
2024-12-30 17:07:40 +01:00
Thomas Krijnen
6d3612bd5b
WASM build updates
2024-12-30 16:47:59 +01:00
Thomas Krijnen
3592e3f9c0
cityjson off by default
2024-12-30 16:44:47 +01:00
Andrej730
8fc0d7a808
Polyline tool - use Blender icons for status bar text
...
To make it similar to default Blender operators.
Example - https://i.imgur.com/wUEQeQL.png
bonsai-0.8.1-alpha2412301229
2024-12-30 17:28:01 +05:00