mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Merge remote-tracking branch 'origin/v0.8.0' into tfk-rocksdb-storage
This commit is contained in:
@@ -1146,7 +1146,7 @@ class ShapeBuilder:
|
||||
if polyline.is_a("IfcIndexedPolyCurve"):
|
||||
coords = np.array(polyline.Points.CoordList)
|
||||
elif polyline.is_a("IfcPolyline"):
|
||||
coords = np.array(p.Coordinates for p in polyline.Points)
|
||||
coords = np.array(tuple(p.Coordinates for p in polyline.Points))
|
||||
else:
|
||||
raise Exception(f"Unsupported polyline type: {polyline.is_a()}")
|
||||
return coords
|
||||
|
||||
Reference in New Issue
Block a user