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.

Soap bubbles explode or collapse

Dear Kangaroos,

I'm trying to make soap bubbles by creating closed meshes with zero length springs and applying pressure, but they either explode or collapse. Is there a way to stabilize them, for example by defining a volume or area they should have? Or, is there some other good way to do this? Thanks! 

Mårten

  • up

    Daniel Piker

    Hi Mårten,

     

    At the moment the pressure force magnitude is determined only by the area of the triangle, so unless you stop it with springs, the mesh will keep expanding, as you found.

     

    I would like to try making a properly volume dependent pressure force, but it's not there yet.

    There are some things I need to figure out for this about how I will deal with updating meshes within Kangaroo, but once I have this sorted it opens the door for several other things, such as 2-way mesh-mesh collisions, and dynamic remeshing.

     

    Another thing I was working on which might be relevant to this is a force for minimizing variation of curvature, instead of just curvature itself. This would optimize for CMC surfaces

    • up

      Mårten Nettelbladt

      Thanks Daniel!

      It sounds great with the volume dependent pressure force.

      I tried to hook up the "Pressure Level" with a "Mesh Volume" component, but I wasn't allowed...

      Error: Recursive Data stream found, this component depends on itself

      Dynamic remeshing sounds very interesting too. Thanks for the CMC surface link, cool stuff!