mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
[CEA] Wrong mesh generated by Import1D2D on a cylindrical hole and sometime crash
This commit is contained in:
parent
066445b0e6
commit
e451350be3
@ -728,9 +728,11 @@ bool StdMeshers_Import_1D2D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape &
|
|||||||
{
|
{
|
||||||
const SMDS_MeshNode* n = face->GetNode( i );
|
const SMDS_MeshNode* n = face->GetNode( i );
|
||||||
if ( n == startNode || !checkedNodes.insert( n ).second ) continue;
|
if ( n == startNode || !checkedNodes.insert( n ).second ) continue;
|
||||||
helper.CheckNodeU( seamEdge, n, u=0, projTol, /*force=*/true );
|
if(helper.CheckNodeU( seamEdge, n, u=0, projTol, /*force=*/true ))
|
||||||
nodesOnSeam.push_back( make_pair( u, n ));
|
{
|
||||||
++nbNodesOnSeam;
|
nodesOnSeam.push_back( make_pair( u, n ));
|
||||||
|
++nbNodesOnSeam;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user