Grasshopper

algorithmic modeling for Rhino

I need to add the items of the list 1 into the list 2 but with the path Relation that appear in the image 

i dont know if i'm clear about what i want to do 

Views: 288

Replies to This Discussion

For this very specific case: duplicate green list data three times, then graft. Trees should match now.

Thanks Hannes, its works, but now im going to figure out how to automatic calculate how many times the data has to be duplicated cuz i'm working on a recursive operation to crack a polygon in sub pieces so i dont need to put manualy any number 

Shift path will collapse the last level of branching. Applied to the yellow list, you can get the number of branches with ListLength. Depending on your logic further on, you could work with the collapsed lists and skip the duplication on the green list.

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