Module Metaball :: Class Metaelem
[frames] | no frames]

Class Metaelem

The Metaelem object

This gives direct access to meta element data within a metaball.

Instance Variables
Vector co
The location of this element.
Vector dims
Element dimensions.
bool hide
Element hidden status.
bool negative
Element negative volume status.
Quaternion quat
Element rotation.
float radius
Element radius.
float stiffness
Element stiffness.
int type
The type of the metaball.
Instance Variable Details

dims

Element dimensions. Values clamped between 0 and 20 on all axies.
Type:
Vector

radius

Element radius. Value clamped between 0 and 5000.
Type:
float

stiffness

Element stiffness. Value clamped between 0 and 10.
Type:
float

type

The type of the metaball. Values must be from Types

Example:

       from Blender import Metaball
       mb= Metaball.Get('mb')
       for el in mb.elements:
         el.type= Metaball.Types.CUBE
Type:
int