View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033691 | Community | OCCT:Mesh | public | 2024-04-19 10:42 | 2024-04-19 10:42 |
Reporter | ventu | Assigned To | oan | ||
Priority | normal | Severity | major | ||
Status | new | Resolution | open | ||
Summary | 0033691: Linear deflection not respected in mesh | ||||
Description | I'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. | ||||
Tags | No tags attached. | ||||
Test case number | |||||