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 are 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 curveEach 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 Jul 13 16:50:05 2006 | http://epydoc.sf.net |