bugpyFormex - Bugs: bug #37475, TriSurface: featureEdges and...

 
 

bug #37475: TriSurface: featureEdges and partitionByAngle may produce incorrect results

Submitted by:  Benedict Verhegghe <bverheg>
Submitted on:  Mon 01 Oct 2012 07:02:12 AM UTC  
 
Category: PluginsSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 17 Oct 2012 04:59:07 PM UTC, comment #2:

Revision 2492 adds a removeDegenerate method, making it easy to
avoid this problems.
Closing the bug.

Benedict Verhegghe <bverheg>
Project Administrator
Wed 03 Oct 2012 09:24:07 AM UTC, comment #1:

I fixed the bug in TriSurface.featureEdges in revision 2478.

The problem with the example 'manant1.off' seems to be that there are some zero area faces in the model near the sharp edges. The edges of these triangles are not detected as feature edges because cosangles = NaN. When the zero area faces are removed, the example works fine.

Sofie Van Cauter <svcauter>
Project Member
Mon 01 Oct 2012 07:02:12 AM UTC, original submission:

TriSurface.featureEdges produces incorrect rand PartitionByAngleesults for some surfaces. I added an example (manant1.off) to the pyformex data directory (rev. 2471).

As a result, also partitionByAngle goes wrong. I added the old
partitionByAngle algorithm back in. It can be called by adding an extra argument 'alt=True' to partitionByAngle. The default is left on the new (faulty) algorithm, so that people get a drive to report problems and help in the debugging ;)

Benedict Verhegghe <bverheg>
Project Administrator

 

(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 svcauter (Posted a comment)
  • -unavailable- added by bverheg (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
    Wed 17 Oct 2012 04:59:07 PM UTCbverhegStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1