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
/
defining_hypotheses_ex12.py
diff --git
a/doc/salome/examples/defining_hypotheses_ex12.py
b/doc/salome/examples/defining_hypotheses_ex12.py
index dd891a73eda3f6bd1674d49b48ecba621618bced..5b6842fb30194b39e09a290020b446f98e6cb6d9 100644
(file)
--- a/
doc/salome/examples/defining_hypotheses_ex12.py
+++ b/
doc/salome/examples/defining_hypotheses_ex12.py
@@
-1,8
+1,14
@@
# 1D Mesh with Fixed Points example
import salome
# 1D Mesh with Fixed Points example
import salome
-import geompy
-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 StdMeshers
# Create face and explode it on edges
import StdMeshers
# Create face and explode it on edges