Grasshopper

algorithmic modeling for Rhino


i'm trying to weave the paths of two lists together.
for example:
list A: {0;a} n=3 and {0;b} n=3
with list B: {0;c} n=5 and {0;d} n =5.

as a result i want to have a single list with:  {0;a} n=3; {0;c} n =5; {0;b} n=3;  {0;d} n =5.

can anyone tell me how to do it? thanks!

Views: 419

Replies to This Discussion

I don't know if this is the most efficient way, but if you make sure that your different list have different path structures i.e List A ={A;B}(i) and List B = {A;B;C}(i) then you could merge the two lists and then select the branches after weaving the Paths. Have a look at the image below for a better explanation.

The Path Mapper is {A;B;C}(i) --> {B;C}(i)
great, thank you works like a charm.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service