Module Ipo
[frames | no frames]

Module Ipo

The Blender.Ipo submodule

New: Ipo updates to both the program and bpython access.

This module provides access to the Ipo Data in Blender. An Ipo is composed of several IpoCurves.

A datatype is defined : IpoCurve type. The member functions of this data type are given below.

Example:
 import Blender
 ob = Blender.Ipo.Get('ipo')    # retrieves an ipo object
 ob.setName('ipo1')
 print ob.name
 print ipo.getRctf()
 ipo.setRctf(1,2,3,4)

Classes
BezTriple This object gives access to generic data from all beztriple objects in Blender.
Ipo This object gives access to generic data from all objects in Blender.
IpoCurve This object gives access to generic data from all ipocurves objects in Blender.

Function Summary
Blender Ipo or a list of Blender Ipos Get(name)
Get the Ipo from Blender.
Blender Ipo New(type, name)
Creates a new Ipo.

Function Details

Get(name=None)

Get the Ipo from Blender.
Parameters:
name - The name of the requested Ipo, or nothing.
           (type=string)
Returns:
It depends on the 'name' parameter:
  • (name): The Ipo with the given name;
  • (): A list with all Ipos in the current scene.

           (type=Blender Ipo or a list of Blender Ipos)

New(type, name)

Creates a new Ipo.
Parameters:
type - The Ipo's blocktype. Depends on the object the ipo will be linked to. Currently supported types are Object, Camera, World, Material, Texture, Lamp, Action, Constraint, Sequence, Curve, Key.
           (type=string)
name - The name for this Ipo.
           (type=string)
Returns:
The created Ipo.
           (type=Blender Ipo)

Generated by Epydoc 2.1 on Mon Jun 13 15:31:23 2005 http://epydoc.sf.net