]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
t_shape_fluid: glue faces
authorPaul RASCLE <paul.rascle@edf.fr>
Thu, 14 Jan 2016 15:14:39 +0000 (16:14 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Thu, 14 Jan 2016 15:14:39 +0000 (16:14 +0100)
src/Tools/t_shape/t_shape_builder.py

index 72ab22bd21cbda813b53937e760ea6a1d7ac2f13..0cff46b98c1e657480c4371a824143124f0ffaa4 100644 (file)
@@ -236,7 +236,8 @@ def build_shape(study, r1, r2, h1, h2, solid_thickness=0, progressBar=None ):
   compound = geompy.MakeCompound([final, extru3])
   plane = geompy.MakePlane(O,OX,2000)
   compound_mirrored = geompy.MakeMirrorByPlane(compound, plane)
-  final = geompy.MakeCompound([compound, compound_mirrored])
+  compound_total = geompy.MakeCompound([compound, compound_mirrored])
+  final = geompy.MakeGlueFaces(compound_total, 1e-07)
 
   if progressBar is not None:
     progressBar.addSteps(1)