removed blender2cal3d.py, this is the second time where nobody has been able to maintain this script to fix minor bugs, aparently the cal3d/soya guys maintain their own scripts anyhow.

Adding switchDirection() for curNurbs. simple function and double checked to make sure its ok.
This commit is contained in:
2007-01-04 10:18:37 +00:00
parent eb1ca77fc4
commit 50edac630b
3 changed files with 31 additions and 1520 deletions

View File

@@ -467,6 +467,21 @@ class Curve:
@raise AttributeError: throws exception if curve_num is out of range.
"""
def switchDirection( ):
"""
Reverse the direction of a curve.
@return: None
I{B{Example:}}
# This example switches the direction of all curves on the active object.
from Blender import *
scn = Scene.GetCurrent()
ob = scn.objects.active # must be a curve
data = ob.data
for cu in data: cu.switchDirection()
"""
def getNumCurves():
"""
Get the number of curves in this Curve Data object.