Grasshopper

algorithmic modeling for Rhino

I would like to develop a recursive python script  that draws a  line from a starting  point through  given length and vector and  draws second  line from the end point of the first line with second   given length and vector , and so on . Any suggestions would be helpful, Thanks!

Views: 901

Replies to This Discussion

Hi Maysam,

Do you have a list of predefined vectors and its lengths?

If that is so, then what is the point of using recursion?

Attachments:

thanks. this is  very help full. 

Thanks, this is helpful.

So it uses  a predefined list of vectors, now I would like to recursively generate new vectors based on translating the previous one(s) based on external influences, like an attractor point. Would I need Hoopsnake for that or is there another way?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service