[Bf-python] problem getting IK solvers informations from script

Joseph Gilbert models at paposo.com
Sat Apr 24 04:05:56 CEST 2004


The armature module is still not completed. The getLoc/Quat refer to the
'still pose' of the armature.  They do not reflect animations.  I have added
some code to the armature module which will allow you to set the poses of
individual bones. These poses will be placed in an 'action' for the
armature's object (data must be object linked). Ipo keys are then created in
the 'action' for each bone's pose (created as an action channel with action
keys). You should be able to get these Ipo curves from the actions that were
created by setting a bone's pose at a specific frame. This will be part of
the next release 2.33. For the next release hopefully we'll have some code
that will allow you to get and set local/worldspace matrix transformations
per bone for doing import and export scripts.

-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of nagash at free.fr
Sent: Friday, April 23, 2004 8:35 AM
To: bf-python at blender.org
Subject: [Bf-python] problem getting IK solvers informations from script




Hi,
I try to write an export script that can export bones animations using
IKsolvers but it seems that neither IPO curves nor getLoc/getQuat on bones
give
the modification due to IK resolutions.

In fact, between two key frames, some bones have moved because of others
have.
I don't know how to get this movement or how to compute it (maybe just need
to multiply by the IK matrix if i can't get it...I'm beginner at blender
python
scripting).

If anybody have a solution or an idea, please help me.

Thanks
--
Julien
_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://www.blender.org/mailman/listinfo/bf-python





More information about the Bf-python mailing list