Grasshopper

algorithmic modeling for Rhino

Hi everyone:

I have been experimenting with Kangaroo lately and am impressed with the potential of this plugin. I am currently exploring various Kangaroo setups to discover particularly useful configurations that will help me shoehorn Kangaroo into other plugins (e.g. Galapagos).

To keep things short, I am designing a simple simulation that drops a particle onto a mesh and counts the time that particle is colliding with that mesh. The goal is to input this number into Galapagos to optimize the position from which the particle is dropped onto the mesh. Admittedly, this is a silly little experiment, but it is helping me understand some of the ins and outs of Kangaroo.

Right now, I have it setup to detect when the simulation ends (i.e. when KE == zero). At this point, the counter should stop counting and report its value to Galapagos. The counter setup works as the simulation runs. However, I am having trouble storing the value because once the simulation is over, the value reverts back to zero. So while it does accurately read the duration, it erases this value before I am able to successfully store it. 

Here's a screenshot of the configuration to which I am referring.

I am sure that my setup is far from ideal and somewhat awkward. I welcome any suggestions.

Thank you for reading!

Views: 749

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service