mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +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)
|
||||
material = ifcopenshell.util.element.get_material(element, should_skip_usage=False)
|
||||
usage = None
|
||||
if not material or not material.is_a("IfcMaterialProfileSet"):
|
||||
return
|
||||
if material.is_a("IfcMaterialProfileSetUsage"):
|
||||
usage = material
|
||||
material = material.ForProfileSet
|
||||
|
||||
Reference in New Issue
Block a user