bugpyFormex - Bugs: bug #47407, Mesh.smooth with edg=True does not...

 
 

bug #47407: Mesh.smooth with edg=True does not work with line mesh

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  Mon 14 Mar 2016 11:15:23 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Functionality error Status:  Ready For Test
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 14 Mar 2016 12:59:02 PM UTC, comment #1: 

This bug has been fixed in commit b1fe2ea

gianluca de santis <gianlucadesi>
Group Member
Mon 14 Mar 2016 11:15:23 AM UTC, original submission:  

The Mesh.smooth has default edg=True, meaning that:
"If edg is True, the algorithm tries to smooth the outer border of the mesh seperately to reduce mesh shrinkage."

If the mesh is a line mesh the border of the mesh is made of points and it makes no sense to smooth a point. Indeed, the function with default edg=True fails or return None values with line meshes.

A solution could be to raise an error if edg=True and if the mesh is a line mesh.

gianluca de santis <gianlucadesi>
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 (Updated the item)
  • -email is unavailable- added by gianlucadesi (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-23 bverheg Open/ClosedOpen Closed
    2016-03-14 gianlucadesi StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code