Kangaroo

THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:

https://discourse.mcneel.com/c/grasshopper/kangaroo

The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.

Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.

Custom Goal: Constrain Proportions

hi Daniel, hi all, 

a while ago we set up a Kangaroo2 simulation, which adjusts a series of meshs towards a target volume. 

In order to gain control over the proportions of these volumes i am looking for a kangaroo goal which can limit the X,Y and Z dimensions of the meshs. 

My guess is that this would require a custom goal?

Any pointers towards the right direction would be greatly appreciated!

Best, 

Leo

  • up

    Stephen Yoshida

    Am having a similar issue. Was thinking it may be possible to introduce geometries that come close to this. 

    So if you have a width and height size for each bubble, a planar element could be introduced and collided with each bubble based on dimensions provided. 

    See sketch attached. 

    • up

      Daniel Piker

      Hi Leo

      One way to to do this would be to use a SolidPointCollide component to keep the points of the mesh inside a box:

      Is this the effect you were after?

      5