Grasshopper

algorithmic modeling for Rhino

Hi,
I need to insert, inside a cube of 1mm X 1mm X 1mm, a maximum number of points that, between them, have about 0,40mm of distance.
Now I'm using a Pop3D component for populate my cube and Proximity3D for estabilish the distance between point. Now I need to know which is the maximum number of points that the cube can contains at the previous specified parameters (0.4mm of distance between points inside the cube).
Can anyone help me to resolve this problem?
Thanks

Views: 447

Replies to This Discussion

Typically the tetrahedal stacking is the most efficient non-random way to stack spheres into a volume, but of course if you have boundary conditions things become a bit more complicated. [Wikipedia]

You can use Kangaroo for this, as it has a equal-size-sphere collision force, but you'll never get a guarantee that you've found the most efficient stack, it remains an unsolved problem in mathematics.

Hi, David,

thanks for your reply. I think that i will use Kangaroo for this but I've not experience with it.

Can you help me to know how can i proceed for insert spheres in volume with predefined radium? Then, How can i take from sphere my points? I need only points and not spheres..

Thanks

The attached file uses Kangaroo 2.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service