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
Merge branch 'occ/26452_face_ori'
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex19.py
diff --git
a/doc/salome/examples/modifying_meshes_ex19.py
b/doc/salome/examples/modifying_meshes_ex19.py
index 8ef2c7c8a581fd56ad21bf6582e194068b888849..386a3cb56cb84a0a38969f8ff3b04c7f5d9acb03 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex19.py
+++ b/
doc/salome/examples/modifying_meshes_ex19.py
@@
-2,14
+2,14
@@
import salome
import salome
-salome.salome_init()
+salome.salome_init
_without_session
()
import GEOM
from salome.geom import geomBuilder
import GEOM
from salome.geom import geomBuilder
-geompy = geomBuilder.New(
salome.myStudy
)
+geompy = geomBuilder.New()
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
import salome_notebook
import salome_notebook
@@
-42,4
+42,4
@@
f5 = mesh.AddFace([n5, n6, n12, n11])
# Change the orientation of the second and the fourth faces.
mesh.Reorient([2, 4])
# Change the orientation of the second and the fourth faces.
mesh.Reorient([2, 4])
-salome.sg.updateObjBrowser(
True
)
+salome.sg.updateObjBrowser()