I’m struggling with a what is surely a very straight forward task…
I have a list of points which I want to split into sublists which group those located at the same z coordinate (Image 1)
I then need to order the points in those lists by their x coordinate in order to draw a clean polyline between them.
An old post (https://www.grasshopper3d.com/forum/topics/split-list-with-point-of-same-coordinates) addressed this issue back in 2014 but (strangely) the code had issues and as you can see in my screenshots, doesn’t appear to fare any better with my points - points are left out/missing (Images 2 & 3)
Thanks in advance for any assistance!