| Home | Trees | Index | Help |
|
|---|
| Module IpoCurve :: Class IpoCurve |
|
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.| Method Summary | |
|---|---|
| float |
Returns the value of the curve at a particular time. |
Sets the value (Vertex Y) of the curve at a particular time. | |
| None |
Adds a Bezier point to a curve deprecated). |
| None |
Adds a Bezier point to a IpoCurve. |
| None |
Deletes a Bezier point from a curve. |
| float |
Compute the value of the Ipo curve at a particular time (deprecated). |
| string |
Gets the extend mode of the curve (deprecated). |
| string |
Gets the interpolation type of the curve (deprecated). |
| string |
Returns the name of the Ipo curve (deprecated). |
| list of BezTriples |
Returns all the points of the IpoCurve (deprecated). |
| None |
Recomputes the curve after changes to control points. |
| None |
Sets the extend mode of the curve (deprecated). |
| None |
Sets the interpolation type of the curve (deprecated). |
| Instance Variable Summary | |
|---|---|
| list of BezTriples. | bezierPoints: The list of the curve's bezier points. |
| int | driver: Status of the driver. |
| 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 |
|---|
__getitem__(time)
Returns the value of the curve at a particular time.
|
__setitem__(time)
Sets the value (Vertex Y) of the curve at a particular time.
|
addBezier(coordlist)Adds a Bezier point to a curve deprecated). Note: new scripts should useappend instead.
|
append(point)Adds a Bezier point to a IpoCurve.
|
delBezier(index)Deletes a Bezier point from a curve.
|
evaluate(time)Compute the value of the Ipo curve at a particular time (deprecated). Note: new scripts should useicu[time] instead.
|
getExtrapolation()Gets the extend mode of the curve (deprecated). Note: new scripts should use theextend attribute instead.
|
getInterpolation()Gets the interpolation type of the curve (deprecated). Note: new scripts should use theinterpolation attribute instead.
|
getName()Returns the name of the Ipo curve (deprecated). Note: new scripts should use thename attribute instead. The name can
be:
|
getPoints()Returns all the points of the IpoCurve (deprecated). Note: new scripts should use thebezierPoints attribute instead.
|
recalc()Recomputes the curve after changes to control points.
|
setExtrapolation(extendmode)Sets the extend mode of the curve (deprecated). Note: new scripts should use theextend attribute instead.
|
setInterpolation(interpolationtype)Sets the interpolation type of the curve (deprecated). Note: new scripts should use theinterpolation attribute instead.
|
| Instance Variable Details |
|---|
bezierPointsThe list of the curve's bezier points.
|
driverStatus of the driver. 1= on, 0= object, 2= python expression.
|
driverExpressionPython expression used to drive the Ipo curve. [0 - 127 chars]
|
driverObjectObject used to drive the Ipo curve.
|
extendThe curve's extend mode. See
ipo = Blender.Object.Get('Cube').ipo
icu = ipo['LocX']
endtime,endvalue = icu.bezierPoints[-1].pt
|
interpolationThe curve's interpolation mode. SeeInterpTypes for values.
|
nameThe IpoCurve data name.
|
selThe selection state of this curve.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu May 10 20:32:00 2007 | http://epydoc.sf.net |