mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 11:24:19 +00:00
Fix #2523. Extrusion depth now reflects perpendicular depth
This commit is contained in:
@@ -59,7 +59,7 @@ class Usecase:
|
||||
self.file.createIfcArbitraryClosedProfileDef("AREA", None, curve),
|
||||
None,
|
||||
extrusion_direction,
|
||||
self.convert_si_to_unit(self.settings["depth"]),
|
||||
self.convert_si_to_unit(self.settings["depth"]) * 1 / cos(self.settings["x_angle"]),
|
||||
)
|
||||
if self.settings["clippings"]:
|
||||
return self.apply_clippings(extrusion)
|
||||
|
||||
Reference in New Issue
Block a user