class counterpart of mel function surface
The cmd creates a NURBS spline surface (rational or non rational). The surface is created by specifying control vertices (CV’s) and knot sequences in the U and V direction. You cannot query the properties of the surface using this command. See examples below.
Calculates the surface area of this nurbs surface. A value of 0.0 will be returned if the area cannot be determined successfully.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MFnNurbsSurface.area
Maps a texture coordinate to a the specified corner of a patch.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.assignUV
Undo is not currently supported for this method
This method maps all texture coordinates for the surface. The setUV/setUVs method is used to create the texture coordinate table for the surface. After the table is created, this method is used to map those values to each patch on a per-corner basis. The setUV/setUVs method should be called before the assignUVs method.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.assignUVs
Undo is not currently supported for this method
Returns the type of the specified boundary. The surface must be a trimmed surface.
Parameters : |
|
---|---|
Return type: | NurbsSurface.BoundaryType |
Derived from api method maya.OpenMaya.MFnNurbsSurface.boundaryType
This method clears out all texture coordinates for the nurbsSurface, and leaves behind an empty UVset. Derived from api method maya.OpenMaya.MFnNurbsSurface.clearUVs
Undo is not currently supported for this method
Return the closest point on this surface to the given point.
Parameters : |
|
---|---|
Return type: | (Point, float, float) |
Derived from api method maya.OpenMaya.MSpace.closestPoint
This method creates a copy of a nurbs surface.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnNurbsSurface.copy
Returns a component for the specified CVs.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnNurbsSurface.cvsInU
Returns a component for the specified CVs on the given V direction.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnNurbsSurface.cvsInV
Returns the degree of the surface in U (1 - 3).
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.degreeU
Returns the degree of the surface in V (1 - 3).
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.degreeV
Returns the distance from the given point to the closest point on the surface.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MSpace.distanceToPoint
Return the specified edge of a trim boundary.
Parameters : |
|
---|---|
Return type: | PyNode list |
Derived from api method maya.OpenMaya.MFnNurbsSurface.edge
Return the form of this surface in U. Form can be kOpen, kClosed, kPeriodic, or kUnknownForm.
Return type: | NurbsSurface.Form |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.formInU
Return the form of this surface in V. Form can be kOpen, kClosed, kPeriodic, or kUnknownForm.
Return type: | NurbsSurface.Form |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.formInV
Get assigned UVs. This method finds all texture coordinates for the surface that have been mapped, and returns them in the same format as assignUVs. The setUV/setUVs method is used to create the texture coordinate table for the surface and this method is used to map those values to each patch on a per-corner basis.
Return type: | (int list, int list) |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.getAssignedUVs
Get the location of the specified CV.
Parameters : |
|
---|---|
Return type: | Point |
Derived from api method maya.OpenMaya.MSpace.getCV
Get the positions of the CVs on this surface. The returned group can be accessed via the MPointArray class. numCVsInU() * numCVsInV() points will be returned. Converting from uIndex, vIndex is done by “index = numCVsInV() * uIndex + vIndex”.
Parameters : |
|
---|---|
Return type: | Point list |
Derived from api method maya.OpenMaya.MSpace.getCVs
Returns an MObject if the class has been constructed with an MFn::kNurbsSurfaceData entity, otherwise MObject::kNullObj is returned.
Return type: | PyNode |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.getDataObject
Evaluate the surface at the given (u,v) coordinate returning position, first derivatives and optionally second derivative information. The returned derivative vectors are not normalized. If either dUU, dVV, or dUV is set to NULL, the second derivatives will not be computed and execution time wil be faster.
Parameters : |
|
---|---|
Return type: | (Point, Vector, Vector, Vector, Vector, Vector) |
Derived from api method maya.OpenMaya.MSpace.getDerivativesAtParm
Returns the maximum and minimum U and V paramter values for this surface.
Return type: | (float, float, float, float) |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.getKnotDomain
Retrieve the given knot value from this surface at the specified U index. Knots are indexed from 0 to numKnots-1.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MFnNurbsSurface.knotInU
Retrieve the given knot value from this surface at the specified V index. Knots are indexed from 0 to numKnots-1.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MFnNurbsSurface.knotInV
Get the knots along the U direction for this surface.
Return type: | float list |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.getKnotsInU
Get the knots along the V direction for this surface.
Return type: | float list |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.getKnotsInV
Get the parameter value corresponding to the given point on the surface (or underlying surface).
Parameters : |
|
---|---|
Return type: | (float, float) |
Derived from api method maya.OpenMaya.MSpace.getParamAtPoint
Get the value of the specified texture coordinate for a patch corner in a patch. Since texture coordinates (uv’s) are stored per-patch per-corner you must specify both the patch and the corner that the u and v values are mapped to.
Parameters : |
|
---|---|
Return type: | (float, float) |
Derived from api method maya.OpenMaya.MFnNurbsSurface.getPatchUV
Get the id of the specified texture coordinate for a corner in a patch.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MFnNurbsSurface.getPatchUVid
Get the values of the texture coordinate on a specified patch. Since texture coordinates (uvs) are stored per-patch per-corner, the u and v values mapped to all corners of the specified patch are returned.
Parameters : |
|
---|---|
Return type: | (float list, float list) |
Derived from api method maya.OpenMaya.MFnNurbsSurface.getPatchUVs
Finds the point corresponding to the given parameter value on the surface.
Parameters : |
|
---|---|
Return type: | Point |
Derived from api method maya.OpenMaya.MSpace.getPointAtParam
Retrieve the tangents in the U and V directions at the given parameter value on the surface. The returned tangent vectors are normalized.
Parameters : |
|
---|---|
Return type: | (Vector, Vector) |
Derived from api method maya.OpenMaya.MSpace.getTangents
This method determines if the shape was created with history.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.hasHistoryOnCreate
This function determines the closest point of intersection of this spline surface with a ray (a vector at a point).
Parameters : |
|
---|---|
Return type: | (bool, float, float, Point, float, bool) |
Derived from api method maya.OpenMaya.MSpace.intersect
Determine if the knot spacing gives us Bezier surface.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.isBezier
Determines whether the normal for the specified region is flipped. This method is only valid for trimmed surfaces.
Parameters : | region : int |
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnNurbsSurface.isFlipNorm
Evaluate the surface to determine if it contains any folds or creases. The entire surface including trimmed regions is examined. This function will only check for folds on bispan boundaries and thus will not catch all cases.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.isFoldedOnBispan
Check if the specified parameter value is a knot value.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnNurbsSurface.isKnotU
Check if the specified parameter value is a knot value.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnNurbsSurface.isKnotV
Check if the specified parameter is on this surface.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnNurbsSurface.isParamOnSurface
Returns true if the given point is in a trimmed away region of a trimmed surface. A trimmed away region is the part of the surface that is cut away as a result of a trim operation.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnNurbsSurface.isPointInTrimmedRegion
Check if the given point is on this surface.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MSpace.isPointOnSurface
This method determines if this surface is a trimmed surface.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.isTrimmedSurface
Determine if the knot spacing is uniform.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.isUniform
Retrieve the normal at the given parameter value on the surface.
Parameters : |
|
---|---|
Return type: | Vector |
Derived from api method maya.OpenMaya.MSpace.normal
Returns the number of boudaries for the specified region. The surface must be a trimmed surface.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MFnNurbsSurface.numBoundaries
Returns the number of CVs in the U direction.
Parameters : |
---|
If editableOnly evaluates to True (default), then this will return the number of cvs that can be actually edited (and also the highest index that may be used for u - ie, if
mySurf.numCVsInU(editableOnly=True) == 4
If editablyOnly is False, then this will return the underlying number of cvs used to define the mathematical curve in u - degreeU + numSpansInU.
These will only differ if the form in u is ‘periodic’, in which case the editable number will be numSpansInU (as the last ‘degree’ cv’s are ‘locked’ to be the same as the first ‘degree’ cvs). In all other cases, the number of cvs will be degreeU + numSpansInU.
Examples : | >>> from pymel.core import *
>>> # a periodic surface
>>> mySurf = surface(name='periodicSurf1', du=3, dv=1, fu='periodic', fv='open', ku=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), kv=(0, 1), pw=[(4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1), (0, 5.5, 0, 1), (0, 5.5, -2.5, 1), (-4, 4, 0, 1), (-4, 4, -2.5, 1), (-5.5, 0, 0, 1), (-5.5, 0, -2.5, 1), (-4, -4, 0, 1), (-4, -4, -2.5, 1), (0, -5.5, 0, 1), (0, -5.5, -2.5, 1), (4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.cv[:][0].indices())
[ComponentIndex((0, 0), ... ComponentIndex((7, 0), label=None)]
>>> mySurf.numCVsInU()
8
>>> mySurf.numCVsInU(editableOnly=False)
11
>>>
>>> # an open surface
>>> mySurf = surface(name='openSurf1', du=3, dv=1, fu='open', fv='open', ku=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), kv=(0, 1), pw=((4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1), (0, 5.5, 0, 1), (0, 5.5, -2.5, 1), (-4, 4, 0, 1), (-4, 4, -2.5, 1), (-5.5, 0, 0, 1), (-5.5, 0, -2.5, 1), (-4, -4, 0, 1), (-4, -4, -2.5, 1), (0, -5.5, 0, 1), (0, -5.5, -2.5, 1), (4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1)) )
>>> sorted(mySurf.cv[:][0].indices())
[ComponentIndex((0, 0), ... ComponentIndex((10, 0), label=None)]
>>> mySurf.numCVsInU()
11
>>> mySurf.numCVsInU(editableOnly=False)
11
|
---|---|
Return type: | int |
Returns the number of CVs in the V direction.
Parameters : |
---|
If editableOnly evaluates to True (default), then this will return the number of cvs that can be actually edited (and also the highest index that may be used for v - ie, if
mySurf.numCVsInV(editableOnly=True) == 4
If editablyOnly is False, then this will return the underlying number of cvs used to define the mathematical curve in v - degreeV + numSpansInV.
These will only differ if the form in v is ‘periodic’, in which case the editable number will be numSpansInV (as the last ‘degree’ cv’s are ‘locked’ to be the same as the first ‘degree’ cvs). In all other cases, the number of cvs will be degreeV + numSpansInV.
Examples : | >>> from pymel.core import *
>>> # a periodic surface
>>> mySurf = surface(name='periodicSurf2', du=1, dv=3, fu='open', fv='periodic', ku=(0, 1), kv=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), pw=[(4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (0, 5.5, 0, 1), (-4, 4, 0, 1), (-5.5, 0, 0, 1), (-4, -4, 0, 1), (0, -5.5, 0, 1), (4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1), (0, 5.5, -2.5, 1), (-4, 4, -2.5, 1), (-5.5, 0, -2.5, 1), (-4, -4, -2.5, 1), (0, -5.5, -2.5, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.cv[0].indices())
[ComponentIndex((0, 0), ... ComponentIndex((0, 7), label='cv')]
>>> mySurf.numCVsInV()
8
>>> mySurf.numCVsInV(editableOnly=False)
11
>>>
>>> # an open surface
>>> mySurf = surface(name='openSurf2', du=1, dv=3, fu='open', fv='open', ku=(0, 1), kv=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), pw=[(4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (0, 5.5, 0, 1), (-4, 4, 0, 1), (-5.5, 0, 0, 1), (-4, -4, 0, 1), (0, -5.5, 0, 1), (4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1), (0, 5.5, -2.5, 1), (-4, 4, -2.5, 1), (-5.5, 0, -2.5, 1), (-4, -4, -2.5, 1), (0, -5.5, -2.5, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.cv[0].indices())
[ComponentIndex((0, 0), ... ComponentIndex((0, 10), label='cv')]
>>> mySurf.numCVsInV()
11
>>> mySurf.numCVsInV(editableOnly=False)
11
|
---|---|
Return type: | int |
Returns the number of EPs in the U direction.
Examples : | >>> from pymel.core import *
>>> # a periodic surface
>>> mySurf = surface(name='periodicSurf3', du=3, dv=1, fu='periodic', fv='open', ku=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), kv=(0, 1), pw=[(4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1), (0, 5.5, 0, 1), (0, 5.5, -2.5, 1), (-4, 4, 0, 1), (-4, 4, -2.5, 1), (-5.5, 0, 0, 1), (-5.5, 0, -2.5, 1), (-4, -4, 0, 1), (-4, -4, -2.5, 1), (0, -5.5, 0, 1), (0, -5.5, -2.5, 1), (4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.ep[:][0].indices())
[ComponentIndex((0, 0), ... ComponentIndex((7, 0), label=None)]
>>> mySurf.numEPsInU()
8
>>>
>>> # an open surface
>>> mySurf = surface(name='openSurf3', du=3, dv=1, fu='open', fv='open', ku=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), kv=(0, 1), pw=[(4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1), (0, 5.5, 0, 1), (0, 5.5, -2.5, 1), (-4, 4, 0, 1), (-4, 4, -2.5, 1), (-5.5, 0, 0, 1), (-5.5, 0, -2.5, 1), (-4, -4, 0, 1), (-4, -4, -2.5, 1), (0, -5.5, 0, 1), (0, -5.5, -2.5, 1), (4, -4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, 0, 1), (5.5, 0, -2.5, 1), (4, 4, 0, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.ep[:][0].indices())
[ComponentIndex((0, 0), ... ComponentIndex((8, 0), label=None)]
>>> mySurf.numEPsInU()
9
|
---|---|
Return type: | int |
Returns the number of EPs in the V direction.
Examples : | >>> from pymel.core import *
>>> # a periodic surface
>>> mySurf = surface(name='periodicSurf4', du=1, dv=3, fu='open', fv='periodic', ku=(0, 1), kv=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), pw=[(4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (0, 5.5, 0, 1), (-4, 4, 0, 1), (-5.5, 0, 0, 1), (-4, -4, 0, 1), (0, -5.5, 0, 1), (4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1), (0, 5.5, -2.5, 1), (-4, 4, -2.5, 1), (-5.5, 0, -2.5, 1), (-4, -4, -2.5, 1), (0, -5.5, -2.5, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.ep[0][:].indices())
[ComponentIndex((0, 0), ... ComponentIndex((0, 7), label=None)]
>>> mySurf.numEPsInV()
8
>>>
>>> # an open surface
>>> mySurf = surface(name='openSurf4', du=1, dv=3, fu='open', fv='open', ku=(0, 1), kv=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), pw=[(4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (0, 5.5, 0, 1), (-4, 4, 0, 1), (-5.5, 0, 0, 1), (-4, -4, 0, 1), (0, -5.5, 0, 1), (4, -4, 0, 1), (5.5, 0, 0, 1), (4, 4, 0, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1), (0, 5.5, -2.5, 1), (-4, 4, -2.5, 1), (-5.5, 0, -2.5, 1), (-4, -4, -2.5, 1), (0, -5.5, -2.5, 1), (4, -4, -2.5, 1), (5.5, 0, -2.5, 1), (4, 4, -2.5, 1)] )
>>> sorted(mySurf.ep[0][:].indices())
[ComponentIndex((0, 0), ... ComponentIndex((0, 8), label=None)]
>>> mySurf.numEPsInV()
9
|
---|---|
Return type: | int |
Return the number of edges for the specified trim boundary.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MFnNurbsSurface.numEdges
Returns the number of knots in U including multiple end knots (spans + 2 * degree - 1).
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numKnotsInU
Returns the number of knots in V including multiple end knots (spans + 2 * degree - 1).
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numKnotsInV
Returns the number of non-zero spans in the U direction. This value will be equivalent to the value returned by numSpansInU() if all of the internal (non-end) knots are of multiplicity 1. If some of the internal knots have higher multiplicity, this value will be lower than that returned by numSpansInU() . You can use the number of non-zero spans to count the number of visual spans on the surface in the U direction, since the empty (zero) spans do not appear as a separate span/patch in the display.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numNonZeroSpansInU
Returns the number of non-zero spans in the V direction. This value will be equivalent to the value returned by numSpansInV() if all of the internal (non-end) knots are of multiplicity 1. If some of the internal knots have higher multiplicity, this value will be lower than that returned by numSpansInV() . You can use the number of non-zero spans to count the number of visual spans on the surface in the V direction, since the empty (zero) spans do not appear as a separate span/patch in the display.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numNonZeroSpansInV
Returns the number of non-zero patches in this surface.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numPatches
Returns the number of non-zero patches along u, in this surface.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numPatchesInU
Returns the number of non-zero patches along v, in this surface.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numPatchesInV
Returns the number of trimmed regions for this surface or 0 if the surface is not a trimmed surface.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numRegions
Returns the number of spans in the u direction.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numSpansInU
Returns the number of spans in the v direction.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numSpansInV
Returns the number of texture (uv) coordinates for this surface. The uv’s are stored in a list which is referenced by patches requiring textures on a per-patch per-patchCorner basis. This method returns the number of elements in this list.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.numUVs
Project the given curve onto this surface creating a curve on surface. Projection will be done using the surface normals unless a direction vector to project along is given.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.projectCurve
Undo is not currently supported for this method
Remove the U knot(s) at the specified parameter value from this surface. If there are multiple knots at this parameter then removeAll is used to specify how to do the removal.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.removeKnotInU
Undo is not currently supported for this method
Remove the V knot(s) at the specified parameter value from this surface. If there are multiple knots at this parameter then removeAll is used to specify how to do the removal.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.removeKnotInV
Undo is not currently supported for this method
Remove one U knot at the specified parameter value from this surface.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.removeOneKnotInU
Undo is not currently supported for this method
Remove one V knot at the specified parameter value from this surface.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.removeOneKnotInV
Undo is not currently supported for this method
Set the location of the specified CV.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MSpace.setCV
Set the CVs for this surface to the given points. numCVsInU() * numCVsInV() points must be provided. Converting from uIndex, vIndex is done by “index = numCVsInV() * uIndex + vIndex”.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MSpace.setCVs
Set the value of the given existing knot at the specified U index. Knots are indexed from 0 to numKnots-1. Note that this routine does not insert a new knot, it simply changes the value of a knot that already exists.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.setKnotInU
Set the value of the given existing knot at the specified V index. Knots are indexed from 0 to numKnots-1. Note that this routine does not insert a new knot, it simply changes the value of a knot that already exists.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.setKnotInV
Set the specified U knot values for this surface.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.setKnotsInU
Set the specified V knot values for this surface.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.setKnotsInV
Performs tesselation on this surface and create a new mesh in the DAG. The type of tesselation can be controlled by providing the tesselation parameters (see MTesselationParams ).
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnNurbsSurface.tesselate
Trim this surface to its curves on surface. Regions which are kept are specified by passing in two arrays of u,v parameters.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnNurbsSurface.trim
Undo is not currently supported for this method
This method signals that this surface has changed and needs to be recalculated. Derived from api method maya.OpenMaya.MFnNurbsSurface.updateSurface
Undo is not currently supported for this method