shapebuilder.profile - fix bug in ifc2x3 assigning non existing Position attr

confused arbitrary profiles with parametric profiles in 640320f
This commit is contained in:
Andrej730
2024-09-11 15:38:09 +05:00
parent c63f1cfa88
commit 32c6ea9363
@@ -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):