Hi, I'm having issues importing wxDisplay. I am using python version 2.5.2
on windows XP, and grabbed wxPython version 2.8.9.1.

I can import wx, but I get this error running the script:

    from wxDisplay import GraphicsCanva3D
ImportError: No module named wxDisplay

I must be missing something obvious-- wxPython docs show wxDisplay as a
class...

On Wed, Oct 15, 2008 at 4:44 PM, Cowdens <[EMAIL PROTECTED]> wrote:

>  way cool! You are moving much faster than I can-- i've installed version
> 0.98, and got hte viewer to work but have not had time to get my latest
> slicer code to work.
>
> next couple of days i'll try to get my slicer combined with the script
> below, and see if i can get something marginally functional!
>
>  ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Paviot Thomas
> *Sent:* Wednesday, October 15, 2008 10:21 AM
> *To:* Paviot Thomas; minerva-pythonocc@gna.org
> *Subject:* [Minerva-pythonocc] RE : STEP file viewer
>
>
> Revision 229 of the script CADViewer.py can open and display STEP, STL and
> IGES files.
>
>
> http://svn.gna.org/viewcvs/minerva/trunk/pythonOCC_SWIG/samples/wx/CADViewer.py?rev=229&view=log
>
> Thomas
>
>
> -------- Message d'origine--------
> De: [EMAIL PROTECTED] de la part de Paviot Thomas
> Date: mer. 15/10/2008 14:25
> À: minerva-pythonocc@gna.org
> Objet : [Minerva-pythonocc] STEP file viewer
>
> Hello,
>
> You will find attached another simple example of pythonOCC features: maybe
> the smallest STEP file viewer in the world! (only 186 lines of python code,
> in 2 scripts)
>
> Here is a small benchmark on my laptop.
>
> First Step file: 405Kb, 7973 entities, 0.984s (total time required to open,
> parse and display the step file).
> Second Step file: 23434Kb, 437745 entities, 91s
> Thir Step file: 45543Kb, 820898 entities, 158s.
>
> Even with big files, rotate, pan and zoom are still smooth.
>
> These two scripts are now available on SVN server.
>
> Enjoy,
>
> Thomas
>
>
>
>
>
>
>
>
>
>
>
>
_______________________________________________
Minerva-pythonocc mailing list
Minerva-pythonocc@gna.org
https://mail.gna.org/listinfo/minerva-pythonocc

Reply via email to