Home | Trees | Index | Help |
|
---|
Module Curve :: Class CurNurb |
|
This object provides access to the control points of the curves that make up a Blender Curve.
The CurNurb supports the python iterator protocol which means you can use a python for statement to access the points in a curve.
The CurNurb also supports the sequence protocol which means you can access the control points of a CurNurb using the [] operator.Method Summary | |
---|---|
PyNone |
Appends a new point to a curve. |
integer |
Returns the Material index for this CurNurb. |
boolean |
Boolean method used to determine whether a CurNurb is of type Bezier or of type Nurb. |
PyNone |
Sets the Material index for this CurNurb. |
Method Details |
---|
append(new_point)Appends a new point to a curve. This method appends points to both Bezier and Nurb curves. The type of the argument must match the type of the curve. An empty curve will assume the type of the first appended point.
|
getMatIndex()Returns the Material index for this CurNurb.
|
isNurb()Boolean method used to determine whether a CurNurb is of type Bezier or of type Nurb.
|
setMatIndex(index)Sets the Material index for this CurNurb.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 12 21:47:29 2004 | http://epydoc.sf.net |