Bezier Curves

Animation tools, character animation, non linear animation

Moderators: jesterKing, stiv

DonLuccar
Posts: 3
Joined: Tue Mar 26, 2013 1:06 am

Bezier Curves

Postby DonLuccar » Tue Mar 26, 2013 1:37 am

Hi there,

Currently I am working on an exporter. But I am stuck on the animation.

I want to export the keyframes and interpolation information, so the Bezier control points. The only problem is that I don't know how to access the data.

I would be really glad about a solution which gives me back the keyframes as bpy.types.Keyframe objects, so that I could read out all the interpolation information from that.



Allready thanks in advance ^o^

DonLuccar
Posts: 3
Joined: Tue Mar 26, 2013 1:06 am

Postby DonLuccar » Wed Mar 27, 2013 12:15 am

Ok i've solved it =^ω^=

For anyone who has the same problem:

bpy.data.actions
is a list with all animation channels

bpy.data.actions[...].fcurves[0].keyframe_points
is a list with all keyframes of the channel as Keyframe objects


Return to “Animation”

Who is online

Users browsing this forum: No registered users and 0 guests