See #5938. Fix bug where x_angle where changing the wall thickness.

This commit is contained in:
Bruno Perdigão
2025-01-28 16:28:23 -03:00
parent d9903e93f2
commit 87c7309724
@@ -84,7 +84,6 @@ class Usecase:
def create_item(self) -> ifcopenshell.entity_instance:
length = self.convert_si_to_unit(self.settings["length"])
thickness = self.convert_si_to_unit(self.settings["thickness"])
thickness *= 1 / cos(self.settings["x_angle"])
if self.settings["direction_sense"] == "NEGATIVE":
thickness *= -1
points = (