Module Ipo
[frames | no frames]

Module Ipo

The Blender.Ipo submodule

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')    # retreives 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.
           (type=string)
name - The name for this Ipo.
           (type=string)
Returns:
The created Ipo.
           (type=Blender Ipo)

Generated by Epydoc 2.0 on Wed May 12 22:11:00 2004 http://epydoc.sf.net