This location is for Registered Users Only.
Perhaps you need to login or register.
6.2, 6.3, 7.0 or later
Linux, Mac, Windows
# Autolife v1.0 # Autolife is based on SetRotoLifetimeAll by Marc Gutowski (http://www.nukepedia.com/python/nodegraph/setrotolifetimeall/)
# Instructions # Put autolife.py in your .nuke directory or path # Put "import autolife" in your menu.py file
# This python script adds an 'autolife!' button to a 'user' tab on all Roto and Rotopaint nodes # When clicked, all shapes or strokes that are locked, will have their lifetime automatically set to their first and last keyframe. I found myself setting the frame range manually for this a lot, especially when roto'ing objects that need new shapes very often, so I made Autolife to speed the workflow up.
# Please let me know if you come across any bugs or have suggestions, and I'll try fix or add them!
"Autolife automatically sets the lifetime for roto shapes and strokes to their first and last keyframe."
I finished it late at night hence the slightly inaccurate short description :-).
Sorry admin, I edited the description and saved it but didn't know it will be sent for approval again.
A small bug I found was that nuke creates 2 autolife
buttons. To fix this, in the code, just change AddOnCreate to AddOnUserCreate.
But it didn't work for me. Is it compatible with nuke 7?
It's funny because I actually had it working last year in about October. I was using it in production for a few months, then my hard drive at work crashed, and I had forgotten to back it up or put it on Nukepedia! I was too busy on a project that I thought I'd upload it afterwards! I felt so lost roto'ing without it haha!
Eventually I got it working again.
i have minor request if possible. is it possible to apply autolife to selected curves or shapes from roto or rotopaint node.
i.e, i have 10 shapes (curves) in root layer, i select only 2 and wanted them to autolife (not rest of shapes)
huge thanks again for your time and sharing this. cheers,haseeb