MEL:リモートデスクトップ用別ウインドウシェルフ

Googleリモートデスクトップで、Mayaを操作するためにつくってみました。

string $window = `window -widthHeight 700 60 -title "MAYA_BASIC"`;

string $tabs1 = `tabLayout`;

string $shelf = `shelfLayout`;

// Create some shelf buttons...

shelfButton -annotation "TumbleTool" -image1 "tumble.png" -command ("TumbleTool");

shelfButton -annotation "TrackTool" -image1 "track.png" -command ("TrackTool");

shelfButton -annotation "DollyTool" -image1 "dolly.png" -command ("DollyTool");

shelfButton -annotation "ZoomTool" -image1 "boxZoom.png" -command ("ZoomTool");

shelfButton -annotation "元に戻す" -image1 "undo.png" -command ("Undo");

shelfButton -annotation "やり直し" -image1 "redo.png" -command ("Redo");

shelfButton -annotation "オブジェクト" -image1 "selectByObject.png" -command ("changeSelectMode -object");

shelfButton -annotation "コンポーネント" -image1 "selectByComponent.png" -command ("changeSelectMode -component");

shelfButton -annotation "マルチ" -imageOverlayLabel "マルチ" -image1 "menuIconSelect.png" -command ("SelectMultiComponentMask");

shelfButton -annotation "頂点" -image1 "polySelectVertex.png" -command ("SelectVertexMask");

shelfButton -annotation "エッジ" -image1 "polySelectEdge.png" -command ("SelectEdgeMask");

shelfButton -annotation "フェース" -image1 "polySelectFace.png" -command ("SelectFacetMask");

shelfButton -annotation "頂点フェース" -image1 "polySelectVertexFace.png" -command ("SelectVertexFaceMask");

shelfButton -annotation "UV" -image1 "polySelectUV.png" -command ("SelectUVMask;");

shelfButton -annotation "UVシェル" -imageOverlayLabel "UVS" -image1 "menuIconSelect.png" -command ("SelectMeshUVShell");

shelfButton -annotation "ポリゴン作成" -image1 "polyCreateFacet.png" -command ("setToolTo polyCreateFacetContext ; polyCreateFacetCtx -e -pc `optionVar -q polyKeepFacetsPlanar` polyCreateFacetContext");

shelfButton -annotation "ポリゴン追加" -image1 "polyAppendFacet.png" -command ("setToolTo polyAppendFacetContext ; polyAppendFacetCtx -e -pc `optionVar -q polyKeepFacetsPlanar` polyAppendFacetContext");

shelfButton -annotation "マルチカットツール" -image1 "multiCut_NEX32.png" -command ("dR_multiCutTool");

shelfButton -annotation "ポリゴン押し出し" -image1 "polyExtrudeFacet.png" -command ("PolyExtrude");

shelfButton -annotation "Y" -imageOverlayLabel "Y" -image1 "menuIconSelect.png" -command ("NonSacredTool");

shelfButton -annotation "マニピュレータ" -image1 "showManip.png" -command ("ShowManipulatorTool");

tabLayout -edit -tabLabel $shelf "MAYA_BASIC1" $tabs1;

showWindow $window;