Grasshopper

algorithmic modeling for Rhino

Hey everyone - very simple thing i am trying to accomplish, there may already be a component for it.

 

I would like to have a simple component or cluster that will flatten only the last branch of a data structure... essentially a path mapper that does the following:

 

{a;b;c;d;e} ---> {a;b;c;d}

{a;b;c;d} ---> {a;b;c}

{a;b;c} ---> {a;b}

 

etc.

 

any ideas?

Views: 342

Replies to This Discussion

there is a new component in 08.0051 called shift branch, its default to -1. I believe this is exactly what you are looking for.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service