Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPAL54104: Wrong prismatic mesh
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex29_refine.py
diff --git
a/src/SMESH_SWIG/ex29_refine.py
b/src/SMESH_SWIG/ex29_refine.py
index 938d0eac100553a1fd32ff368f33b7ba5c5329d3..72e0f631a0faeee7e48106daea43d0edc3cb715c 100644
(file)
--- a/
src/SMESH_SWIG/ex29_refine.py
+++ b/
src/SMESH_SWIG/ex29_refine.py
@@
-36,8
+36,11
@@
import os
# Values
# ------
# Values
# ------
+tmpDir = os.getenv('SALOME_TMP_DIR', '/tmp')
+print "Output directory:", tmpDir
+
# Path for ".med" files
# Path for ".med" files
-path =
"/tmp/ex29_%s_" % os.getenv('USER','unknown'
)
+path =
os.path.join( tmpDir, "ex29_%s_" % os.getenv('USER','unknown')
)
# Name of the shape and the mesh
name = "Carre"
# Name of the shape and the mesh
name = "Carre"