Grasshopper

algorithmic modeling for Rhino

Hi!

Maybe someone can help  me out with this problem.

I have a predefined list of curves and i want them to spread over a certain tree. but randomly. so certain branches would have 2 or 3 maybe even all  of them and other branches would have maybe even none. I want to split the list in a certain number of parts but the parts should contain a different number of curves. Also i want that no curve is double. and no curve gets missed. any ideas?

i figured out how to split the list evenly but can't to find a solution how to split the list randomely.....

any help is greatly appreciated!

Views: 627

Attachments:

Replies to This Discussion

anybody?

Hi there...like this?

Attachments:

thanks! i now did a solution using a stream gate and in combination with a random list item, which was kind of a bad solution... yours is much better. never thaught about using the replace paths component.

thank you for you time david!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service