499 lines
14 KiB
Plaintext
499 lines
14 KiB
Plaintext
global proc shelf_Nexus_Modeling () {
|
|
global string $gBuffStr;
|
|
global string $gBuffStr0;
|
|
global string $gBuffStr1;
|
|
|
|
|
|
shelfButton
|
|
-enableCommandRepeat 1
|
|
-flexibleWidthType 3
|
|
-flexibleWidthValue 36
|
|
-enable 1
|
|
-width 39
|
|
-height 34
|
|
-manage 1
|
|
-visible 1
|
|
-preventOverride 0
|
|
-annotation "GS Toolbox - Open toolbox UI"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "GSTBox"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "UI"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "gsToolBoxIcon_ui.png"
|
|
-image1 "gsToolBoxIcon_ui.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import gs_toolbox.main as gs_toolbox_main; gs_toolbox_main.main();"
|
|
-sourceType "python"
|
|
-commandRepeatable 1
|
|
-flat 1
|
|
;
|
|
shelfButton
|
|
-enableCommandRepeat 1
|
|
-flexibleWidthType 3
|
|
-flexibleWidthValue 36
|
|
-enable 1
|
|
-width 39
|
|
-height 34
|
|
-manage 1
|
|
-visible 1
|
|
-preventOverride 0
|
|
-annotation "GS Toolbox - Reset UI"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "GSTReset"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Reset"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "gsToolBoxIcon_reset.png"
|
|
-image1 "gsToolBoxIcon_reset.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import gs_toolbox.core.utils as gs_toolbox_utils; gs_toolbox_utils.reset_ui(); del gs_toolbox_utils"
|
|
-sourceType "python"
|
|
-commandRepeatable 1
|
|
-flat 1
|
|
;
|
|
shelfButton
|
|
-enableCommandRepeat 1
|
|
-flexibleWidthType 3
|
|
-flexibleWidthValue 36
|
|
-enable 1
|
|
-width 39
|
|
-height 34
|
|
-manage 1
|
|
-visible 1
|
|
-preventOverride 0
|
|
-annotation "GS Toolbox - Stop/Close"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "GSTStop"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Stop"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "gsToolBoxIcon_stop.png"
|
|
-image1 "gsToolBoxIcon_stop.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import gs_toolbox.core.utils as gs_toolbox_utils; gs_toolbox_utils.stop_ui(); del gs_toolbox_utils"
|
|
-sourceType "python"
|
|
-commandRepeatable 1
|
|
-flat 1
|
|
;
|
|
shelfButton
|
|
-enableCommandRepeat 1
|
|
-flexibleWidthType 3
|
|
-flexibleWidthValue 36
|
|
-enable 1
|
|
-width 39
|
|
-height 34
|
|
-manage 1
|
|
-visible 1
|
|
-preventOverride 0
|
|
-annotation "GS Curvetools - Open UI"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "GSCurve"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "UI"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "gsCurveToolsIcon_ui.png"
|
|
-image1 "gsCurveToolsIcon_ui.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import gs_curvetools.main as gs_curvetools_main; gs_curvetools_main.main();"
|
|
-sourceType "python"
|
|
-commandRepeatable 1
|
|
-flat 1
|
|
;
|
|
shelfButton
|
|
-enableCommandRepeat 1
|
|
-flexibleWidthType 3
|
|
-flexibleWidthValue 36
|
|
-enable 1
|
|
-width 39
|
|
-height 34
|
|
-manage 1
|
|
-visible 1
|
|
-preventOverride 0
|
|
-annotation "GS Curvetools - Reset"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "GSCReset"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Reset"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "gsCurveToolsIcon_reset.png"
|
|
-image1 "gsCurveToolsIcon_reset.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import gs_curvetools.main as gs_curvetools_main; from importlib import reload; reload(gs_curvetools_main); gs_curvetools_main.reset(); del gs_curvetools_main"
|
|
-sourceType "python"
|
|
-commandRepeatable 1
|
|
-flat 1
|
|
;
|
|
shelfButton
|
|
-enableCommandRepeat 1
|
|
-flexibleWidthType 3
|
|
-flexibleWidthValue 36
|
|
-enable 1
|
|
-width 39
|
|
-height 34
|
|
-manage 1
|
|
-visible 1
|
|
-preventOverride 0
|
|
-annotation "GS Curvetools - Stop/Close"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "GSCStop"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Stop"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "gsCurveToolsIcon_stop.png"
|
|
-image1 "gsCurveToolsIcon_stop.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import gs_curvetools.main as gs_curvetools_main; from importlib import reload; reload(gs_curvetools_main); gs_curvetools_main.stop(); del gs_curvetools_main"
|
|
-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 "ModIt - Modeling toolkit with advanced features"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "ModIt"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "ModIt"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "modit.png"
|
|
-image1 "modit.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "from modeling_tools.ModIt import ModIt_LAUNCH"
|
|
-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 "SpeedCut - Fast boolean modeling tool"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "SpeedCut"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "SpeedCut"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "speedcut.png"
|
|
-image1 "speedcut.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "from modeling_tools import speedcut\nspeedcut.run()"
|
|
-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 "Instant Tie - Easy way to create tie and rope"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "InstantTie"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Tie"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "instant_tie.png"
|
|
-image1 "instant_tie.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "from modeling_tools import instant_tie\ninstant_tie.InstantTie()"
|
|
-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 "Corner Killer - Fixing corner topology"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "CornerKiller"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "CK"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "cornerkiller.png"
|
|
-image1 "cornerkiller.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "from modeling_tools import cornerkiller\ncornerkiller.cornerKiller()"
|
|
-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 "Flatten Model By UV - Select a mesh first, then click to flatten by UV"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "FlattenUV"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Flat"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "flattenmodelbyuv.png"
|
|
-image1 "flattenmodelbyuv.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "source \"modeling_tools/flattenmodelbyuv.mel\";\nflattenModelbyUV();"
|
|
-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 "UV Deluxe"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "UVDeluxe"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Extrude"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "uvdeluxe.png"
|
|
-image1 "uvdeluxe.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "from modeling_tools import uvdeluxe\nuvdeluxe.uvdeluxe.create_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 "UVSetEditor"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "UVSetEditor"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "UVSET"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "uvseteditor.png"
|
|
-image1 "uvseteditor.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "from modeling_tools import uvseteditor\nuvseteditor.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 "Batch Extrusion - Shell mesh tool with vertex colors"
|
|
-enableBackground 0
|
|
-backgroundColor 0 0 0
|
|
-highlightColor 0.321569 0.521569 0.65098
|
|
-align "center"
|
|
-label "BatchExt"
|
|
-labelOffset 0
|
|
-rotation 0
|
|
-flipX 0
|
|
-flipY 0
|
|
-useAlpha 1
|
|
-font "plainLabelFont"
|
|
-imageOverlayLabel "Extrude"
|
|
-overlayLabelColor 0.8 0.8 0.8
|
|
-overlayLabelBackColor 0 0 0 0.5
|
|
-image "batchextrusion.png"
|
|
-image1 "batchextrusion.png"
|
|
-style "iconOnly"
|
|
-marginWidth 0
|
|
-marginHeight 1
|
|
-command "import modeling_tools\nmodeling_tools.show_batch_extrusion_ui()"
|
|
-sourceType "python"
|
|
-commandRepeatable 1
|
|
-flat 1
|
|
;
|
|
|
|
}
|