forked from weijer/NukeToolSet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommand.py
127 lines (97 loc) · 2.2 KB
/
command.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
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>')