[Bf-blender-cvs] CVS commit: blender/release/scripts/bpymodules BPyCurve.py

Campbell Barton cbarton at metavr.com
Thu Dec 7 16:22:56 CET 2006


campbellbarton (Campbell Barton) 2006/12/07 16:22:56 CET

  Added files:
    blender/release/scripts/bpymodules BPyCurve.py 
  
  Log:
  Adding a function that gets a list of polylines from a curve object
  
  curve2vecs(ob, WORLDSPACE= True):
  '''
  Takes a curve object and returns a list of vec lists (polylines)
  one list per curve
  
  This is usefull as a way to get a polyline per curve
  so as not to have to deal with the spline types directly
  '''



More information about the Bf-blender-cvs mailing list