From: Tyler B. <dan...@li...> - 2008-08-27 22:05:06
|
Why do you want it to have zero thickness anyway? I suspect there's a better way to accomplish whatever effect you were going for. Not that it isn't a bug, of course. Emanuele Gissi wrote: > 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 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |