Grasshopper

algorithmic modeling for Rhino

Hi all, 

I have a cluster of spheres of different radii within a box and want to expand or inflate them so they fill the box, but deform to each other. Any thoughts on how to make this happen? Is it possible to use Kangaroo pressure without any fixed points?

Views: 1174

Replies to This Discussion

Isn't this just like a 3D Voronoi?

I guess I'm looking for something that's not Vornoi, like in this post: http://www.grasshopper3d.com/forum/topics/alternative-to-a-voronoi

"You can start with a sphere packing algorithm and then inflate the spheres so they push against each other and deform.

I've seen some sphere packing somewhere around here( perhaps using other polyedra from Geometry Gym) and I'm not sure if Kangaroo allows you to inflate spheres, one for Daniel! "

Basically, I don't think that Kangaroo can inflate spheres. 

Inflating spheres isn't a problem, but having multiple inflated geometries interact and push on each other is more complicated.

However I think the approach suggested above is a good one, and can avoid the need for having complex meshes interacting.

You could do a sphere packing with Kangaroo to get the centres of the cells, then take a 3D Voronoi. Then inflating a sphere within each cell should give the effect you describe.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service