I am using the packaged VisualPython 3.2.9 on Linux Ubuntu.
I would like to signal this bug.
Try this:
8<----------
from visual import *
b = box()
b.size = (0.,1.,2.)
print "b.size:", b.size
b.size = (3.,1.,2.)
print "b.size:", b.size
8<----------
When the x coordinate of a box size is set to 0, it's impossible to change
it any more.
This does not seem to happen with y and z coordinates.
I lost some nights because of this ;-)
I circumvented it this way:
8<----------
from visual import *
b = box()
b.size = (1e-6,1.,2.)
print "b.size:", b.size
b.size = (3.,1.,2.)
print "b.size:", b.size
8<----------
Thank you for your attention.
Emanuele Gissi
|