mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
See #5938. Fix bug where x_angle where changing the wall thickness.
This commit is contained in:
@@ -84,7 +84,6 @@ class Usecase:
|
|||||||
def create_item(self) -> ifcopenshell.entity_instance:
|
def create_item(self) -> ifcopenshell.entity_instance:
|
||||||
length = self.convert_si_to_unit(self.settings["length"])
|
length = self.convert_si_to_unit(self.settings["length"])
|
||||||
thickness = self.convert_si_to_unit(self.settings["thickness"])
|
thickness = self.convert_si_to_unit(self.settings["thickness"])
|
||||||
thickness *= 1 / cos(self.settings["x_angle"])
|
|
||||||
if self.settings["direction_sense"] == "NEGATIVE":
|
if self.settings["direction_sense"] == "NEGATIVE":
|
||||||
thickness *= -1
|
thickness *= -1
|
||||||
points = (
|
points = (
|
||||||
|
|||||||
Reference in New Issue
Block a user