mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
2f7af12734
Space height is now auto-detected using IFC geometry directly (ifcopenshell.geom.create_shape + get_shape_bottom/top_elevation) instead of Blender object bounding boxes. This fixes height detection when the slab above is not loaded in Blender. Detection priority: 1. IfcRelConnectsElements(TOP) connections on bounding walls 2. IfcSlab / IfcRoof elements above with XY overlap to space polygon 3. Minimum wall top Z of bounding walls 4. Fallback to space_height property (default 3m) Added space_height and force_space_height properties to BIMSpatialDecompositionProperties. The height field is synced to the active space's height via active_object_callback (msgbus), not in draw(). Added ApplySpaceHeightToSelection operator to modify IfcExtrudedAreaSolid.Depth in place without regenerating footprint. bounding_walls changed from list[tuple[element, obj]] to list[entity_instance] since Blender objects are no longer needed. Generated with the assistance of an AI coding tool.