- Francesco-Bellini changed review status to Awaiting Review
- 1 mo
Blender allows you to save you own .blend file to use on startup.
This is great, but wouldn't it be nice to be able to create your own templates?
Custom Templates allows you to use your own .blend files as template options for new projects.
Your templates will be added in the
File > New
menu and in the Splash Screen (according to preferences).
You can follow this steps to get started.
Instead of being limited to the usual options Blender offers to start a new project (General, 2D Animation, Sculpting, VFX, Video Editing), you will be able to configure your own list of .blend files.
Create your own templates or find the ones that best suit your needs online.
Customize workspaces, preset your usual materials, define additional windows or anything else you would like to have from the beginning.
The only limit is your immagination!
File > New
menu and in the Splash Screen.blend
files in folder)Add from Custom Templates
menu)For previous Blender versions, you can install the legacy version.
Tested on all LTS versions from 2.83 to 3.6 (remember to use compatible templates).
For more details checkout the project's Wiki.
Add from Custom Templates
menu.This extension requests the following permission:
JSON Import/Export of templates list / Add from folder feature
This is pretty useful. Can you explain issues you ran into about disabling add-on thing? Maybe we can solve that before approving, so its perfectly polished.
Some minor UI notes:
One functionality issue is that when you disable add-on in Blender preferences are reset, including list you make for this one. It would be nice if you implement import-export functionality (with json files probably) so that you can export your list to save it, and load it when you enable it again (or when you want to move presets to other computer)
Also add "User Interface" in tags
Hi @nickberckley, thanks for the review! I'm very glad you find it useful!
Regading the disabling add-on little issue: Basically, to be able to override the splash screen templates, i needed to overide the class WM_MT_splash (replicating the part under the splash image, and adding my changes).
Te issue arise because i'm not able to find the original blender's WM_MT_splash class inside bpy, so i can't re-register the original Blender WM_MT_splash while unregistering the add-on. When i unregister my version of WM_MT_splash, Blender is simply missing that component, so the Splash Screen only shows the image.
It's a minor thing, because as soon as you restart blender/reload scripts, the original class is registered as usual, but i agree it would be better to be transparent. I'm open to suggestions to solve this, if you have any. (as long as i don't find the original class in bpy, the only workaround i can think of now, is to avoid unregister my WM_MT_splash, and make it behave just like the original splash, if the addon preferences are missing, so that it get simply silently replaced in the next restart/scripts reload. Let me know if you think it's a valid solution [still need to be tested. I'm just guessing it should work])
Regarding the other 2 UI points: That's fear :) I'm going to remove those messages, and replace my custom separator, with a simple separator.
Regarding this comment:
It would be nice if you implement import-export functionality (with json files probably) so that you can export your list to save it, and load it when you enable it again
This is actually implemented, from version >=1.1.0.
Using File > Defaults > Import/Export > Import templates / Export template or using the little menu in the preferences (the arrow in the custom templates list), you can either export to .json file, as well as import back from .json. So you can easily restore the templates list. If you found some problems in the process, please let me know.
As soon as we decide something regarding the splash screen issue, i'm gonna release a new patch version with the requested changes :)
I just seen your second message. No problem, it will be added in the next release!
Regarding splash screen, seems like i found a solution, @nickberckley:
I realized i couldn't register it back, because i was replacing the value of bpy.types.WM_MT_splash, so after unregistering my version, bpy.types.WM_MT_splash was None (or anyway invalid).
Using a global variable to store the original Blender's class in registrer() phase, allows me to re-register the original class in the unregister() phase.
Seems to work perfectly fine!
I'm gonna remove the warning about it, in the preferences, as well...
I'm gonna release soon the new version, and flag this for another review!
Here we go, ready for the second round!
So, to recap what i've done in v1.2.3:
v1.2.5 I found out that changing override_splash pref from the splash screen, was working fine at runtime, but when closing blender, it wasn't saving that preference for the next startup. Marking preferences as dirty, after changing the value, solved the issue.
Great to see this resolved, thanks
Thank you for your time! It's much appreciated.
updated featured image
updated featured image
updated featured image
updated previews
updated previews
updated previews
updated description
updated description
updated description
updated description
updated description
uploaded new version: Add-on "Custom Templates" v1.3.0
updated description
updated previews
uploaded new version: Add-on "Custom Templates" v1.3.1
updated description
updated description
updated description
uploaded new version: Add-on "Custom Templates" v1.4.0
updated description, previews
updated description
updated description
updated description
updated description
updated description
updated description
updated description
updated description
Sign in to comment.
Ready for review