View Issue Details

IDProjectCategoryView StatusLast Update
0033691CommunityOCCT:Meshpublic2024-04-19 10:42
Reporterventu Assigned Tooan  
PrioritynormalSeveritymajor 
Status newResolutionopen 
Summary0033691: Linear deflection not respected in mesh
DescriptionI'm trying to mesh surfaces with a given tolerance (i.e. getting triangles which are all within a given distance from the face).

I've tried:

BRepMesh_IncrementalMesh M{CurrentFace,*i,Standard_False,M_PI,Standard_True};

and

IMeshTools_Parameters MP;
MP.Angle=MP.AngleInterior=M_PI;
MP.Deflection=MP.DeflectionInterior=.002;
MP.Relative=Standard_False;
MP.ControlSurfaceDeflection=Standard_True;
MP.ForceFaceDeflection=Standard_False;
BRepMesh_IncrementalMesh M{CurrentFace,MP};

In both cases it seems the given linear is not respected, i.e. triangles deviate more than 0.002mm from the surface.
Also interesting is how triangles are more dense near the edges, but get coarser in the inside.

See an example tessellated surface imported from the attached sample file.

P.S.
I've set MP.Angle=MP.AngleInterior=M_PI as we are not interested in angular deflection.
Setting angular deflection to a lower value of course actually gives a finer mesh, but that's not the criterion we need.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-04-19 10:42 ventu New Issue
2024-04-19 10:42 ventu Assigned To => oan