[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x SurfNurb.h SurfNurb.c Blender.c Curve.c Types.c blender/source/blender/python/api2_2x/doc Curve.py
Ken Hughes
khughes at pacific.edu
Mon Aug 28 06:44:16 CEST 2006
khughes (Ken Hughes) 2006/08/28 06:44:16 CEST
Modified files:
blender/source/blender/python/api2_2x Blender.c Curve.c
Types.c
blender/source/blender/python/api2_2x/doc Curve.py
Added files:
blender/source/blender/python/api2_2x SurfNurb.h SurfNurb.c
Log:
===Python API===
New API for accessing surface data (SurbNurb type). Right now it's hooked in
through the Curve API, since Curve.Get() doesn't differentiate between curves
and surfaces. If the curve object is 2D (pntsv > 1), the SurfNurb object is
created.
It is similar to the CurNurb type but not identical. There are only
attributes and no methods yet, and the only methods which will be added are
the non-getStuff/setStuff kind. Read the documentation to see how it works
(sorry, no examples yet).
This is a work in progress. Don't be surprised if the API changes some more.
Revision Changes Path
1.86 +3 -1 blender/source/blender/python/api2_2x/Blender.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Blender.c.diff?r1=1.85&r2=1.86&cvsroot=bf-blender>
1.41 +12 -9 blender/source/blender/python/api2_2x/Curve.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Curve.c.diff?r1=1.40&r2=1.41&cvsroot=bf-blender>
1.35 +5 -2 blender/source/blender/python/api2_2x/Types.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Types.c.diff?r1=1.34&r2=1.35&cvsroot=bf-blender>
1.22 +64 -1 blender/source/blender/python/api2_2x/doc/Curve.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/Curve.py.diff?r1=1.21&r2=1.22&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list