mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Autodetect CSG representation types in shape builder
This commit is contained in:
@@ -751,6 +751,8 @@ class ShapeBuilder:
|
||||
representation_type = "AdvancedSweptSolid"
|
||||
elif "IfcExtrudedAreaSolid" in item_types:
|
||||
representation_type = "SweptSolid"
|
||||
elif "IfcCsgSolid" in item_types:
|
||||
representation_type = "CSG"
|
||||
elif items[0].is_a("IfcTessellatedItem"):
|
||||
representation_type = "Tessellation"
|
||||
elif items[0].is_a("IfcCurve") and items[0].Dim == 3:
|
||||
|
||||
Reference in New Issue
Block a user