Tags: IfcOpenShell/IfcOpenShell
Tags
Fix crash in update_bim_tool_props when selected type isn't a valid i… …fc_class props.ifc_class is an EnumProperty whose items list only the element/space types present in the model. Assigning element_type.is_a() crashed with `enum "<class>" not found` when the selected element's type wasn't a member (e.g. a raw IfcTypeProduct, or a stale item list mid-rebuild), aborting the post-commit refresh. Wrap the assignment in the same try/except TypeError guard already used for the sibling relating_type_id assignments (added in 233cc34). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fix assign_container in spatial.py (#8079) ifc.get_object(element) can return None for IFC elements that aren't loaded as Blender objects (e.g., decomposed sub-elements). The loop now skips those instead of passing None into collector.assign(). Cheers!
Bonsai Makefile - pin deepdiff<9.1 deepdiff 9.1.0 added cachebox<6,>=5.2 as a direct runtime dep. cachebox 5.2.3 only publishes macOS x86_64 wheels for macosx_10_12+, incompatible with the macos py311 build's --platform macosx_10_10_x86_64. The daily build's linux-wheel safeguard fires when the resulting cachebox-*-manylinux_*.whl leaks into the macOS / windows wheels folder (builds run on ubuntu-latest and cross-build via pip download --platform). Pin deepdiff to <9.1 (resolves to 9.0.0, no cachebox transitive dep) as the minimal hotfix. Long-term cleanup: bump the macos py311 platform tag from 10_10 to 10_13 (matching py312/py313) and re-flag this line with the standard \$(PYPI_PLATFORM) --only-binary=:all: pattern used by brickschema and python-socketio. Partly generated with the assistance of an AI coding tool.
PreviousNext