[Bf-python] Partial proposal for armature+bone modules

Jordi Rovira i Bonet jordi.rovira at ima.udg.es
Wed May 21 16:16:42 CEST 2003


Hello,
  Here's the first proposal for the Armatures module in the experimental 
python API.
  Missing things :
    - access to vertex weights!
    - modification of the hierarchy
    - actions

  Notes:
    - the bone module gets initialized inside the armature module
    - It is possible to wrap a NULL bone (when asking for the parent of 
a bone, for example) This is a temp solution, maybe i should implement a 
"has_parent" query, because it would be simpler.

  I've tries to take into account the last discussion on the list (i've 
implemented "the 3 functions"), but maybe i've missed something.
  Of couse, comments are welcome.

(bandoler)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Armature.c
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20030521/60de6c2b/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Armature.h
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20030521/60de6c2b/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Bone.c
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20030521/60de6c2b/attachment-0001.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Bone.h
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20030521/60de6c2b/attachment-0001.h>


More information about the Bf-python mailing list