From: jfa Date: Mon, 10 Jan 2005 08:12:28 +0000 (+0000) Subject: Pb8 from Suivie.doc: removing seam and degenerated edges applied X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a3571efd90f6f16dfd605c547f77af4feee599b;p=modules%2Fsmesh.git Pb8 from Suivie.doc: removing seam and degenerated edges applied --- diff --git a/src/SMESH_SWIG/cyl2complementary.py b/src/SMESH_SWIG/cyl2complementary.py index c5a7f9afc..70a41a971 100644 --- a/src/SMESH_SWIG/cyl2complementary.py +++ b/src/SMESH_SWIG/cyl2complementary.py @@ -79,7 +79,9 @@ d_element[10] = MakeCut(d_element[10], c_cyl) # Compound # -------- -piece = MakeCompound(d_element) +comp_all = MakeCompound(d_element) +piece = BlocksOp.RemoveExtraEdges(comp_all) +#piece = MakeCompound(d_element) # Add piece in study # ------------------ diff --git a/src/SMESH_SWIG/cyl2geometry.py b/src/SMESH_SWIG/cyl2geometry.py index 9e27f79ec..5509d6a48 100644 --- a/src/SMESH_SWIG/cyl2geometry.py +++ b/src/SMESH_SWIG/cyl2geometry.py @@ -149,7 +149,8 @@ cpd = cpd + r_element # Compound # -------- -piece = MakeCompound(cpd) +comp_all = MakeCompound(cpd) +piece = BlocksOp.RemoveExtraEdges(comp_all) # Ajouter la piece dans l'etude # -----------------------------