Re: [MayaVi-users] Using UDP API and camera in Mayavi

2014-03-17 Thread Gael Varoquaux
On Wed, Mar 12, 2014 at 10:07:25PM +0100, Benjamin Hervy wrote: > For example, when I want to zoom on a particular node in the graph, I retrieve > x,y,z coordinates of the node and send > sock.sendto('camera.view(focalpoint=(str(x)+','+str(y)+','+str(z)+'))', '', > 9008) ) to focus on the particula

[MayaVi-users] Using UDP API and camera in Mayavi

2014-03-14 Thread Benjamin Hervy
Hello, I'm facing some issues with Mayavi (great soft BTW) and especially when handling camera through udp api. Here is my use case: I have a python script to display a graph. Once the graph is drawn, I use serve_udp() method to wait for commands over udp protocol. I want to send commands like ca