Excellent news Marco, and well spotted!
Have you remembered to install wxPython? I forgot, and saw a similar
problem.
Arthur
Jelle Feringa wrote:
>> Than it started to get exciting. Would the bottle fail me again?
>> NO.... It worked!!!
>
> Congratulations Marco!
> Getting pythonOCC working on 64 bit surely required some stamina, but
> this is real progress!
> Great, victory is yours.
>
>> One final problem to solve. It seems like the viewer part is not
>> working correctly for my system. If I try to execute
>> the wxDisplay script on Windows it provides me with a viewer showing a
>> brick/box. On my Linux machine,
>> a short flash is seen, than the script terminates.
>
> What about your OCC related env. variables?
> Did you set these?
>
> Have a look at these, this is OCC specific.
> You should also set $DISPLAY=:0.0 and allow X for incoming network
> connections.
>
> export CASROOT=/usr/local/lib/OCC
> #/Volumes/DATA/Src/OCC/OpenCASCADE6.3.0/ros
> export PYTHONOCC=/Volumes/DATA/Src/OCC/pythonocc/pythonOCC_SWIG
> # needed to get the visualization going...
> export CSR_GraphicShr=${CASROOT}/libTKOpenGl.dylib
> export CSF_GraphicShr=${CASROOT}/libTKOpenGl.dylib
> export CSF_EXCEPTION_PROMPT=1
>
> export OCC_SOURCE_ROOT=/Volumes/DATA/Src/OCC/OpenCASCADE6.3.0/ros
> export CSF_IGESDefaults=${OCC_SOURCE_ROOT}:/src/XSTEPResource
> export CSF_LANGUAGE=us
> export CSF_MDTVFontDirectory=${OCC_SOURCE_ROOT}/src/FontMFT
> export CSF_MDTVTexturesDirectory=${OCC_SOURCE_ROOT}/src/Textures
> export CSF_PluginDefaults=${OCC_SOURCE_ROOT}/src/StdResource
> export CSF_SHMessage=${OCC_SOURCE_ROOT}/src/SHMessage
> export CSF_StandardDefaults=${OCC_SOURCE_ROOT}/src/StdResource
> export CSF_StandardLiteDefaults=${OCC_SOURCE_ROOT}/src/StdResource
> export CSF_STEPDefaults=${OCC_SOURCE_ROOT}/src/XSTEPResource
> export CSF_UnitsDefinition=${OCC_SOURCE_ROOT}/src/UnitsAPI/Units.dat
> export CSF_UnitsLexicon=${OCC_SOURCE_ROOT}/src/UnitsAPI/Lexi_Expr.dat
> export CSF_XCAFDefaults=${OCC_SOURCE_ROOT}/src/StdResource
> export CSF_XmlOcafResource=${OCC_SOURCE_ROOT}/src/XmlOcafResource
> export CSF_XSMessage=${OCC_SOURCE_ROOT}/src/XSMessage
>
> Cheers,
>
> -jelle
>
>
>
> _______________________________________________
> Pythonocc-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/pythonocc-users
--
Arthur Magill, PhD
RF Engineer
Centre d'Imagerie BioMédicale (CIBM)
Laboratory for Functional and Metabolic Imaging (LIFMET)
Ecole Polytechnique Fédérale de Lausanne (EPFL)
Station 6, CH F1 532 (Bâtiment CH),
CH-1015 Lausanne,
Switzerland
tel: +41 21 693 0569
fax: +41 21 693 7960
email: [email protected]
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users