Timeline for is there a way to automate render file names and avoid accidental overwrites?
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18, 2022 at 7:54 | comment | added | Robert Gützkow |
@AustinBerenyi I've tested it in Blender 3.2 and it works without any issues. You need to copy and paste the code into a file and save it with the .py file extension. Then you should be able to install it through Edit > Preferences > Add-ons > Install.
|
|
Jun 17, 2022 at 19:31 | comment | added | Austin Berenyi | This add-on looks to be just what I need. It doesn't seem to install on Blender 3.2. Do you know if later versions of Blender are compatible with the add-on? | |
Oct 8, 2020 at 9:27 | comment | added | Robert Gützkow | @ddd Yes, that was an error. It's fixed now. | |
Oct 8, 2020 at 9:25 | history | edited | Robert Gützkow | CC BY-SA 4.0 |
Fixed check
|
Oct 8, 2020 at 0:42 | comment | added | Robert Gützkow | @ddd That look like an error to me, but it's currently 3am. Let me take another look tomorrow. | |
Oct 7, 2020 at 23:33 | comment | added | ddd |
In the register() and unregister() , can you explain why it looks in render_pre but adds it to or removes it from render_init ? Shouldn't it check and add/remove in the same place? for example: if update_filepath not in bpy.app.handlers.render_init: bpy.app.handlers.render_init.append(update_filepath) I might have missed something, just curious?
|
|
Mar 31, 2020 at 18:45 | comment | added | Robert Gützkow |
If you want to have Render Animation include the timestamp in the name you could change bpy.context.scene.render.filepath = str(base_path / "####") to bpy.context.scene.render.filepath = str(base_path) + "_####" .
|
|
Mar 23, 2020 at 14:31 | comment | added | Robert Gützkow | Please note that this doesn't auto-save images render with Render > Render Image (F12). While you're not using the multiple file output nodes and perhaps not multiple inputs per file output node, the add-on should still create unique names since the solution should also work for other people that need this feature. | |
Mar 23, 2020 at 7:53 | comment | added | Ottavio Rava | Ideally I would like the file naming to work in this way: render image: filename is timestamp, file is in output folder. render animation: filename is timestamp + #### framenumber, in output folder or subfolder, it makes little difference. I currently only ever use one output node, and name does not need to be included, as compositing or separate render layers are not a big part of my workflow. Thanks! | |
Mar 22, 2020 at 21:55 | comment | added | Robert Gützkow | Yes, that's possible. How should the names be formatted? It would still be necessary to have unique names among multiple file output nodes. Should the node name be included in the filename? | |
Mar 22, 2020 at 21:39 | comment | added | Ottavio Rava | Wow this is almost exactly what I need, thank you so much! If I may ask, is there a way to adapt the code so the renaming occurs just to the file name itself rather than creating a sub-folder for each render? In any case thank you so much for your help, this is already a big problem solved! | |
Mar 22, 2020 at 17:46 | history | edited | Robert Gützkow | CC BY-SA 4.0 |
Fixed typo
|
Mar 22, 2020 at 17:36 | history | edited | Robert Gützkow | CC BY-SA 4.0 |
Fixed handler registration and default value for the directory
|
Mar 22, 2020 at 0:33 | history | answered | Robert Gützkow | CC BY-SA 4.0 |