Sort points along curve

Hello
I am trying to sort a set of points along a set of curves in Grasshopper python but I cant find this function.it works with grasshopper component but I need to find a corresponding python function for it.

Get the t parameter and then sort the points with the t as keyvalue.

2 Likes

I doubt there is a ready made method, it is more than likely a series of iterations using Curve.ClosestPoint(). If you want a ready made method for it just use NodeInCode and call that component.

1 Like