| Home | Trees | Index | Help |
|
|---|
| Module Ipo |
|
The Blender.Ipo submodule
New:This module provides access to the Ipo Data in Blender. An Ipo is composed of several IpoCurves, and an IpoCurve is composed of several BezTriples.
Example:
from Blender import Ipo
ob = Ipo.Get('ObIpo') # retrieves an Ipo object
ob.name = 'ipo1' # change the Ipo's name
icu = ipo[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
icu[Ipo.OB_LOCX] = None # delete the ipo curve
Each type of Ipo has different types Ipocurves. With the exception of
Shape Key Ipos, constants are used to specify all Ipocurves. There are
two ways to tell which Ipo curves go with which Ipo type:
Ipo.curveConsts, which returns the
valid Ipo curve types for that specific Ipo
Ipo.curveConsts attribute for Shape Key
Ipos returns a list of all defined key names.
| Classes | |
|---|---|
Ipo |
This object gives access to Ipo data from all objects in Blender. |
| Function Summary | |
|---|---|
| Blender Ipo or a list of Blender Ipos |
Get the Ipo from Blender. |
| Blender Ipo |
Creates a new Ipo. |
| Function Details |
|---|
Get(name=None)Get the Ipo from Blender.
|
New(type, name)Creates a new Ipo.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu May 10 20:32:00 2007 | http://epydoc.sf.net |