Here are the major changes from the last release:
- Wrappers for C++ static methods have been implemented in a SWIG compliant way. Static methods like: BRep_Tool::Surface() is now callable with either BRep_Tool().Surface() or BRep_Tool_Surface()
- Improved project quality : 64 unittests currently pass
- Many improvements related to the graphic side (better qtDisplay.py, abstraction of the CSF_GraphicShr env var)
- Multi selection of entities (vertices, edges, faces, shapes)
- Many fixes and improvements to the ‘addons’ or Level2 API (meshing, PAF, new experimental DYN package, topology etc.)
- New samples (Traits based parametric modeling, display customization etc.)
- License move from GNU General Public License v3 (GPLv3) to GNU Lesser General Public License v3 (LGPLv3)
376 changes were committed to the subversion repository. Check http://code.google.com/p/pythonocc/source/browse/tags/0.5/CHANGELOG for a detailed list of changes.
Congratulations with the new release. I hope to dive into it (again) soon.
PythonOCC 0.5 is a really mature and industrial strength project, I’m happy to see it come of age. I think the 0.5 release also marks the end of an era; the wrapper has been perfected and its time to focus development time and effort on writing a pythonic, high level API.
Hi,
I have to port the Salome Geometry module to another open source-project (Define geometry or mesh, and read/save it from a file). After surfing the web I found the Fotios Sioutis’s project and he talked to me about your project.
I had to compiled the 0.5 version (everything fine) because in packman repository there is an old version (0.4). This is my machine:
$ python –version
Python 2.6.5
$ uname -a
Linux incite 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 i686 i386 GNU/Linux
$ cat /etc/SuSE-release
openSUSE 11.3 (i586)
VERSION = 11.3
$ pwd
/home/mpan/Desktop/p_rghpc/pythonOCC/pythonocc-0.5/src/build
$ ls
lib.linux-i686-2.6 swig_output_linux2_py26 temp.linux-i686-2.6
I have tried to run your Tools (CADViewer and InteractiveViewer) but I found this problems:
a. problems with CADViewer
$ python CADViewerMDI.py
(python:17598): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a pixmap or window
###### 3D rendering pipe initialisation #####
Display3d class initialization starting …
Graphic device created.
*Xw_Error_4/1*code 3/’BadWindow (invalid Window parameter)’
from Xw_error_handler routine
*Xw_Error_3/2*Bad Window 0 Attributes from Xw_get_window_position routine
Xw_Window created.
Viewer created.
*Xw_Error_3/1*Bad EXT_WINDOW Address 0 from Xw_get_window_size routine
^C
The window doesn’t respond. This error happens to me with every input file in the pythonocc-0.5/src/examples/Level2/DataExchange directory, for example: sample.stl
b. problems with InteractiveViewer
$ python InteractiveViewer.py
Traceback (most recent call last):
File “InteractiveViewer.py”, line 619, in
frame = AppFrame(None)
File “InteractiveViewer.py”, line 149, in __init__
self._createpythonshell()
File “InteractiveViewer.py”, line 452, in _createpythonshell
py_icon = CreateMaskedBitmap(os.path.join(THISPATH, ‘icons’, ‘py.png’), 16, 16)
NameError: global name ‘os’ is not defined
Violación de segmento
|
|–> Segment fault in Spanish.
Any idea or advice ?
Anyway, great job here guys