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
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.
bonsai-0.8.1-alpha2412292305
2024-12-29 17:05:21 -06:00
Ryan Schultz
78afcf9c7a
Be able to close openings no matter what is selected.
bonsai-0.8.1-alpha2412292208
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.
bonsai-0.8.1-alpha2412291850
2024-12-29 12:49:38 -06:00
Thomas Krijnen
f3c52c5cbf
Quick wrapper clean-up
bonsai-0.8.1-alpha2412291454
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.
bonsai-0.8.1-alpha2412280003
2024-12-27 21:02:47 -03:00
Andrej730
f362ba4edc
Fix typo
...
Co-Authored-By: sboddy <12862430+sboddy@users.noreply.github.com >
bonsai-0.8.1-alpha2412271622
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
bonsai-0.8.1-alpha2412271444
2024-12-27 19:43:30 +05:00
Andrej730
227f315746
Support quantity take-off for element types
...
Previously it would ignore any element types and work only on occurrences though quantity sets do support product types in general.
2024-12-27 19:43:30 +05:00
Andrej730
d55a291589
get_top_area to calculate area for the roof #5899
2024-12-27 19:43:30 +05:00
Andrej730
6c6e40b07c
get_side_area - add angle argument
2024-12-27 19:43:30 +05:00
Andrej730
810ad58c06
Fix get top area doc-string
...
It says that angles lower than the provided angle are ignored when it actually works the opposite way.
2024-12-27 19:43:29 +05:00
Andrej730
19c1394d94
typing
2024-12-27 19:43:29 +05:00
Andrej730
c770776228
Quantity take-off - add a fallback option #5899
...
If current set of rules (e.g. IfcOpenShell) doesn't provide a way to quantify some type of element, then user now have an option to fallback to other calculator (Blender).
Location - https://i.imgur.com/csIPOuo.png
2024-12-27 19:43:29 +05:00