From 545431d95d4ef3cb6dd9d5da223041136ac5cdeb Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 18 Nov 2024 11:24:14 +0500 Subject: [PATCH] shapebuilder - fix issue creating profiles on ifc2x3 Position argument was only required for IfcParameterizedProfileDef, not for IfcArbitraryClosedProfileDef --- src/ifcopenshell-python/ifcopenshell/util/shape_builder.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py index 9907374c98..b0e89001c7 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py +++ b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py @@ -368,9 +368,6 @@ class ShapeBuilder: "OuterCurve": outer_curve, } - if self.file.schema == "IFC2X3": - kwargs["Position"] = self.create_axis2_placement_2d() - if inner_curves: if not isinstance(inner_curves, collections.abc.Iterable): inner_curves = [inner_curves]