Scratch that. The method should work, but it doesn't (with Nuke) because how Nuke's outputting the percentage value. I just got this confirmed by The Foundry. However they have an update coming for this, or at least it's in their system.
So currently, it's not possible to catch Nuke's render progress from stdout. // Fredrik > 11 okt 2013 kl. 12:35 skrev Fredrik Averpil <fredrik.aver...@gmail.com>: > > Using a python wrapper script: > http://fredrikaverpil.tumblr.com/post/63722065215 > > // Fredrik > > > >> On Fri, Oct 11, 2013 at 11:40 AM, Jordan O <jorxs...@gmail.com> wrote: >> How did you manage to do it, out of curiousity? >> >> >> >>> On Wed, Oct 2, 2013 at 11:50 AM, Fredrik Averpil >>> <fredrik.aver...@gmail.com> wrote: >>> Never mind, solved it! >>> >>> >>>> On Tue, Oct 1, 2013 at 10:11 PM, Fredrik Averpil >>>> <fredrik.aver...@gmail.com> wrote: >>>> I forgot to mention I'd like to print to stdout, not just "print". >>>> >>>> // Fredrik >>>> >>>> >>>>> On Tue, Oct 1, 2013 at 9:30 PM, Fredrik Averpil >>>>> <fredrik.aver...@gmail.com> wrote: >>>>> Hi, >>>>> >>>>> Is it at all possible to print out a custom progress message while >>>>> rendering? >>>>> Let's say I'd like to print the progress percentage each Nth second or >>>>> whenever the progress percentage increases by N percent, like this: >>>>> >>>>> Rendering 1% >>>>> Rendering 2% >>>>> Rendering 3% >>>>> and so on... >>>>> >>>>> >>>>> Regards, >>>>> Fredrik >>> >>> >>> _______________________________________________ >>> Nuke-python mailing list >>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> >> _______________________________________________ >> Nuke-python mailing list >> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python