animated cornerpin to matrix v1.1

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: egbert reichel
Get a 4x4 Transform Matrix of an animated Cornerpin2D node for a selected frame range.
9.0, 8.0, 7.1, 7.0, 6.3 or later
Linux, Mac, Windows
18 Jul 2015
This Python Script creates a CornerPin node in Nuke using the
transform_matrix knob to store animation data of a given CornerPin node.
It will help distributing animated CornerPin data for example from Mocha to all sorts of nodes like,
'Gridwarp', 'SplineWarp', 'Paint and Roto' nodes without the need to attach a cornerpin underneath each instance.
This is based on Ivan Busquets explanations on using the nuke.math python module to do matrix operations and Pete O'Connell's 'cornerpin_to_matrix' conversion method, with added functionality to convert animation data at a given timeframe.
To access this script inside nuke, you can add the following lines to your and file accordingly. 
nuke.pluginAddPath( './scripts' )
nuke.pluginAddPath( './python' )
or any other name of the folder you store the script in.'Nuke')
n=m.addMenu('Scripts') #'Scipts' is the name of the menu entry and can be any other name you like.
n.addCommand('CornerPinToMatrix', 'animated_cornerpin_to_matrix.animatedCP2MTX()', icon='CornerPin.png')
Please login in order to download these files.


# Mohan Pugaz 2015-10-13 04:28
Awsum!.. Very Usefull.. Thanks a lot
# Falk Hofmann 2016-01-28 11:49
thanks Egbert,
made my day.
# Christian Moreton 2018-11-21 22:00
Hi Egbert, I'm not getting a result from this script when I run it through script editor, I have a corner pin node selected. What am I missing?
# Théophile Virnot 2019-12-30 16:02
You have to add an extra line : "animatedCP2MTX ()" at the end of the script to run it through the script editor.
# Richard mabj 2020-03-16 15:32
Is this still working in Nuke 12? I'm getting ''NameError: name 'animated_corne rpin_to_matrix' is not defined''

You have no rights to post comments

We have 2426 guests and 95 members online