mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 14:06:26 +00:00
shapebuilder.profile - fix bug in ifc2x3 assigning non existing Position attr
confused arbitrary profiles with parametric profiles in 640320f
This commit is contained in:
@@ -372,10 +372,6 @@ class ShapeBuilder:
|
|||||||
"ProfileType": profile_type,
|
"ProfileType": profile_type,
|
||||||
"OuterCurve": outer_curve,
|
"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 inner_curves:
|
||||||
if not isinstance(inner_curves, collections.abc.Iterable):
|
if not isinstance(inner_curves, collections.abc.Iterable):
|
||||||
|
|||||||
Reference in New Issue
Block a user