Divide a list of points to create multiple polylines

Hi all!

I have a number of points and I want to create closed polylines in each 4 points. For example one polyline by points ( 0,1,2,3 ), the next polyline by points ( 4,5,6,7 )… I suppose that I have to divide my list of points by 4.

Any idea how can I achieve that?

Thanks in advance!

polylines.gh (7.5 KB)

Thank you Emerson!!

For data matching, it would be better not to use flatten in the middle of your process.

polylines_re.gh (9.5 KB)

1 Like