gizmoDropper v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Aleksandr Pushkarev
Allows you to create gizmos just by dropping .gizmo files directly in Nuke's node graph
Requirements:
13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11 or later
Windows
14 Sep 2022
64

With this script you can create gizmo by droping them into nodegraph.

 

 gizmoDropper1.1

 

Installation:
1. Put gizmoDropper.py into your home directory 'C:\Users\user_name\.nuke'
or into subdirectory 'C:\Users\user_name\.nuke\python'
if you choose subdirectory paste in init.py this line:
nuke.pluginAddPath('./python')
2. Add in your menu.py this line:
import gizmoDropper

video guide https://youtu.be/2g0O6NlErKk

v1.1
-now it imports gizmo as group so you have access to imported gizmo after reopening your script.
Big thanks to Matthias Backmann for pointing on this issue.
-autocolor was added(see Preferences->Panels->Node Colors)

v1.0
-initial release

Please login in order to download these files.

Comments   

 
0 # Matthias Backmann 2022-08-25 09:34
Thanks for this script, Aleksandr,

there is one big issue in this workflow:
When you insert Gizmos, which are not initialised by nuke and which aren't Groups from the start, you will loose them when reopening the script. Nuke unfortunately has a weird way dealing with that.
The same happens when you import Nodes by using "insert comp nodes...". I created a post in the forum for this, but without answer right now:
https://community.foundry.com/discuss/topic/159705/copy-gizmo-to-group-on-inserted-gizmos

Perhaps you have a look into that?
 
 
0 # Aleksandr Pushkarev 2022-09-09 08:51
I forgot about this issue! Thanks for your remark.
I've updated version of this script. Now it imports gizmo as group.
I used nuke.scriptRead Text() function. When gizmo is creating from text, script changes "Gizmo {" line to this line "Group {" in the text, so gizmo loads as group.
 

You have no rights to post comments

We have 2377 guests and 43 members online