Grasshopper

algorithmic modeling for Rhino

Does anyone know how to do a recursive function in grasshopper, just something like a simple recursive branching. It's pretty easy in rhinoscript, so maybe I'll have to use a VB script, I was just wondering if anyone had come up with it in grasshopper yet, thanks all.

Views: 864

Replies to This Discussion

to do true recursion you need scripting. If I'm not mistaken, the people developing Karamba are working on a way to do it directly inside grasshopper, but in the meantime, the closest you can come without scripting is something along the lines of this: http://heumanndesigntech.wordpress.com/2010/08/13/iteration-in-gras... which is really just an organized way of copying and pasting the same function over and over again. It sounds sloppy, but I've used this method a number of times to solve problems that couldn't be addressed any other way.
Thanks Andrew, I had figured it was just a matter of a copy and past until the desired number of iterations was reached. I came across Rabbit and Turtle last night, developed by Morphocode, which allow for cellular automata and L-systems to work in grasshopper. I didn't get a chance to work with them yet but it seems as though they can make both branching and fractals work within grasshopper. Do you have any experience with these plug ins? They seem to have a lot of potential, I just haven't explored them yet. I enjoyed your post, let me know what you think, thanks.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service