Help to keep node graph more organised by putting Dots and making connection 90 degrees
Dots
Updated: 4 March 2024
Author: lamakaha
Compatible Nuke versions: 11.0 or later
Compatibility: Linux, Mac, Windows
V 5.1 - fixed inconvenient dots creation when a dot or other node already exists in the same place, thanks to Lega Pugliese for catching and ultimately fixing it!
V 5.0 - should work with Nuke 13
V 4.3 - fixed issue that if node is not default size nodes were positioned with an offset
- will work now with any dot size without problem
V 4.0 - code cleanups, more precise dots positioning
V 4.0 - more predictable behaviour when mask input is connected in the merge node, scanlinerender node and paint node.
have fun
I like to keep my NodeGraph organised, so what this script does, it breaks each diagonal line in two, connected by dot in 90 degrees. i gave to it short cut 'Alt+,'
See short examle here: http://www.youtube.com/watch?v=FwCkM6FwO2M&feature=youtu.be
Hope you will find this useful.
to install:
put the file to your plugin directory.
add those lines to your menu.py
import Dots
m=nuke.menu('Nuke')
n=m.addMenu('coolDotFromInternet/NodeGraph',icon='NodeGrapf.png')
n.addCommand ('Dots', 'Dots.Dots()', ',')