Grasshopper

algorithmic modeling for Rhino

Divide Curve randomly with preset lengths from list

I am trying to set up a definition to randomly divide a curve with preset lengths ... it is important that the division lengths be randomly pulled from the list in order to eliminate any repitition, which will read as panels on the facade.

Any help is greatly appreciated.  Thanks in advance!

Views: 858

Replies to This Discussion

Hi ilovears, in the attachment you can find a solution. It's basically randomly picking preset lengths and adding those on top of each other to divide the curve. Hope this works!

Attachments:

Jeroen,

Thanks alot!  I understand the code up until the second series--->list item--->mass addition.  Can you explain the purpose?  Thanks again for your help.

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