spherepack

This is a sphere packing algorithm, implemented in maxscript. It will pack a number a spheres inside a selected volume. Download the .ms file here.