From 05a6799109c1b2076a207fe67d812083c9f33150 Mon Sep 17 00:00:00 2001 From: NLSA Date: Sat, 28 Mar 2026 17:29:43 +0100 Subject: [PATCH] AGGREGATE "IfcRoad", "IfcBridge", "IfcRailway", "IfcMarineFacility" --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ef062b1..922e889 100644 --- a/main.py +++ b/main.py @@ -292,7 +292,7 @@ def _create_element(ifc, ifc_class, name, rep, placement, storey, # IfcSpace is a spatial structure element — must be decomposed (aggregated) # under its IfcBuildingStorey, not spatially contained. if storey_manager: - if ifc_class in ("IfcSite", "IfcSpace"): + if ifc_class in ("IfcSite", "IfcSpace", "IfcRoad", "IfcBridge", "IfcRailway", "IfcMarineFacility"): storey_manager.queue_aggregate(storey, element) else: storey_manager.queue_contain(storey, element)