algorithmic modeling for Rhino
Hello,
I have a list structure that I am trying to follow, and I need help sorting a larger list into this structure. (Sorry if I get the terms wrong) As this needs to work if the amount of panels increase, I need to associate the smaller geometries with the larger panels. What I am trying to do is move a large list of items according to which panel they collide with.
So... Because there are 5 panels there are 5 branches ({0}, {1}, {2} etc.), I have 12 smaller geometries to sort and the branches they need to be sorted into.
Geometry 0 needs to be sorted into branch {0}
Geometry 1 needs to be sorted into branch {1}
Geometry 2 needs to be sorted into branch {2}
Geometry 3 needs to be sorted into branch {0}
Geometry 4 needs to be sorted into branch {2} etc etc.
Refer to images for more information, the second image is what I am trying to achieve. I hope this makes sense, if you have a better way of sorting this that would be good to know too
Any help is much appreciated I cannot seem to figure this out :)
Tags:
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by