From: gdd Date: Wed, 9 Mar 2011 22:31:31 +0000 (+0000) Subject: Quadrangular faces handle like triangular ones (no pyramids yet) X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea4a63a8b159cd48ebd6a10ea4974f5ced2cf56e;p=plugins%2Fghs3dplugin.git Quadrangular faces handle like triangular ones (no pyramids yet) --- diff --git a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx index 2b222ac..7498235 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx @@ -347,7 +347,7 @@ void GHS3DPlugin_Hypothesis::SetEnforcedMesh(SMESH_Mesh& theMesh, SMESH::Element { TIDSortedElemSet theElemSet; SMDS_ElemIteratorPtr eIt; - +/* if ((elementType == SMESH::FACE) && (theMesh.NbQuadrangles() > 0)) { SMESH_ProxyMesh::Ptr proxyMesh( new SMESH_ProxyMesh( theMesh )); @@ -371,11 +371,13 @@ void GHS3DPlugin_Hypothesis::SetEnforcedMesh(SMESH_Mesh& theMesh, SMESH::Element else { + */ eIt = theMesh.GetMeshDS()->elementsIterator(SMDSAbs_ElementType(elementType)); while ( eIt->more() ) theElemSet.insert( eIt->next() ); +/* } - +*/ MESSAGE("Add "<