diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-04-17 17:48:16 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-04-17 17:48:16 +0400 |
commit | 127abda43db712fecd6c23c9b79a0954782b7b82 (patch) | |
tree | 96ec24316d0825fdba1fa9ef75a5d52d8fde6ca6 /source/blender/python/api2_2x/doc | |
parent | fa5d910f93c0cb279f5a41af9cc3d36d53f8c94f (diff) |
New methods for Curve module: getBevOb() and setBevOb()
Adds ability to set, clear and get bevel object for a Curve.
Contributed by Gergely Erdelyi (dyce).
Thanks!
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/Curve.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Curve.py b/source/blender/python/api2_2x/doc/Curve.py index 63df00a2256..5468966b1ba 100644 --- a/source/blender/python/api2_2x/doc/Curve.py +++ b/source/blender/python/api2_2x/doc/Curve.py @@ -73,6 +73,7 @@ class Curve: @cvar loc: The Curve Data location(from the center). @cvar rot: The Curve Data rotation(from the center). @cvar size: The Curve Data size(from the center). + @cvar bevob: The Curve Bevel Object """ def getName(): @@ -319,6 +320,23 @@ class Curve: @return: list of Material Objects assigned to the Curve. """ + def getBevOb(): + """ + Returns the Bevel Object (BevOb) assigned to the Curve. + @rtype: Blender Object or PyNone + @return: Bevel Object (BevOb) assigned to the Curve. + """ + + def setBevOb( object ): + """ + Assign a Bevel Object (BevOb) to the Curve. Passing None as the object parameter removes the bevel. + @rtype: PyNone + @return: PyNone + @type object: Curve type Blender Object + @param object: Blender Object to assign as Bevel Object (BevOb) + @raise TypeError: throws exception if the parameter is not a Curve type Blender Object or PyNone + """ + def update(): """ Updates display list for a Curve. |