Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Guignot <guignot@wanadoo.fr>2004-06-15 20:17:25 +0400
committerJacques Guignot <guignot@wanadoo.fr>2004-06-15 20:17:25 +0400
commit23165676b7cfa91c6e4b4a2e4975b09623659e79 (patch)
tree27bc303af55f33a3f7667a4b14fad057bd7a9d33 /source/blender/python/api2_2x/doc/Metaball.py
parent3406c81a6b95aba8940c0f92efc8511b2d47f85e (diff)
updated documentation
Diffstat (limited to 'source/blender/python/api2_2x/doc/Metaball.py')
-rw-r--r--source/blender/python/api2_2x/doc/Metaball.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/source/blender/python/api2_2x/doc/Metaball.py b/source/blender/python/api2_2x/doc/Metaball.py
index e8fd523d7a0..7e00cabe051 100644
--- a/source/blender/python/api2_2x/doc/Metaball.py
+++ b/source/blender/python/api2_2x/doc/Metaball.py
@@ -74,28 +74,28 @@ class Metaball:
"""
- def getMetaElemList():
+ 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()
+ Each Metaelem object has NO function, but 4 read/write fields\n
+ coords : a list of three floats, the coordinates of the Metaelem object\n
+ dims : a list of three floats, the dimensions of the meteelem object\n
+ rad : a float, the radius of the object\n
+ stif : a float, the stifness of the object\n
+ Example : \n
+ import Blender\n
+
+ mb = Blender.Metaball.Get("mball")\n
+ ob = Blender.Object.Get("ob")\n
+ ll = mb.getMetaElemList()\n
+ me = ll[0]\n
+ old = me.coords\n
+ new = [old[0],old[1],old[2]-.02]\n
+ me.coords = new\n
+
+ ob.makeDisplayList()\n
Blender.Window.QRedrawAll()
"""