[Bf-python] New Mathutils Vector problem...

Gilbert, Joseph jgilbert at tigr.ORG
Thu Aug 11 16:29:43 CEST 2005


Hehe good call cam. I removed vector division (vec1/vec2) because it's
undefined. But we still need vec/scalar division. :o sorry.

-----Original Message-----
From: bf-python-bounces at projects.blender.org
[mailto:bf-python-bounces at projects.blender.org] On Behalf Of Campbell
Barton
Sent: Wednesday, August 10, 2005 7:47 PM
To: bf-python at blender.org
Subject: [Bf-python] New Mathutils Vector problem...

Hi, I noticed that you cant devide a vector anymore

I had a script where I used to do-

*vec1 = vec2 / len(list)

*Now this raises an error, though I dot around it by doing

*vec1 = vec2 * (1.0/len(list))*

-Cam

-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241

_______________________________________________
Bf-python mailing list
Bf-python at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-python



More information about the Bf-python mailing list