Hi all, This short message to let you know about the current developments and plans, after a few days of vacation and many hours of work on pythonOCC. The 0.4 release is planned for the end of this month (see the TODO list below). Almost all features were implemented but there is still work to achieve on the smesh integration part.
The last few days, I worked around two issues: - compilation process is long, it takes almost one hour on recent machines. I then multiprocessed the distutils based builder to parallelize the compilation. It can be done (as with automake/SCons) by passing the -j option. For instance: python setup.py build -j2 First benchmarks show that the time necessary to compile the complete solution is drastically reduced (almost divided by the numbers of cpus). It's currently only available for Linux/MacOSX, since Windows multiprocessing support is quite hacky in python2.6. - a garbage collector was implemented to have better control over the memory management. This part requires a long explanation, since it's related to OCC Handle_* mechanism, built-in reference counting, as well as python reference counting and object deletion. I plan to write a dedicated chapter on this topic in the user's guide. Best Regards, Thomas 0.4 release: target date: late november * SMESH wrapped * QT support via PyQT ( WX & QT backend for Display module ) * python-xlib support * Fix Standard_Integer& returned values (for instance ShapeFix_Solid.FixShellMode()) * 64 bits support * MacOSX SL support * Multiprocess compilation * garbage collector * user's guide
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users