RnD/Tools

Nuke Execute with Command Prompt

This is a little side project I worked on during my second year in Media Design School. My lecturer, Ryan Mullany mentioned that Nuke can potentially render faster without its graphic interface running, thus the idea of sending the execution Read More …

Posted in Nuke Tools | Tagged , , , | Leave a comment

Cropping Contact Sheet

I had the pleasure of in charge of a crowd simulation development for my university third year production “As You Command”. It was a crowd for a huge hockey arena, and we got almost 30 people from the whole class Read More …

Posted in Nuke Tools, tools | Tagged , , , | Leave a comment

TCL/Python Snippets

Get input node name: [python nuke.thisNode().input(0).name()] [python nuke.thisNode().input(1).name()] [value this.input0.name] [value this.input1.name] Set a variable in expression with TCL: [set VARIABLENAME VALUE; return] To use this variable later needs to type it as: $VARIABLENAME Get the last letter/section from node Read More …

Posted in Nuke Tools, RnD | Tagged , , , | Leave a comment

Nuke EmunerationPulldown

I was trying to create a simple panel with a dropdown menu, and had some trouble with nuke panel.addEmunerationPulldown. Here’s the code I was typing: opts = (‘on’, ‘from auto-localize path’, ‘off’) p = nuke.Panel(‘Change read localization’) p.addEnumerationPulldown(‘Set localization policy’, Read More …

Posted in RnD | Tagged , | Leave a comment

Write node auto versioning

n = nuke.thisNode() oValue = n[‘file’].evaluate() if os.path.isfile(oValue): (prefix, v) = nukescripts.version_get(oValue, ‘v’) v = int(v) n[‘file’].setValue(nukescripts.version_set(oValue, prefix, v, v + 1)) nuke.scriptSave() A few lines of python code I wrote to put in the beforeRender knob in Write node Read More …

Posted in RnD, tools | Tagged , | Leave a comment

TCL/Python Snippets

Get input node name: [python nuke.thisNode().input(0).name()] [python nuke.thisNode().input(1).name()] [value this.input0.name] [value this.input1.name] Set a variable in expression with TCL: [set VARIABLENAME VALUE; return] To use this variable later needs to type it as: $VARIABLENAME Get the last letter/section from node Read More …

Posted in Nuke Tools, RnD | Tagged , , , | Leave a comment