This class defines an independent surface that uses control vertices (CVs) to describe its shape. The CVs define a control lattice which surrounds the surface.
Any of the object's properties may be set via optional keyword arguments on the constructor.
The order of the surface in the U and V directions.
The number of knots in the surface in the U and V directions. If this value is changed, the previous knot data is NOT maintained. Because they are generated mathematically, NURBS surfaces have a parameter space in addition to the 3D geometric space in which they are displayed. Specifically, an array of values called knots specifies the extent of influence of each control vertex (CV) on the surface.
The number of control vertices for the surface in the U and V directions. If this value is changed, the previous control vertex data is NOT maintained.
The transformation matrix for the NURBSCVSurface. This controls the relative position of the item within a NURBSSet.
true if the edges of the surface overlap in U and/or V even though the surface may not be closed (that is, the tangents match at the edges), false otherwise.
#notAutomatic, #autoCentripetal, and #autoUniform correspond to the Automatic Reparam options in the CV Surface rollouts: none, chord length and uniform, respectively. Defaults to #notAutomatic.
true if the surface is 'rigid'; otherwise false. The only editing allowed on a rigid surface is to transform it at the Surface sub-object level. You can't move a rigid surface's points or CVs, or change the number of points or CVs. Rigid surfaces reduce the amount of memory used by the NURBS model. Making surfaces rigid improves performance, especially for large and complex models. When a surface is rigid, you can't see its points or CVs when you are at the Point or Surface CV sub-object levels. If the model has no nonrigid surfaces and no point curves, the Point and Surface CV sub-object levels aren't available at all.
Closes the surface in the U direction.
Closes the surface in the V direction.
Get the indexed U-direction knot; knot indexes are 1-based.
Sets the indexed U-direction knot to the given value; knot indexes are 1-based.
Get the indexed V-direction knot; knot indexes are 1-based.
Get the indexed V-direction knot to the given value; knot indexes are 1-based.
Get the CV at the given U and V index as a NURBSControlVertex; CV indexes are 1-based.
Sets the CV at the given U and V index to the supplied NURBSControlVertex; CV indexes are 1-based.
Adds new row of interpolated CVs in the U direction on the surface at the given parametric V point.
Adds new column of interpolated CVs in the V direction on the surface at the given parametric U point.
Adds a new row and column of interpolated CVs on the surface at the given parametric UV position.
Reparameterizes the surface by chord length (#centripetal) or uniform (#uniform) uniform parameterization.
CV curves and surfaces must obey the relationship that "order + number of CVs = number of knots". If this is not the case in most cases no object will be created and in some cases an assertion fault might be generated.
Value Common Properties, Operators, and Methods