This commit is contained in:
Andrej730
2024-11-27 12:59:41 +05:00
parent ab069f431a
commit eca71032bf
+8 -1
View File
@@ -618,7 +618,14 @@ class Model(bonsai.core.tool.Model):
elif material.is_a("IfcMaterialLayerSet"):
axis = ifcopenshell.util.element.get_pset(element, "EPset_Parametric", "LayerSetDirection")
if axis is None:
if element.is_a() in ["IfcSlabType", "IfcRoofType", "IfcRampType", "IfcPlateType", "IfcCovering", "IfcFurniture"]:
if element.is_a() in [
"IfcSlabType",
"IfcRoofType",
"IfcRampType",
"IfcPlateType",
"IfcCovering",
"IfcFurniture",
]:
axis = "AXIS3"
else:
axis = "AXIS2"