bugpyFormex - Bugs: bug #42564, Problems when drawing a PlaneActor

 
 

bug #42564: Problems when drawing a PlaneActor

Submitter:  Diogo Ferreira de Almeida <dimoreir>
Submitted:  Mon 16 Jun 2014 10:33:55 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 13 Jun 2016 01:33:27 PM UTC, comment #4: 

In commit  081cd0d a PlaneActor has been added to the gl2 engine.

Benedict Verhegghe <bverheg>
Group administrator
Mon 16 Jun 2014 03:14:02 PM UTC, comment #3: 

Sure. Go ahead.

Benedict Verhegghe <bverheg>
Group administrator
Mon 16 Jun 2014 03:12:10 PM UTC, comment #2: 

OK, can I make this change until the class Actors are moved to the opengl engine?

Diogo Ferreira de Almeida <dimoreir>
Group Member
Mon 16 Jun 2014 01:41:33 PM UTC, comment #1: 

The PlaneActor is not yet in the new opengl engine. Try importing the old class from pyformex.legacy.actors

Benedict Verhegghe <bverheg>
Group administrator
Mon 16 Jun 2014 10:33:55 AM UTC, original submission:  

I was trying to draw a plane from the pyformex menu (Tools -> Create Plane -> Coordinates -> From Point and Normal) and apparently the class Actors definition was moved to opengl.actors which I could solve on my own but the definition itself was also altered as I still see the error

  File "/home/dimoreir/pyformex/pyformex/plugins/tools_menu.py", line 209, in createPlaneCoordsPointNormal
   
draw(P)
  File "/home/dimoreir/pyformex/pyformex/opengl/draw.py", line 173, in draw
   
actor = F.actor(**kargs)
  File "/home/dimoreir/pyformex/pyformex/plugins/tools.py", line 79, in actor
   
actor = actors.PlaneActor(size=self.s,**kargs)
AttributeError
:
'module' object has no attribute 'PlaneActor'

Diogo Ferreira de Almeida <dimoreir>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-13 bverheg StatusNone Fixed
        Assigned toNone bverheg
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code