mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
black .
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user