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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user