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
0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex16.py
diff --git
a/doc/salome/examples/modifying_meshes_ex16.py
b/doc/salome/examples/modifying_meshes_ex16.py
index 6567dff1970463ef52cab050de7c40f69719c632..076cebf6cbe85e9119e6be52adcbc6c2aff4917e 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex16.py
+++ b/
doc/salome/examples/modifying_meshes_ex16.py
@@
-1,7
+1,17
@@
# Diagonal Inversion
# Diagonal Inversion
+
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
+
# create an empty mesh structure
mesh = smesh.Mesh()
# create an empty mesh structure
mesh = smesh.Mesh()