Hi, Thomas/All:
 
I have downloaded and installed pyocc v 0.96.  My observations:
 
(1) The documentation is much much better, and most of the structure is much
better organized. IE, it is better to do STEP_Control_Reader() vs
STEP_Control.STEP_Control_Reader()!  Kudos, Thomas, to you on the new layout
and new documentation!
 
(2) The constructor bug I had with TopExp_Explorer seems to be fixed.
 
(3) There are a couple of libraries/objects Im using that appear missing in
the new distribution:
     (3a) -- BRepBnd seems to be gone-- it used to be there?
     (3b) -- TopExp_Explorere references TopAbs_ShapeEnum, but this
enumeration does not exist.  To test that TopExp_Explorer works, I foundt
the values via the constants from OCC, and it worked perfectly. In previous
version, you could do TopAbs_FACE.  
 
(4) Just a note to those who might upgrade, running the installer for
version 0.96 will _not_ automatically remove the older version-- you need to
remove the old version from lib/site-packages manually... Evidenty the older
version will take precedence by default.
 
Thomas, thanks for your work, and let me know if I can help out!

  _____  

From: Paviot Thomas [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2008 10:51 AM
To: minerva-pythonocc@gna.org
Cc: Dave Cowden
Subject: pythonOCC 0.96 and STEP import bug



Hello,

 

Dave Cowden submitted in a previous post a bug in step file import. Latest
release of pythonOCC fixes this bug.

 

Here are the results obtained from the import of a 44.4Mb step file (an
aircraft) by using the script “STEP_import.py” available on pythonocc home
page:

 

G:\>python STEP_import.py

      ...    Step File Reading : Test.STEP

      ...    STEP File   Read    ...

Elapsed time:  0 Hour(s) 0 Minute(s) 6.393 Second(s)

CPU user   time: 1.73438 seconds

CPU kernel time: 0.09375 seconds

      ... Step File loaded  ...

Elapsed time:  0 Hour(s) 0 Minute(s) 7.484 Second(s)

CPU user   time: 2.78125 seconds

CPU kernel time: 0.125 seconds

   1160988 records (entities,sub-lists,scopes), 3755635 parameters

 

      ... Parameters prepared ... Elapsed time:  0 Hour(s) 0 Minute(s) 8.778
Sec

ond(s)

CPU user   time: 4.03125 seconds

CPU kernel time: 0.140625 seconds

      ...   Objets analysed  ...

Elapsed time:  0 Hour(s) 0 Minute(s) 10.743 Second(s)

CPU user   time: 5.89063 seconds

CPU kernel time: 0.25 seconds

  STEP Loading done : 820898 Entities

1  Items Loaded.

<OCC.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at
0x27a52b20>

 >

27894 faces.

 

Regards,

 

Thomas Paviot

PLM/Digital Factory

Supméca/LISMMA

Paris, France

+33(0)1.49.45.29.38

 

_______________________________________________
Minerva-pythonocc mailing list
Minerva-pythonocc@gna.org
https://mail.gna.org/listinfo/minerva-pythonocc

Reply via email to