From 6a3571efd90f6f16dfd605c547f77af4feee599b Mon Sep 17 00:00:00 2001 From: jfa Date: Mon, 10 Jan 2005 08:12:28 +0000 Subject: [PATCH] Pb8 from Suivie.doc: removing seam and degenerated edges applied --- src/SMESH_SWIG/cyl2complementary.py | 4 +++- src/SMESH_SWIG/cyl2geometry.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 # ----------------------------- -- 2.39.2