]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020872: [CEA] Script fails
authoreap <eap@opencascade.com>
Wed, 12 May 2010 12:01:54 +0000 (12:01 +0000)
committereap <eap@opencascade.com>
Wed, 12 May 2010 12:01:54 +0000 (12:01 +0000)
  * signature of RemoveExtraEdges() changed in the frames of issue 0020052

-piece_ok = RemoveExtraEdges(piece_cpd)
+piece_ok = RemoveExtraEdges(piece_cpd, doUnionFaces=True)

src/SMESH_SWIG/ex06_hole1boolean.py
src/SMESH_SWIG/ex07_hole1partition.py
src/SMESH_SWIG/ex11_grid3partition.py
src/SMESH_SWIG/ex13_hole1partial.py

index 3c50545900e24c6fc0c796d8d3b1f227d4af9749..2a2784e9125eead981d615d9e266da3693fcb8b0 100644 (file)
@@ -109,7 +109,7 @@ c_l.append(baseHexa4)
 
 c_cpd = MakeCompound(c_l)
 c_glu = MakeGlueFaces(c_cpd, 1.e-5)
-piece = RemoveExtraEdges(c_glu)
+piece = RemoveExtraEdges(c_glu, doUnionFaces=True)
 
 # Add in study
 # ------------
index 6ef4f6c3d44106e182890e50fc1b74b376a752e7..50f8d07a8c5c256ad1a1b44629ed0f7e9b63f427 100644 (file)
@@ -72,7 +72,7 @@ p_tools.append(MakePlane(p_centre, MakeVectorDXDYDZ(-g_largeur, 0, g_longueur),
 
 p_part = MakePartition([c_piece], p_tools, [], [], ShapeType["SOLID"])
 
-p_blocs = RemoveExtraEdges(p_part)
+p_blocs = RemoveExtraEdges(p_part, doUnionFaces=True)
 piece   = MakeGlueFaces(p_blocs, 1.e-5)
 
 # Add in study
index 6b2407af9673b36a36b123049aaa586a575e04eb..3e5f6712b99ed08b1287b9718313f8afa2d989ea 100644 (file)
@@ -85,7 +85,7 @@ p_tools.append(MakePlane(e_centre, MakeVectorDXDYDZ(-1, 0, 1), g_trim))
 
 p_part = MakePartition([e_blo1, e_blo2, e_blo3], p_tools, [], [], ShapeType["SOLID"])
 
-p_element = RemoveExtraEdges(p_part)
+p_element = RemoveExtraEdges(p_part, doUnionFaces=True)
 
 # Grid and glue
 # -------------
index c1108065734c10399e5f3212218f32ac4a1d5507..24ae387f5ca3ec777151729d839311c1382d5744 100644 (file)
@@ -206,7 +206,7 @@ blocks.append(full_parts)
 
 piece_cpd = MakeCompound(blocks)
 
-piece_ok = RemoveExtraEdges(piece_cpd)
+piece_ok = RemoveExtraEdges(piece_cpd, doUnionFaces=True)
 
 piece = MakeGlueFaces(piece_ok, 1.e-3)