Home | Trees | Index | Help |
|
---|
Module Curve :: Class SurfNurb |
|
This object provides access to the control points of the surfaces that make up a Blender Curve.
The SurfNurb supports the Python iterator and sequence protocols which means you can use a python for statement or [] operator to access the points in a surface. Points are accessed linearly; for a N-by-M UV surface, the first N control points correspond to V=0, then second N to V=1, and so on.Method Summary | |
---|---|
List of 5 floats [x, y, z, w, t] for Poly or Nurbs |
Get the Nth control point in the surface. |
None |
Set the Nth control point in the surface. |
Instance Variable Summary | |
---|---|
boolean | cyclicU : The cyclic setting for the U direction (True = cyclic). |
boolean | cyclicV : The cyclic setting for the V direction (True = cyclic). |
int | flagU : The knot flag U. |
int | flagV : The knot flag V. |
int | orderU : The order setting for the U direction. |
int | orderV : The order setting for the V direction. |
int | pointsU : The number of control points in the U direction (read only). |
int | pointsV : The number of control points in the V direction (read only). |
Method Details |
---|
__getitem__(n)
Get the Nth control point in the surface.
|
__setitem__(n,
point)
Set the Nth control point in the surface.
|
Instance Variable Details |
---|
cyclicUThe cyclic setting for the U direction (True = cyclic).
|
cyclicVThe cyclic setting for the V direction (True = cyclic).
|
flagUThe knot flag U. Changing the knot type automatically recalculates the knots. The flag can be one of three values:
|
flagVThe knot flag V. SeeflagU for description.
|
orderUThe order setting for the U direction. Values are clamped to the range [2:6] and not greater than the U dimension.
|
orderVThe order setting for the V direction. Values are clamped to the range [2:6] and not greater than the V dimension.
|
pointsUThe number of control points in the U direction (read only).
|
pointsVThe number of control points in the V direction (read only).
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 11 13:30:18 2007 | http://epydoc.sf.net |