From ea4a63a8b159cd48ebd6a10ea4974f5ced2cf56e Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 9 Mar 2011 22:31:31 +0000 Subject: [PATCH] Quadrangular faces handle like triangular ones (no pyramids yet) --- src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 "<