Archived issue #0033906
BRepMesh_IncrementalMesh gives bad results
Description
Hello,
With the attached shape, when I give to BRepMesh_IncrementalMesh a more accurate deflection I get a bad mesh at specfic areas.
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)") ;
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.
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)
Hello Commenter 3,
I don't see an initial shape, only the resulting files, could you please attach?
I don't see an initial shape, only the resulting files, could you please attach?
Hello Ika,
Attachment 3 (BREP) can be used as the initial shape.
Attachment 3 (BREP) can be used as the initial shape.