I'm rotating an object in Object Mode using a script and I'd like to capture a snapshot after each rotation. I'm currently trying to do it with Viewport Render Image but the write_still
set to True
overwrites the same file, which makes sense. I'm unable to figure out how to increment through the filenames that should be assigned to different snapshots. Does anyone have any idea on how to achieve this?
Thank you in advance.