Arthur Magill wrote: > Cool - thanks for the confirmation. Enjoy playing! > > Arthur > > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > > ok, I moved on to the 'InteractiveViewer' part of http://www.pythonocc.org/wiki/index.php/Installing_pythonOCC_on_Linux
the first time I tried 'python InteractiveViewer.py' I got this: [] /usr/lib/python2.5/site-packages/OCC/Display/OCCViewer.py:69: DeprecationWarning: raising a string exception is deprecated raise "Please set the CSF_GraphicShr environment variable." Traceback (most recent call last): File "InteractiveViewer.py", line 627, in <module> frame.canva.Init3dViewer() File "wxDisplay.py", line 84, in Init3dViewer self._3dDisplay.Create() File "/usr/lib/python2.5/site-packages/OCC/Display/OCCViewer.py", line 69, in Create raise "Please set the CSF_GraphicShr environment variable." Please set the CSF_GraphicShr environment variable. So, I looked at the bottom of the page and did this: '~/CAM/pythonOCC/Tools/InteractiveViewer$ export CSF_GraphicShr=/usr/local/lib/libTKOpenGl.so' the next time I started up InteractiveViewer.py, the graphics window came up for a second then died with this error: d...@dan-desktop:~/CAM/pythonOCC/Tools/InteractiveViewer$ python InteractiveViewer.py [] Display3d class initialization starting ... terminate called after throwing an instance of 'Aspect_GraphicDeviceDefinitionError' Aborted But, the good news is that I am able to generate things from pythonOCC in a non-graphical way-I tried out 'test_cylinder.py ' and was able to make an iges file that opened in Ashlar Cobalt. So, that's a lot of progress. My goal is to generate family of part drawings automatically, so this is a step in the right direction. Thanks, Dan _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users