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


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

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  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:  Open

Add a New Comment (Rich Markup)

You are not logged in

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


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

This bug has been fixed in commit b1fe2ea

gianluca de santis <gianlucadesi>
Project 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>
Project Member


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

Attach Files:

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 gianlucadesi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-14 gianlucadesi StatusNone => Ready For Test

    Back to the top

    Powered by Savane 3.5