//edge-cutter.mel //By Christopher Evans - September 2003 //Select the edges that border the area you want to remove, or select the edge you would like to propigate out to a contiguous loop. //The script breaks off the selection and names the resulting objects "created##". //I ceated this script for Solipsis on #Maya Efnet //Chris@Dork.com - www.ChrisEvans3D.com string $result=`confirmDialog -message ("Did you make a contiguous edge selection? (if no, I will propigate one for you)") -button "Yes" -button "No" -defaultButton "No" -cancelButton "Yes" -dismissString "Yes"`; if ($result == "No") { polySelectConstraint -pp 4 -m2a 180 -m3a 180; } PolySelectConvert 3; polySplitVertex; string $sel[]=`ls -sl -fl`; string $buff[]; $tok=`tokenize $sel[0] "." $buff`; select -r $buff[0]; string $mesh[] = `ls -sl`; polySeparate -n created01; select -r created01; PolySelectConvert 3; polyMergeVertex -d 0.001; select -r created02; PolySelectConvert 3; polyMergeVertex -d 0.001; string $sel[]=`ls -sl -fl`; string $buff[]; $tok=`tokenize $sel[0] "." $buff`; select -r $buff[0];