mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 20:30: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;
|
list< int > nbEdgesInWires;
|
||||||
int nbWires = SMESH_Block::GetOrderedEdges( TopoDS::Face( faceSM->GetSubShape() ),
|
int nbWires = SMESH_Block::GetOrderedEdges( TopoDS::Face( faceSM->GetSubShape() ),
|
||||||
edges, nbEdgesInWires );
|
edges, nbEdgesInWires );
|
||||||
if ( nbWires != 1 || nbEdgesInWires.front() != 4 )
|
if ( nbWires != 1 /*|| nbEdgesInWires.front() != 4*/ ) // allow composite sides
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// algo: find corners of a structure and then analyze nb of faces and
|
// algo: find corners of a structure and then analyze nb of faces and
|
||||||
|
Loading…
Reference in New Issue
Block a user