Grasshopper

algorithmic modeling for Rhino

Weave branches in the pattern: Tree0{Branch0}, Tree1{Branch0}, Tree0{Branch1}, Tree1{Branch1}, ...

...not sure if that makes sense...I've seen several other entries on this subject but it seems that everybody is meaning something slightly different.

My problem is this:

I want to combine the two trees into a new one, where I take the 1st branch of the 1st tree, then the 1st branch of the 2nd tree, then the 2nd branch of the 1st tree and so on.

I don't want to leave out any branches and I want all branches in themselves to stay intact, i.e. no mixing of items from different trees or branches.

The whole reason being that as you can see the "columns" of points are alternating; I want a data tree of points where the branch 0 refers to the 1st column of points, branch 1 refers to the 2nd column of points. Just like the points in the native square grid component would be organized.

Definition attached.

Cheers,

Max

Views: 1871

Attachments:

Replies to This Discussion

Hi.

Take a look at the attachment.

Attachments:

Interesting, thanks! I had never used the construct path component nor replace paths, good to know. In the end I made a Python script which also solved it, but I'm actually working with other people who don't code in which case native components is better.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service