mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 01:30:34 +05:00
bos #20650 EDF 22824 - UseExisting1DElements
This commit is contained in:
parent
836cce91b5
commit
b6b3466755
@ -945,8 +945,8 @@ bool StdMeshers_Import_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & th
|
||||
SMESHDS_Mesh* tgtMesh = theMesh.GetMeshDS();
|
||||
|
||||
const TopoDS_Edge& geomEdge = TopoDS::Edge( theShape );
|
||||
const double edgeTol = BRep_Tool::Tolerance( geomEdge );
|
||||
const int shapeID = tgtMesh->ShapeToIndex( geomEdge );
|
||||
const double edgeTol = helper.MaxTolerance( geomEdge );
|
||||
const int shapeID = tgtMesh->ShapeToIndex( geomEdge );
|
||||
|
||||
|
||||
double geomTol = Precision::Confusion();
|
||||
@ -1084,7 +1084,7 @@ bool StdMeshers_Import_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & th
|
||||
} // loop on groups
|
||||
|
||||
if ( n2n->empty())
|
||||
return error("Empty source groups");
|
||||
return error("Source groups are empty or mismatching geometry");
|
||||
|
||||
// check if the whole geom edge is covered by imported segments;
|
||||
// the check consist in passing by segments from one vetrex node to another
|
||||
|
Loading…
Reference in New Issue
Block a user