Thu 03 Apr 2014 01:04:13 PM UTC, original submission:
When trying to use plugins.drawPoints2D with a zvalue different from 0.0 I get the following error:
"""
points = drawPoints2D('curve', zvalue=0.1)
File "/home/tim/pyformex/pyformex/plugins/draw2d.py", line 155, in drawPoints2D
return draw2D(mode, npoints=npoints, zplane=z, coords=coords)
File "/home/tim/pyformex/pyformex/plugins/draw2d.py", line 84, in draw2D
return pf.canvas.idraw(mode, npoints, zplane, func, coords, _preview)
File "/home/tim/pyformex/pyformex/gui/viewport.py", line 714, in idraw
func(self.drawing, self.drawmode)
File "/home/tim/pyformex/pyformex/plugins/draw2d.py", line 129, in highlightDrawing
from pyformex.gui import actors
ImportError
:
cannot import name actors
"""
When trying to use drawPoints2D with a zvalue of 0.0 (this is the case for all the Draw functions in the Draw2d menu plugin) I get the following error:
"""
points = drawPoints2D('curve', zvalue=0.0)
File "/home/tim/pyformex/pyformex/plugins/draw2d.py", line 154, in drawPoints2D
x, y, z = pf.canvas.project(0., 0., zvalue)
File "/home/tim/pyformex/pyformex/opengl/canvas.py", line 1210, in project
winx, winy, winz = GLU.gluProject(x, y, z, model, proj, view)
File "/usr/lib/python2.7/dist-packages/OpenGL/latebind.py", line 61, in _call_
return self.wrapperFunction( self.baseFunction, args, *named )
File "/usr/lib/python2.7/dist-packages/OpenGL/GLU/projection.py", line 35, in gluProject
raise ValueError( """Projection failed!""" )
ValueError
:
Projection failed!
"""
|