snapShot v1.1

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: satheesh R
snapShot render your current frames result (which ever your seeing your viewer) as a .jpg file and re-load it automatically. Its using your scripts name, version and your current nodes ( means selected node) name. Updated with new icon and custom input gizmo. Place the image gizmo, icon and on your custom nuke DIR. Replace line to make it work.
6.2, 6.3 or later
11 Apr 2012
Please login in order to download these files.


+1 # satheesh R 2012-03-25 22:46 file:

import snapShot
n = nuke.toolbar('Nodes')
menu.addCommand('Edit/snapShot', 'snapShot.snapS hot()', "F3")
0 # hakins xia 2012-03-27 23:23
why ?
Traceback (most recent call last):
File "", line 1, in
File "C:/Users/123/. ", line 22, in snapShot
w['_jpeg_sub_sampl ing'].setValue(2)
NameError: knob _jpeg_sub_sampl ing does not exist
0 # satheesh R 2012-03-28 01:43
Which version Nuke your using. I think earlier versions of Nuke6.3 doesn't have "jpg sub sampling" option. If it is just remove that line.
0 # hakins xia 2012-03-28 20:35
oh. yes . it`s work .Thanks for your valuable suggestion
0 # Francisco Palomares 2012-07-11 23:14
Simply wonderful.
0 # Max Steven 2015-03-24 08:15
Hello! What's about this error:

Traceback (most recent call last):
File "", line 1, in
RuntimeError: C:/Users/gmk/.n uke/gizmos/snap plugin did not define snapShot

0 # Andrew Rea 2015-05-01 11:03
Does this tool work with Nuke 9?
Trying to set it up in a central location for a small studio and failing so far, would love to get it working
+1 # Andrew Rea 2015-05-29 15:21
Got it working with Nuke 9 with the following in my

import snapShot
m ='Nodes')
m.addCommand('snapShot', 'snapShot.snapS hot()', "F3", icon="camera.png")

Thanks for sharing this great tool Satheesh
0 # lou cannizzo 2015-12-10 18:52
I never have any luck...
Placed all 3 files into my Nuke 9 Dir (plugins folder)
Then added the path in the file to point to the files.
The icon shows up on the toolbar however, I keep getting
"Invalid syntax line 1"
Any suggestions would be appreciated,
0 # Frank Rueter 2015-12-10 20:14
Sounds like the gizmo file is not a gizmo file. What does it look like when you open it in a text editor?
0 # lou cannizzo 2015-12-10 20:17
Hey Frank,
This is the gizmo file

#! /usr/local/Nuke 6.3v4/Nuke6.3 -nx
version 6.3 v4
Gizmo {
inputs 0
postage_stamp true
addUserKnob {20 snapShot}
addUserKnob {41 input T Read1.file}
addUserKnob {41 first l "frame range" T Read1.first}
addUserKnob {41 last l "" -STARTLINE T Read1.last}
Read {
inputs 0
file "\[python \{nuke.script_d irectory()\}]/s napShots/\[stri ng trim \[file tail \[value]] .nk]_CheckerBoa rd1_%04d.jpg"
format "2048 1556 0 0 2048 1556 1 2K_Super_35(ful l-ap)"
first 20
last 20
origset true
name Read1
xpos 245
ypos -141
Output {
name Output1
xpos 245
ypos -41
0 # Frank Rueter 2015-12-10 21:05
that looks fine to me.
when are you seeing the error exactly?
0 # lou cannizzo 2015-12-10 22:49
When I select a node on the graph, then I hit the icon button that now shows up on the toolbar, or hit F3, I get the error invalid syntax string line 1

BTW, here's my entire menu py

import nukescripts.alignNodes

import nuke
from mocha import send_to_mocha

menuBar ="Nuke")
menuBar.addCommand('Edit/Node/Align/horizontally', ' ignNodes.alignN odes( nuke.selectedNo des(), direction="x" )', 'alt+x')
menuBar.addCommand('Edit/Node/Align/vertically', ' ignNodes.alignN odes( nuke.selectedNo des(), direction="y" )', 'alt+y')
import snapShot
m ='Nodes')
m.addCommand('snapShot', 'snapShot.snapS hot()', "F3", icon="camera.png")
toolbar.addCommand("Snapshot", "snapShot.snapS hot()", icon="/C:\Progr am Files\Nuke9.0v6 \plugins/camera .png")
+1 # lou cannizzo 2015-12-10 23:13
Oh Crap! I saw the problem after I Pasted my file to you.

When I copied the script from the first post( satheesh ) it came in with spaces on some lines giving me the error. I never thought that a simple "copy & paste" can not be Identical when you paste it back to notepad.
Thanks Frank, you actually fixed it without knowing it :)

You have no rights to post comments

We have 4698 guests and 129 members online