Move polyline curves along closed planar curves using three vector points

Hello, i need assisstance with aligning some polyline curves along a closed planar curve, i would like the curves to look similar to the first screenshot, but i am only having it work how it is in the second screenshot, with the join curve, i need the output to be one polyline curve not thousands.


help with metal decking.gh (716.0 KB)

Hi @Zahraa_Tanana ,

You could create a offset curve distribute points on both and extract or create the point Indices [0,1,4,5,8,9…]from the first with the point indiecies from the second one [2,3,6,7,10,11…] get these points create a list and use it for a polyline.

Here is my example.

pattern_on_curve.gh (18.3 KB)


1 Like

thank you so much! i input my curves into your method, and i am now getting this issue?


this is what the shape looks like when i put. it into my geometry, i want to be able to have this be parametric in the sense that each new curve that is input through a contour has it’s ‘metal decking’ that i can control the iterations for, similar to my original screenshot, i just need my them to actually be on the line, not only part on, and part off.