mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Fix #6058
This commit is contained in:
@@ -307,7 +307,7 @@ class DumbSlabPlaner:
|
|||||||
y = -abs(y) if existing_x_angle > 0 else abs(y)
|
y = -abs(y) if existing_x_angle > 0 else abs(y)
|
||||||
z = -abs(z)
|
z = -abs(z)
|
||||||
extrusion.ExtrudedDirection.DirectionRatios = (x, y, z)
|
extrusion.ExtrudedDirection.DirectionRatios = (x, y, z)
|
||||||
extrusion.Depth = thickness
|
extrusion.Depth = perpendicular_depth
|
||||||
|
|
||||||
if offset != 0.0 and not extrusion.Position:
|
if offset != 0.0 and not extrusion.Position:
|
||||||
tool.Model.add_extrusion_position(extrusion, offset)
|
tool.Model.add_extrusion_position(extrusion, offset)
|
||||||
|
|||||||
Reference in New Issue
Block a user