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.
2025-01-02 14:32:29 +01:00
Gorgious56
ad815b697e
Fix #5570 : Regen button now appears in the toolbar for windows and doors
2025-01-02 14:12:26 +01:00
Gorgious56
ca90ddc0b4
Fix 3134 : Flip shortcut is now displayed in the toolbar for doors and windows
2025-01-02 14:02:00 +01:00
Gorgious56
fb35e80be0
Editing the representation of an opening now updates the gpu shader accordingly
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
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
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
2025-01-02 10:27:52 +01:00
Thomas Krijnen
6d3612bd5b
WASM build updates
2024-12-30 16:47:59 +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
2024-12-30 17:28:01 +05:00
Andrej730
9454d281fc
handle_snap_selection - disable in input mode
...
As it's used in mouse mode and in input mode it just recalculates the values.
2024-12-30 17:28:01 +05:00
Andrej730
64e4f00f19
Left mouse to cancel input mode in polyline tool
...
Previously it would just have no effect, now it should be more natural.
2024-12-30 17:07:53 +05:00
Andrej730
0f25701967
validate_input - add basic tests
2024-12-30 17:07:53 +05:00
Andrej730
80fec36b98
validate_input - allow typing feet value without feet symbol
...
Similar to how we don't require to specify meters when project is in meters.
2024-12-30 17:07:53 +05:00
Andrej730
1065239501
validate_input - add rounding to remove float garbage
2024-12-30 17:07:53 +05:00
Andrej730
8f4b0f1fd6
Fix error refresh linked aggregate with 2+ levels of aggregates #5911
...
Error occurred if IfcElementAssembly, that was currently refreshed, had another IfcElementAssembly as it's part. Then, it was removed twice - once during delete_objects and another time during delete_ifc_object, leading to the error.
2024-12-30 17:07:52 +05:00
Andrej730
6965399b2a
typing
2024-12-30 17:07:52 +05:00
Andrej730
da9cbbc61b
black .
2024-12-30 11:58:35 +05:00
Ryan Schultz
b506b72d9f
Toggle openings for part's aggregate as well.
2024-12-29 17:05:21 -06:00
Ryan Schultz
78afcf9c7a
Be able to close openings no matter what is selected.
2024-12-29 16:07:56 -06:00
Ryan Schultz
c562a2c2ac
closes #5876 : be able to 'apply void' no matter which order you select the wall (or any other class object) and void.
2024-12-29 12:49:38 -06:00
Thomas Krijnen
f3c52c5cbf
Quick wrapper clean-up
2024-12-29 15:53:21 +01:00
Thomas Krijnen
9fa44fdc3c
Setting rename
2024-12-29 15:53:07 +01:00
Bruno Perdigão
973dd818c4
Add slab direction decorator.
...
It's useful when working with angled slabs. There is no UI for it yet.
2024-12-27 21:02:47 -03:00
Andrej730
f362ba4edc
Fix typo
...
Co-Authored-By: sboddy <12862430+sboddy@users.noreply.github.com >
2024-12-27 21:21:54 +05:00
Andrej730
2b1126d24d
Hide list attributes from attributes UI
...
As they're more internal and not very useful to users.
Example of list attributes popping up before this commit - https://i.imgur.com/Nxcb10O.png
2024-12-27 19:43:30 +05:00