Dots v5.1
This location is for Registered Users Only.
Perhaps you need to login or register.
14.0, 13.2, 13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11 or later
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()', ',')
Comments
Tnx for reply very fast . i solved the problem just sec ago ..
and i want one Node list same like MAX, Maya.. it is possible .. can u give ur email id
Thanks for this script, it's pretty useful, and help keeping a graph organised !
I'm not sure if it's a bug, or if it's not implemented yet, but it could be great, that the script apply on all the selected node, here it apply only on one pair
for selected in nuke.selectedNodes():
and indent the rest will work on more than one node
for selected in nuke.selectedNo des():
m = nuke.menu('Nuke ')
n = m.addMenu('dots ')
n.addCommand('D ots','Dots.Dots ()','Alt+,')
just uploaded update, please have a look on new features:
http://www.youtube.com/watch?v=FwCkM6FwO2M&feature=youtu.be
Enjoy!
import Dots
m = nuke.menu('Nuke')
n = m.addMenu('dots')
n.addCommand('Dots','Dots.Dots()','Alt+,')
Traceback (most recent call last):
File "
File "/net/homes/myu sername/.nuke/D ots.py", line 11, in Dots
AX = A.xpos()
AttributeError: 'NoneType' object has no attribute 'xpos'
regarding the error - your merge node have to be connected with both inputs A and B.
connect it and it should solve the problem
fixed!
V 4.0 - more predictable behaviour when mask input is connected in the merge node, scanlinerender node and paint node.
if not could you update it?
please write if it is not working
please add the error you are getting
thanks
Just curious - whats the difference between Dots() and DotsBKP() ?
Hi Tom, it is actually does what you asking, on which node did you try it?
Maybe it works on earlier version than 11 only?
Does not lay it out to the right side on nuke11, the dot gets placed on top of the node for the mask input..
just did cjeck on Nuke 9 and 10.5 and had no problem, except of additional dot was created on the side().
thank you for reporting, will investigate later this week.
Dots() is actual script
DotsBKP() - is something i just forgot to erase
thank you for pointing out, will erase with next submission
Could I ask you to explain in more detail how to install Dots? It's not working in 10.5.
I copied your text into menu.py, and added this additional text from you:
import Dots
m = nuke.menu('Nuke')
n = m.addMenu('dots')
n.addCommand('Dots','Dots.Dots()','Alt+,')
As a separate question, how can I change Dots activation from "Alt+" to "Alt-mouse click"?
Thank you.
import Dots
m = nuke.menu('Nuke')
n = m.addMenu('dots')
n.addCommand('Dots','Dots.Dots()','Alt+,')
Should you add this text into the download?
you are right, i should put it in explanation section. forgot to do it..........again.
but you do not need to insert those lines in the end of the script, something wrong with your menu.py i guess.
Regarding remapping to mouse click - i do not know if it is possible, you will have to google a bit.
thank you.
do you get some errors?
have you some Python knowledge?
did anyone else have the issue that somewhat bigger node like the channelmerge oder nodes with a label applied wont create a 90° angle?
not a big problem, but wondered if this awesome organiser could adjust itself to that to?
probably i did brake something else on the way.
in case you find some issues please contact me!
thank you
but what you can easily do is to open the dot.py script and change everywhere
print 'lalala'
to
print ('lalala')
meaning - add the brackets, that is it.
it should do the trick
Cheers!
I did that originally and the python runs, but the dots no longer set at right angles..
I get this message.. 'integer argument expected, got float"
thanks
setXYpos is expecting int and not float.
i have it fixed but can not post as can not test, sorry about that.
you need to change
setXYpos(lala,lala)
to
setXYpos(int(lala),int(lala))
everywhere.
or wait till i finally post it updated and checked.
Maybe I will wait for you to update.
Thanks, let me know when its out!!
Maybe I will wait for you to update.
Thanks, let me know when its out!!
Give it a try, worked for me.
cheers!
'NoneType' object has no attribute 'Class'
all works good on my side, could you send me a .nk file with nodes so i will have a look?
lamakaha
thanks
thank you for your great set
however, when i run it in nuke 12 i got follow errors
File "", line 1, in File "C:/Program Files/Nuke12.2v 3/plugins\Dots. py", line 122, in Dots if A.Class()== "Dot": AttributeError: 'NoneType' object has no attribute 'Class'
any hint that could fix it? thx
If not - please describe what you are trying to do.
It should run on Nuke 12.
If not - please describe what you are trying to do.
It should run on Nuke 12.
satmp tools update
RSS feed for comments to this post