mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix #5984. Incorrect axis usage when generating slabs.
This commit is contained in:
@@ -188,6 +188,10 @@ class DumbSlabGenerator:
|
||||
|
||||
pset = ifcopenshell.api.run("pset.add_pset", self.file, product=element, name="EPset_Parametric")
|
||||
ifcopenshell.api.run("pset.edit_pset", self.file, pset=pset, properties={"Engine": "Bonsai.DumbLayer3"})
|
||||
|
||||
material = ifcopenshell.util.element.get_material(element)
|
||||
material.LayerSetDirection = "AXIS3"
|
||||
|
||||
obj.select_set(True)
|
||||
return obj
|
||||
|
||||
|
||||
Reference in New Issue
Block a user