Hi,

I have been trying to find solve this issue for some time - I know there is a way not too complicated - But have I been stuck for a while now.

So the idea is to find the closest point - it can be the point before or after - from a given point. If the point is not placed in the same “row” (since they are not in the same row actually) it should be ignored and not taken into consideration.

From there I need to create a line segment between them.

I have managed to find the “closest point” by using “points contained in a curve”, but sort them has been a pain.

Any ideas?

Thank you in advance.

GH -Closest start point in both directions.gh (2.1 MB)