mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 13:52:23 +00:00
corrected get_extrusions function
This commit is contained in:
@@ -298,7 +298,7 @@ def get_extrusions(element):
|
|||||||
for item in representation.Items:
|
for item in representation.Items:
|
||||||
while True:
|
while True:
|
||||||
if item.is_a("IfcExtrudedAreaSolid"):
|
if item.is_a("IfcExtrudedAreaSolid"):
|
||||||
extrusion.append(item)
|
extrusions.append(item)
|
||||||
break
|
break
|
||||||
elif item.is_a("IfcBooleanResult"):
|
elif item.is_a("IfcBooleanResult"):
|
||||||
item = item.FirstOperand
|
item = item.FirstOperand
|
||||||
|
|||||||
Reference in New Issue
Block a user