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
IPAL52827: Very few filtering criteria available in filter dialog called from Remove...
[modules/smesh.git]
/
doc
/
salome
/
examples
/
creating_meshes_ex04.py
diff --git
a/doc/salome/examples/creating_meshes_ex04.py
b/doc/salome/examples/creating_meshes_ex04.py
index 33106c775ad4b0a66502e7d40d2b2c816e0c5833..f2cdfdb87aee36672f4a4066315c15ba8177e567 100644
(file)
--- a/
doc/salome/examples/creating_meshes_ex04.py
+++ b/
doc/salome/examples/creating_meshes_ex04.py
@@
-1,7
+1,14
@@
# Editing of a mesh
# Editing of a mesh
-import geompy
-import smesh
+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)
def PrintMeshInfo(theMesh):
aMesh = theMesh.GetMesh()
def PrintMeshInfo(theMesh):
aMesh = theMesh.GetMesh()