-
Notifications
You must be signed in to change notification settings - Fork 13
Poly Reorder Command
polyReorder
[-constructionHistory]
[-destinationComponent]
[-destinationMesh]
[-replaceOriginal]
[-sourceComponent]
[-sourceMesh]
polyReorder is undoable, NOT queryable, NOT queryable, and NOT editable.
Re-orders the vertices on destinationMesh
so that it is point compatible with sourceMesh
. If replaceOriginal
is true, the existing mesh will be replaced; a polyReorder node will be created if the mesh has history, even if constructionHistory
is false. If replaceOriginal
is false, a new mesh will be created; a polyReorder node will be created if constructionHistory
is true.
The command requires that each pair of -sourceComponent/-destinationComponent is a topologically identical face, edge, and vertex on each shell of the mesh. The edge must be on the face, and the vertex must be on the edge. This is necessary for the algorithm to guarantee that it is walking the topology in the same order.
polyReorder -replaceOriginal 1 -constructionHistory 0 -sourceMesh src -sourceComponent vtx[0] e[3] f[5] -destinationMesh tgt -destinationComponent vtx[3] e[8] f[1]
// tgt
polyReorder -replaceOriginal 0 -constructionHistory 0 -sourceMesh src -sourceComponent vtx[0] e[3] f[5] -destinationMesh tgt -destinationComponent vtx[3] e[8] f[1]
// tgtReorder
polyReorder -replaceOriginal 0 -constructionHistory 1 -sourceMesh src -sourceComponent vtx[0] e[3] f[5] -destinationMesh tgt -destinationComponent vtx[3] e[8] f[1]
// tgtReorder, polyReorder1