I simply had a look to MFC samples to see how are created WNT_Window, V3DView and Viewer and AIS_InteractiveContext. A post on OCC forum, dealing with wxWindows implementation, helped me in the way I should implement this on wxPython.
I also investigated the issue related to STLAPI_Reader. The Read() method takes a parameter TopoDS_Shape passed by reference. This is not possible with python and I have to transform the function prototype in order to "return" a TopoDS_Shape that would be created in the function. Usage will then be : my_stl_reader = STLAPI_Reader() my_shape = my_stl_reader.Read("test.stl") Thomas Cowdens a écrit : > hey, that's pretty cool! > > When you are looking into this, did you find the draw test harness > that comes with OCC? it has a bunch of commands, most of which are > implemented in tcl i think. dunno if that's of any help or not.. > > ------------------------------------------------------------------------ > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of *Thomas Paviot > *Sent:* Sunday, October 12, 2008 8:31 AM > *To:* minerva-pythonocc@gna.org > *Subject:* [Minerva-pythonocc] First step to pythonocc visualization > > Hello all, > > Here is a screenshot of the current work about visualization class > (for wxPython). Look on the bottom left: it's a TopoDS_Shape (a sphere)! > > > > Thomas _______________________________________________ Minerva-pythonocc mailing list Minerva-pythonocc@gna.org https://mail.gna.org/listinfo/minerva-pythonocc