small contribution: bone tools

I ‘finished’ my first python script :slight_smile:

I did it for myself but maybe some others can find it useful.
Download it at:
http://www.moscafilms.com.br/emilioleroux/blender/bone_tools_v02.py

It’s just a small interface with 4 buttons, intended to be opened in a thin script window as a ‘companion’ for some bone-related tasks.

SELECT CHILDREN:
Just select one or more bones and click on this button to have all their children selected. (I use it a lot for selecting an arm along with the hand with all its fingers, or a head with lots of face bones…)

SELECT SIBLINGS:
Select one or more bones and click on this button to select all their brothers&sisters

NEW ALIGNED EMPTY:
Creates Empty object(s) aligned to the selected bone(s). Useful as constraint targets.

ALIGN TO BONE:
Aligns any selected objects/empties to the selected bone.
Select the object(s) first and the last (in pose mode). Again, this is intended to make Constraints easier to create.

I couldn’t find a way for this to work in Armature Edit mode. I could use some help on that. Also, any comments and suggestions are welcome - there’s room for some more buttons. And of course for lots of fixes…

Emilio Le Roux

New version:

http://www.moscafilms.com.br/emilioleroux/blender/bone_tools.py

added ‘Find bones:’ to select bones by part of the name. This way you can select all bones that contain _L, or ‘muscle’ or ‘ik’ or ‘facial’

Here’s also an image.

http://www.moscafilms.com.br/emilioleroux/blender/bonetools_layout.jpg