Could anyone advise how to make the points in sequence so that closed curve can be drawn.?
Thank you so much.
There isn’t necessarily a standard way to do this. depends on specific conditions.
Looking at your image, seems like you have two rows/columns of points.
You could try sorting them by their X coordinate values (round off the value to ignore minor variations) and then the Y coordinates (or vice versa)
There have been several discussions on the forum regarding sorting of points based on location.
Have a look and have a go. If you do crack it, please remember to post your solution to aid others.
Ok, feeling generous.
Should solve your problem @thethtarzaw
Part of an upcoming package.
Takes a list of unsorted points and orders them (clockwise/anti-clockwise around a centroid) to create a Perimeter. Useful for Polycurves and Surfaces.
Sastrugi - Sort Points as Perimeter.dyf (10.5 KB)
Create a solid extrusion from a polyline self-intersecting errors
It would be a good exercise to try to solve your own issue with some support from the forum, especially since there are already other related discussions such as this one:
I can not wait to see information about your upcoming package posted in the Share category
Thank you for the node and it comes in handy.
Awaiting your full package…