mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 13:46:54 +00:00
Revert 87c7309724. I misunderstood the expected behavior.
This commit is contained in:
@@ -84,6 +84,7 @@ 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