> Btw, it's supposed to be: > * export DISPLAY=":0.0" > (the colon is important, apparently)
I think so. > Where can I find TKOpenG.so? I tried looking at togl.sf.net, > downloaded that package and so on, and there's no TKOpenG.so file > given- there are these though: libToglstub2.0.a, libTogl2.0.so; are > these the right files? Well can't help you with the exact location, but perhaps these setting of my ~/.bash_profile help? These are the env. vars. relevant to pythonOCC / OCC Hope it helps. export DISPLAY=:0.0 export CASROOT=/usr/local/lib/OCC #/Volumes/DATA/Src/OCC/OpenCASCADE6.3.0/ros # mac specific export DYLD_LIBRARY_PATH=${CASROOT}/mac/lib:$DYLD_LIBRARY_PATH 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 _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users