X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAddons%2Fmacros%2FmidSurface%2Ffeature.py;h=ccecf63f0256806d91bda4ddc31e5c292910b404;hb=46c384fb088c97355cb1266cc29bd9429bfa342f;hp=3349399158f1762edd528731d4ab459d1a65a79e;hpb=3162539f3046f6f3d8ef7598e754d80c9fe8dc3b;p=modules%2Fshaper.git diff --git a/src/PythonAddons/macros/midSurface/feature.py b/src/PythonAddons/macros/midSurface/feature.py index 334939915..ccecf63f0 100755 --- a/src/PythonAddons/macros/midSurface/feature.py +++ b/src/PythonAddons/macros/midSurface/feature.py @@ -89,14 +89,8 @@ class midSurface(model.Feature): l_options.append("-v") #l_options.append("-vmax") #l_options.append("-export_step") - print("l_options : {}".format(l_options)) s_med = SurfaceMediane(l_options) - with open("/tmp/grr_1", "w") as fic : - fic.write("{}\n".format(dir(s_med))) - fic.write("\nFichier : {}".format(filepath)) erreur, message = s_med.surf_fic_cao (filepath) - with open("/tmp/grr_2", "w") as fic : - fic.write("erreur = {}, message = '{}'".format(erreur, message)) del s_med if erreur: self.setError(message)