Grasshopper

algorithmic modeling for Rhino

Hello everybody,

Im having a hard time applying logic using trees.

I want to merge two trees so that their items alternate.

 I am trying to make the resulting tree have the same amount of branches as the originals, only their items need to be added in a alternating way.

To visualise I have added a screencap. I want to create an interpolated curve through both sets of points. The branches of both trees are in the right order I just want the items to become 
0,1,2,3,4,5,...

instead of
0,0,1,1,2,2,...

In the grasshopper file the question is about the two trees in the purple group.

Thanks in advance!



Views: 774

Attachments:

Replies to This Discussion

Just like this?

Attachments:

Just like that, t looks so easy now. Thanks Hyungsoo!

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