This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Group { | |
name CS_AdvancedRect1 | |
addUserKnob {20 CS_AdvancedRect} | |
addUserKnob {19 color} | |
color 1 | |
addUserKnob {6 color_panelDropped l "panel dropped state" -STARTLINE +HIDDEN} | |
addUserKnob {15 from} | |
from {480 270 1440 810} | |
addUserKnob {15 to} | |
to {0 0 1920 1080} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_UVTransform1 | |
tile_color 0xa57aaaff | |
addUserKnob {20 CS_UVTransform} | |
addUserKnob {41 uvPosition l "UV Position" T Transform1.uvPosition} | |
addUserKnob {41 uvSize l "UV Size" T Transform1.uvSize} | |
addUserKnob {41 uvCenter l "UV Center" T Transform1.uvCenter} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stats = dict() | |
for n in nuke.allNodes(): | |
node_class = str(n.Class()) | |
if node_class in stats: | |
stats[node_class] += 1 | |
else: | |
stats[node_class] = 1 | |
import operator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
NoOp { | |
name Version1 | |
knobChanged "if nuke.thisKnob().name() == 'inputChange':\n label = nuke.thisNode().knob('label')\n label.setValue(label.getValue())" | |
label "\[if \{\[exists \[topnode].file]\} \{return \[string range \[regexp -inline \"_v\\\[0-9]*\" \[value \[topnode].file]] 1 end]\} \{\}]" | |
note_font_size 50 | |
selected true | |
xpos -810 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: | |
# - convert label to proper knob name, e.g. w/o spaces | |
# - check if link expression is valid | |
# - implement a node and knob picker | |
if len(nuke.selectedNodes()) == 0: | |
nuke.message('no node selected') | |
else: | |
n = nuke.selectedNode() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_ChromaticAberration1 | |
tile_color 0xcc804eff | |
addUserKnob {20 CS_ChromaticAberration} | |
addUserKnob {20 Red_Cyan l Red/Cyan n 1} | |
addUserKnob {41 distortion1_red l "Radial Distortion 1" T LensDistortionRed.distortion1} | |
addUserKnob {41 distortion2_red l "Radial Distortion 2" T LensDistortionRed.distortion2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_MapValue1 | |
label "Output: \[value out]" | |
selected true | |
xpos 400 | |
ypos -88 | |
addUserKnob {20 CS_MapValue} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_DistanceBetween1 | |
tile_color 0x9c0000ff | |
label "Distance2D: \[value Distance2D]\nDistance3D: \[value Distance3D]" | |
selected true | |
xpos 290 | |
ypos -95 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_NoiseDistort1 | |
tile_color 0xa57aaaff | |
selected true | |
xpos 9530 | |
ypos 6206 | |
addUserKnob {20 CS_NoiseDistort} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_RoughenEdges1 | |
help "Adds a noise to semi-transparent alpha. This way all soft edges are roughened. Hard edges shouldn't be affected." | |
tile_color 0xcc804eff | |
selected true | |
xpos 2270 | |
ypos -2746 |