Saturday, November 01, 2008


My first python script! An animation I was working on was too short. It would have taken a lot of time to go in and scale all the ipo curves, so here's a script* to make an animation 3 times longer.

import Blender, bpy;
from Blender import Ipo;

for x in
for y in x.curves:
for z in y.bezierPoints: = [[0]*3,[1]];

If you're very clever you can find the value 3 and change it...but only if you're really clever ok?. I'll try and add a ui to it sometime!

*Your computer may be repossessed if you run this script or other scripts provided by me

No comments:

Post a Comment