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
test_v[ format %0[value CTRL.padding]d [value CTRL.ver] ].jpg |
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
Show hidden characters
{ | |
"cmd" : ["g++ -Wall -std=c++14 $file_name -o $file_base_name && xterm -hold -e ./$file_base_name"], | |
"selector" : "source.cpp", | |
"shell": true, | |
"working_dir" : "$file_path" | |
} |
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
def rotoFilterCorrector(): | |
RIFMAN = 4 | |
MITCHELL = 5 | |
ROTOS = ["Roto", "RotoPaint"] | |
for node in nuke.selectedNodes(): | |
if node.Class() in ROTOS: | |
curveKnob = node['curves'] | |
root = curveKnob.rootLayer | |
for shape in root: | |
attrs = shape.getAttributes() |
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.0 v5 | |
BackdropNode { | |
inputs 0 | |
name BackdropNode10 | |
tile_color 0xff00ff | |
label "correct math" | |
note_font_size 42 | |
selected true | |
xpos -40 |
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.0 v5 | |
Camera2 { | |
inputs 0 | |
translate {0 0 6.039999962} | |
name Camera1 | |
selected true | |
xpos 630 | |
ypos -102 | |
} |
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
[regexp -inline "\[0-9]+$" [value name]] |
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.0 v5 | |
CheckerBoard2 { | |
inputs 0 | |
name CheckerBoard1 | |
selected true | |
xpos -150 | |
ypos -318 | |
} | |
Roto { |
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
import nuke, nukescripts, nuke.rotopaint as rp, _curvelib as cl | |
''' | |
## LINK TOOLS | |
Utility functions for creating linked nodes. This script can create roto linked to trackers, | |
transform linked to trackers, or cameras linked to each other, or held on a projection frame. | |
Installation: | |
Put link_tools.py somewhere in your nuke path. | |
You can add the script as commands to your Nodes panel. This code creates a custom menu entry called "Scripts". |
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] | |
push $cut_paste_input | |
Group { | |
name ToeReverse | |
tile_color 0x7aa9ffff | |
addUserKnob {20 Toe} | |
addUserKnob {18 lift} | |
lift 0 | |
addUserKnob {6 lift_panelDropped l "panel dropped state" -STARTLINE +HIDDEN} | |
addUserKnob {18 pivot} |
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
def duplicate_selected_node_with_inputs(): | |
sn = nuke.selectedNode() | |
nuke.nodeCopy(nukescripts.edit.cut_paste_file()) | |
nodes = nuke.allNodes(); | |
for i in nodes: | |
i.knob("selected").setValue(False) | |