Please…
Today I have spend hours trying to make this work (I finally did). But it is still baffling that I am required to use 9 components when I should be using 1 for such a simple task. Maybe I am just not good at data managing, or maybe GH isn’t good at it…I collapsed the problem into this simple example.
I have a grid of points, organized in horizontal branches, and I want the tree to be organized in vertical branches, do some operations, and then be able to go back to the horizontal branches structure.
I first tried a geometrical solution, using point in curve. Going back to the previous structure required a different approach using Create Set
and Member Index.
This approach proved its limits when the points are superimposed over one another.
flipmatrixpain.gh (22.9 KB)
I then tried a data management solution, looking through old threads on the forum. At first it did not work, and I was stunned for a long time, because it should have worked… but of course, Insert ItemS
(mind the “s”) does not work with multiple indices, or at least not as one would expect. I revisited an old thread of mine where I noted this, but the solutions provided there did not work with this case.
Hopefully Sort List
made it work.