Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ménage
[modules/shaper.git]
/
src
/
PythonAddons
/
macros
/
midSurface
/
feature.py
diff --git
a/src/PythonAddons/macros/midSurface/feature.py
b/src/PythonAddons/macros/midSurface/feature.py
index 3349399158f1762edd528731d4ab459d1a65a79e..ccecf63f0256806d91bda4ddc31e5c292910b404 100755
(executable)
--- 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")
l_options.append("-v")
#l_options.append("-vmax")
#l_options.append("-export_step")
- print("l_options : {}".format(l_options))
s_med = SurfaceMediane(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)
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)
del s_med
if erreur:
self.setError(message)