Archived issue #0033906

BRepMesh_IncrementalMesh gives bad results

CommunityOCCT:Meshnew3 public notes

Search issues

Description

Hello,

With the attached shape, when I give to BRepMesh_IncrementalMesh a more accurate deflection I get a bad mesh at specfic areas.

Steps to reproduce

BRepMesh_IncrementalMesh lIncrMesh ;
            lIncrMesh.SetShape(lShape) ;
            
            // Good result
            lIncrMesh.ChangeParameters().Deflection = 0.09 ;
            lIncrMesh.Perform() ;
            BRepTools::Write(lShape, "Attachment 3 (BREP)") ;

            // Bad result
            lIncrMesh.ChangeParameters().Deflection = 0.06 ;
            lIncrMesh.Perform() ;
            BRepTools::Write(lShape, "Attachment 1 (BREP)") ;

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Author
Attachment 1 (BREP) (1,211,601 bytes)   
Attachment 3 (BREP) (1,165,046 bytes)   
Attachment 4 (PNG) (80,082 bytes)   
Attachment 2 (PNG) (72,480 bytes)   
02Commenter 2
Hello Commenter 3,

I don't see an initial shape, only the resulting files, could you please attach?
03Author
Hello Ika,

Attachment 3 (BREP) can be used as the initial shape.