Skip to content

Commit

Permalink
nuke tool init
Browse files Browse the repository at this point in the history
  • Loading branch information
weijer committed May 5, 2016
1 parent 54b9b8b commit 98a8632
Show file tree
Hide file tree
Showing 237 changed files with 112,197 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .idea/dictionaries/chengwei.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/nuke_plugin.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,011 changes: 1,011 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions command.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# coding=utf-8
# author=weijer
# http://www.cgspread.com
import nuke
from python.packproject import nuke2pack
import python.pw_multiScriptEditor as ScriptEditor
from python.Channel import autoComper, PreCompForArnold, RenderLayer
import python.ToolSet as ToolSet


def run_pack():
"""
run package nuke project plugin
:return:
"""
wgt = nuke2pack.PackageDialog()
wgt.exec_()


def run_ScriptEditor():
"""
run script editor
:return:
"""
ScriptEditor.showNuke()


def run_autoComper():
"""
run autoComper script
:return:
"""
autoComper.autoComper()


def run_preCompForArnold():
"""
run preCompForArnold script
:return:
"""
PreCompForArnold.preCompForArnold()


def run_RenderLayer():
"""
run RenderLayer script
:return:
"""
RenderLayer.RenderLayer()


def run_presetBackdrop():
"""
run presetBackdrop script
:return:
"""
ToolSet.presetBackdrop.presetBackdrop()


def run_browseDir():
"""
run browseDir script
:return:
"""
ToolSet.browseDir.browseDirByNode()


def run_SingleToEquence():
"""
run SingleToEquence script
:return:
"""
ToolSet.single_to_sequence.main()


def run_switchShot():
"""
run switch_shot script
:return:
"""
ToolSet.switch_shot.main()


def run_correctErrorReadNode():
"""
run correct_error_read_node script
:return:
"""
ToolSet.correct_error_read_node.main()


def run_ListShuffle():
"""
run correct_error_read_node script
:return:
"""
ToolSet.ListShuffle.main()


def run_replaceReadNodePath():
"""
run replace_read_node_path script
:return:
"""
ToolSet.replace_read_node_path.main()


def run_toggleInput():
"""
run toggle_input script
:return:
"""
ToolSet.toggle_input.main()


def run_toggleStamp():
"""
run toggle_stamp script
:return:
"""
ToolSet.toggle_stamp.main()


def run_releaseNotes():
nuke.message('<p style="color:#99CCFF;font-weight:600">Nuke ToolSet Ver1.0</p>'
'<p style="color:#6699cc;font-weight:600">By weijer</p>'
'<p style="color:#99CCFF;font-weight:600">联系QQ:250557277</p>')
Loading

0 comments on commit 98a8632

Please sign in to comment.