To sort ordonned list (0,1,2,3,4,5...) from points inside a closed brep

would like to sort ordonned list (0,1,2,3,4,5…) from points inside this particular closed brep (see the following picture)…

some ideas ?

thank you so much in advance

Show your GH

1 Like

currently don’t have any gh script… I try to find the good approach of script which can consider the proximity of points to each other and the fact that there are inside the volume of the closed brep.

In other words I’d like the points to arrange themselves linearly, while deciding which would be the first point…

I hope I’m clear enough (169.7 KB)

a simple approach would be to use the closest point on the surface - then use u or v parameter to sort…

if this does not help please give a more precise startingpoint for others to help.

kind regards - tom

1 Like