SebKuzminsky / pycam

Other
340 stars 98 forks source link

openGL errors #93

Closed xflowx closed 6 years ago

xflowx commented 6 years ago

Hi!

I installed pyCAM 0.6 on Ubuntu today, with help of the documentation, it worked fine, only the radius offset threw an error. After that i switched to the master branch, cloned from git. with the master branch, the software worked fine, gcode is perfect, but i cant get the visualization to work, i always get:

File "/home/user/pycam/pycam/Plugins/OpenGLWindow.py", line 677, in paint self.glsetup() File "/home/user/pycam/pycam/Plugins/OpenGLWindow.py", line 457, in glsetup GL.glHint(GL.GL_PERSPECTIVE_CORRECTION_HINT, GL.GL_NICEST) File "/home/user/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg/OpenGL/platform/baseplatform.py", line 402, in call return self( *args, **named ) File "/home/user/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg/OpenGL/error.py", line 232, in glCheckError baseOperation = baseOperation, OpenGL.error.GLError: GLError( err = 1280, description = 'invalid enumerant', baseOperation = glHint, cArguments = ( GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST, ) )

I assume some wrong versions from something, any indeas?

Cheers, Flo

xflowx commented 6 years ago

nevermind, in 6.2 in works just fine!

Nice Software!!

Thanks a lot, Cheers Flo