mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 19:00:35 +05:00
In IsStructured()
- if ( nbWires != 1 || nbEdgesInWires.front() != 4 ) + if ( nbWires != 1 /*|| nbEdgesInWires.front() != 4*/ ) // allow composite sides
This commit is contained in:
parent
ea15756a03
commit
44ce7a32cd
@ -2170,7 +2170,7 @@ bool SMESH_MesherHelper::IsStructured( SMESH_subMesh* faceSM )
|
||||
list< int > nbEdgesInWires;
|
||||
int nbWires = SMESH_Block::GetOrderedEdges( TopoDS::Face( faceSM->GetSubShape() ),
|
||||
edges, nbEdgesInWires );
|
||||
if ( nbWires != 1 || nbEdgesInWires.front() != 4 )
|
||||
if ( nbWires != 1 /*|| nbEdgesInWires.front() != 4*/ ) // allow composite sides
|
||||
return false;
|
||||
|
||||
// algo: find corners of a structure and then analyze nb of faces and
|
||||
|
Loading…
Reference in New Issue
Block a user