From: eap Date: Mon, 28 Jul 2008 11:28:38 +0000 (+0000) Subject: [SALOME platform 0019947] BLSurf mesh not possible on geometry with unclosed surface X-Git-Tag: RELIQUAT_4x_25102008 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5d35407fe4f07fee6b18a8e02597e60b3a097470;p=plugins%2Fblsurfplugin.git [SALOME platform 0019947] BLSurf mesh not possible on geometry with unclosed surface + if (e.Orientation() == TopAbs_INTERNAL) + cad_edge_set_property(edg, EDGE_PROPERTY_INTERNAL); --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index eff6758..04b02b0 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -302,6 +302,8 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape) cad_edge_t *edg = cad_edge_new(fce, ic, tmin, tmax, curv_fun, curves.back()); cad_edge_set_tag(edg, ic); cad_edge_set_property(edg, EDGE_PROPERTY_SOFT_REQUIRED); + if (e.Orientation() == TopAbs_INTERNAL) + cad_edge_set_property(edg, EDGE_PROPERTY_INTERNAL); int npts = 0; int ip1, ip2, *ip;