Hi, guys! Could please help me with this stuff. I need to rearrange indices of curves to be the same as indices of near standing points. Count of points always the same as the count of curves. The solution should be universal, “not replacing one by one”. Thanks in advance!
Graft points > every point will “become a branch”
In each branch you test all the curves, so you get a list of distance, from the main branch point.
Sort to get the closest one, but picking the index of that curve.
Using list to retrieve the original list re-ordered.