Salome HOME
projects
/
plugins
/
ghs3dplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deleted Study parameter
[plugins/ghs3dplugin.git]
/
doc
/
salome
/
examples
/
ghs3d_enfmesh.py
diff --git
a/doc/salome/examples/ghs3d_enfmesh.py
b/doc/salome/examples/ghs3d_enfmesh.py
index 773e52a8f536b3e8c12e61c7405ac84ef007c4f1..ab074348216b7c2b2684c7c1ad6df91b8a32ff6e 100644
(file)
--- a/
doc/salome/examples/ghs3d_enfmesh.py
+++ b/
doc/salome/examples/ghs3d_enfmesh.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-31,11
+31,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()
box = geompy.MakeBoxDXDYDZ(200, 200, 200)
geompy.addToStudy( box, "box" )
box = geompy.MakeBoxDXDYDZ(200, 200, 200)
geompy.addToStudy( box, "box" )