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

 
 

bug #42564: Problems when drawing a PlaneActor

Submitted by:  Diogo Ferreira de Almeida <dimoreir>
Submitted on:  Mon 16 Jun 2014 10:33:55 AM UTC  
 
Category: GUISeverity: 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.

 

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>
Project AdministratorIn charge of this item.
Mon 16 Jun 2014 03:14:02 PM UTC, comment #3:

Sure. Go ahead.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
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>
Project 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>
Project AdministratorIn charge of this item.
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>
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 dimoreir (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
    Mon 13 Jun 2016 01:33:27 PM UTCbverhegStatusNone=>Fixed
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1