bugpyFormex - Bugs: bug #42038, drawPoints2D does not work

 
 

bug #42038: drawPoints2D does not work

Submitted by:  Tim Dezutter <tdezutter>
Submitted on:  Thu 03 Apr 2014 01:04:13 PM UTC  
 
Category: PluginsSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 13 Dec 2014 07:14:56 PM UTC, comment #1:

We believe this has been fixed since quite some time, and certainly as of eb0e885. If not, feel free to reopen.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
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!
"""

Tim Dezutter <tdezutter>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by tdezutter (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 13 Dec 2014 07:14:56 PM UTCbverhegStatusNone=>Fixed
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1