C++, Swig, and pyMPI

2005-08-02 Thread stringy
I would like to be able to write a C++ function, to be wrapped into some python, to be able to communicate over pyMPI. As pyMPI is based on C++ I figure that this should be possible, although I'm not sure of where to start. I know the basics of swig and pyMPI, but not how I would do this. Does

Re: Need to interrupt to check for mouse movement

2005-07-21 Thread stringy
Cheers for the replies people, but I got it sorted by just whacking in wx.YieldIfNeeded() in the code before it communicates over the socket. It's kind of jerky, but it works, where as before I'd click and drag, and the 3d view wouldn't move for about 20 seconds. --

Re: Couple quick questions from a Python Noob

2005-07-21 Thread stringy
For compiling Python, http://effbot.org/zone/python-compile.htm appears to have some information, although I've never done it myself, so I wouldn't know any more on the matter. Also http://starship.python.net/crew/theller/py2exe/ appears to have something on Python- .exe --

Need to interrupt to check for mouse movement

2005-07-20 Thread stringy
I have a program that shows a 3d representation of a cell, depending on some data that it receives from some C++. It runs with wx.timer(500), and on wx.EVT_TIMER, it updates the the data, and receives it over the socket. In my program I also want to be able to rotate the 3d representation, and can