Grasshopper

algorithmic modeling for Rhino

I've been having a little trouble figuring out how to regularly pack an ellipsoidal surface with spheres.  Any help would be much appreciated.

Views: 951

Replies to This Discussion

Hi Al,

it depends what you mean by 'regularly'. It probably not possible (except in a few special cases) to regularly pack spheres on a curved base surface.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks David:  how about distributing points more-or-less equidistantly on a closed surface?

The Populate components will insert points in an iterative fashion, filling up the largest gaps first (though the algorithm is highly optimized and therefore the results are proximate at best). The attached animation shows [Populate Rectangle] with circles whose radii is half the distance to the nearest neighbour point.

Unfortunately the current release only has Populate components for rectangles and boxes, the next version will be able to populate on any curve, surface, polysurface and mesh.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

Looking forward to the next release.  Thanks David.

Here's a roughly even distribution of spheres using springs in Kangaroo.

Attachments:

Hi Dan: I hadn't considered using Kangaroo.  Neat and very colorful. I'll study your solution.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service