#19887 [CEA] Body fitting missing some faces and generates not-wanted splitted elements

fix missing faces
This commit is contained in:
eap 2020-08-10 17:02:53 +03:00
parent f435fe5c82
commit 9d1d5827c6
2 changed files with 5 additions and 3 deletions

View File

@ -4958,7 +4958,7 @@ namespace
/*! /*!
* \brief Return created volumes and volumes that can have free facet because of * \brief Return created volumes and volumes that can have free facet because of
* skipped small volume. Also create mesh faces on free facets * skipped small volume. Also create mesh faces on free facets
* of adjacent not-cut volumes id the result volume is too small. * of adjacent not-cut volumes if the result volume is too small.
*/ */
void Hexahedron::getBoundaryElems( vector< const SMDS_MeshElement* > & boundaryElems ) void Hexahedron::getBoundaryElems( vector< const SMDS_MeshElement* > & boundaryElems )
{ {
@ -5005,8 +5005,8 @@ namespace
if ( !faceID ) if ( !faceID )
break; break;
if ( _grid->IsInternal( faceID ) || if ( _grid->IsInternal( faceID ) ||
_grid->IsShared( faceID ) || _grid->IsShared( faceID ) /*||
_grid->IsBoundaryFace( faceID )) _grid->IsBoundaryFace( faceID )*/)
break; // create only if a new face will be used by other 3D algo break; // create only if a new face will be used by other 3D algo
} }

View File

@ -35,6 +35,8 @@
* internal part of a solid shape and polyhedral volumes near the shape boundary. * internal part of a solid shape and polyhedral volumes near the shape boundary.
* *
* Issue 0021336 * Issue 0021336
* Issue #16523: Treatment of internal faces
* Issue #17237: Body fitting on sub-mesh
*/ */
class StdMeshers_CartesianParameters3D; class StdMeshers_CartesianParameters3D;