Unroll polylines

I need to unroll many 3d polyline on a stright line, in order to have it as a continuous polyline with each segment lenght marked. I was able to extract the single lenght of each segment but I don’t have idea how to put them togheter to form a stright polyline.

Unrolling a curve just yields a straight line whose length is identical to the length of the curve.

If you need a bunch of line segments all stacked end to end with each a specific length, you can probably use the Partial Result output of the Mass Addition component to find the coordinates of the points between the lines.

Or just create a single line segment and use the measured segment lengths to create a Dash Pattern on it.

This is close to the first method David described.

UnrollPolyline.gh (6.7 KB)

1 Like