Lofting Curves with Random Points - Closest Point

Hello,

I would like to loft a series of curves with random points. I divided the curves and selected random points from the list of points. I would like to choose points from the entire list rather than each list separately hence I flatted the list of points. To birng it back to its original list I used the closest point tool so I can replace the list of points with the random points. However the closest point function compares the points for every list so I am left with duplicate random points and unable to replace the original list. The goal is to maintain the original list of points so I can later interpolate these points and loft them. I hope this make sense, please find attached screenshots and the gh file. Thank you very much in advance!



220617_LoftingCurveswithRandomPoints.gh (38.5 KB)

Hi, I am running into a similar issue. Were you able to resolve this and if so, how?