From 32c6ea9363700dadc434c5ffd688585a3e72dd19 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 11 Sep 2024 15:38:09 +0500 Subject: [PATCH] shapebuilder.profile - fix bug in ifc2x3 assigning non existing Position attr confused arbitrary profiles with parametric profiles in 640320f --- src/ifcopenshell-python/ifcopenshell/util/shape_builder.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py index 57868109ba..2d059c1a7c 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py +++ b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py @@ -372,10 +372,6 @@ class ShapeBuilder: "ProfileType": profile_type, "OuterCurve": outer_curve, } - if self.file.schema == "IFC2X3": - kwargs["Position"] = self.file.create_entity( - "IfcAxis2Placement2D", self.file.create_entity("IfcCartesianPoint", [0.0, 0.0]) - ) if inner_curves: if not isinstance(inner_curves, collections.abc.Iterable):