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
Revert wrongly integrated merge
[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..7e3c723c52ea956c7da551804b924b0e0f0f7da2 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex19.py
+++ b/
doc/salome/examples/modifying_meshes_ex19.py
@@
-5,11
+5,11
@@
import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
salome.salome_init()
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()