Possible bug in enthought.tvtk.tools visual (traits 4.1.0-1)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Possible bug in enthought.tvtk.tools visual (traits 4.1.0-1)

Hannes Meier
Hi 


I think there is a strange bug in the Module enthought.​tvtk.​tools.​visual

As a simple example if one wants to create 2 arrows pointing along the unit z-direction with origins (x=0,y=0,z=0) and (x=1,y=0,z=0)
one might use something like

################################
from enthought.tvtk.tools import visual

a1=visual.arrow(pos=(0.0,0.0,0.0),axis=(0,0,1))
a2=visual.arrow(pos=(1,0.0,0.0),axis=(0,0,1))

from enthought.pyface.api import GUI
gui = GUI()
gui.start_event_loop()
################################

In the original VPython implementation on my ubuntu machine it worked perfectly fine.
Using the enthought distribution on my mac the result of this however is one arrow at (0.0,0.0,0.0) and one at (1,0.0,1.0) pointing along the z direction. Is this a known problem?

Kind Regards

Hannes



_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev