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
/
ex01_cube2build.py
diff --git
a/src/SMESH_SWIG/ex01_cube2build.py
b/src/SMESH_SWIG/ex01_cube2build.py
index 34bb6e39d575338774e82cd4fb08e9ce8a468f58..888a70642ec06cafebd4537b9ebcfc8f222deea5 100644
(file)
--- a/
src/SMESH_SWIG/ex01_cube2build.py
+++ b/
src/SMESH_SWIG/ex01_cube2build.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 *
@@
-287,6
+288,8
@@
piece_id = addToStudy(piece, "ex01_cube2build")
# Meshing
# =======
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create hexahedrical mesh on piece
# ---------------------------------
# Create hexahedrical mesh on piece
# ---------------------------------