From 54164acc79e8c83c12c7c0c519ec8cd165cdaff5 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 1 Nov 2011 15:59:20 +0000 Subject: [PATCH] 0021411: EDF 2000 SMESH: Netgen 2D fails on shapes meshed with "composite side" in 1D - seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); + // seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); --- src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index d84a1c6..06a5bc4 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -292,8 +292,8 @@ static TError addSegmentsToMesh(netgen::Mesh& ngMesh, edgeID = geom.emap.FindIndex( edge ); posID = posShapeID; isInternalWire = ( edge.Orientation() == TopAbs_INTERNAL ); - if ( onVertex ) // param on curve is different on each of two edges - seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); + // if ( onVertex ) // param on curve is different on each of two edges + // seg.epgeominfo[ iEnd ].dist = helper.GetNodeU( edge, pnt.node ); } seg.epgeominfo[ iEnd ].edgenr = edgeID; // = geom.emap.FindIndex(edge); } -- 2.39.2