[Bf-scripts-dev] Scripts Directory is too crowded

Willian Padovani Germano wgermano at ig.com.br
Wed Feb 16 05:46:27 CET 2005


Hi Anthony,

Anthony D'Agostino wrote:

> I think it would be a good idea to add subdirectories to the scripts 
> directory.

Yes, you're right.  We'll add a few dirs there.

> Something like what Wings has:
>
> scripts
> +-- primitives
> +-- import
> +-- export
> +-- mesh
> +-- misc
> +-- etc
>
> Maybe it could also closely match the menu in the scripts window.

Better not, there may be many dirs added then when we expand to (many) 
more menu entries, and some of these dirs may be empty.  Import + export 
could be in a converters/ dir and we could have generators/ (like your 
new teapot script :) ) and modifiers/, maybe.  A modules/ dir is also in 
the plans.

Also, we need a gui script to automate adding scripts to Blender: it 
will save the script in the right folder, modules in modules/ and data 
files in ../datadir/.  The script might support zipped packages and a 
simple text file with info there, like:

script.py
modules: mod1.py, mod2.py
datafiles: data1.txt, data2.txt

We can check where to put the executable script.py by looking at the 
"Group" line in the file.

-- 
Willian



More information about the Bf-scripts-dev mailing list