Hello all, I uploaded in the 'daily' folder of pythonOCC website (http://www.pythonocc.org/Releases/daily) a binary version of pythonOCC for Windows (python2.4 and python2.5) (synchronous with the svn rev.303).
Here are the main changes since last daily built: * New package hierarchy: a 'OCC' directory is now installed in the 'site-packages' folder: OCC ---- __init__.py ---- _OCC.pyd ---- AUTHORS ---- LICENSE ---- Utils (contributed by Jelle Feringa) -------- Common.py -------- Decorators.py -------- Topology.py ---- Viewer -------- __init__.py -------- wxDisplay.py You must uninstall previous version of pythonOCC before installing this new one. * added topological naming modules: TNaming_*, TDF_* and TFunction_* * The issue knwon as "byreference parameter" and discussed here a few days ago has been solved (with less than 10 lines of SWIG code). More than 100 of class methods are affected by this change. All the C++ methods that take a Standard_Real & as a parameter now return a python tuple. For instance, you can now do: P = gp_Pnt(1,2,3) X,Y,Z = P.Coord() Note: The Coord() method was unusable in the previous release. * New method in Display3d class: it's an overload of the DisplayShape method. In order to use it, pass a TopoDS_Shape and a AIS_Drawer as parameters: Display3d.DisplayShape(shape, drawer) The attributes of 'shape' will be those of 'drawer' (untested). * Many improvements on Linux build. Current svn rev (303) should compile on Ubuntu 8.04. I wait for Marco's feedback about pythonOCC compilation under Fedora 9. Enjoy, Thomas _______________________________________________ Minerva-pythonocc mailing list Minerva-pythonocc@gna.org https://mail.gna.org/listinfo/minerva-pythonocc