Grasshopper

algorithmic modeling for Rhino

Hello All,

 

I have a data tree that runs from {0;0} to {3;41}.  I would like to extract the lowest branch from the tree (ie the 'a' branch if {a;b}) such that I have 4 new trees being from the earlier lowest branch (tree 1 = {0}- {41}, tree 2 = {0} - {41}, etc...)

 

Can anyone help me with this?  See the attached jpeg of what the tree currently looks like.

 

Thanks.

 

 

 

 

Views: 719

Attachments:

Replies to This Discussion

For this I prefer the "Shift Paths" component. Give it your data and set the offset to -1, and it will "chop off" the last path index, leaving you with only the first index of the branch path. 

You could also use the Path Mapper with a source of {A;B} and a target mask of {A}.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service