mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
#17871 [CEA 17868] Import 1D 2D threshold value
This commit is contained in:
parent
b76ac16dbb
commit
47514a428f
@ -307,10 +307,12 @@ bool StdMeshers_Import_1D2D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape &
|
|||||||
const double groupTol = 0.5 * sqrt( getMinElemSize2( srcGroup ));
|
const double groupTol = 0.5 * sqrt( getMinElemSize2( srcGroup ));
|
||||||
minGroupTol = std::min( groupTol, minGroupTol );
|
minGroupTol = std::min( groupTol, minGroupTol );
|
||||||
|
|
||||||
|
// clsfTol is 3D tolerance
|
||||||
//GeomAdaptor_Surface S( surface );
|
//GeomAdaptor_Surface S( surface );
|
||||||
// const double clsfTol = Min( S.UResolution( 0.1 * groupTol ), -- issue 0023092
|
// const double clsfTol = Min( S.UResolution( 0.1 * groupTol ), -- issue 0023092
|
||||||
// S.VResolution( 0.1 * groupTol ));
|
// S.VResolution( 0.1 * groupTol ));
|
||||||
const double clsfTol = BRep_Tool::Tolerance( geomFace );
|
// another idea: try to use max tol of all edges
|
||||||
|
const double clsfTol = 10 * BRep_Tool::Tolerance( geomFace ); // 0.1 * groupTol;
|
||||||
|
|
||||||
if ( helper.HasSeam() )
|
if ( helper.HasSeam() )
|
||||||
onEdgeClassifier.SetMesh( srcMesh->GetMeshDS() );
|
onEdgeClassifier.SetMesh( srcMesh->GetMeshDS() );
|
||||||
|
Loading…
Reference in New Issue
Block a user