Module Metaball :: Class Metaball

Class Metaball

source code

The Metaball object

This metaball gives access to generic data from all metaballs in Blender.

Instance Methods
Metaball
__copy__()
Return a copy of this metaball object data.
source code
Instance Variables
MetaElemSeq elements
Element iterator of MetaElemSeq type.
bool fakeUser
When set to True, this datablock wont be removed, even if nothing is using it.
string or None lib
path to the blend file this datablock is stored in (readonly).
list materials
List of up to 16 Materials or None types Only the first material of the mother-ball used at the moment.
string name
unique name within each blend file.
IDGroup properties
Returns an IDGroup reference to this datablocks's ID Properties.
float rendersize
render resolution.
bool tag
A temporary tag that to flag data as being used within a loop.
float thresh
Threshold setting for this metaball.
int update
The update method to use for this metaball.
int users
The number of users this datablock has.
float wiresize
display resolution.
Method Details

__copy__()

source code 
Return a copy of this metaball object data.
Returns: Metaball
Metaball

Instance Variable Details

fakeUser

When set to True, this datablock wont be removed, even if nothing is using it. All data has this disabled by default except for Actions.
Type:
bool

lib

path 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
Type:
string or None

name

unique 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
Type:
string

rendersize

render resolution. Value clamped between 0.05 and 1.0.

A lower value results in more polygons.
Type:
float

tag

A 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.
Type:
bool

thresh

Threshold setting for this metaball. Value clamped between 0.0 and 5.0.
Type:
float

users

The number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
Type:
int

wiresize

display resolution. Value clamped between 0.05 and 1.0.

A lower value results in more polygons.
Type:
float