[Bf-python] short term goals

Ken Hughes khughes at pacific.edu
Tue Jul 19 23:27:04 CEST 2005


Joseph Gilbert wrote:
> I added something on the wiki here about (my preference :) ) regarding 
> constants:
> http://wiki.blender.org/bin/view.pl/Blenderdev/UseOfConstantsInTheAPI
> This section talks about how to add module level contant objects which 
> are bound internally to C #defines. I think Ken identified that some of 
> this code is boilerplate and could go into gen_utils.c.  Generating a 
> module constant and returning a module level constant could become a 
> 'boilerplate' util and you would need to only insert a new constant 
> using this code into the init() methods....

Joseph:

Your wiki page was the only place I'd seen any description of how to 
approach the constant business, and I think those methods were also
used in the Text3d module.  Are they any alternative approaches to
implementing this that anyone cares to share?

Ken



More information about the Bf-python mailing list