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
|
|
int
|
flagU
The CurNurb knot flag U.
|
int
|
flagV
The CurNurb knot flag V.
|
tuple of floats
|
knotsU
The knot vector in the U direction.
|
tuple of floats
|
knotsV
The knot vector in the V direction.
|
int
|
orderU
The CurNurb knot order U, for nurbs curves only, this is clamped
by the number of points, so the orderU will never be greater.
|
bool
|
smooth
Set the smoothing for this curve (applies to cuve objects that
have a bevel)
|
int
|
type
The type of the curve (Poly: 0, Bezier: 1, NURBS: 4)
|