From: eap Date: Fri, 26 Aug 2016 17:59:35 +0000 (+0300) Subject: 0023320: EDF13201 - Create group from geometry X-Git-Tag: V8_1_0rc1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=b09212811c70415272e6b875949d71a1e2ae7025;ds=sidebyside 0023320: EDF13201 - Create group from geometry update docs 0023321: EDF 12916 - Meshing problem Decrease tolerance in StdMeshers_QuadToTriaAdaptor --- diff --git a/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc b/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc index 009866e47..b8ee303f2 100644 --- a/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc +++ b/doc/salome/gui/SMESH/input/create_groups_from_geometry.doc @@ -9,6 +9,10 @@ The type of each new group is defined automatically by the nature of the Geometry. The group names will be the same as the names of geometrical objects. +\warning It's impossible to create a group of 0D elements or ball +elements with this operation. For this, it is necessary to use +\ref creating_groups_page "Create Group" operation. + To use this operation, select in the \b Mesh menu or in the contextual menu in the Object browser Create Groups from Geometry item. diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx index f133994fa..a03ed6a82 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx @@ -615,7 +615,7 @@ bool StdMeshers_QuadToTriaAdaptor::LimitHeight (gp_Pnt& } } } - if ( height < 1e-5 * idealHeight && intFace ) + if ( height < 1e-2 * idealHeight && intFace ) return overlapError( aMesh, NotCheckedFace, intFace, Shape ); } @@ -1208,7 +1208,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh) if ( !intersected[isRev] ) continue; double pyramidH = Min( height, dist2int[isRev]/3. ); gp_Pnt Papex = PC.XYZ() + tmpDir.XYZ() * (isRev ? -pyramidH : pyramidH); - if ( pyramidH < 1e-5 * height ) + if ( pyramidH < 1e-2 * height ) return overlapError( aMesh, face, suspectFaces[ intFaceInd[isRev] ] ); if ( !LimitHeight( Papex, PC, PN, FNodes, aMesh, face, /*UseApexRay=*/false ))