script (MEL) |
Only available in MEL |
stitchAndExplodeShell |
In categories: Modeling, NURBS |
Go to: Synopsis. Return value. MEL examples.
string[] stitchAndExplodeShell()
Given a group of NURBS surfaces which are connected, the script
stitches the surfaces together as a shell and subsequently
creates trimmed NURBS surface shapes corresponding to the
faces comprising the shell using a surfaceVarGroup.
The stitchAndExplode is performed by hooking up
the selected NURBS surfaces to a stitchAsNurbsShell node,
which in turn is connected to a explodeNurbsShell node.
This is useful in removing cracks which show up while
rendering NURBS surfaces as the tesselation carried out
to render the triangles do not have the same vertices
across the shared edges.
None
Arguments
Variable Name |
Variable Type |
Description |
| | none.
|
select -r sphere1 fillet1 sphere2 ;
string $osrf[] = stitchAndExplodeShell();
// Result : { varGroup } //