small Nuke Python Tool – Master Switch v01 – Render Different Contents

20131111_MasterSwitch

20131111_MasterSwitch_dia4

Intro:>>

This is a tool that I create for our current project, which has different language versions.
For example, if each spot has 10 shots and 4 language, there will be 40 nuke scripts you need to handle.
If you know python for nuke, then you’ll need to set before-render-python to each write-nodes, there will be 40 write-nodes that you need to set code.
Or you can create user knobs in Nuke, and go through every script.
Therefore, for saving time purpose, I spent a lot of time to create this tool, if you like it, say thank in this post.
Anyway, this is a free tool for saving your time.

Nuke only support one write node with before-render-python per render.
If you render all of them at the same time in Nuke, the results will not be what you expect.
If your company has render-farm, some submitter can split your write nodes into individual, then it will work, such as Royal render.

Video:>>

small Nuke Python Tool – Master Switch v01 – Render Different Contents

Download here:>>

http://tingjunghsu.us/nukepy/nuke7/masterSwitch.pyc

http://tingjunghsu.us/nukepy/nuke8/masterSwitch.pyc

 

How to use:>>

1.goto your User .nuke folder, and put download file here
2.open menu.py (if you don’t have it, create a txt file, rename to menu.py)
3.add this two line

import masterSwitch
nuke.menu( 'Nuke' ).addCommand( 'Custom/Master Switch', "masterSwitch.masterrun()" )

Note:>>
‘Custom/Master Switch’ (Menu name, you can change)

Feature:>>

20131111_MasterSwitch_dia5
20131111_MasterSwitch_dia6
20131111_MasterSwitch_dia7

Warning note:>>

1.
This is designed for preventing user just copy node from other script, instead actually clone the switch.
If this message pop out, please check these similar name if use in your nuke script.
20131111_MasterSwitch_dia0

2.
This is designed for checking all inputs of Master_Switch and all clones in nuke script to check if all match or not.

20131111_MasterSwitch_dia1

3.
If you see this pop out, then your script must be really…..messy.

20131111_MasterSwitch_dia2

One thought on “small Nuke Python Tool – Master Switch v01 – Render Different Contents

  1. Pingback: Nuke | Master Switch Tool Simplifies Project Language Versioning

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s