Convert CornerPin From/To transformation into CornerPin extra matrix
getTheCornerpinAsMatrix
Updated: 7 August 2012
Author: lamakaha
Compatible Nuke versions: 6.3 or later
Compatibility: Linux, Mac, Windows
# Original script by Pete O'Connell extended by Alexey Kuchinsky to loop the script over a frame range.
This script convert CornerPin From/To transformation into CornerPin extra matrix, this information later can be used in Rotopaint, GridWarp...
Select CornerPin node, run the script. As result you will have new CornerPin with animated extra matrix.
please put this lines to your menu.py
import getTheCornerpinAsMatrix m=nuke.menu('Nuke') n=m.addMenu('User/Operators',icon="my.png") n.addCommand('getTheCornerpinAsMatrix','getTheCornerpinAsMatrix.getTheCornerpinAsMatrix()',icon="Tracker.png")