Files
Nexus/2023/shelves/shelf_Nexus_Rigging.mel
2025-11-24 08:27:50 +08:00

149 lines
4.1 KiB
Plaintext

global proc shelf_Nexus_Rigging () {
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 "Export Skin Weights - Export skin weights to file"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "Export"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Export"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "skinapi.png"
-image1 "skinapi.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "from rigging_tools.skin_api import ui\nui.WeightExport()"
-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 "Import Skin Weights - Import skin weights from file"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "Import"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Import"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "skinapi.png"
-image1 "skinapi.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "from rigging_tools.skin_api import ui\nui.WeightImport()"
-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 "Unbind Skin - Remove skin cluster from selected objects"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "Unbind"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Unbind"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "skinapi.png"
-image1 "skinapi.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "from rigging_tools.skin_api import ui\nui.UnbindSkin()"
-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 "ngSkinTools2 - Advanced skin weights editor"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "ngSkin"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "ngSkin"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "ngskintools.png"
-image1 "ngskintools.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "from rigging_tools.ngskintools2 import launcher\nlauncher.LaunchNgSkinTools()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
}