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 multi-study removal branch.
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_flight_skin.py
diff --git
a/src/SMESH_SWIG/SMESH_flight_skin.py
b/src/SMESH_SWIG/SMESH_flight_skin.py
index 225fb0941f414b311e505fafafbf5b496e99f2f6..122ebabfda8c21b2d566350b53955302ecf22f3d 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_flight_skin.py
+++ b/
src/SMESH_SWIG/SMESH_flight_skin.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-29,11
+29,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()
# ---------------------------- GEOM --------------------------------------
# ---------------------------- GEOM --------------------------------------
@@
-62,7
+62,7
@@
print "number of Edges in flight : ", len(subEdgeList)
### ---------------------------- SMESH --------------------------------------
### ---------------------------- SMESH --------------------------------------
-smesh.
SetCurrentStudy(salome.myStudy
)
+smesh.
UpdateStudy(
)
# ---- init a Mesh with the shell
shape_mesh = salome.IDToObject( idShape )
# ---- init a Mesh with the shell
shape_mesh = salome.IDToObject( idShape )
@@
-107,4
+107,4
@@
if ret != 0:
else:
print "probleme when computing the mesh"
else:
print "probleme when computing the mesh"
-salome.sg.updateObjBrowser(
1
)
+salome.sg.updateObjBrowser()