Grasshopper

algorithmic modeling for Rhino

"UNTIL" comand? Is there such a thing as: enlarge until.... in VB script?

I don't know VB script yet. Is there a "Until" option in VB script, or is there a way to make a definition in GH to achieve that effect?

For example, when object "A" touches object "B" then Object "A" is "null"....
....then Enlarge object "A" untill "null".

Basically enlarge an obect that it touches another object. But think of multiple objects like bricks in a wall scalling outward from points untill all 4 sides touch.

Maybe a stupid question.

Views: 194

Replies to This Discussion

Hi Theunis,

this can be done by an infinite loop in a VB component. It is not possible to create custom loops using the node-editor (yet).

--
David Rutten
david@mcneel.com
Seattle, WA
It is not possible to create custom loops using the node-editor (yet).

I've been able to sort of iterate between components using the timer, but it's not pretty and requires you to do ugly stuff to save variables at the end stages of the definition and re-read them at the beginning. You also have to stop the timer manually. Not very practical but it shouldn't be too hard to implement a decent solution for this without chaning a whole lot how everything works right now.
Thanks for the reply guys. Much appreciated.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service