reformat_presets v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Deke Kincaid
Reformat node presets for the most common resolutions out there
Requirements:
6.3 or later
25 Aug 2011
1003

This implements preset for the Reformat node for many of the most common film and digital camera values.  I also gave nice labels to match the format inside but it still shows the resolution on the node which is nice.

Yes you can do this with nuke.addFormat, but you can't nest them and when the list gets big it kind of gets annoying and goes off screen.  So this is just an alternative.

reformatPresets

reformatNodeLabels

 

Install Instructions:
1. copy the file into your .nuke folder or anywhere in your NUKE_PATH 
2. in your init.py or menu.py put the following code:

import reformat_presets
reformat_presets.nodePresetReformat()

It uses Nuke 6.3's new node presets and will not work with older versions.  If you have additional camera values you would like added let me know.  There are still some missing ones that would be useful like weisscam and viper.  If you have these values offhand then post them in the comments and I will add them.

#just a note this is the first pass on it.  I will probably refine it more next week.

Please login in order to download these files.

Comments   

 
0 # Howard Jones 2011-08-13 04:34
Thanks again Deke. F
FYI you have a comma in the "UHDTV/4320p 16:9" format for box width
'box_width': '7,680' which causes it to fail.

H
 
 
0 # Deke Kincaid 2011-08-13 09:20
thanks howard, I have a bunch of 2&3 perf formats to put in there, so Ill update it soon.
 
 
0 # Jed Smith 2011-08-16 14:48
Adding the "reformat_prese ts.nodePresetRe format()" command to your menu.py will break opening Nuke 6.2 or earlier.

If you still use both Nuke 6.2 and 6.3, you can create this entry in your menu.py instead to solve the problem.
if ( nuke.NUKE_VERSI ON_MAJOR >= 6) and ( nuke.NUKE_VERSI ON_MINOR >= 3 ):
reformat_presets.nodePresetReformat()
 
 
0 # Kristijan M 2011-08-18 03:51
Thanks.
 
 
0 # Carlos Trijueque 2011-09-03 02:17
Thanks again.
 
 
0 # Raft Raft 2011-11-10 02:46
can you tell me how to enter the codes into the menu.py or init.py

thnx a lot
 
 
0 # Deke Kincaid 2011-11-10 03:42
just create a text file called "menu.py" with the information above and put it in your .nuke folder.
 
 
0 # yuseop Ham 2012-02-02 01:42
Thanks~ :-)
 
 
0 # chengd chengd 2012-08-02 01:17
Thanks~ :-) .............
 
 
0 # Jason Bidwell 2012-08-24 13:29
I added your code my menu.py and added your presets file but my reformat looks the same. Is there something else I need to do in order to enable it? (I removed the comma from the UHDTV setting also)

BTW, Thanks for going through all these cameras for us.
 
 
0 # Jason Bidwell 2012-08-24 13:30
I tried your camera presets also, they they are working fine.
 
 
0 # émil ZATOPEK 2012-10-18 02:59
it's possible to have the same upgrade of camera presets ( nikon d800 ect ect....)

thanks sot lots
 
 
0 # Deke Kincaid 2012-10-18 15:40
These are based around motion camera formats. I don't really see a point in adding still camera formats.
 
 
0 # émil ZATOPEK 2012-11-30 03:17
arghh doesn't work for nuke 7 :sad:
 
 
0 # James Berkheimer 2014-06-26 21:13
I also just tried this for Nuke 8.0v4 and nothing happens. Is this being supported any longer?
 
 
0 # Matt Grasso 2015-05-20 23:13
Dede what changed to nuke 9? the syntax?
 

You have no rights to post comments

We have 169 guests and 5 members online