updated Metaball doc

This commit is contained in:
Jacques Guignot 2004-06-14 08:55:45 +00:00
parent 9b2626f232
commit 8e48c5c412

@ -69,11 +69,36 @@ class Metaball:
- params 8,9,10: floats - the expx, expy and expz values of the metaelem.
@type paramslist: list
@param paramslist: the list of the parameters for creating a new metaelem.
@rtype: None
@return: None
"""
def getMetaElemList():
"""
retreives the list of the Metaelems of the Metaball
@rtype: List
@return: List of Metaelem classes
Each Metaelem object has NO function, but 4 read/write fields
coords : a list of three floats, the coordinates of the Metaelem object
dims : a list of three floats, the dimensions of the meteelem object
rad : a float, the radius of the object
stif : a float, the stifness of the object
Example :
import Blender
mb = Blender.Metaball.Get("mball")
ob = Blender.Object.Get("ob")
ll = mb.getMetaElemList()
me = ll[0]
old = me.coords
new = [old[0],old[1],old[2]-.02]
me.coords = new
ob.makeDisplayList()
Blender.Window.QRedrawAll()
"""
def getName():
"""
Retrieves the name of a metaball object.