Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
Pb with INTERNAL FACE
This commit is contained in:
parent
93e99a8303
commit
328c64b611
@ -193,7 +193,10 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh,
|
|||||||
const bool ignoreMediumNodes = _quadraticMesh;
|
const bool ignoreMediumNodes = _quadraticMesh;
|
||||||
|
|
||||||
// build viscous layers if required
|
// build viscous layers if required
|
||||||
const TopoDS_Face F = TopoDS::Face( aShape/*.Oriented( TopAbs_FORWARD )*/);
|
TopoDS_Face F = TopoDS::Face( aShape/*.Oriented( TopAbs_FORWARD )*/);
|
||||||
|
if ( F.Orientation() != TopAbs_FORWARD &&
|
||||||
|
F.Orientation() != TopAbs_REVERSED )
|
||||||
|
F.Orientation( TopAbs_FORWARD ); // avoid pb with TopAbs_INTERNAL
|
||||||
SMESH_ProxyMesh::Ptr proxyMesh = StdMeshers_ViscousLayers2D::Compute( aMesh, F );
|
SMESH_ProxyMesh::Ptr proxyMesh = StdMeshers_ViscousLayers2D::Compute( aMesh, F );
|
||||||
if ( !proxyMesh )
|
if ( !proxyMesh )
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user