-
- Downloads
New Curve method Curve.appendPoint( numcurve, newpoint ) to add
points to a Curve. New supporting module CurNurb to provide access to the curves in a Curve and their associated points. Curve module now supports Python iterator and sequence protocols. This allows typical python programming idioms using 'for' statement and the [] operator. # example 1 for curve in a_curve: for point in curve: print point #example 2 curnurb = a_curve[0] curnurb.append( [1,1,1,1] ) Still under construction. Epydoc will follow.
Showing
- source/blender/python/SConscript 1 addition, 0 deletionssource/blender/python/SConscript
- source/blender/python/api2_2x/Blender.c 3 additions, 1 deletionsource/blender/python/api2_2x/Blender.c
- source/blender/python/api2_2x/CurNurb.c 686 additions, 0 deletionssource/blender/python/api2_2x/CurNurb.c
- source/blender/python/api2_2x/CurNurb.h 11 additions, 0 deletionssource/blender/python/api2_2x/CurNurb.h
- source/blender/python/api2_2x/Curve.c 978 additions, 738 deletionssource/blender/python/api2_2x/Curve.c
- source/blender/python/api2_2x/Types.c 6 additions, 3 deletionssource/blender/python/api2_2x/Types.c
- source/blender/python/api2_2x/Types.h 3 additions, 1 deletionsource/blender/python/api2_2x/Types.h
- source/blender/python/api2_2x/bpy_types.h 28 additions, 3 deletionssource/blender/python/api2_2x/bpy_types.h
- source/blender/python/api2_2x/modules.h 6 additions, 0 deletionssource/blender/python/api2_2x/modules.h
Loading
Please register or sign in to comment