Romi
February 9, 2019, 3:47pm
1
Hi everyone!
here is my problem, i would like to divide the branches of this tree by a list of numbers.These numbers and the number of paths of the tree can change so i can’t use the path mapper to separate it. Each new branch with N=76/9 items as a result.
How would it be possible ?
Thanks in advance.
I’m not sure I fully understand what you want to do, but it seems that you’re looking for PartitionList
component:
Rbrision.gh (15.7 KB)
It’s probably better to ask this question on Grasshopper category instead.
1 Like
Romi
February 10, 2019, 6:50am
3
Thank you for your answer Mahdiyar. Partition list works fine but not in every cases. It is not always giving me the right number of branches.
So, how do you want to fit 48 items in 20 branches ? maybe drawing the desired lines could help clarifying the problem.
Romi
February 10, 2019, 7:17am
5
Maybe by looking for something that re-insert the remainders in a last sub list for each branch… well, thanks for your help anyway…
Romi
February 10, 2019, 8:52am
7
that’s it !!! many thanks !!!