Hi All
I’m currently facing an issue with reordering the point coordinates in my file, trying to split and relist them from smaller x coordinates to larger numbers. I’ve attached the file for your reference. If you could provide any quick guidance or assistance on how to achieve this, I would greatly appreciate it.
points.3dm (62.1 KB)
script-list points.gh (15.4 KB)
These points all appear to be in the World XY plane with Z coordinates of zero.
You can use Sort Pt (Sort Points) to get this:
1 Like
Thank you so much, it is really helpful.
Hi Josephy,
I have a query regarding the reordering of points to create a parallelogram line. Could you please provide guidance on how I can achieve this?
Thank you in advance for your assistance.
lins.3dm (92.6 KB)
script-list pointswithline.gh (16.1 KB)
I don’t know what you mean by “parallelogram line”? The curve (line) you are dividing is in the Y direction so perhaps you want to sort points by Y first?
pointswithline_2024Feb2a.gh (14.0 KB)
Or perhaps you don’t need to divide the line? Just use Crv CP (Curve Closest Point), in which case the points don’t need to be sorted (though I left that in).
pointswithline_2024Feb2b.gh (12.9 KB)
P.S. Extending the line at both ends before dividing it is interesting.
pointswithline_2024Feb2c.gh (17.3 KB)
1 Like
Thank you sooo much, this is exactly what i want!!
Which one? So many possibilities… 
pointswithline_2024Feb2e.gh (28.9 KB)
2 Likes