mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user