Wrapper for Blender Ipo DataBlock
Attributes
- curves
list of owned IpoCurves
Methods
|
|
__getitem__
__setitem__
addCurve
get
keys
|
|
__getitem__
|
__getitem__ ( self, k )
Emulates dictionary syntax, e.g. ipocurve = ipo['LocX']
Exceptions
|
|
KeyError, "Ipo does not have a curve for channel %s" % k
|
|
|
__setitem__
|
__setitem__ (
self,
k,
val,
)
Emulates dictionary syntax, e.g. ipo['LocX'] = ipocurve
|
|
addCurve
|
addCurve (
self,
channel,
curve=None,
)
Adds a curve of channel type channel to the Ipo Block. channel must be one of
the object properties listed in the Ipo Window. If curve is not specified,
an empty curve is created, otherwise, the existing IpoCurve curve is copied and
added to the IpoBlock self .
In any case, the added curve is returned.
|
|
get
|
get ( self, channel=None )
Returns curve with channel identifier channel , which is one of the properties
listed in the Ipo Window, None if not found.
If channel is not specified, all curves are returned in a list
|
|
keys
|
keys ( self )
|
|