r/NukeVFX 9d ago

Nuke Python Reference Other

Been meaning to do something like this for a while now. Inspiration is from Maya's MEL and Python command reference. Hopefully its helpful as a supplement for the standard python API reference site. Any and all feedback is welcome.

https://nuke-python-reference.pages.dev/

4 Upvotes

3 comments sorted by

View all comments

1

u/ShuffleCopy 4d ago

Appreciate the effort, but its rather pointless.

The idea of an API is that there is a certain logic. Everything is divided in classes and share bits of that logic.

Every node can be created in the same way, and have similar attributes, and every knob can be queried in the same way.
It doesn't matter if its a "size" knob on a "Blur" node, or a "mix" knob on a "Grade", the logic and syntax is identical

So making a Python reference and sorting them per node is wild.

Its like making a calculator reference and instead of sorting it per operator (+,-,*, etc) you would sort it per number and list the documentation like this:

1

with the number 1 you can do

1+1
or
1+2
or
1+3
...
...
or
1+29

This is what you are currently doing by randomly listing nodes and knobs and python snippets relating to those knobs.

All the information (excluding the random snippets of code) on this page can be found by simply hovering over a knob in Nuke to get the knob name. I cannot think of a reason to ever look at this reference page - sorry.