[Bf-committers] Python API Question
Stephen Swaney
sswaney at centurytel.net
Tue Jul 18 01:35:12 CEST 2006
On Mon, Jul 17, 2006 at 04:54:14PM -0400, Thomas H. Hendrick wrote:
> Looking through the source of CurNurb.c in python/api2_2x, it appears we
> cannot access all of the control points of a nurbs surface through the
> Python API, even though surfaces are represented using the same Curve
> structure.
One of our design principles for the BPy was the API should resemble
Blender. Blender draws a distinction in its interface between Curves
and Surfaces. Our thinking was the API should reflect that difference
even though, as you noticed, both Curves and Surfaces share a common
structure.
Work on a Surface module as never finished. For a while, it looked as
though Nurbana would be integrated with Blender which would affect the
implementation of a Surface module. This has not happened.
If you are interested in working on a Surface module, feel free to do
so. Remember that the iterator protocol and tp_getset are your friends.
Further discussion is directed to the bpy mailing list where people have
more of an interest in this sort of thing.
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-committers
mailing list