Trees | Indices | Help |
---|
|
This object gives access to Lattices in Blender.
|
|||
string |
|
||
|
|||
list of ints |
|
||
|
|||
list of strings |
|
||
|
|||
string |
|
||
|
|||
list of floats |
|
||
|
|||
Key.Key |
|
||
|
|||
Lattice |
|
|
|||
key The Key.Key object associated with this Lattice or None. |
|
|||
depth The number of z dimension partitions. |
|||
depthType The z dimension key type. |
|||
bool |
fakeUser When set to True, this datablock wont be removed, even if nothing is using it. |
||
height The number of y dimension partitions. |
|||
heightType The y dimension key type. |
|||
latSize The number of points in this Lattice (width*height*depth). |
|||
string or None |
lib path to the blend file this datablock is stored in (readonly). |
||
mode The current mode of the Lattice. |
|||
string |
name unique name within each blend file. |
||
IDGroup |
properties Returns an IDGroup reference to this datablocks's ID Properties. |
||
bool |
tag A temporary tag that to flag data as being used within a loop. |
||
int |
users The number of users this datablock has. |
||
width The number of x dimension partitions. |
|||
widthType The x dimension key type. |
|
Get the name of this Lattice datablock.
|
Set the name of this Lattice datablock.
|
Gets the number of 'walls' or partitions that the Lattice has in the x, y, and z dimensions.
|
Set the number of 'walls' or partitions that the Lattice will be created with in the x, y, and z dimensions.
|
Returns the deformation key types for the x, y, and z dimensions of the Lattice.
|
Sets the deformation key types for the x, y, and z dimensions of the Lattice. There are three key types possible:
|
Returns the current Lattice mode
|
Sets the current Lattice mode There are two Lattice modes possible:
|
Returns the coordinates of a point in the Lattice by index.
|
Sets the coordinates of a point in the Lattice by index.
|
Returns the Key.Key object associated with this Lattice.
|
Inserts the current state of the Lattice as a new absolute keyframe Example: for z in range(5): for y in range(125): vec = myLat.getPoint(y) co1 = vec[0] + vec[2] co2 = vec[1] - vec[2] co3 = vec[2] + vec[1] myLat.setPoint(y,[co1,co2,co3]) w = (z + 1) * 10 myLat.insertKey(w)
|
Make a copy of this lattice
|
|
fakeUserWhen set to True, this datablock wont be removed, even if nothing is using it. All data has this disabled by default except for Actions.
|
libpath to the blend file this datablock is stored in (readonly).lib will be None unless you are using external blend files with (File, Append/Link) Note: the path may be relative, to get the full path use Blender.sys.expandpath
|
nameunique name within each blend file.The name is case sensitive and 21 characters maximum length. Note: a blend file may have naming collisions when external library data is used, be sure to check the value of lib. Note: Setting a value longer then 21 characters will be shortened
|
tagA temporary tag that to flag data as being used within a loop. always set all tags to True or False before using since blender uses this flag for its own internal operations.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:51 2008 | http://epydoc.sourceforge.net |