2010-06-23 3 views

ответ

0

Ok вот как я это сделал:

#get the key 
k = ob.getData().getKey() 
#create a new Ipo 
ni = Ipo.New('Key','ni') 
#if there check if there already a key by that name, otherwise add key 
if(k.ipo['Key 1'] == None): k.ipo.addCurve('Key 1') 
#add a point to the 'Key 1' ipo curve 
k.ipo['Key 1'].append(BezTriple.New(6.0,0.8,0.1)) 

И вот об этом. Вложенный первый ShapeKey создает «Basis», затем добавляются ключи, «Ключ 1» является именем по умолчанию