Skip to content
Snippets Groups Projects
Commit bce2c02f authored by Stephen Swaney's avatar Stephen Swaney
Browse files

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.
parent 1c5302e6
No related branches found
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment