> > Hi Bryan, > > Thank you for sharing your code. It looks very interesting but > unfortunately I was not able to run the script. It seems that the driver > initialization (InitDriver) isn't correctly processed and segfaults > (under Windows). I did not tested under Linux.
Rats. Sorry. I left in my definition for CSF_GraphicShr environment. I should have commented this out (top of the occ_display.py file). This may be the problem. The driver init stuff is hard to get right and particularly so with TraitsUI since the window creation is handled inside the TraitsUI GUI backend. I did the InitDriver call in the paint-handler, thinking that paint events will only be generated once the window is created and visible. Bryan > > Cheers, > > Thomas > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users -- Group Leader, Technical Development Group - Teraview Ltd. Platinum Builiding, St. John's Innovation Park, Cambridge CB4 0WS, UK. tel: +44 (0)1223 435386, fax: +44 (0)1223 435382, web: www.teraview.com Registered Number: 04126946, VAT Number: 770 8883 84 ...prefered document formats: ODF (ISO/IEC 26300:2006), PDF _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users