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
PR: merged from V5_1_4rc1
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex07_hole1partition.py
diff --git
a/src/SMESH_SWIG/ex07_hole1partition.py
b/src/SMESH_SWIG/ex07_hole1partition.py
index 4ca5c481db38baecb5723a2def372813e21981fa..6ef4f6c3d44106e182890e50fc1b74b376a752e7 100644
(file)
--- a/
src/SMESH_SWIG/ex07_hole1partition.py
+++ b/
src/SMESH_SWIG/ex07_hole1partition.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
08
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
10
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
@@
-20,6
+20,7
@@
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+
# =======================================
#
from geompy import *
# =======================================
#
from geompy import *
@@
-82,6
+83,8
@@
piece_id = addToStudy(piece, "ex07_hole1partition")
# Meshing
# =======
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create a hexahedral mesh
# ------------------------
# Create a hexahedral mesh
# ------------------------