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?