t_shape_fluid: glue faces

This commit is contained in:
Paul RASCLE 2016-01-14 16:14:39 +01:00
parent 529bc70dc8
commit e6351b9d4c

View File

@ -236,7 +236,8 @@ def build_shape(study, r1, r2, h1, h2, solid_thickness=0, progressBar=None ):
compound = geompy.MakeCompound([final, extru3]) compound = geompy.MakeCompound([final, extru3])
plane = geompy.MakePlane(O,OX,2000) plane = geompy.MakePlane(O,OX,2000)
compound_mirrored = geompy.MakeMirrorByPlane(compound, plane) 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: if progressBar is not None:
progressBar.addSteps(1) progressBar.addSteps(1)