Grasshopper

algorithmic modeling for Rhino

Hi everyone...playing with the timer for the first time and I'm trying to sort out how to set up a series of variables that won't get reset every timer step.  I'm doing a simple spring + gravity simulation, but with a fairly complex topology of connections, and I'd like the timer to iterate through the simulation without interfering with or re-executing the initial topological setup.  Any pointers?

Views: 368

Replies to This Discussion

If you want to declare "stable" variabes not influented by timer, you have to declare them in "custom additional code" section. Youll also need to clear them somehow (especially if its a list), so remember to add a cleaning routine.

aha.  thanks Mateusz!

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