From 5d35407fe4f07fee6b18a8e02597e60b3a097470 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 28 Jul 2008 11:28:38 +0000 Subject: [PATCH] [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); --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2