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