mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 05:22:06 +00:00
Consider ifc2x3 in a358cff1b7 #6255
In ifc2x3 position is not optional, so we should reset it's coordinates instead.
This commit is contained in:
@@ -331,9 +331,7 @@ class DumbSlabPlaner:
|
||||
ifc_position = extrusion.Position
|
||||
if perpendicular_offset == 0.0:
|
||||
# Clean up possible previous offset.
|
||||
if ifc_position:
|
||||
extrusion.Position = None
|
||||
ifcopenshell.util.element.remove_deep2(ifc_file, ifc_position)
|
||||
tool.Model.reset_extrusion_position(extrusion)
|
||||
else:
|
||||
position = offset_direction * perpendicular_offset
|
||||
if ifc_position:
|
||||
|
||||
Reference in New Issue
Block a user