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
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
[modules/smesh.git]
/
src
/
Tools
/
Verima
/
Scripts
/
toto.py
diff --git
a/src/Tools/Verima/Scripts/toto.py
b/src/Tools/Verima/Scripts/toto.py
index 94137d75489bfed228e62c2c0d4aa07c357c6203..52358fd3a13b44a0a355ae2a74f0b886306f74ea 100644
(file)
--- a/
src/Tools/Verima/Scripts/toto.py
+++ b/
src/Tools/Verima/Scripts/toto.py
@@
-1,5
+1,11
@@
-import geompy
-import smesh
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
+
+import SMESH
+from salome.smesh import smeshBuilder
+smesh = smeshBuilder.New(salome.myStudy)
+
import sys
# create a box