Each element finds the shortest distance to the spline (perpendicular). This point on the line is the sorting order. Is there a function in Dynamo for this?
I have made such this program in Grasshopper and there the function was called “Curve Closest Point”
Martin, you would have to create a custom node that acts as the key projector for the built-in SortByKey node. In this example, the custom node would have to consist of three nodes (encircled with the red line):
Is there a way to get better pictures of these? I cant see anything on these and if I download them. the resolution makes it impossible to read. thanks.