[Bf-python] Vectors comparison doubts

Giuseppe De Marco demarcog83 at gmail.com
Tue Feb 10 15:15:06 CET 2015


Hi all,

It's the first time for me here and first of all I want to thank you
all for the good work already made in blender.

Writing a simple addon used for increase / decrease and set an
arbitrary edge length I'm learning the way that blender uses to work
with vertices and edges. I noticed this:

>>> v3
Vector((1.0, 0.0, 0.0))

>>> v6
Vector((-1.0, 0.0, 0.0))

>>> v6 == v3
False

>>> v6 > v3
False

>>> v6 >= v3
True

Who could explain what's is the logical approach to this ?



More information about the Bf-python mailing list