algorithmic modeling for Rhino
I've had a long-standing problem when building grasshopper definitions concerning tree branches. I often have a certain value or object that I want to apply to all sub branches. It seems like it should be a simple fix, maybe a component I'm not familiar with?
I've simplified the problem to use numbers as seen below:
Basically I want to achieve the numbers in the blue box. I would like anything in {0;0} to be added to anything in {0;0:*}. Anything in {0;1} to be added to all branches starting with {0;1;*}.
I usually end up doing something really complicated with duplicating data or creating a way of using the tree branch component to get specific paths, but I always feel like there should be a simple way of accomplishing this.
Tags:
Awesome! Thanks Andrew.
Best,
Mr A.
This is quite an elegant solution, thanks! Treesloth has some nice features, it will be very helpful.
I was hoping there would be some way of doing this without duplicating the data. It would seem to me having all that data floating around would increase processing times, maybe not so much in the case of integer addition as above, but with thousands of BREP intersections it likely would. Alas, maybe there is no way around it.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by