Set Input Frame Range v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Sean Kalra
It sets the input range based on the calculation of the handles so you can review files quickly. You just select the footage and set the viewing mode from 'global' to 'input' and then press either of the hotkeys to set the viewing range. 'alt+h' to set 24 frame handle 'alt+g' to set 16 frame handles
Requirements:
9.0, 8.0, 7.1 or later
Linux, Mac, Windows
25 Jan 2016
80

It sets the input range based on the calculation of the handles so you can review files quickly.

You just select the footage and set the viewing mode from 'global' to 'input' and then press either of the hotkeys to set the viewing range.

'alt+h' to set 24 frame handle
'alt+g' to set 16 frame handles

I created this script so you can review your renders for multiple shots quickly without having to calculate the handles every time.

Also at the moment, it will only work if your shot frame range is starting from 1 - ###

You may need to modify the values in the script if your project handles are different.

Please leave feedback if you would like to request changes / make any suggestions. Thanks.

Just copy this to your menu.py:

 

#Installing SK_Handles (Sean_Kalra)
#description sets project range based on input frame range.
#version 1
#Please email [email protected] for updates / bugs.
#Website: www.seankalra.com

def newViewerRange24():
plate = nuke.selectedNode()
v = nuke.activeViewer().node()
firstFrame = plate['first'].getValue()
lastFrame = plate['last'].getValue()
newRange = str(int(firstFrame)+25) + '-' + str(int(lastFrame) - 24)
v['frame_range_lock'].setValue(True)
v['frame_range'].setValue(newRange)

def newViewerRange16():
plate = nuke.selectedNode()
v = nuke.activeViewer().node()
firstFrame = plate['first'].getValue()
lastFrame = plate['last'].getValue()
newRange = str(int(firstFrame)+17) + '-' + str(int(lastFrame) - 16)
v['frame_range_lock'].setValue(True)
v['frame_range'].setValue(newRange)

# Add the commands to the Viewer Menu
nuke.menu('Nuke').addCommand('Viewer/SK Handles - 24f',
'newViewerRange24()', 'alt+h')
nuke.menu('Nuke').addCommand('Viewer/SK Handles - 16f',
'newViewerRange16()', 'alt+g')

Please login in order to download these files.

You have no rights to post comments

We have 2684 guests and 146 members online