algorithmic modeling for Rhino
Hi all,
I've been struggling on getting a specific branch from a data tree. It seems so simple but I just can't figure it out. What I have is a tree with 210 branches. What I want to do is to split that tree in 10 lists of 21 branches (So 1-21, 22-42 etc.)
Any tips? Thanks in advance.
Tags:
Thanks for the quick reply, but it is not exactly what i want..
The data tree I started with has 210 branches, and each branch has 7 items inside. I want to keep this structure, but select only branch 1-21 instead of all the 210 branches..
In the next version of Grasshopper you will be able to do this, but it still seems a bit clunky. Probably needs a new component to [Partition Trees]
I think the address is this for the pre-release: tinyurl.com/gh090063
It is recommended that you wait until the official release
Same logic but just be aware that in the next release of GH this approach will be broken.
You will have to use {} instead of () and " to " instead of "-" see my post above
Really like how simple your solution. But wanted to see if i could make it more parametric and useable on longer sets so i created this. When 0.9.63 comes the part in the 2nd white group can be removed and it should keep working.
Is it possible to Have the Bounds component being able to put out either a double or an Integer so it can be used like the example above with out requiring removing the .0 with a Replace Text component.
Welcome to
Grasshopper
© 2024 Created by Scott Davidson.
Powered by