Grasshopper

algorithmic modeling for Rhino

hi
I am experiencing an inexplicable problem whereby I have three different sets of curves which I have made sure all have the same data path structure, each branch also having exactly one curve (n=1)...when I use the merge component - tell me if this is the wrong one to use - with the intent to join the curves between the three lists only at their corresponding indices, curves that are coming in are leaving as null entries...

that may sound convoluted - here's what I have - three lists of curves each with 500 or so branches at {0:1}, {0:2... etc etc I want the curve in one list at {0:1} to join the curve in the next list at {0:1} and so on. For some reason the merge is turning curves that were fine into nulls - has anyone experience this before? is there another way to do what I want?

thanks for the help in advance

Views: 1177

Replies to This Discussion

hey gabriel,

i believe the problem is the merge compnent istself, its a bug.. use the weave component instead, make sure you set the weave pattern. good luck
thanks brendon. i was pretty stumped on that one.

now I have to figure out why my three lists are not corresponding as they were supposed to. does anyone know why a list will end up in the form path{1:0}, path{2:0...etc etc when there is nothing at the second level - the 0? I presume that my curves which should correspond are getting shuffled as I simplify, graft and perform other operations to make all the lists have the same structure
hey, to fix this issue, you can simply feed the list of data into the flatten component and then the graft component. for paths with several indexes {0:0:0:0:1}, you can use the simplify tree component.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service