]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
[SALOME platform 0019947] BLSurf mesh not possible on geometry with unclosed surface RELIQUAT_4x_25102008 V4_1_4a1 V4_1_4rc1
authoreap <eap@opencascade.com>
Mon, 28 Jul 2008 11:28:38 +0000 (11:28 +0000)
committereap <eap@opencascade.com>
Mon, 28 Jul 2008 11:28:38 +0000 (11:28 +0000)
+      if (e.Orientation() == TopAbs_INTERNAL)
+        cad_edge_set_property(edg, EDGE_PROPERTY_INTERNAL);

src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index eff67582fdcaf1cf5a953203259eae2624307271..04b02b0a87b1885571076f0fd03c43d3086a39fe 100644 (file)
@@ -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;