MEL モデリングボタン集

string $window = `window -widthHeight 10 10`;
setParent ..;
showWindow $window;
deleteUI -window $window;
window -fw -title "Modeling 001" -rtf 1;
columnLayout -adjustableColumn true;
gridLayout -numberOfColumns 11 -cellWidth 80 -cellHeight 16;
button -command "SplitPolygonToolOptions;setToolTo polySplitContext ; toolPropertyWindow;resetTool polySplitContext;" -label "SplitP" -width 60;
checkBox -height 22 -label "100" -offCommand "resetTool polySplitContext;polySplitCtx -e -ps 10 polySplitContext;polySplitCtx -e -ste false polySplitContext;polySplitCtx -e -es false polySplitContext;" -onCommand "polySplitCtx -e -ps 100 polySplitContext;polySplitCtx -e -ste true polySplitContext;polySplitCtx -e -es true polySplitContext;" -width 60;
checkBox -height 22 -label "clickDrag" -offCommand "manipOptions -s 1.5;manipOptions -hs 35;SelectToggleMode;selectPref -clickDrag false;" -onCommand "selectPref -clickDrag true;manipOptions -s 0.001;manipOptions -hs 1;SelectVertexMask;setSelectMode components Components; selectType -smp 1 -sme 0 -smf 0 -smu 0 -pv 1 -pe 0 -pf 0 -puv 0; select -cl;" -width 60;
checkBox -height 22 -label "Center" -offCommand "polySelectConstraint -wholeSensitive on;" -onCommand "polySelectConstraint -wholeSensitive off;" -width 60;
checkBox -height 22 -label "Isolate" -offCommand "enableIsolateSelect modelPanel4 0;" -onCommand "enableIsolateSelect modelPanel4 1;" -width 60;
checkBox -height 22 -label "SpaceOff" -offCommand "manipMoveContext -e -snapComponentsRelative true Move;" -onCommand "manipMoveContext -e -snapComponentsRelative false Move;" -width 60;
button -command "select `ls -type mesh`;int $cond[1]=`polyOptions -q -fb`;if ($cond[0]) polyOptions -bc; else polyOptions -fb;" -label "BC" -width 40;
button -command "NonSacredTool;" -label "Y_KEY" -width 40;
checkBox -height 22 -label "Snap1" -offCommand "snapMode -edgeMagnet 0;" -onCommand "snapMode -edgeMagnet 1;" -width 60;
checkBox -height 22 -label "Intract" -offCommand "toggleCreatePolyPrimitiveAsTool;toggleCreateNurbsPrimitiveAsTool;" -onCommand "toggleCreatePolyPrimitiveAsTool;toggleCreateNurbsPrimitiveAsTool;" -width 60;
checkBox -height 22 -label "CamStop" -offCommand "optionVar -iv animateRoll true;optionVar -iv animateRollViewCompass true;" -onCommand "optionVar -iv animateRoll false;optionVar -iv animateRollViewCompass false;" -width 60;
setParent..;
showWindow;