Home | Trees | Indices | Help |
|
---|
|
This object gives access to generic data from all Ipo curves objects in Blender.
Important Notes for Rotation Ipo Curves:
For the rotation Ipo curves, the y values for points are in units of 10 degrees. For example, 45.0 degrees is stored as 4.50 degrees. These are the same numbers you see in the Transform Properties pop-up menu ( NKey ) in the IPO Curve Editor window. Positive rotations are in a counter-clockwise direction, following the standard convention.
Instance Methods | |||
float |
|
||
|
|||
None |
|
||
string |
|
||
None |
|
||
string |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
string |
|
||
list of BezTriples |
|
||
None |
|
||
float |
|
Instance Variables | |
list of BezTriples. |
bezierPoints The list of the curve's bezier points. |
int |
driver Status of the driver. |
string or None |
driverBone Name of the armature bone used to drive the Ipo curve. |
string or None |
driverBone2 Name of the second bone used to drive the Ipo curve. |
int |
driverChannel Object channel used to drive the Ipo curve. |
string |
driverExpression Python expression used to drive the Ipo curve. |
Blender Object or None |
driverObject Object used to drive the Ipo curve. |
int |
extend The curve's extend mode. |
int |
interpolation The curve's interpolation mode. |
string |
name The IpoCurve data name. |
bool |
sel The selection state of this curve. |
Method Details |
Returns the value of the curve at a particular time.
|
Sets the value (Vertex Y) of the curve at a particular time.
|
Sets the extend mode of the curve (deprecated). Note: new scripts should use the extend attribute instead.
|
Gets the extend mode of the curve (deprecated). Note: new scripts should use the extend attribute instead.
|
Sets the interpolation type of the curve (deprecated). Note: new scripts should use the interpolation attribute instead.
|
Gets the interpolation type of the curve (deprecated). Note: new scripts should use the interpolation attribute instead.
|
Adds a Bezier point to a IpoCurve.
|
Adds a Bezier point to a curve deprecated). Note: new scripts should use append instead.
|
Deletes a Bezier point from a curve.
|
Recomputes the curve after changes to control points.
|
Returns the name of the Ipo curve (deprecated). Note: new scripts should use the name attribute instead. The name can be:
|
Returns all the points of the IpoCurve (deprecated). Note: new scripts should use the bezierPoints attribute instead.
|
Calls the IPO-curve cleaning function on this IpoCurve. There is no need to recalculate curve manually.
|
Compute the value of the Ipo curve at a particular time (deprecated). Note: new scripts should use icu[time] instead.
|
Instance Variable Details |
driverStatus of the driver. 1= object or armature/bone driver, 2= python expression, 0= no driver
|
driverBoneName of the armature bone used to drive the Ipo curve. If empty or None, sets driver type to object, otherwise sets driver type to pose. [0 - 31 chars]
|
driverBone2Name of the second bone used to drive the Ipo curve. Only to be used with ROT_DIFF channel. [0 - 31 chars]
|
driverChannelObject channel used to drive the Ipo curve. Use module constants: IpoCurve.LOC_X, IpoCurve.LOC_Y, IpoCurve.LOC_Z, IpoCurve.ROT_X, IpoCurve.ROT_Y, IpoCurve.ROT_Z, IpoCurve.SIZE_X, IpoCurve.SIZE_Y, IpoCurve.SIZE_Z, IpoCurve.ROT_DIFF (this last one is only for pose type drivers)
|
driverExpressionPython expression used to drive the Ipo curve. [0 - 127 chars]
|
extendThe curve's extend mode. See ExtendTypes for values.Note: Cyclic Ipo curves never reach the end value. If the first and last bezier points do not have the same y coordinate, the value of the curve when it "cycles" is that of the first point. If a user wants to get the value of the final curve point, read the final point from the curve: ipo = Blender.Object.Get('Cube').ipo icu = ipo['LocX'] endtime,endvalue = icu.bezierPoints[-1].pt
|
interpolationThe curve's interpolation mode. See InterpTypes for values.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Mon Aug 31 23:12:23 2009 | http://epydoc.sourceforge.net |