armature from edge loops

ok, just tried to update this old experiment and fix most obvious errors… not sure if everything works though, you may need to make some adjustements to rig…

files are on first post, you’ll find the script in 3D Viewport at the bottom of Sidebar > View