Grasshopper

algorithmic modeling for Rhino

Hi!

I have a tree that has 28 branches, and 5 branches inside of each one of them. 

I want to retrieve one to be able to retrieve the following 6 inside it. My problem arises when I use Tree Branch to retrieve the first one: (0;0), (0;1) ... (0;4), I put 0 in Path and the TreeBranch turns red. What am I doing wrong?

I would really appreciate some help!

Thankyou!

Views: 289

Replies to This Discussion

If a tree has 2 dimensions then you need an "equivalent" path.

Say:  {firstDim; secDim} >> {0; 0/1/2/3/...}. PS: Obviously the path {0} doesn't exist.

If you split the tree using a mask like {1;?} you get all the child branches related with the given first dimension. Mask {?;1} could yield all the secondary branches with index 1.

That said and if you are sure about the dimensions you can use the path mapper for a more "compact" tree dimension wise.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service