From dbfa4ecf658d132199d1e8006db7cfaee627947b Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Wed, 18 Sep 2024 22:58:13 +1000 Subject: [PATCH] Fix minor regression in fe0be0c --- src/ifcopenshell-python/ifcopenshell/util/shape_builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py index 9898c427d6..b3a7c29e0e 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py +++ b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py @@ -321,8 +321,7 @@ class ShapeBuilder: Notion: trimmed ellipse also contains polyline between trim points, meaning IfcTrimmedCurve could be used for further extrusion. """ - direction = self.file.createIfcDirection(ref_x_direction) - ifc_position = self.create_axis2_placement_2d(position, direction) + ifc_position = self.create_axis2_placement_2d(position, ref_x_direction) ifc_ellipse = self.file.createIfcEllipse( Position=ifc_position, SemiAxis1=x_axis_radius, SemiAxis2=y_axis_radius )