Splitting Parallel Curves + Conditionals in Grasshopper

I am trying to split two parallel curves with fixed distances based on secondary geometries. Currently, I am using “move to point”, however I would like for them to array along the curves and follow the direction of the vectors. So they start at one point on the first curve and then continue onto the second curve. Additionally, I am trying to create a condition where if there is not enough room at the end of one curve for the geometries to fit it skips and continues onto the second curve.



2023.08.07_Geom_SG.3dm (36.3 KB)
2023.08.07_Geom_SG.gh (16.2 KB)

The politest way of saying what are you talking about in GH.gh (14.3 KB)

2 Likes

I think I got it though it seems unecessarily complicated.

1/ Flipped all the curves along Y
2/ Changed the dimension along Y calculation using Bounding Box - so it should be independent of your geometry
3/ Added Extend Curve before dividing
4/ If you move the final slider “max number of pieces” you should see Grasshopper filling both curves in order.

2023.08.07_Geom_SG.gh (20.0 KB)

1 Like

Yes this is what I needed, thanks!