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
Merge branch 'hydro/imps_2015' into V7_dev
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex10.py
diff --git
a/doc/salome/examples/modifying_meshes_ex10.py
b/doc/salome/examples/modifying_meshes_ex10.py
index 1d1af1942247330ed82e636ece22a813a155df43..894fe9d4cf2b2b99269019e994343f2594077c2c 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex10.py
+++ b/
doc/salome/examples/modifying_meshes_ex10.py
@@
-1,7
+1,17
@@
# Add Polyhedron
# Add Polyhedron
+
import salome
import salome
-import smesh
+salome.salome_init()
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
+
+import SMESH, SALOMEDS
+from salome.smesh import smeshBuilder
+smesh = smeshBuilder.New(salome.myStudy)
+import salome_notebook
+
import math
# create an empty mesh structure
import math
# create an empty mesh structure