Thomas Krijnen
8afba9a665
Hack a bit to make sql tests run
2026-01-15 16:12:25 +01:00
Thomas Krijnen
5c4046e054
declaration as property
2026-01-15 16:11:58 +01:00
Thomas Krijnen
d82e1da907
Don't leak parent id into type decl instances
2026-01-15 15:38:49 +01:00
Thomas Krijnen
8c2e1226c9
declaration property
2026-01-15 15:38:32 +01:00
Thomas Krijnen
ed8821486d
Broaden __eq__ for type decl instances
2026-01-15 14:23:49 +01:00
Thomas Krijnen
742bfac144
_remove, schema_identifier and test_file
2026-01-15 14:13:29 +01:00
Thomas Krijnen
1f4c4204d0
Re-enable setting logical with UNKNOWN in python
2026-01-15 13:13:51 +01:00
Thomas Krijnen
43f78605f2
Small tweak to invocation of test/test_rules.py
2026-01-15 13:00:48 +01:00
Thomas Krijnen
6cd1375cf9
Rerun rule compilation for exists() on indeterminate
2026-01-15 13:00:37 +01:00
Thomas Krijnen
2d1250c18f
Global file for rule and derived attributes
2026-01-15 12:39:32 +01:00
Thomas Krijnen
bee61cba11
Accept exact schema_identifier in file()
2026-01-15 12:38:36 +01:00
Thomas Krijnen
33f072e0a7
Account for removed instance factory
2026-01-15 12:37:53 +01:00
Thomas Krijnen
490fa92dc0
Rework equality and get_info_2
2026-01-15 12:37:12 +01:00
Dion Moult
8060c790ed
Black
bonsai-0.8.5-alpha2601151100
bonsai-0.8.5-alpha2601151101
2026-01-15 22:00:51 +11:00
Dion Moult
47a2c1d21a
Refactor panel visibility to not use any helpers, operators, and shift config UI into add-on settings
...
To be consistent with all other settings, I've moved the visibility
config UI from inline into the add-on settings. This restores the
previous tab layout and no longer needs the "settings" icons to be
there. This also removes the need for a "enable UI config" checkbox.
Most of the code previously had dedicated operators to toggle booleans.
This has been removed. This new approach also means helpers aren't
needed.
2026-01-15 21:59:53 +11:00
Christoph Mellüh
ed81a0a4b3
update api to V5 ( #7409 )
2026-01-15 20:52:06 +11:00
Dion Moult
26fb6ebd3c
Refactor tab visibility to use data cache
...
Previously calculation of visibility was done on every draw (3x 10tabs x
10 collection items). The data class is intended to calculate UI data
once only which is more efficient. This also removes all helper calls
from the UI.
bonsai-0.8.5-alpha2601150031
bonsai-0.8.5-alpha2601150030
2026-01-15 11:30:28 +11:00
Dion Moult
bb50be389e
Refactor should_show_panel into tool.Blender (avoid helper.py) and merge into is_tab
...
This moves the logic from ui.py into tool.Blender. In general, helper.py
is a bit generic (and historic) and we should use tool instead.
bonsai-0.8.5-alpha2601142215
2026-01-15 09:15:13 +11:00
Richard Brice
df7318973d
Adds support for IfcOpenCrossProfileDef and branching with IfcSectionedSurface
2026-01-14 13:28:07 -08:00
Thomas Krijnen
cf3393b6a0
black
2026-01-14 14:09:40 +01:00
Thomas Krijnen
fbbc92c5d7
Hashing solely based on identity
2026-01-14 14:03:55 +01:00
Thomas Krijnen
574827016a
Initialization of header and file
2026-01-14 14:03:28 +01:00
Thomas Krijnen
18c9140700
Data types
2026-01-14 14:03:03 +01:00
Thomas Krijnen
9e165319e6
Fix schema passing to file creation
2026-01-14 14:02:48 +01:00
Thomas Krijnen
64bf807baa
Fix add entity with id
2026-01-14 14:02:10 +01:00
Thomas Krijnen
136befde86
Fix write() call
2026-01-14 14:01:39 +01:00
Thomas Krijnen
1a4d750ecd
Consistency of get_inverse calls
2026-01-14 14:00:50 +01:00
Thomas Krijnen
0a5dd78774
Fix add entity with id
2026-01-14 14:00:00 +01:00
Thomas Krijnen
94427ebcb3
Allow setting of history and future
2026-01-14 13:59:26 +01:00
Thomas Krijnen
9147938c36
Aggregate data types
2026-01-14 13:59:07 +01:00
Thomas Krijnen
ffcc02fb99
Remove global create_entity() call
2026-01-14 13:57:26 +01:00
Ryan Schultz
46a6356f93
update the name of the blender collection, as well, when updating the name of the spatial container.
bonsai-0.8.5-alpha2601131834
2026-01-13 12:33:54 -06:00
Ryan Schultz
9adbd47181
feat: auto-assign containers to root aggregates and organize parts in outliner
...
When assigning a container to an aggregated element, automatically promote
the operation to the root aggregate and move all nested parts to the
container's collection in the Blender outliner.
Changes:
- AssignContainer now traverses the aggregate hierarchy to find the root
aggregate when a user selects any nested part
- All parts and sub-aggregates are moved to the container's collection in
the outliner while preserving IFC aggregate relationships
- Parts remain aggregated in IFC (not directly contained), only their
Blender collection membership changes
- RefreshLinkedAggregate now also moves all parts to the correct container
collection when restoring original data
This provides a more intuitive UX - users can select any part and the entire
assembly moves together, properly organized under the spatial container.
Fixes the previous behavior where:
- Aggregated elements were skipped with a warning
- Parts weren't organized under the container in the outliner
- Aggregate nesting was broken after container assignment
bonsai-0.8.5-alpha2601131746
bonsai-0.8.5-alpha2601131745
2026-01-13 11:45:34 -06:00
falken10vdl
96a0e9f72d
Adapt tests for create_port_at_cursor method
2026-01-13 10:07:10 +01:00
falken10vdl
791a41d649
cleanup and black .
2026-01-13 08:49:57 +01:00
Thomas Krijnen
e4e4f31d20
Defer deletion so that traversal still works
2026-01-13 08:45:04 +01:00
Thomas Krijnen
2dd002bcd8
Properly constuct type decl instances
2026-01-13 08:44:44 +01:00
Thomas Krijnen
7e5248da29
Fix create_shape() overloads because SWIG does not map None for us anymore
2026-01-13 08:44:30 +01:00
Thomas Krijnen
07a01bcf54
Process derived attributes that are not redeclared (C++ has no knowledge of them)
2026-01-13 08:43:52 +01:00
Ryan Schultz
249e68f163
fix to https://github.com/IfcOpenShell/IfcOpenShell/commit/7f87f1fb89fb001320223a4d85e6267f342bf13c : have rotation around the object's origin, not the world origin
bonsai-0.8.5-alpha2601130137
2026-01-12 19:37:25 -06:00
Dion Moult
3c8ab26274
Do not scale georef WCS decorator if it is <1km (i.e. small site definition)
...
Previously it was scaled which misled users into thinking the point was
in the wrong location.
bonsai-0.8.5-alpha2601122230
2026-01-13 09:30:31 +11:00
Andrej730
18a25ffb0e
Remove redundant label in project info UI
bonsai-0.8.5-alpha2601121320
2026-01-12 18:20:11 +05:00
Andrej730
cc341b5ffd
Remove debugging print statements
2026-01-12 18:20:11 +05:00
Andrej730
c8ac61a9d0
CI - bump Blender we use for testing to 5.0
2026-01-12 18:20:11 +05:00
Andrej730
7d49113407
typing
2026-01-12 18:20:11 +05:00
Andrej730
153de70a71
black .
2026-01-12 18:20:10 +05:00
falken10vdl
1f845569a5
Merge pull request #7466 from DrInfiniteExplorer/vscode-debug-integration
...
vscode config for Bonsai debugging
bonsai-0.8.5-alpha2601121123
2026-01-12 12:23:23 +01:00
falken10vdl
1eb2b65268
Add flow direction handling to port connection logic and UI updates
2026-01-12 12:19:13 +01:00
Pierre LeMoine
d7ad0a352e
vscode config for Bonsai debugging
2026-01-12 07:30:02 +01:00
Ryan Schultz
d29cecab30
Fix aggregate duplication to include parts and preserve hierarchy ( #7550 )
...
- Auto-include all parts when duplicating aggregates
- Preserve nested aggregate relationships during duplication
- Select all duplicated objects for immediate moving
bonsai-0.8.5-alpha2601120236
bonsai-0.8.5-alpha2601120235
2026-01-11 20:35:32 -06:00