Beginner question

Mats Holmberg mats.holmberg at welho.com
Thu May 16 03:08:06 EDT 2002


Hi

I'd mainly like to use python for scripting within Blender. How do I use the
math module? this is an example of what I've tried:

>>>import math
>>>cos(10)
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in ?
    cos(10)
NameError: name 'cos' is not defined

?? what to do? I need the trigonometric functions, but how do I get to use
them?

thanks





More information about the Python-list mailing list