I have a grid of points.
How could I sort the points in this way?
I believe the logic is this:
- Tree A: Sort points in y direction (defaul in SqrGrid)
- Tree B: Sort points in x direction (flip matrix)
- Replace the points in Tree A with the points in Tree B inside the boundary curve (Point In Curve + Weave)
- ??? Split Trees at first and last replaced point and merge by x and by y ??? (Here I stuck)
sort_points.gh (11.4 KB)
Can anyone advice?