Go to: Synopsis. Return value. Related.
Flags. MEL
examples.
polyMergeEdge [-caching boolean] [-constructionHistory boolean]
[-firstEdge int] [-mergeMode int] [-name string] [-nodeState int] [-secondEdge int]
polyMergeEdge is undoable, queryable, and editable.
Sews two border edges together.
The new edge is located either on the first, last, or between both
selected edges, depending on the mode. Both edges must belong to
the same object, and orientations must match (i.e. normals on
corresponding faces must point in the same direction).
Edge flags are mandatory.
In query mode, return type is based on queried flag.
polyCloseBorder, polyCollapseEdge, polyCollapseFacet, polyDelEdge, polyDelFacet, polyDelVertex, polyMergeFacet, polyMergeVertex, polyQuad, polyReduce, polySewEdge
caching, constructionHistory, firstEdge, mergeMode, name,
nodeState, secondEdge
Long name (short name) |
Argument types |
Properties |
-mergeMode(-mm) |
int |
   |
|
This flag specifies how to merge, merge mode : at first edge :
0, in between : 1, at last edge : 2.
C: Default is in between. |
|
-firstEdge(-fe) |
int |
   |
|
The number of the first edge to merge. |
|
-secondEdge(-se) |
int |
   |
|
The number of the second edge to merge. |
|
Common flags |
-name(-n) |
string |
 |
|
Give a name to the resulting node. |
|
-constructionHistory(-ch) |
boolean |
  |
|
Turn the construction history on or off (where applicable). If
construction history is on then the corresponding node will be
inserted into the history chain for the mesh. If construction
history is off then the operation will be performed directly on the
object.
Note: If the object already has construction history then
this flag is ignored and the node will always be inserted into the
history chain. |
|
-caching(-cch) |
boolean |
  |
|
Toggle caching for all attributes so that no recomputation is
needed |
|
-nodeState(-nds) |
int |
   |
|
Defines how to evaluate the node.
- 0: Normal
- 1: PassThrough
- 2: Blocking
- 3: Internally disabled. Will return to Normal state when
enabled
- 4: Internally disabled. Will return to PassThrough state when
enabled
- 5: Internally disabled. Will return to Blocking state when
enabled
|
|
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. |
polyPlane -sx 3 -sy 3 -n plg1; move -2 0 0 plg1; delete plg1.f[3:5];
polyPlane -sx 3 -sy 3 -n plg2; delete plg2.f[3:5];
polyPlane -sx 3 -sy 3 -n plg3; move 2 0 0 plg3; delete plg3.f[3:5];
// First
polyMergeEdge -mm 0 -fe 8 -se 12 plg1;
// Between
polyMergeEdge -mm 1 -fe 8 -se 12 plg2;
// Last
polyMergeEdge -mm 2 -fe 8 -se 12 plg3;