[Bf-python] mathutils

jms jmsoler at free.fr
Wed Nov 12 17:32:39 CET 2003


Willian Padovani Germano wrote:

>Hi,
>
>  
>
>>I was thinking about wrapping the /blenlib .c files such as arithb.c,
>>matrixops.c, rand.c, vectorops.c as well as maybe some clamping and string
>>manipulations that are found elsewhere.
>>    
>>
>
>That's a good idea : ), arithb.c was in the plans since before 2.28.  I'd
>just suggest to be careful not to go too far (asking users is probably the
>best way).  
>

A math module is really a good idea. 

>String manipulation, for example ...  Python is a champion for
>doing this, seems pretty weird to wrap Blender's C code for that.  Clamping,
>random numbers, too.  
>
random is a good idea too.

>Remember that Python is a very powerful programming
>language, even when considering only its builtin modules.
>
>  
>

random is not a buitin module and the math module is not in all python
installations (linux for instance, if a python developper  pack  is not
installed ).


Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20031112/83d3081d/attachment.html>


More information about the Bf-python mailing list