Page MenuHome

keyframe-torture.py

File Metadata

Author
Robert Forsman (mutantbob)
Created
May 30 2014, 5:03 PM

keyframe-torture.py

import bpy
import random
random.seed(420)
print(random.randrange(100))
obj = bpy.context.active_object
todo = []
for t in range(1,36):
for idx in range(3):
todo.append( [t,idx] )
while 0 < len(todo):
q = todo[random.randrange(len(todo))]
todo.remove(q)
print(q)
keyframeFor(q[0], q[1])

Event Timeline