Fix error creating polylines in ifc2x3 after 9fbcb39

By accident it was providing numpy array instead of ifc points entities.
This commit is contained in:
Andrej730
2024-12-23 12:31:47 +05:00
parent 09b4681413
commit 31069d6643
@@ -282,7 +282,7 @@ class ShapeBuilder:
ifc_points = [self.file.create_entity("IfcCartesianPoint", p) for p in points.tolist()]
if closed:
ifc_points.append(ifc_points[0])
ifc_curve = self.file.createIfcPolyline(Points=points)
ifc_curve = self.file.createIfcPolyline(Points=ifc_points)
return ifc_curve
dimensions = len(points[0])