I just found (and fixed) a bug in my function prototype parser.  It was 
like a "filter" that excluded a lot of methods (with parameters passed 
by reference, that are correctly handle by SWIG). I don't know exactly 
which methods were affected by this bug, I currently regenerate all SWIG 
files.

Thomas

Cowdens a écrit :
> Oh , I see. Tricky.  
> I've come across a lot of methods that use by ref values-- BndBox.Get(..)
> works that way as well. How did you handle it in that case?
>
> -----Original Message-----
> From: Thomas Paviot [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, October 12, 2008 9:36 AM
> To: Cowdens; minerva-pythonocc@gna.org
> Subject: Re: [Minerva-pythonocc] First step to pythonocc visualization
>
> 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

Reply via email to