mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
Fix #2681. Fix 90 degree rotation on walls.
This commit is contained in:
@@ -418,6 +418,8 @@ class DumbProfileJoiner:
|
|||||||
self.body = copy.deepcopy(body)
|
self.body = copy.deepcopy(body)
|
||||||
material = ifcopenshell.util.element.get_material(element, should_skip_usage=False)
|
material = ifcopenshell.util.element.get_material(element, should_skip_usage=False)
|
||||||
usage = None
|
usage = None
|
||||||
|
if not material or not material.is_a("IfcMaterialProfileSet"):
|
||||||
|
return
|
||||||
if material.is_a("IfcMaterialProfileSetUsage"):
|
if material.is_a("IfcMaterialProfileSetUsage"):
|
||||||
usage = material
|
usage = material
|
||||||
material = material.ForProfileSet
|
material = material.ForProfileSet
|
||||||
|
|||||||
Reference in New Issue
Block a user