Grasshopper

algorithmic modeling for Rhino

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

Views: 1688

Replies to This Discussion

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

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!

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