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
Add tests for connection with SHAPERSTUDY
[modules/smesh.git]
/
doc
/
salome
/
examples
/
measurements_ex02.py
diff --git
a/doc/salome/examples/measurements_ex02.py
b/doc/salome/examples/measurements_ex02.py
index 3333bc0e5df8da6e7ceb1c081e53a32be745e1e4..a11a47dfb5a98f24d9d6c420df51385730c4f262 100644
(file)
--- a/
doc/salome/examples/measurements_ex02.py
+++ b/
doc/salome/examples/measurements_ex02.py
@@
-1,6
+1,17
@@
# Bounding Box
# Bounding Box
-import smesh
+
+import salome
+salome.salome_init()
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New()
+
+import SMESH, SALOMEDS
+from salome.smesh import smeshBuilder
+smesh = smeshBuilder.New()
+import salome_notebook
+
from SMESH_mechanic import mesh as mesh1
from SMESH_test1 import mesh as mesh2
from SMESH_mechanic import mesh as mesh1
from SMESH_test1 import mesh as mesh2