Files
Nexus/2023/shelves/shelf_Nexus_Animation.mel
2025-12-06 18:23:17 +08:00

325 lines
9.2 KiB
Plaintext

global proc shelf_Nexus_Animation () {
global string $gBuffStr;
global string $gBuffStr0;
global string $gBuffStr1;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "Animation Retargeting Tool - Transfer animation between rigs"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "ART"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "ART"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "animation_retargeting_tool.png"
-image1 "animation_retargeting_tool.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import animation_tools.animation_retargeting_tool\nanimation_tools.animation_retargeting_tool.start()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "IK FK Switch - Match and switch between IK/FK controls for any rig"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "IKFK"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "IKFK"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "ikfk_switch.png"
-image1 "ikfk_switch.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "from animation_tools import ikfk_switch\nikfk_switch.FkIk_UI()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "MG-Picker Studio - Animation picker tool"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "MGPicker"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "MGPicker"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "mgpicker.png"
-image1 "mgpicker.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import animation_tools.mgpicker\nanimation_tools.mgpicker.start()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "DreamWall Picker - Animation picker for Maya"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "DWPicker"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "DWPicker"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "dwpicker.png"
-image1 "dwpicker.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import animation_tools.dwpicker\nanimation_tools.dwpicker.show()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "Studio Library - Animation library for Maya"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "StudioLib"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "StudioLib"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "studiolibrary.png"
-image1 "studiolibrary.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import animation_tools.studiolibrary as studiolib\nstudiolib.show()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "aTools - Animation tools collection"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "aTools"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "aTools"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "aTools.png"
-image1 "aTools.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import animation_tools.atools\nanimation_tools.atools.show()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "Key Offset Tool - Offset and scale keyframes for multiple objects"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "Offset Keys"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Offset Keys"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "offsetkeys.png"
-image1 "offsetkeys.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import animation_tools.offsetkeys\nanimation_tools.offsetkeys.show()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "bhGhost - Create ghost meshes for animation reference"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "bhGhost"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Ghost"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "bhGhostIcon.png"
-image1 "bhGhostIcon.png"
-image2 "bhGhostIcon2.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "source \"animation_tools/bhGhost.mel\";\nbhGhost();"
-sourceType "mel"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "Spring Magic - Calculate bone chain animation with spring physics"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "SpringMagic"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Spring"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "springmagic.png"
-image1 "springmagic.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import springmagic\nspringmagic.main()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
}