]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021114: EDF 1736 SMESH: Problem with 3D extrusion
authoreap <eap@opencascade.com>
Fri, 28 Jan 2011 13:33:22 +0000 (13:33 +0000)
committereap <eap@opencascade.com>
Fri, 28 Jan 2011 13:33:22 +0000 (13:33 +0000)
    decrease tolerance at checking transformation

src/StdMeshers/StdMeshers_Prism_3D.cxx

index c857714334fff551028872ff57245ac29fa58c20..8a5efd7171f0e43e9ca3fdd45e9bb33bae21d0fd 100644 (file)
@@ -1689,7 +1689,7 @@ bool StdMeshers_PrismAsBlock::GetLayersTransformation(vector<gp_Trsf> & trsf) co
     Bnd_B3d bndBox;
     for ( int i = 0; i < columns.size(); ++i )
       bndBox.Add( gpXYZ( columns[i]->front() ));
-    tol2 = bndBox.SquareExtent() * 4 * 1e-4;
+    tol2 = bndBox.SquareExtent() * 1e-5;
   }
 
   // Compute transformations