I've run into a strange project where I have to build multiple spline IKs' for a less-than-optimally posed mesh. An edges-to-bones addon or script would be ideal if such a thing exists.

I'm familiar with the basics of python in Blender but haven't gone deep enough to do it myself. How easy would it be to write a (hopefully short) script that would do something like this?


1 Answer 1


I expect the skin modifier can a create the armature that you are after.

If you only want a rig for a portion of your mesh, duplicate the mesh an delete the excess parts.

Add a skin modifier. You may want to use Mark Root in edit mode with one vertex selected at the end of your mesh, this can prevent extra bones and keep the bones facing in the same direction.

Click the Create Armature button in the skin modifier.

skin modifier

You can then delete the skin modifier, or the duplicate mesh if you duplicated it to start with and you are left with an armature matching the edges of your mesh. The new armature has the display set to stick which you can change to octahedral in the armature settings.

new armature

  • $\begingroup$ Wow, I completely forgot about this. Thank you sambler! $\endgroup$
    – allen
    Oct 12, 2017 at 10:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .