MEL モデリングボタン集

*MEL モデリングボタン集 clickDragをチェックするとハンドルサイズを最小にしクリックドラッグ移動。polySplitをチェックするとSplit機能でエッジの中心にスナップ。外すとスナップ解除し自由に追加できる。


以下----------------------------------------------------------------------

window -height 54 -title "modeling" -width 500;
rowLayout -columnWidth6 80 100 80 100 80 80 -height 85 -numberOfColumns 6 -width 502;
button -command "setToolTo polyAppendFacetContext ; polyAppendFacetCtx -e -pc `optionVar -q polyKeepFacetsPlanar` polyAppendFacetContext;" -height 28 -label "polyAppend" -width 80;
checkBox -height 28 -label "clickDrag" -offCommand "selectPref -clickDrag false;manipOptions -s 1.5;manipOptions -hs 35;" -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 100;
button -command "int $cond[1]=`polyOptions -q -fb`;if ($cond[0]) polyOptions -bc; else polyOptions -fb;" -height 28 -label "B_Culling" -width 80;
checkBox -height 28 -label "WholeFace" -offCommand "polySelectConstraint -wholeSensitive on;" -onCommand "polySelectConstraint -wholeSensitive off;" -width 100;
checkBox -height 28 -label "polySplit" -offCommand "polySplitCtx -e -subdivision 1 -precsnap 10 -magnetsnap 0 -enablesnap 0 -snaptoedge 0 -smoothingangle 0 polySplitContext;" -onCommand "SplitPolygonTool;polySplitCtx -e -subdivision 1 -precsnap 100 -magnetsnap 1 -enablesnap 1 -snaptoedge 1 -smoothingangle 0 polySplitContext;" -width 100;
button -command "NonSacredTool;" -height 28 -label "Y_KEY" -width 80;
showWindow;