Dion Moult
16f09655b8
Bump version numbers in dev scripts
2025-04-01 14:21:34 +11:00
Dion Moult
b6115a6d71
Fix bug where adding objects relying on missing contexts would fail
2025-04-01 14:20:56 +11:00
Andrej730
9895302c9d
bim.add_boundary - add description/error reports
...
Example description - https://i.imgur.com/jn3y2KU.png
fyi @steverugi
2025-03-31 19:10:21 +05:00
Andrej730
8f5f346fa4
boundary/create_mesh - small optimizations
2025-03-31 19:10:21 +05:00
Andrej730
6adf5d957a
Fix error adding a space boundary ( a7509db)
2025-03-31 19:10:21 +05:00
Andrej730
e6be79f2ad
assign/unassign type operators - add descriptions
2025-03-31 19:10:20 +05:00
Andrej730
e3228513c0
typing
2025-03-31 19:10:20 +05:00
Andrej730
3fe29fa842
Prevent user from trying to assign material style if not style is selected
...
Possibly explains #6462
2025-03-31 14:07:41 +05:00
Andrej730
e18e2caea8
Bonsai - exclude selected non-ifcobjects from type assignment/unsassignment #6454
2025-03-31 14:07:41 +05:00
Andrej730
1cac12dc53
Use fallback elevation value if default container is missing #6470
...
I guess it's always theoretically possible that user end up without a default container.
2025-03-31 13:49:18 +05:00
Andrej730
8d530eba68
Fallback to the aggregate if default container is removed #6470
2025-03-31 13:49:18 +05:00
Andrej730
4593e5aea6
Fix ExportHelper not optional filename_ext #6463 ( 4594f59)
2025-03-31 12:51:37 +05:00
Andrej730
cba6161043
Fix #6467 ( d35a2dc)
2025-03-31 12:05:15 +05:00
Andrej730
7bdbfee041
Fix bim.export_cost_schedules #6463 ( 4594f59)
2025-03-29 23:36:37 +05:00
Andrej730
0bf065c4bd
Fix issue editing item layer when it had a layer previously ( 13a182c)
2025-03-28 17:59:08 +05:00
Andrej730
c58b84ddb5
append_asset - fix duplicated applications/organizations/pao
...
Noticed when starting new project with demo library it had 29 duplicated IfcApplications...
2025-03-28 17:59:07 +05:00
Andrej730
81b5fc30c7
template_file - add a note
2025-03-28 17:59:07 +05:00
Andrej730
4afed8f2f3
typing
2025-03-28 17:59:07 +05:00
Andrej730
f08f9ad310
export_mesh_to_tessellation to consider empty material slots #6453
2025-03-28 12:01:09 +05:00
Andrej730
69ddf52ff0
Add ifc2x3/ifc4/ifc4x3 demo templates as symlinks to repo
...
Example - https://i.imgur.com/d4udENs.png
2025-03-28 10:29:31 +05:00
Andrej730
2fd02e281d
Add IFC2X3, IFC4X3 demo libraries
2025-03-27 19:31:04 +05:00
Andrej730
fdb283b7af
generate_demo_library - sync guid on regeneration
2025-03-27 19:31:04 +05:00
Andrej730
013d7f6659
generate_demo_library - typing and small refactor
2025-03-27 19:31:03 +05:00
Andrej730
5b33c6018a
spatial decomposition ui - use poll_message_set instead of .enabled
...
To give user more descriptive message about what's wrong.
2025-03-27 19:31:03 +05:00
Andrej730
50324a566f
black .
2025-03-27 19:31:03 +05:00
Andrej730
64b8842055
typing
2025-03-27 19:29:45 +05:00
Massimo Fabbro
05be0f69bd
Fix #6305
...
Fix wrong calculation with blender engine for IfcFooting
2025-03-26 22:30:56 +01:00
Andrej730
3f823573cf
Fix broken scroll bar in some UI lists #6439
...
Just found that all scroll bars for UIList kept in sync using `list_id` - it's that second argument for `UILayout.template_list` that I forgot exist, since I've never seen set it to anything besides the empty string.
So in #6439 we were reusing same UIList for multiple collection props and since one of the props was empty, it was constantly resetting scroll bar position.
Was about to report it as a bug to Blender but stumbled upon similar issue https://projects.blender.org/blender/blender/issues/124364
So the solution is make sure each UIList has unique `list_id`.
Fyi @Moult @Gorgious56
2025-03-26 18:49:22 +05:00
Andrej730
2e61532919
bim.unassign_material - add description
2025-03-26 18:49:21 +05:00
Andrej730
c85f9f02ba
Check material override explicitly, not just by name
...
It was inconsistent when it was comparing usage with unnamed layer set and comparing usage with named layer set.
2025-03-26 18:49:21 +05:00
Andrej730
f888a32fa4
reuse get_material_name
2025-03-26 18:49:21 +05:00
Andrej730
d35a2dcf5b
typing
2025-03-26 18:49:21 +05:00
Andrej730
9311f50206
Fix for 4594f596c2
...
Traceback:
```
Error: Python: Traceback (most recent call last):
File "\bonsai\bim\module\project\operator.py", line 127, in execute
self._execute(context)
File "\bonsai\bim\module\project\operator.py", line 143, in _execute
core.create_project(
File "\bonsai\core\project.py", line 108, in create_project
project.append_all_types_from_template(template)
File "\bonsai\tool\project.py", line 55, in append_all_types_from_template
bpy.ops.bim.select_library_file(filepath=filepath.__str__())
File "\Blender\4.4\scripts\modules\bpy\ops.py", line 109, in __call__
ret = _op_call(self.idname_py(), kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Converting py args to operator properties:: keyword "filepath" unrecognized
```
2025-03-25 12:00:50 +05:00
Andrej730
4594f596c2
Reuse ImportHelper/ExportHelper everywhere possible for consistency
2025-03-24 17:36:27 +05:00
Andrej730
4f091af935
bim.export_ifccsv - clarify description and title
2025-03-24 17:36:27 +05:00
Andrej730
1600e00295
Fix clash smart groups selection ( 6660ee3)
...
It was using prop `guid` which doesn't exist , so `by_guid(global_id.guid)` would always fail with some exception.
2025-03-24 17:36:26 +05:00
Andrej730
7a55e837f7
typing
2025-03-24 17:36:26 +05:00
Andrej730
595ee3fa47
Provide descriptions to all operators that use fileselect_add #6420
...
I guess all it takes a persistent Blender crash to fill up operators descriptions 😅
2025-03-24 11:36:40 +05:00
Andrej730
c84f8e55a6
Fix typo
2025-03-24 11:36:40 +05:00
Andrej730
b63d9090a1
black .
2025-03-24 11:36:40 +05:00
Dion Moult
58c7976a5e
See #1227 . Fix regression where new wall system didn't preserve existing dimensions when regenerating geometry for an object that previously didn't have a layerset
2025-03-23 23:55:15 +11:00
Dion Moult
384a74734e
Fix regression in split along edge
...
Aren't tests great
2025-03-23 23:36:19 +11:00
Dion Moult
b269a806eb
Improve description for dev setup
...
Be more dogmatic in the setup to prevent confusion.
2025-03-23 23:31:04 +11:00
Bruno Postle
f43e666583
git colourisation fixes
...
Fix bug where uncommitted changes were not fully colourised in the same
way as diffs. Also try and catch more changes, eg. highlight if a
Products Type has changed.
2025-03-23 12:07:41 +00:00
Dion Moult
f1138d1aac
Fix regression in point cloud loading in refactoring the new item mode.
2025-03-23 21:55:57 +11:00
Dion Moult
51eef295c8
Fix models with crazy contexts (which kills the iterator which is context based)
2025-03-23 21:12:46 +11:00
Ryan Schultz
9ee947b730
a better implementation for #3731 - to round to the nearest foot.
2025-03-22 09:53:15 -05:00
Ryan Schultz
328fb8bc0e
fix #3731 - round to the nearest foot
2025-03-22 09:11:41 -05:00
Bruno Postle
75fe548bb0
Remove zombie method reintroduced in 5830573
...
edit_container_attributes() was deleted in e79a85a , but somehow got
dragged back in
2025-03-22 10:17:41 +00:00
Bruno Postle
5830573cda
Create transform orientation slots ( #6215 )
...
Setting the default container switches to an appropriate orientation
slot if the orientation of this container isn't global. eg. if a building is
rotated, selecting to work in a storey will set the orientation to the
building orientation. Closes #6128
2025-03-22 09:01:54 +00:00