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 from V5_1_4_BR 07/05/2010
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex04_cube5tetraHexa.py
diff --git
a/src/SMESH_SWIG/ex04_cube5tetraHexa.py
b/src/SMESH_SWIG/ex04_cube5tetraHexa.py
index e87825d97a265c8dc310fdbe9d63ae110b11f641..ae3ca45f5bbccb87d8be861c7ce4c6df170f2b11 100644
(file)
--- a/
src/SMESH_SWIG/ex04_cube5tetraHexa.py
+++ b/
src/SMESH_SWIG/ex04_cube5tetraHexa.py
@@
-1,6
+1,5
@@
-#! /usr/bin/python
# -*- 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
@@
-21,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 *
@@
-67,6
+67,8
@@
piece_id = addToStudy(piece, "ex04_cube5tetraHexa")
# Meshing
# =======
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create a hexahedral mesh
# ------------------------
# Create a hexahedral mesh
# ------------------------