Label Connector v1.5


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Lukas Schwabe
A Connector Tool for Nuke with a handy UI. Super light-weight and very easy to use, just one single shortcut to create, setup, colorize and navigate these connections from anywhere in the Node Graph. No Callbacks, no hidden knobs created, to always stay compatible to other pipelines or artists.
Requirements:
13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11 or later
Linux, Mac, Windows
23 Nov 2022
296

LabelConnector

A Connector Tool for Nuke with a handy UI. Super light-weight and very easy to use, just one single shortcut to create, setup, colorize and navigate these connections from anywhere in the Node Graph. No Callbacks, no hidden knobs created, to always stay compatible to other pipelines, or artists not having the Label Connector.

LabelConnector on GitHub

Demo Video:
https://youtu.be/KIwTWMKP2u0

LabelConnectorMain

Quick Manual

Default Shortcut: A - easily change this in the included menu.py. Use it to

  • create Parents, where you want to be able to connect to from anywhere
  • show possible Connections
  • jump to Parents or see all Children
  • colorize Parents to quickly identify them again
  • rename Parents, and alongside all connected Childrens


Shortcuts

In the UI you can

SHIFT + CLICK: Jumps directly to Connector.
ALT + CLICK: Opens Connector Settings, same like having a Parent selected.
CTRL: Creates parent (same like clicking the 'Create Parent'-button)

Quick Tips / FAQ

  • after Copy-Pasting Nodes, they are all still selected. Hit the Shortcut right away to connect them all.
  • you can always select all Nodes in the DAG, and hit the Shortcut to connect everything that might got loose.
  • searching works like Nukes Node Menu, just hit some characters. E.g. searching 'ce' will give you 'CRYPTO ENV'.
  • Arrow Up/Down navigates search results. Hitting Enter/Tab always selects the first one, no need to arrow down.
  • fastest way to create a new Parent is typing the desired name directly into the search bar. Hitting 'Create Parent' (or CTRL) gives the new Parent right away.
  • Copy-Pasting and connecting works across multiple scripts, as long as the Parents have the same Label.
  • give your Parents some colors. It works with multiple Parents selected at once.
  • the given colors are just some quick-use presets. You can choose any color you want for your Parent, or built your own selection using the one and only amazing W_HotBox.
  • creating Parents with a Node selected will append the new Node. Dots will get converted.
  • creating Childrens with a Node selected will prepend a new NoOp/PostageStamp to make the connection.
  • label any Dots like you want, they won't get shown in the Label Connector. Parents have a Name starting 'Connector..' to identify them.
  • the UI is context-based. Just give it a try, to hit the shortcut with Parents or Childrens selected, or use the Shortcuts mentioned above to get even faster.
  • avoid duplicate Parents with the same Label.
  • creates only NoOp Nodes by default, way better performance in big scripts  :). If you want PostageStamps, easily change it in the included menu.py.

 

Installation


To install the plugin, just add

nuke.pluginAddPath('path_to_folder_containing/LabelConnector')


to your menu.py in your Nuke User Folder.

Thanks to Johannes Hezer for the base and Falk Hofmann for helping with the UI and code clean up.

 

Examples

Check the Demo Video for a live example: https://youtu.be/KIwTWMKP2u0

 

LabelConnectorMain

LabelConnector01

Quickly get anything you need from anywhere, just use the search to find it faster. Every Match gets highlighted accordingly to guide your eyes. Hit Enter or Tab right away, or use the arrow keys to select another search result.

 

LabelConnector02

Create yourself snippets, that incorporate the Children. Copy-Paste them around, even to other Scripts.

 

LabelConnector03

Colorize Parents quickly like you want.

 

LabelConnector04

SHIFT+Click lets you navigate the DAG super fast. ALT+Click lets you e.g. colorize directly as well.

 

LabelConnector05

You can also jump from any Children.

 

LabelConnector06

Anything changed, just rename. It renames every Child accordingly.

 

LabelConnector07

Having a Node selected will prepend a Children to build the connection. Just search for it, if it is on top, hit Enter/Tab.

 

Version History


v1.5: SHIFT+CLICK jumps. ALT+CLICK modifies Parent. CTRL creates New Parent. Search results get highlighted. More flexible search results, now with single character matching. NoOp-Nodes are default now.

v1.4: Big overhaul, reducing to one shortcut only while adding more functionality directly to the tool, like Colorization and Navigation.

v1.3: Option to choose if PostageStamps should be used or not. Also, determination if a PostageStamp is possible or it needs to be 3D compatible is now more bullet proof.

v1.2: Never connect certain Nodes like Reads, Backdrops, ... Yes, apparently it's possible ;)

v1.1: Default shortcuts are now way easier to reach. Less hand movement, more happy comping! =)

v1.0: initial release

 

Please login in order to download these files.

Comments   

 
0 # Mohamed Abuzeid 2022-01-17 21:33
nice one dude, I start testing it and it's cool.
is there any chance to connect to any dot instead of connector dot only?
 
 
-1 # Lukas Schwabe 2022-01-19 16:27
Thanks, glad you like it! :)
I didn't implement this on purpose, so we have a chance to filter the list and kind of have a "controllable" selection of Dots to connect to.

What you can do though is just use the same shortcut as to create ConnectorDots (default alt+shift+A) on a selected existing Dot and it will convert this to a ConnectorDot. Maybe that helps you.
 
 
0 # shakil shaikh 2022-11-17 14:08
no module names pyside2.qtcore
pls help
 
 
0 # Lukas Schwabe 2022-11-17 14:12
Sounds like an older Nuke up to 10.5.
This Tool is for Nuke 11 and newer, when pyside2 was added.

You could try to edit labelconnector. py to this

try:
# < Nuke 11
import PySide.QtCore as QtCore
import PySide.QtGui as QtGui
import PySide.QtGui as QtGuiWidgets
except:
# >= Nuke 11
import PySide2.QtCore as QtCore
import PySide2.QtGui as QtGui
import PySide2.QtWidge ts as QtGuiWidgets


but no guarantee it works as expected
 
 
0 # shakil shaikh 2022-11-18 04:29
even not working in nuke 12.1
 
 
0 # Lukas Schwabe 2022-11-18 11:55
It is working fine on Nuke 12 for me. Without specific details, I can't troubleshoot.
 
 
0 # NIRESH MS 2023-07-16 05:07
no module named enum can anyone help?
 
 
0 # Lukas Schwabe 2023-07-16 13:38
Feel free to grab a copy here, that should fix your issue!

https://github.com/shwezr/LabelConnector/blob/dev/labelConnector.py
 
 
0 # Lukas Schwabe 2023-07-16 13:39
sorry for the inconvenience. I havent had the time to publish a proper update, but will do so as soon as I can.
 

You have no rights to post comments

We have 4310 guests and 163 members online