mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
0020872: [CEA] Script fails
* signature of RemoveExtraEdges() changed in the frames of issue 0020052 -piece_ok = RemoveExtraEdges(piece_cpd) +piece_ok = RemoveExtraEdges(piece_cpd, doUnionFaces=True)
This commit is contained in:
parent
e53ee3bc5f
commit
d253ee88a5
@ -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
|
||||
# ------------
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
# -------------
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user