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
0022108: EDF 2547 SMESH: Duplicate elements only
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex09.py
diff --git
a/doc/salome/examples/modifying_meshes_ex09.py
b/doc/salome/examples/modifying_meshes_ex09.py
index 2fd91114db268c4c64ef5e8b72c0a80c7c92d8dc..476ebbbdccec2c29493247d94277535eda9ccf1e 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex09.py
+++ b/
doc/salome/examples/modifying_meshes_ex09.py
@@
-1,9
+1,18
@@
# Add Polygon
import math
# Add Polygon
import math
+
import salome
import salome
+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 smesh
# create an empty mesh structure
mesh = smesh.Mesh()
# create an empty mesh structure
mesh = smesh.Mesh()