This object provides access to the control points of the curves that
make up a Blender Curve ObData.
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.
Note that CurNurb is used for accesing poly, bezier and nurbs type
curves.
None
|
|
BezTriple (Bezier Curve) or List of 5 floats [x, y, z, w, t] for
Poly or Nurbs
|
|
None
|
|
None
|
|
integer
|
|
boolean
|
isNurb()
Boolean method used to determine whether a CurNurb is of type
Bezier or of type Nurb. |
source code
|
|
boolean
|
isCyclic()
Boolean method checks whether a CurNurb is cyclic (a closed curve)
or not. |
source code
|
|
integer
|
|
None
|
setFlagU(flag)
Set the entire CurNurb knot flag U (knots are recalculated
automatically). |
source code
|
|
integer
|
|
None
|
setFlagV(value)
Set the CurNurb knot flag V (knots are recalculated
automatically). |
source code
|
|
integer
|
|
None
|
setType(value)
Set the type of the curve and converts the curve to its new type
if needed |
source code
|
|