Go to: Related nodes. Attributes.

Rebuild the input surface so that its parameterization and/or control points are modified. This may change the shape of the surface. The input surface can be rebuilt in the u, v, or both directions. There are five methods with which to rebuild the surface:

uniform- rebuild the input surface so that it will have uniform parameterization. Use spansU and spansV to specify the number of spans in each direction. Use degreeU and degreeV to specify the new surface degree in each direction.

reduce- rebuild the input surface to reduce the number of spans.

matchKnots- rebuild the input surface so that its parameterization matches that of another surface. A second input surface must be specified.

noMults- remove multiple interior knots.

non-Rational- Rebuild the input surface so that it no longer rational.

ends - Rebuild the input surface to have multiple or nonmultiple end knots.

bezier - Rebuild the input surface to be Bezier mesh

trim convert - Rebuild the 4 edged trim surface surface into a untrimmed one.

Use keepCorners, keepRange, and keepControlPoints to gain some control over the parameterization and shape of the resulting surface.

Node name Parents MFn type Compatible function sets
rebuildSurface abstractBaseNurbsConversion kRebuildSurface kBase
kNamedObject
kDependencyNode
kCreate
kRebuildSurface

Related nodes

transformGeometry, nurbsTessellate

Attributes (16)

degreeU, degreeV, direction, endKnots, fitRebuild, inputSurface, keepControlPoints, keepCorners, keepRange, matchSurface, oldRebuildRational, outputSurface, rebuildType, spansU, spansV, tolerance

Long name (short name) Type Default Flags
inputSurface (is) nurbsSurface NULL outputinputconnectable
The surface to rebuild
matchSurface (ms) nurbsSurface NULL outputinputconnectable
Use this surface to rebuild the input surface so that the new surface is compatable with this surface
rebuildType (rt) enum 0 outputinputconnectablestorablekeyable
The rebuild type: 0 - uniform, 1 - reduce spans, 2 - match knots, 3 - remove multiple knots, 4 - force non rational 5 - rebuild ends 6 - trim convert (uniform) 7 - into Bezier mesh
direction (dir) enum 2 outputinputconnectablestorablekeyable
The direction in which to rebuild: 0 - U, 1 - V, 2 - Both U and V
spansU (su) integer 4 outputinputconnectablestorablekeyable
The number of spans in the u direction in resulting surface. Used only when rebuildType is 0 - uniform. If 0, keep the same number of spans as the original surface.
spansV (sv) integer 4 outputinputconnectablestorablekeyable
The number of spans in the v direction in resulting surface. Used only when rebuildType is 0 - uniform. If 0, keep the same number of spans as the original surface.
degreeU (du) enum 3 outputinputconnectablestorablekeyable
The degree of the resulting surface in the u direction 0 - maintain current, 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
degreeV (dv) enum 3 outputinputconnectablestorablekeyable
The degree of the resulting surface in the v direction 0 - maintain current, 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
tolerance (tol) distance (double) 0.01cm outputinputconnectablestorablekeyable
The tolerance with which to rebuild
endKnots (end) enum 0 outputinputconnectablestorablekeyable
End conditions for the surface 0 - uniform end knots, 1 - multiple end knots,
keepCorners (kc) bool true outputinputconnectablestorablekeyable
The corners of the resulting surface will not change from the corners of the input surface.
keepRange (kr) enum 1 outputinputconnectablestorablekeyable
Determine the parameterization for the resulting surface. 0 - reparameterize the resulting surface from 0 to 1; 1 - keep the original surface parameterization; 2 - reparameterize the result from 0 to number of spans
keepControlPoints (kcp) bool false outputinputconnectablestorablekeyable
Use the control points of the input surface. This forces uniform parameterization unless rebuildType is 2 (match knots)
fitRebuild (fr) enum 0 outputinputconnectablestorable
Specify the type of rebuild method to be used: 0 - Convert Classic, the default and original convert method. 1 - Fit using the least squares fit method. 2 - Convert Match, alternate matching convert method. 3 - Convert Grid, uses a grid-based fit algorithm.
oldRebuildRational (orr) bool false outputinputconnectablestorablehidden
If true this will make rebuild Surfaces with convert option always rational. Use for backward compatibility.
outputSurface (os) nurbsSurface NULL outputconnectable
The rebuilt surface