bugpyFormex - Bugs: bug #38523, Drawing a surface fails after...

 
 

bug #38523: Drawing a surface fails after calling areaNormals()

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Fri 15 Mar 2013 04:23:22 PM UTC  
 
Category: RenderingSeverity: 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.

 

Sun 17 Mar 2013 03:04:21 PM UTC, comment #1:

Fixed in commit db6f780.

There was a name clash of the TriSurface.normals attribute (which are face normals) with the Mesh.normals attributes (which are vertex normals). Renamed the TriSurface.normals to _fnormals.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Fri 15 Mar 2013 04:23:22 PM UTC, original submission:

Drawing a surface fails after calling areaNormals().
Check this example:

from elements import Tri3
S=TriSurface(Mesh(Tri3()))
print (S.areaNormals())
#S.normals=None
draw(S)

To make it working, just uncomment the S.normals=None

gianluca de santis <gianlucadesi>
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 gianlucadesi (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 Mar 2013 03:04:21 PM UTCbverhegStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1