This commit is contained in:
2025-12-06 18:23:17 +08:00
parent 1f10abfb32
commit 9f30e905d7
259 changed files with 33763 additions and 348 deletions

View File

@@ -174,7 +174,7 @@ global proc shelf_Nexus_Modeling () {
-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"
-command "import gs_curvetools.core.utils as gs_curvetools_utils; gs_curvetools_utils.reset_ui(); del gs_curvetools_utils"
-sourceType "python"
-commandRepeatable 1
-flat 1
@@ -209,7 +209,7 @@ global proc shelf_Nexus_Modeling () {
-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"
-command "import gs_curvetools.core.utils as gs_curvetools_utils; gs_curvetools_utils.stop_ui(); del gs_curvetools_utils"
-sourceType "python"
-commandRepeatable 1
-flat 1
@@ -294,101 +294,31 @@ global proc shelf_Nexus_Modeling () {
-manage 1
-visible 1
-preventOverride 0
-annotation "Instant Tie - Easy way to create tie and rope"
-annotation "CreasePlus - Advanced hard surface modeling tool"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "InstantTie"
-label "CreasePlus"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "plainLabelFont"
-imageOverlayLabel "Tie"
-imageOverlayLabel "Crease+"
-overlayLabelColor 0.8 0.8 0.8
-overlayLabelBackColor 0 0 0 0.5
-image "instant_tie.png"
-image1 "instant_tie.png"
-image "creaseplus.png"
-image1 "creaseplus.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "from modeling_tools import instant_tie\ninstant_tie.InstantTie()"
-command "from modeling_tools import creaseplus\ncreaseplus.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 "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
@@ -459,6 +389,111 @@ global proc shelf_Nexus_Modeling () {
-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 "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