Go to: Synopsis. Flags. Return value. Related. MEL examples.

Synopsis

polySewEdge [-constructionHistory boolean] [-name string] [-texture boolean] [-tolerance float] [-worldSpace boolean]

polySewEdge is undoable, queryable, and editable.

Merge border edges within a given threshold.
Perform pair-wise comparison of selected edges. Pairs whose corresponding vertices meet threshold conditions and whose orientations are aligned (i.e. their respective normals point in the same direction) are merged, as are the vertices (in other words, vertices are shared).

Resulting mesh may have extra vertices or edges to ensure geometry is valid.
Edges must be on the same object to be merged.
Default : share only vertices lying exactly at the same place. (polySewEdge -t 0.0)

Flags

constructionHistory, name, texture, tolerance, worldSpace
Long name (short name) [argument types] Properties
-tolerance(-t) float createqueryedit
The tolerance to sew edges (edge distance)
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-texture(-tx) boolean createqueryedit
If true : texture is sewn as well as the 3d edge.
C: Default is true.
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.

-worldSpace(-ws) boolean createqueryedit
This flag specifies which reference to use. If "on" : tolerance value is taken in world reference. If "off" : tolerance value is considered in object reference.
C: Default is "off".
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.

-name(-n) string create
Name the resulting object.
-constructionHistory(-ch) boolean createquery
Turn the construction history on or off (where applicable).
C: Default is "on".
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value


string The node name.

Related

polyCloseBorder, polyCollapseEdge, polyCollapseFacet, polyDelEdge, polyDelFacet, polyDelVertex, polyMergeEdge, polyMergeFacet, polyMergeVertex, polyQuad, polyReduce

MEL examples

  polyPlane -sx 1 -sy 1 -n plg1;
  polyPlane -sx 1 -sy 1 -n plg2;
  rotate 0 0 30 plg1; rotate 0 0 -30 plg2;
  move -ws -0.5 0 0 plg1; move -ws 0.5 0 0 plg2;
// For the polyUnite we assume that plg1's shape node is named
//  plg1Shape, plg2's shape node is plg2Shape, and the resulting
//  transform is named polySurface1. One or more of these may not
//  hold true if objects have previously been created and
//  manipulated in the scene.
  polyUnite plg1Shape plg2Shape;
  polySewEdge -t 0.25 polySurface1.e[2] polySurface1.e[5];