Theme manager 1.4.0 (August 27th)


(Crouch) #1

edit: links are up-to-date for version 1.4.0

Introduction

Sharing custom themes for Blender 2.5 used to be difficult, as you had to share entire .blend files, replace your default .blend and then manually reorganize your start-up screen with the new colours. That’s why I’m introducing: Theme manager

https://vimeo.com/21635762

Instructions
Install and enable the add-on. (click here for more help)
Go the the theme panel in the user preferences.
Click the ‘Load Theme’ or ‘Save Theme’ buttons in the header (by default at the bottom of the window).

When saving a theme, you can optionally also name the theme and add the name of the creator (see video).
Themes are saved as .blt files, short for BLenderTheme. These are pretty small and can be easily shared.

Download

You can download the add-on here: <python script>
A temporary repository with themes can be found here.


(Meta-Androcto) #2

awesome work!
let the hideous themes roll on :wink:


(bat3a) #3

awesome work!

+1 from me too :slight_smile:


(Mackraken) #4

Thats great crouch, well done.


(Crouch) #5

JoS: my sincere apologies, I didn’t know about your script at all. The reason I wrote my own script was that I needed something capable of saving themes and I couldn’t find anything after some googling (I even asked meta-androcto).
I’ve just had a look at your code and it’s an interesting approach you’re taking, which is a bit different from the mechanism I’m using.

Again, I’m really sorry this happened.

EDIT:
A dropdown list would be an interesting addition. I guess it should use a default folder (probably in presets) or perhaps search several folders. I’ll see what I can do for you.


(JoS) #6

Oh really don’t be sorry, i am obviously happy that this functionality is added and maintained (hopefully to trunk as well). also, a lot of what i have learned of the blender python api is thanks to your scripts, so i’m grateful for what you’re doing.

regarding my script, i always thought of it as a bit hackish, but i did what i could with the tools i knew at the time, while trying to keep the alorithm safe for added theme settings.

and the default folder was exactly what i had in mind. hope you find a way to solve it, so i can learn it :wink:


(carlos padial) #7

crouch and JoS, thanks for two great jobs! :slight_smile:


(3Duaun) #8

@Crouch!!! Thanks for the new AddOn. I too couldn’t find JoS’ scripts, but Am glad that I stumbled upon your new one. Really hope it makes it into trunk. All your scripts rock! thanks for creating and sharing.


(Jason van Gumster) #9

Just a quick note of thanks, Crouch. I appreciate you taking the time to convert my theme for your add-on.


(Crouch) #10

Fweeb, you’re welcome. Thanks for letting me do it.

I’ve gathered all themes I could find on a single page, so people have something to start with. This should probably be organised with a proper repository, but this might suffice for now.


(JoS) #11

works like a charm mostly, but i found a bug (linux). if you open a file, the load operator fails at line 210.

I solved this by inserting the load_presets() function at line 210, and removing it from line 354, as blender does not seem to re-register the script correctly when loading a file

this is not an optimal solution (but it works just fine) as it has to skim through the hdd everytime you load a theme, and i’m not sure whether it should be considered a bug in the script or in blender itself.

is there maybe somwhere other than the windowmanager where data can be stored permanently for the whole session?


(flopoloco) #12

Wow, this is amazing. If you could switch themes on-the-fly just like zbrush then it would be very cool.


(Jason van Gumster) #13

There’s a theme repository on graphicall. Perhaps you could coordinate with them?


(Crouch) #14

New version (1.2) of the script is now available. Thanks JoS for the bug report.
Download link (same location as before): <python script>


(Alyscom) #15

Hello
I created this theme here, feel free if you want to add to your list :slight_smile:


(Crouch) #16

Alyscom: I’ve added it to the list.


(MikeJ) #17

Thanks Bart for another great addon. Working great on 35924. :slight_smile:


(mib2berlin) #18

Hi, works fine here with Rev: 35956 and opensuse linux 11.4/64
THX, it is very helpfull, mib


(Crouch) #19

Thanks for the confirmation reports that it works on other systems as well. It’s always difficult to develop cross-platform when you can only test on a single system.


(aermartin) #20

thanks for the script! it’s just what I wanted, here’s a theme Im distributing the .blt file
Softblend
Unnamed Dark Theme

I’m distributing the theme manager.py file within the zips containing the theme .blt files, just for easy installation.