[Bf-python] Animation keys and vertex influences

Jiba jiba at tuxfamily.org
Sat Jul 26 03:46:39 CEST 2003


Hi all,

I am writing a Blender => Cal3D converter, using the new Blender 2.28 Python API (Cal3D is a 3D animation library, http://cal3d.sourceforge.net).

I am running into some problem, though :

First NMesh.getVertexInfluences() seems buggy :
 - it segfaults if the vertex has several influences.
 - it does not work on raw data (e.g. a NMesh given by Blender.NMesh.GetRawFromObject(), on a mesh that use SubSurf) : all vertices has empty influences.

Secondly, i have trouble for getting the animation data (probably what is called "Ipo" by Blender ?). What i need is to recover the information entered in Blender's "action" window, in particular the time at which keyframe have been entered. Does someone knows which property of Ipo or IpoCurve object contains this information ?

Any help is welcome !

PS i can send a 50kb demo file if you want.

Jiba




More information about the Bf-python mailing list