Thomas Krijnen
3744b81ccd
Only accept finite floats #6409
2025-03-25 10:15:24 +01: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
```
bonsai-0.8.2-alpha2503250701
2025-03-25 12:00:50 +05:00
Thomas Krijnen
eec8c88e6f
Unique ptrs #6417
2025-03-24 14:09:00 +01:00
shmoodyyy
dd53f9b494
style: keep tab indenting consistency
2025-03-24 13:59:58 +01:00
shmoodyyy
c6e3ac4155
fix: memory leak from missing deletes of raw heap allocations; big issue within create_shape() python lib
2025-03-24 13:59:58 +01:00
Andrej730
4594f596c2
Reuse ImportHelper/ExportHelper everywhere possible for consistency
bonsai-0.8.2-alpha2503241250
bonsai-0.8.2-alpha2503241237
ifcsverchok-0.8.2.250324
bonsai-0.8.2-alpha2503241245
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
2f34f997dd
Fix api.alignment missing __all__
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 😅
bonsai-0.8.2-alpha2503240637
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
bonsai-0.8.2-alpha2503231255
2025-03-23 23:55:15 +11:00
Dion Moult
384a74734e
Fix regression in split along edge
...
Aren't tests great
bonsai-0.8.2-alpha2503231236
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.
bonsai-0.8.2-alpha2503231211
2025-03-23 12:07:41 +00:00
Dion Moult
26b21ddcb3
Fix #6414 . Allow extracting elements from non-standard IFC schemas.
bonsai-0.8.2-alpha2503231117
2025-03-23 22:16:42 +11:00
Dion Moult
f1138d1aac
Fix regression in point cloud loading in refactoring the new item mode.
bonsai-0.8.2-alpha2503231056
2025-03-23 21:55:57 +11:00
Dion Moult
51eef295c8
Fix models with crazy contexts (which kills the iterator which is context based)
bonsai-0.8.2-alpha2503231013
2025-03-23 21:12:46 +11:00
Massimo Fabbro
212da8b6d6
fix #6271
...
Fix wrong length calculation with Blender Engine for IfcDoor and IfcWindows
bonsai-0.8.2-alpha2503230640
2025-03-23 07:40:04 +01:00
Thomas Krijnen
f7163b8db8
schema -> schema_identifier #6414
bonsai-0.8.2-alpha2503221828
2025-03-22 19:27:50 +01:00
Ryan Schultz
9ee947b730
a better implementation for #3731 - to round to the nearest foot.
bonsai-0.8.2-alpha2503221453
2025-03-22 09:53:15 -05:00
Ryan Schultz
328fb8bc0e
fix #3731 - round to the nearest foot
bonsai-0.8.2-alpha2503221412
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
bonsai-0.8.2-alpha2503221026
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
bonsai-0.8.2-alpha2503220902
2025-03-22 09:01:54 +00:00
Bruno Postle
775106d0a0
Place drawings on sheets
...
When adding a drawing to a sheet, place to the right of the last drawing
if it fits on the sheet - otherwise start a new row below all existing
drawings.
This means that new drawings are no longer just piled up on top of each
other at the top-left, but it does mean that new rows of drawings are
added below the title box when the sheet is full.
bonsai-0.8.2-alpha2503212348
bonsai-0.8.2-alpha2503212347
2025-03-21 23:37:30 +00:00
sebjf
25b7003d2d
Issue 6385 - Delete IfcGeom::Elements as soon as possible ( #6411 )
...
* ISSUE #6385 Delete iterator elements as soon as they are moved past
* ISSUE #6385 added loop to destructor to clean up initialised elements not yet disposed of by the iterator
2025-03-21 18:52:40 +01:00
Ryan Schultz
c80c1e9e15
fix #5709 - ensure REFLECTED_PLAN_VIEW camera has (-1,-1,-1) scale.
bonsai-0.8.2-alpha2503211535
bonsai-0.8.2-alpha2503211534
2025-03-21 10:34:33 -05:00
Andrej730
b5c062415d
ifcsverchok.helper - add debug get_selected_nodes method
bonsai-0.8.2-alpha2503211340
ifcsverchok-0.8.2.250321
2025-03-21 18:39:38 +05:00
Andrej730
a98a7ac856
ifcsverchok - add some sockets descriptions, specify types
2025-03-21 18:39:38 +05:00
Andrej730
ee2b836b84
ifcsverchok - add/update node descriptions
2025-03-21 18:39:38 +05:00
Andrej730
e075c32a5a
typing
2025-03-21 18:39:38 +05:00
Andrej730
a567af370b
ifcsverchok - fix missing socket tooltips
...
apparently `tooltip` property doesn't exist but `description` does
2025-03-21 18:39:38 +05:00
Andrej730
544b61b95a
remove debug print
2025-03-21 18:39:37 +05:00
Thomas Krijnen
45c45d6862
ifcopenshell.geom.serializers.guess_from_extension()
bonsai-0.8.2-alpha2503211336
2025-03-21 14:35:47 +01:00
Thomas Krijnen
6880e31a66
Add ColladaSerializer to python bindings
2025-03-21 14:35:23 +01:00
Thomas Krijnen
e327932f4e
Fixes to HierarchyHelper #6365
2025-03-21 13:48:59 +01:00
Andrej730
f2283e5895
Fix Blender 4.4 errors starting some operators #6399 #6396
...
Ping @brunoperdigao just in case.
bonsai-0.8.2-alpha2503210703
2025-03-21 12:02:53 +05:00
Dion Moult
ea84f829af
The experimental cutting tool now supports a bisect mode for batch cuts
bonsai-0.8.2-alpha2503210547
bonsai-0.8.2-alpha2503210545
2025-03-21 16:46:42 +11:00
Dion Moult
3231752fef
Minor fix to clipping planes if there is no camera
2025-03-21 16:46:08 +11:00
Dion Moult
963ba5fc30
See #6404 . See #1227 . Create axis context if it does not exist for walls.
2025-03-21 16:45:29 +11:00
Dion Moult
8e1e0aec79
Fix #6404 . See #1227 . Fix IFC2X3 wall creation with new wall engine.
bonsai-0.8.2-alpha2503210531
2025-03-21 16:30:56 +11:00
Thomas Krijnen
9c4ec34de3
Some form of circle handling in loop_to_function_item_upgrade_impl() #6381
2025-03-20 20:57:47 +01:00
Thomas Krijnen
4c2844292e
Apply skew in infra lofts #6386
2025-03-20 16:14:12 +01:00
Sebastian Friston
35fe79dfb2
ISSUE #6328 fix in dispatch_token to avoid missing unknown in logicals
2025-03-20 14:03:07 +01:00
Thomas Krijnen
58a5f881e6
Retrieve length unit info from underlying mapping in iterator #6355
2025-03-20 13:57:30 +01:00
Andrej730
4d5a3ec633
ifcsverchok - ifc.write_file_panel to filter .ifc files
ifcsverchok-0.8.2.250320
bonsai-0.8.2-alpha2503201130
2025-03-20 16:28:49 +05:00
Andrej730
1feb00678c
node.sv_ifc_create_file_refresh - fix LB Out bl_label
2025-03-20 16:28:48 +05:00
Andrej730
f10ebe0166
ifcsverchok - remove debug print
2025-03-20 16:28:48 +05:00