Andrej730
d2126e5929
Blender 5.0 - avoid using deprecated use_nodes
2025-11-04 19:24:20 +05:00
Andrej730
3bdfbebc02
Blender 5.0 - accomodate new mathutils buffer protocol type
...
Long story short - since 5.0 `np.array(Vector())` is now producing `np.float32` instead of `np.float64`. So we have to provide `dtype` explicitly to support both <5.0 and >= 5.0.
See https://projects.blender.org/blender/blender/issues/149283
2025-11-03 19:32:59 +05:00
Andrej730
1a9bd1891e
blender 5.0 - fix moved bl_ui_utils module (bonsai is now launchable in 5.0)
2025-11-03 18:33:34 +05:00
Andrej730
1599bc14b3
Fix core/test_system.py ( 5de96c9)
2025-11-03 18:33:34 +05:00
Andrej730
30b74ab09c
blender 5.0 - ensure the latest module is used for type checking
2025-11-03 18:33:34 +05:00
Andrej730
9c93b12084
Blender 5.0 - fix bpy_restrict_state error
...
It's probably will be very popular bug, when someone would try to migrate to Blender 5.0 using old Bonsai.
Example traceback:
```
File "Blender\5.0\extensions\.local\lib\python3.11\site-packages\bonsai\bim\prop.py", line 34, in <module>
import bonsai.bim.schema
File "Blender\5.0\extensions\.local\lib\python3.11\site-packages\bonsai\bim\schema.py", line 23, in <module>
import bpy_restrict_state
ModuleNotFoundError: No module named 'bpy_restrict_state'
```
2025-10-31 18:50:53 +05:00
Andrej730
b97c7d39ad
dev_environment.py - small error message tweak
2025-10-31 18:50:52 +05:00
Andrej730
fa0c1c5d2a
dev_environment.py - fix typo
2025-10-31 18:50:52 +05:00
Andrej730
8b1cb8e7ae
black .
2025-10-31 18:50:52 +05:00
Ryan Schultz
089edff1db
fix for #7296 : handle openings without Blender representation in get_gross_top_area ( #7297 )
2025-10-30 20:40:06 -05:00
Dion Moult
eea585a3cd
Fix #6258 . Fix #5727 properly. Only assume layerset axis on "standard case" elements, nothing else.
2025-10-26 22:33:39 +11:00
Dion Moult
b503061dc0
Fix #3868 . Automatic annotation references are now auto deleted if their reference is also gone.
2025-10-26 20:58:15 +11:00
Dion Moult
90ccaf4aab
Let users manually create automatic references too.
2025-10-26 20:46:32 +11:00
Dion Moult
afe617fb93
Revert "Bump IOS - necessary as last bunch of commits are incompatible with previous binaries"
...
This reverts commit d922f0b9ad .
2025-10-26 19:32:35 +11:00
Dion Moult
d922f0b9ad
Bump IOS - necessary as last bunch of commits are incompatible with previous binaries
2025-10-26 19:12:22 +11:00
Thomas Krijnen
aed70c8a02
Run black
2025-10-25 15:20:36 +02:00
Dion Moult
fc0cdfabb9
Fix #7255 . Bug where you couldn't edit header data.
2025-10-24 19:11:29 +11:00
nameloCmaS
2dac137801
Limit clipping plane euler rotation angles to <= 360 degrees ( #6877 )
...
The "Flip Clipping Plane" operator adds 180 degrees to the angle's value, meaning the angle will keep increasing with each press.
2025-10-24 14:10:38 +11:00
Dion Moult
8ffa6fcf47
Fix #7267 . Bug where duplicating a drawing would cause annotation references to be associated with both the original and duplicate.
2025-10-24 14:09:00 +11:00
Dion Moult
8824e6e2c2
Fix #7268 . Automatic annotation references (sections, elevations, etc) are now intelligently regenerated
2025-10-24 12:47:58 +11:00
Ryan Schultz
5dbfe539ac
Need a little more freedom to rotate a RCP
2025-10-23 08:31:31 -05:00
Dion Moult
d1453e1139
Fix bug where panels for psets/qtos/classifications/types were showing up on irrelevant objects (e.g. grid axes)
2025-10-23 08:59:15 +11:00
Dion Moult
5b5dcb3c6d
Fix #7257 . Always quote psets and props in our colour by property dropdown to account for spaces and characters.
2025-10-23 08:58:23 +11:00
Dion Moult
4f467d199e
See #7253 . See #7268 . Rewrite grid generation to use IFC data, not rely on Blender object.
...
This also deprecates one more instance of the add_representation API
call. As this is slowly cleaned up we can move towards "regenerating"
annotations, not just generating from scratch.
2025-10-23 08:39:25 +11:00
Ryan Schultz
d5d942bb2e
Adds a TargetView CSS class to the drawings.
2025-10-22 10:06:43 -05:00
Dion Moult
381b0d379a
Optimise operators when a drawing is active by not needlessly regenerating the cut after each operation.
2025-10-22 18:03:40 +11:00
Dion Moult
f48b5b9d92
Fix #7273 . See #7253 . Auto annotation references now cannot be deleted, but can be excluded.
2025-10-22 18:03:40 +11:00
Massimo Fabbro
1f47aadc94
Fix #7227 . Sync cost item assigned resources also for SOR
2025-10-22 07:14:01 +02:00
falken10vdl
bb3cd7e49c
Annotation rotation when doing bulk tags ( #7049 )
...
* first attempt to do annotation rotation when dong bulk tags
* Enhance annotation rotation handling based on camera orientation
* handle properly S_G
* black .
* reorder property in UI
* cleanup imports
2025-10-22 15:07:52 +11:00
Michael Godsven
52b899d070
Add icons ( #7256 )
2025-10-22 11:30:54 +11:00
Dion Moult
008292df0f
Revert "Always show edit UI even if you don't have a BIM Tool activated."
...
This reverts commit 87bfd182d7 .
2025-10-22 11:08:55 +11:00
Dion Moult
87bfd182d7
Always show edit UI even if you don't have a BIM Tool activated.
2025-10-22 11:07:18 +11:00
Dion Moult
8fcc622b8a
Optimisation to only recalculate all drawing cuts if the camera is moved, not just selected.
2025-10-22 10:12:24 +11:00
Dion Moult
546a042d40
Explicitly disable any voids, openings, and booleans in IFC4 Reference View MVD
...
It turns out vendors are still exporting them and creating a mess.
2025-10-21 10:49:17 +11:00
Ryan Schultz
486651e0b7
additional tweak to the preceding commit.
2025-10-18 13:43:34 -05:00
Ryan Schultz
5885924bb7
Fix #5709 : The RCP will not be denied! :)
2025-10-18 12:47:35 -05:00
Ryan Schultz
ead849625d
Automatically select annotations after creation to make it easier to move them in bulk.
2025-10-16 21:10:43 -05:00
Ryan Schultz
f52aafdd6a
closes #7249 : for stairs, change the first/last tread lengths to less than the typical tread run. And even go to zero, whereby removing the tread altogether.
2025-10-14 21:53:22 -05:00
Ryan Schultz
b0ae0a2c82
extend https://github.com/IfcOpenShell/IfcOpenShell/commit/322a2179e51a9ec4802fe9e35039c7e3e29f9678 : Merges names with number suffix, as well (ex: foo, foo.001, foo.002)
2025-10-14 11:29:44 -05:00
Ryan Schultz
322a2179e5
Merge entities, if match on name or identification attribute only.
2025-10-13 11:25:36 -05:00
Dion Moult
8014980b88
Fix #7076 . Lock representation items scale to prevent user confusion.
2025-10-13 08:52:59 +11:00
Dion Moult
155827528a
Visibility during collector assignment now depends on the visibility mode set in the UI.
2025-10-13 08:08:35 +11:00
Dion Moult
fb15435296
See #7229 . Simpler solution to ensure representation isn't affected by visibility until assign class can be cleaned up more.
2025-10-13 08:08:10 +11:00
Dion Moult
6bba3ebeeb
See #7159 . Make polls consistent in add foo to sheet operators.
2025-10-13 08:02:06 +11:00
Dion Moult
3343f3fb35
Revert "Closes #7229 : Unhide object before mesh tessellation export to prevent "Cannot edit hidden object" error when collector.assign() hides the object."
...
This reverts commit 96d05300bb .
2025-10-13 07:49:07 +11:00
Ryan Schultz
1b451d45cf
Closes #7159 : Fix AddReferenceToSheet operator poll checking wrong data_dir property (bim_props instead of prefs)
2025-10-12 13:51:14 -05:00
Ryan Schultz
f5f676cf51
black .
2025-10-12 12:46:49 -05:00
Ryan Schultz
1dd477d382
Delete aggregate if all its parts are deleted. Prevents having orphaned aggregates, if you do a bulk delete with empties turned off.
2025-10-12 12:17:57 -05:00
Ryan Schultz
96d05300bb
Closes #7229 : Unhide object before mesh tessellation export to prevent "Cannot edit hidden object" error when collector.assign() hides the object.
2025-10-12 09:57:27 -05:00
Dion Moult
0073a4c0a2
Fix #7205 . Regression when switching from drawing mode to model mode didn't hide drawings.
2025-10-12 21:21:27 +11:00