This commit is contained in:
Bruno Perdigão
2024-11-26 10:41:53 -03:00
parent dea3722ca5
commit 4f6e2586e1
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ 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"]:
if element.is_a() in ["IfcSlabType", "IfcRoofType", "IfcRampType", "IfcPlateType", "IfcCovering", "IfcFurniture"]:
axis = "AXIS3"
else:
axis = "AXIS2"
@@ -193,6 +193,8 @@ class Usecase:
"IfcRamp",
"IfcPlate",
"IfcPlateStandardCase",
"IfcCovering",
"IfcFurniture",
]
for product in self.products:
element_type = ifcopenshell.util.element.get_type(product)