Page MenuHome

AutoCustomShape
Closed, ArchivedPublicPATCH

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.58
Category: Rigging
Python: 3.1
Script name: Auto custom shape
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Rigging/Auto_custom_shape
Author(s): Jacques Duflos
Status: Open

### Feature ###
This script is to use when you want to customize your bones.
The script will create a mesh object shaped like a blender bone
and will create a copy rotation constraint and a copy location
constraint so the mesh and the bone will be superposed (will
not work for scaling the bone in pose mode). The mesh and
the object will be named like the bone with a "_cs" extension.
cs stands for Custom Shape.

### Setup ###
The script needs bpy, bpy_extra and mathutils modules.
Just copy the auto_custom_shape.py to your script folder
and activate it the Addons menu in Rigging category.

### Manual ###
Start with the default scene and add an armature. Switch to pose
mode or edit mode and select one bone. In the bone menu of
the properties panel you should find an "Add custom shape"
layout with one only button. Clic on it. You can alternatively
find Auto custom shape in the spacebar search menu. If
everything is find, an info message will appear in the menu
bar. Else a warning message with a possible failure reason
will be displayed.

Event Timeline

Hello, I can't find out how to add the wiki page link, so I post it as a comment.
http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Rigging/Auto_custom_shape

Hi,
Due to changes to the api including the merging of bmesh, several addons are outdated.
Please, if you are the author of an addon check your script with blender revision 44256 or newer.
That is builds made After blender 2.62 official release.
I would ask that updates be made to your addon before the Blender 2.63 release.
6-8 weeks away.
This allows time for the api to become more exposed & bmesh to stablize furthur.
If you need help, drop into irc freenode #blenderpython or #blendercoders & feel welcome to ask questions.
At the time of 2.63 release, scripts that are not repaired or in active developement will have their tracker page marked "Closed"
this will not affect your links to the tracker, similar to closing scripts in 2.49b, the page will be still availible & can be re-opened.

Thanks for your understanding & patience during these Exciting Times.
Brendon.

Hello, I patched the script to the new API and it seems to work, I hope it's useful

{F231387}Applied patch & updated so created mesh is renderable. Still needs to work on all selected bones.

Current version:


Thanks to CrunchMe in irc #blender for the quick attention.
to test, activate addon create rigify or any rig, in pose or edit mode, menu is in properties > bone menu > create custom shape.
This will add octahedral mesh object for each selected bone or all bones (if all selected), each object is parented to the bone for render able bones & animation.
Still some work to do, bone draw types not supported yet, clean up & checks.

Brendon Murphy (meta-androcto) changed the task status from Unknown Status to Unknown Status.Jan 27 2017, 12:45 AM

Simply there's a lack of developer time to follow this through to full potential, atm the addon has some novel value, but is simply underdeveloped in terms of acceptance & current functionality.
Archiving