This Script creates a corner pin node and auto arrange pins according with the selected node's alpha channel.
jns_cornerpin
Updated: 24 April 2022
Author: jishon
Compatible Nuke versions: 11.0 or later
Compatibility: Linux, Mac, Windows
This is a self build script using Nuke's autocrop script method. In this script, I am using curve tools autocrop method to detecting the bounding box of the alpha channel. It will increase your work efficiency.
installation:
1) put this script in your .nuke directory or your plugin directory
2) edit the menu.py and add this line
3) import auto_cornerpin
m = nuke.menu('Nuke')
m.addCommand('JNS/jns_cornerpin', 'auto_cornerpin.auto_cornerpin()',)
4) make sure that you add the plugin path in the init.py file
Thank you0
update info:
added key to the 'from' and 'to' knobs in v1.1