mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 10:28:37 +00:00
Fix #5727
This commit is contained in:
@@ -618,7 +618,7 @@ class Model(bonsai.core.tool.Model):
|
|||||||
elif material.is_a("IfcMaterialLayerSet"):
|
elif material.is_a("IfcMaterialLayerSet"):
|
||||||
axis = ifcopenshell.util.element.get_pset(element, "EPset_Parametric", "LayerSetDirection")
|
axis = ifcopenshell.util.element.get_pset(element, "EPset_Parametric", "LayerSetDirection")
|
||||||
if axis is None:
|
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"
|
axis = "AXIS3"
|
||||||
else:
|
else:
|
||||||
axis = "AXIS2"
|
axis = "AXIS2"
|
||||||
|
|||||||
@@ -193,6 +193,8 @@ class Usecase:
|
|||||||
"IfcRamp",
|
"IfcRamp",
|
||||||
"IfcPlate",
|
"IfcPlate",
|
||||||
"IfcPlateStandardCase",
|
"IfcPlateStandardCase",
|
||||||
|
"IfcCovering",
|
||||||
|
"IfcFurniture",
|
||||||
]
|
]
|
||||||
for product in self.products:
|
for product in self.products:
|
||||||
element_type = ifcopenshell.util.element.get_type(product)
|
element_type = ifcopenshell.util.element.get_type(product)
|
||||||
|
|||||||
Reference in New Issue
Block a user