I want to sort points in the Cartesian coordinates system in a logical order, from smallest to greatest, so that they are next to each other. For example, point 3 should be between points 2 and 4. In my case, point 3 is between points 5 and 6. See the figure below.
thanks for your help. Unfortunatly, this is not the solution to the problem. I probably did not explain what I want accurately enough. If you look to the picture of my model you see point 2 for example. I want that it follows after point 1 and point 3 comes afterward like in clockwise. In my case point, 2 is between points 9 and 10. If it is still unclear for you please ask me.
Iam looking forward to your answering and thanks in advance.
Hi,
thanks for your suggestion. But this not a solution for the problem.
I will change the points numbers for any kind of shape. So it will be more useful to solve the problem on my code. So for each layer the numer for points changes. You need to install Lunch Box Plug in to have the used components in my model. Here is the link for tha: https://www.food4rhino.com/app/lunchbox
Well, thanks for your concern about other people’s time. But the Plug-In is not wasting time as you suggest. And there is no need to discuss this anymore. Have a nice day
Okay cool thank you very much
Final Step: As you noticed in the original file I wanted that the sequence of numbers continues. For Example the first layer from 0 to 9 then second layer from 10 to 20 …
I tried to use the flip matrix but it does not work. any other suggestions.
Please try to solve the problem with this modified code. Points_Order_17.May.2020_1.gh (21.6 KB)