Re: [Pythonocc-users] xlib interactive display

2009-11-20 Thread Henrik Rudstrom
Yeah, quite simple actually, only annoyance is that a second terminal has to be opened all the time... an disconnects once in a while. now that i think of it, it could be possible to use the same trick to read directly from stdin... maybe ill give that. Meshing looks nice! that is meshing for FEM

Re: [Pythonocc-users] xlib interactive display

2009-11-17 Thread Henrik Rudstrom
Hi, Found a way to make an interactive display, not using threads, but with a simple tcp server hooked to a python interpreter running in the displays MainLoop(). I've attached the files (RemoteXDisplay.py goes into OCC/Display) if anyone want to check it. Still quite rough in the edges and haven

Re: [Pythonocc-users] xlib interactive display

2009-11-15 Thread Thomas Paviot
2009/11/16 Thomas Paviot > 2009/11/15 Henrik Rudstrom > >> Hi >> > > Hi Henrik, > > >> >> I noticed there are no interactive viewer with the xlib graphics backend >> like i've seen for the wx backend. Thought that would be a really nice way >> to learn, so i made a quick attempt to roll out my o

Re: [Pythonocc-users] xlib interactive display

2009-11-15 Thread Thomas Paviot
2009/11/15 Henrik Rudstrom > Hi > Hi Henrik, > > I noticed there are no interactive viewer with the xlib graphics backend > like i've seen for the wx backend. Thought that would be a really nice way > to learn, so i made a quick attempt to roll out my own using python's > threading: > > in the