Tags: feebarradas/IfcOpenShell
Tags
test_model - simplify stair generation kwargs
For stairs, Lock total length now takes first and last tread widths i… …nto account as well.
ifcopenshell.file - add todo notes for temp workarounds, make workaro… …und more explicit
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
Fix quantify() regression where by_type queries and grouped iteration… … could apply QTOs to all entities in the model instead of the intended element subset.
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'
```
fix for IfcOpenShell#7296: handle openings without Blender representa… …tion in get_gross_top_area (IfcOpenShell#7297)
build-all.py - switch to dynamic_lookup for macos builds
1) `-undefined,suppress` is deprecated, linker is sending warnings about it and it seems to be superseded by `dynamic_lookup`
2) `-flat_namespace` is not compatible with GMP when building for intel, for some reason and results in horrible errors during linking:
Example error:
```
ld: branch8 out of range 366651 in ___gmpn_add_nc
final section layout:
__TEXT addr=0x00000000, size=0x02d09000, fileOffset=0x00000000
__text addr=0x00001400, size=0x0264a5e4, fileOffset=0x00001400
__stubs addr=0x0264b9e4, size=0x0000423c, fileOffset=0x0264b9e4
__stub_helper addr=0x0264fc20, size=0x00006c58, fileOffset=0x0264fc20
__gcc_except_tab addr=0x02656878, size=0x002efc04, fileOffset=0x02656878
__const addr=0x02946480, size=0x001cdc18, fileOffset=0x02946480
__cstring addr=0x02b140a0, size=0x0014324b, fileOffset=0x02b140a0
__unwind_info addr=0x02c572ec, size=0x0008d2d0, fileOffset=0x02c572ec
__eh_frame addr=0x02ce45c0, size=0x00024a30, fileOffset=0x02ce45c0
__DATA_CONST addr=0x02d09000, size=0x0022b000, fileOffset=0x02d09000
__got addr=0x02d09000, size=0x00001dc8, fileOffset=0x02d09000
__mod_init_func addr=0x02d0adc8, size=0x00000690, fileOffset=0x02d0adc8
__const addr=0x02d0b460, size=0x00227fd0, fileOffset=0x02d0b460
__DATA addr=0x02f34000, size=0x000c3000, fileOffset=0x02f34000
__la_symbol_ptr addr=0x02f34000, size=0x000056a0, fileOffset=0x02f34000
__data addr=0x02f396a0, size=0x0005f7b8, fileOffset=0x02f396a0
__thread_vars addr=0x02f98e58, size=0x000006d8, fileOffset=0x02f98e58
__thread_ptrs addr=0x02f99530, size=0x00000178, fileOffset=0x02f99530
__thread_data addr=0x02f996b0, size=0x000000d8, fileOffset=0x02f996b0
__thread_bss addr=0x02f99790, size=0x00018850, fileOffset=0x02f99790
__bss addr=0x02fb1fe0, size=0x0003b0c0, fileOffset=0x00000000
__common addr=0x02fed0a0, size=0x00009098, fileOffset=0x00000000
__LINKEDIT addr=0x02ff7000, size=0x0148e000, fileOffset=0x02fb2000
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Add suppress_zero_inches parameter to imperial_length formatting func… …tion
PreviousNext