polyCleanupArgList

is there somewhere in the docs where the arguments are listed for this in the format:

polyCleanupArgList 3 { "0","1","0","0","1","0","0","0","0","1e-05","0","1e-05","0","1e-05","0","-1","0" };

obviously they come from the polyCleanup win but i wasn't positive that they are in the exact same order as they are arranged vertically in the window.

thanks in advance.

in this command mel file itself, located in your maya install: …/scripts/others/polyCleanupArgList.mel

Here’s the docstring:

//
// Description:
// Perform a cleanup on polygonal meshes (command)
//
// Input Arguments:
// $version: The version of arguments being passed. Used to know how to
// interpret the $args array.
// “1” : $allMeshes, $selectOnly, $historyOn,
// $quads, $nsided, $concave, $holed,
// $nonplanar, $zeroGeom, $zeroGeomTol,
// $zeroEdge, $zeroEdgeTol, $zeroMap,
// $zeroMapTol
// “2” : $sharedUVs
// “3” : $lamina
//
// $args
// Version 1
// [0] $allMeshes All selectable meshes
// [1] $selectOnly Only perform a selection
// [2] $historyOn keep construction history
// [3] $quads check for quads polys
// [4] $nsided check for n-sided polys
// [5] $concave check for concave polys
// [6] $holed check for holed polys
// [7] $nonplanar check fo non-planar polys
// [8] $zeroGeom check for 0 area faces
// [9] $zeroGeomTol tolerance for face areas
// [10] $zeroEdge check for 0 length edges
// [11] $zeroEdgeTol tolerance for edge length
// [12] $zeroMap check for 0 uv face area
// [13] $zeroMapTol tolerance for uv face areas
//
// Version 2
// [14] $sharedUVs Unshare uvs that are shared across vertices
// [15] $nonmanifold check for nonmanifold polys
// <= 0 means do not check
// 1 means cleanup with conform
// 2 means do not use conform
//
// Version 3
// [16] $lamina check for lamina polys
//
// Returns:
// list of items cleaned up. Empty if none
//