[Bf-funboard] Re: Scripts in UI

Karim Nassar bf-funboard@blender.org
Thu, 04 Sep 2003 10:34:16 -0400


 > If you want to follow GIMPs conventions (which is a good idea, IMHO),
 > each script should be executed on startup, and have a function
 > available to register menu items.  Most of the execution will j ust be
 > loading functions into memory.

Well, how about a combined method?

There are scripts that are going to be used all the time, but there are 
scripts that a modeler will use in one session, but might not need again 
while working on that scene.

How about having a specified "Startup" folder, where any scripts 
contained in that foder are executed on Blender startup. Scripts outside 
of that folder are accessed through a menu during runtime.

--Karim