Gradient Editor v1.1
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mads Hagbarth Damsbo
A simple little visual gradient editor.
Requirements:
11.0, 10.5, 10.0 or later
Linux, Mac, Windows
11.0, 10.5, 10.0 or later
Linux, Mac, Windows
27 Jun 2018
2840
This is a simple little visual gradient editor for Nuke
See a little demo here: https://vimeo.com/223874378
If you make some cool custom gradients, please share your 'GradientPresets.cfg' with me so we can add them to the official release.
Changelog
[1.1] Fixed a bug that caused some Nuke 11 instalations to throw a python error and not showing the UI.
Please login in order to download these files.
Comments
Great work! I'm not getting the gradient presets and editor to show up, though (MacOS High Sierra, Nuke 11.1v4)...
Cheers,
Øyvind
Try downloading the new version
Cheers!
But I also can't get it to work. When I add import ColorGradientUi to my menu.py, I get the "error interpreting this plugin" when booting up Nuke (11.1v3)
At first I had the files installed in my own directories, but even if I use the given folders etc it gives me the same error. Any insight?
Try downloading the new version.
btw, I noticed your name changing, you married? Congrats :)
Haha yes sir, got married, thanks alot!
Unfortunately is not working for me in Nuke10.5v7 Linux.
Thanks
Thanks again.
To get it working I had to remove the nuke version in the gizmo as previously mentioned, and modify the imports in ColorGradientUI.py.
if nuke.NUKE_VERSI ON_MAJOR > 10:
import h_Qt
from h_Qt import QtGui
from h_Qt import QtCore
from h_Qt.QtGui import *
from h_Qt.QtCore import *
else:
try:
import PySide.QtGui as QtGui
import PySide.QtCore as QtCore
from PySide.QtGui import *
from PySide.QtCore import *
except:
import h_Qt
from h_Qt import QtGui
from h_Qt import QtCore
from h_Qt.QtGui import *
from h_Qt.QtCore import *
My "hagbarth" folder is installed "\.nuke\gizmos\ hagbarth" and I'm loading the folders via the init.py:
##Hagbarth Tools
nuke.pluginAddPath('gizmos/hagbarth')
nuke.pluginAddPath('gizmos/hagbarth/icons')
nuke.pluginAddPath('gizmos/hagbarth/tools')
nuke.pluginAddPath('gizmos/hagbarth/grapichs')
nuke.pluginAddPath('gizmos/hagbarth/python')
nuke.pluginAddPath('gizmos/hagbarth/presets')
Still no UI.
Awesome works!
I already tested it and i think it'll be great if we could rotate the gradient and adding control about it so i change the expression node that create the gradient to:
set cut_paste_input [stack 0]
version 7.0 v6
push $cut_paste_input
Expression {
temp_name0 deg
temp_expr0 radians(Rotatio n)
temp_name1 dist
channel3 rgba
expr3 " (((x-Gradient.x )*cos(deg)-(y-G radient.y)*sin( deg))/GradSize )"
name GradCreator1
selected true
xpos 99
ypos -39
addUserKnob {20 Timo l Gradient}
addUserKnob {7 GradSize l Size R 0 10000}
GradSize 1920
addUserKnob {12 Gradient}
addUserKnob {7 Rotation R -180 180}
}
Thanks for being an inspiration!
Brilliant!
menu.py error interpreting this plugin.
any fix?
Quote:
"QtGui.QStringListModel": "QtCore.QString ListModel",
to:
"QtCore.QStringListModel": "QtCore.QString ListModel",
But I am assuming is because I'm on NukeIndie ? Although I was under the impression the limitation was to python commands and not PySide2 UI.
Not only getting the error but the gradient UI doesn't show up, rendering the tool useless for me =/
Can anyone confirm ?
Thanks
Is there any way to get this functionality into the gizmo? Anyone else having this issue?
Nuke 11.3v4 / Windows 10
RSS feed for comments to this post