Grasshopper

algorithmic modeling for Rhino

Hey, I'm trying to get the data inside a flattened list of values repeated into a certain number of branches of a tree, is that possible?

Views: 1409

Replies to This Discussion

Yes, you can use [Partition List] to chop a single list into multiple branches. You get to specify how long each branch needs to be.

If you already have another tree you want to mimic, it's even easier. You can use [Unflatten Tree] to copy the layout of one tree and impose it on the items in a list.

Finally, if you have two trees with the same number of branches (but potentially different branch lengths), you can use Match Tree to take the topology from one tree and the data from another to compose a branch new tree.

You want to repeat a list and put them into different branches? If so:

This was exactly what I needed. Sorry if the question wasn't clear enough, I'll try to explain myself better the next time. Thank you very much!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service