2009/8/10 Sébastien Ramage <sebastien.ram...@gmail.com> > Hi, > > OCC 6.3.0 DLL compiled with msvc9 for python2.6 are available here. > > http://www.janin-tools.com/download/python/OCC-6.3.0-bin-win32-msvc9.zip > > there are 2 choices: > put dlls in C:\OpenCASCADE6.3.0\ros\win32\bin just like a standard OCC > installation > > or (the best I think) put dlls in C:\Python26\Lib\site-packages\OCC > and in that case we need to set (or reset) the environnement variable > CSF_GraphicShr=C:\Python26\Lib\site-packages\OCC\TKOpenGl.dll at module > loading > this solution avoid conflict with standard OCC installation > > this can be done automagically by adding this lines in OCC\__init__.py > import os > os.environ['CSF_GraphicShr'] = os.path.join(__path__[0],'TKOpenGl.dll') > > > Sébastien
Hi Sébastien, Many thanks. I'll try it as soon as possible. You may also post this news to the OpenCASCADE forum: http://www.opencascade.org/org/forum/ . Other users could be interested in this contribution. Thomas
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users