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
Add .py extension to tests filenames
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex26.py
diff --git
a/doc/salome/examples/modifying_meshes_ex26.py
b/doc/salome/examples/modifying_meshes_ex26.py
index aa8cb4379c9b402c3ffa4848d0ba81b283b0c5a9..53059ff96c9f7f7c7edba2ae0b2649264511809e 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex26.py
+++ b/
doc/salome/examples/modifying_meshes_ex26.py
@@
-1,7
+1,15
@@
# Convert mesh to/from quadratic
# Convert mesh to/from quadratic
-import geompy
-import smesh
+
+import salome
+salome.salome_init()
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New()
+
+import SMESH, SALOMEDS
+from salome.smesh import smeshBuilder
+smesh = smeshBuilder.New()
# create sphere of radius 100
# create sphere of radius 100