| Home | Trees | Indices | Help |
|
|---|
|
|
The Blender.IpoCurve submodule
New:
This module provides access to the IpoCurve data in Blender. An Ipo is composed of several IpoCurves, and an IpoCurve are composed of several BezTriples.
Warning: Ipo curves store euler rotations as degrees/10.0 so 180.0 would be 18.0
Example:
import Blender
ipo = Blender.Ipo.Get('ObIpo') # retrieves an Ipo object
ipo.name = 'ipo1' # change the Ipo's name
icu = ipo[Blender.Ipo.OB_LOCX] # request X Location Ipo curve object
if icu != None and len(icu.bezierPoints) > 0: # if curve exists and has BezTriple points
val = icu[2.5] # get the curve's value at time 2.5
| Classes | |
|
IpoCurve This object gives access to generic data from all Ipo curves objects in Blender. |
|
| Variables | |
| readonly dictionary |
ExtendTypes The available IpoCurve extend types. |
| readonly dictionary |
InterpTypes The available IpoCurve interpolation types. |
__package__ = None
|
|
| Variables Details |
ExtendTypesThe available IpoCurve extend types.
|
InterpTypesThe available IpoCurve interpolation types.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Mon Aug 31 23:12:21 2009 | http://epydoc.sourceforge.net |