[Bf-python] module IPO

Jacques Guignot guignot at wanadoo.fr
Fri Jul 18 00:39:14 CEST 2003


>
> but...  how do we access the curves? 


The first parameter is the curve number.
I'll try to pass too the curve names.

> Scripts writers need to evaluate the curve at a given time, 

Use GetCurvecurval(curve number) : returns the current value at the 
current time.

if u want to have the value at time T, first call scene.curval = T, then 
use GetCurvecurval()

>
> and also  add, modify and remove bezierpoint.

modify :

To modify the i-th bezierpoint of curve number j and set it at value 
v1,v2,v3,v4,v5,v6,v7,v8,v9 :
SetCurvebeztriple(j,i,[v1,v2,v3,v4,v5,v6,v7,v8,v9 ])

add, remove : I put in my TODO list...

Cheers.
J.







More information about the Bf-python mailing list