Grasshopper

algorithmic modeling for Rhino

Component Template : dynamic refresh over an iterative process

Dear All,

Here is a little contribution.

You can customize this component when you want to run a big bunch of iterations and doesn't want to wait the end of the process to display intermediate outputs (kind of dynamic refresh).

The user can interrupt / abort the process, at any time by hitting the escape key.

The last iteration results is still shown.

I'm using this basis to run a dynamic relaxation algorithm.

Hope it would help,

Lionel

Related discussions :

http://www.grasshopper3d.com/xn/detail/2985220:Comment:169900

http://www.grasshopper3d.com/xn/detail/2985220:Comment:129569

http://www.grasshopper3d.com/xn/detail/2985220:Comment:902121

Views: 545

Attachments:

Replies to This Discussion

Please, consider this update :

replacing  : ghDocument.NewSolution(true);

by           :Component.ExpireSolution(true);

To recompute only the said component an the connected components (downstream).

Tks,

Lionel

PS : updated script attached


   

Attachments:

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