I have created a quick addon to add a save incrementally entry in the file menu.
Find it here: save incrementally addon
It works by two ways: - Saving a master version in the folder and save incrementally in a new version folder.
(I used this way working at Aardman and it is my favourite).
Saving incrementally in the same file folder
INSTRUCTIONS:
Install as usual (save within the blender addon folder) and activate in user preferences.
It will appear a new entry. Add the shortcut that you prefer.
If you save for first time, it will work as a the common “save as” and from that moment on,
As I said, it will work in two ways:
If you file does not have any version identification at the end of the file, a digit (001, 04, 3, 10340…whatever) it will use that file as master and will save the incremental versions in a new folder (which will be created by the script) besides save that master file.
If the file has any version identification indeed (001, 339, 1, 034348349034… whatever) it will detect that you want to save the new version in the same folder and so it will do.
I like the idea of having an incremental save option that’s a keystroke away. Although I usually do [Cmd Shift S], [+], [Enter] which accomplishes the same thing. (When I say ‘+’ I mean the ‘=’ key to be technically accurate, since they are the same key) It seems like a lot of strokes at first, but it can be done quickly.
Anyway, I tried to install your script but got an error:
Here’s what the console had to say:
Modules Installed from '/Users/homefolder/Downloads/vtools_saveIncremental.py' into '/Users/homefolder/Library/Application Support/Blender/2.74/scripts/addons' ()
It says the modules installed, so not sure what the problem is. Does the script rely on a Windows-specific file path?
It was working for me without updating, did it not worked well? Anyway, I have updated it. You can download it from my git. Let me know if it works for you now.
there are many addons there, but it lack of proper documentation. If you are interested in any of them just let me know and I will record a video tutorial.
Thank youso much! It works wonderfully in 2.92. I really like this way of inc save. The original latest file must not be renamed.
Lots of add ons there. Some description of what they do would be great.
When I try to save a file with a number, example furn1053, the addon doesn’t work and an error pops up. I assumed it would be saving a backup as furn1053_001 but it doesn’t and just an error.
Can we save blend files with numbers?
I have just fixed it (I hope so). The scrip will consider names like “furn1053” has no version and it will create the version folder.
Hope it works for you
Hi Vertigos. This script works wonderfully in 2.93 but im trying it on the BLender 3.0 beta now and it throws errors:
location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
File "D:\FINE\Blender\__Versions__\blender-3.0.0-beta+v30.3e6907eb8a3d-windows.amd64-release\3.0\scripts\startup\vtools_saveIncremental.py", line 175, in execute
savedFileName = saveIncremental()
File "D:\FINE\Blender\__Versions__\blender-3.0.0-beta+v30.3e6907eb8a3d-windows.amd64-release\3.0\scripts\startup\vtools_saveIncremental.py", line 163, in saveIncremental
newFile = getIncrementedFile(p_file = currentFile, p_inIncFolder = False)
File "D:\FINE\Blender\__Versions__\blender-3.0.0-beta+v30.3e6907eb8a3d-windows.amd64-release\3.0\scripts\startup\vtools_saveIncremental.py", line 90, in getIncrementedFile
posVersion = getVersionPosition(fileName)
File "D:\FINE\Blender\__Versions__\blender-3.0.0-beta+v30.3e6907eb8a3d-windows.amd64-release\3.0\scripts\startup\vtools_saveIncremental.py", line 63, in getVersionPosition
while p_fileName[i] != "_":
IndexError: string index out of range
location: <unknown location>:-1
I assume because some of blender python had some changes. Perhaps something you can look into before Blender 3.0 is officially released and this script is a must-have
thanks for flagging this. I am sure something in the api have changed so I will have to review all my scripts (starting with this one). I have not used any of 3.0 yet, but I will jump into it asap.