mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 13:10:34 +05:00
0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
- for ( int iF = 1; iF < faceToSolids.Extent(); ++iF ) + for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF )
This commit is contained in:
parent
866063cabb
commit
e1fe293459
@ -470,7 +470,7 @@ bool StdMeshers_Prism_3D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape& theSh
|
|||||||
list< TopoDS_Face > meshedFaces, notQuadMeshedFaces, notQuadFaces;
|
list< TopoDS_Face > meshedFaces, notQuadMeshedFaces, notQuadFaces;
|
||||||
const bool meshHasQuads = ( theMesh.NbQuadrangles() > 0 );
|
const bool meshHasQuads = ( theMesh.NbQuadrangles() > 0 );
|
||||||
//StdMeshers_Quadrangle_2D* quadAlgo = TQuadrangleAlgo::instance( this );
|
//StdMeshers_Quadrangle_2D* quadAlgo = TQuadrangleAlgo::instance( this );
|
||||||
for ( int iF = 1; iF < faceToSolids.Extent(); ++iF )
|
for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF )
|
||||||
{
|
{
|
||||||
const TopoDS_Face& face = TopoDS::Face( faceToSolids.FindKey( iF ));
|
const TopoDS_Face& face = TopoDS::Face( faceToSolids.FindKey( iF ));
|
||||||
SMESH_subMesh* faceSM = theMesh.GetSubMesh( face );
|
SMESH_subMesh* faceSM = theMesh.GetSubMesh( face );
|
||||||
|
Loading…
Reference in New Issue
Block a user