Pybox Nuke

Can anyone spare two minutes to write an idiot’s guide to pybox nuke?

I remember getting somewhere with it but I’ve completely forgotten.

All out nuke scripts and renders are kept on a local server. Can these still be used?

1 Like

Hey John,

All I’ve done with Pybox & Nuke was pass images in and get the render back. I haven’t done anything with exposing the controls of Nuke nodes in Flame yet.

Would they still be of help?

Absolutely - all I need to do is run something through an existing setup and am being lazy by not wanting to boot up nuke.

No problem. You should be able to take care of it in four steps:

  1. Put the path to your Nuke install in the Handler file:

  2. Modify your nuke script to have the appropriate Read and Write nodes (they need to be named like this)

  3. Drag a Pybox node into Batch and load the Nuke_px handler

  4. Load the Nuke script and you should be good to go.

Full disclosure this can be A LOT slower than just launching Nuke. It basically calls a command line render for each frame. I had a comp that took 5 mins in Nuke and 40 mins in Flame via PyBox on the same machine. But, if you’re dealing with someone who doesn’t know Nuke, etc, it’s seamless.

1 Like

So every time you want to do this, you have to edit the .py file?

Also your full disclosure is very informative - it seems pretty unattractive in light of this.

No, you only have to do that edit to the .py file once. Once the path is declared then you are good to go. PyBox really seems like a viable option if you’re trying to integrate something that cannot be done in Flame, or if you have a tool that can only be done in Nuke but you want to expose it to Flame artists. I’ve been building bespoke tools with Nuke Copycat and making them available to our Flame artists who don’t know Nuke. The major caveat with that is to treat it like something that you need to pre-render instead of keeping it live in your Batch comp.

Sorry - what I meant was you need to edit the .py for each new comp it seems since all out comps are stored on a server in shot folders within jobs. It just seems easier to open up nuke. I don’t really like using nuke much - it feels very awkward but it’s easier than editing a text file.

1 Like

Hey John. No…that .py file just specifies where Nuke is installed. Not your individual Nuke comps. Those you just load in the PyBox node as needed.

1 Like

Anyone tested Pybox with CentOS 8.2 and Nuke13? We can’t get it to work. Spits out a bunch of errors in the Flame shell.