Is there any way to generate spheres/capsules for mannequin automatically?

Hi, everyone! Since PhysX and Bullet both want human model to be represented as a mixed set of spheres and capsules, I am wondering if there exist some method/algorithm to do this automatically.
thx.