i tried to follow the wiki pagen on mathutil and it’s not working

may be other chnges to API

give me an example like how do you do a cross or dot product and use the normalize one

then i should be able to use it like in 2…49

first how do you import it ?

import mathutils

or you need to

from mathutils import * ?

let say with input vectors

p0=(1.0 ,1.0,1.0)

p1=(2,0,2.4,2.1)

p2=(5.0,3.0,4.0)

i tried this one and seems to work but not like in wiki !

v1=1.0, 2.0, 3.0

vec = mathutils.Vector(v1)

print (‘v1=’,v1 ,’ vec =’,vec)

so how do you enter the vec as tuple or as list ?

cause v1=1.0, 2.0, 3.0 is not a tuple or a list !

for angles this is seems to be workig fine

# radians(90),

ang=90

print ()

print (’ ang =’,ang,’ deg radian =’,radians(ang),’ Rad’)

rad1=1.5

print (’ ang =’,rad1,’ radian =’,degrees(rad1),’ Deg’)

print ()

but then what and how ?

1 - cross product ?

2 - Dot product ?

3 - normalize?

Thanks and happy 2.5