I am currently working on an architectural project. I am trying to inflate tetrahedron inflatables inside a box and once they are inflated i would like them to pack in the most effiecient way.
I have downloaded a script and tweaked it so that instead of spheres i can inflate tetrahedrons - or practically any mesh i want. However there are a couple issues.
- The process takes ages - maybe because the meshes are too heavy?
- the meshes start protruding inside each other instead of colliding
- With growing pressure the meshes do not pack naturally as they would in reality. I tried to connect the gravity button to draw the inflatables to the bottom of the box, but the script stopped working. So the only way to organise the inflatables was manually using the grab tool.
- the script also does not work well with inflating meshes of various sizes - the small once end up being “absorbed” by the bigger ones and that is a shame.
If you please have any ideas on how to help me with the points above i would extremely grateful. I attach some images and script below.
200409 rhino file.3dm (117.6 KB)200409 tetrahedrons inflated inside box.gh (19.7 KB)