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

Class Metaelem


The Metaelem object

This gives direct access to meta element data within a metaball.
Instance Variable Summary
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

co

The location of this element.
Type:
Vector

dims

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

hide

Element hidden status.
Type:
bool

negative

Element negative volume status.
Type:
bool

quat

Element rotation.
Type:
Quaternion

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

Generated by Epydoc 2.1 on Sun Feb 11 13:30:19 2007 http://epydoc.sf.net