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
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_Partition1_tetra.py
diff --git
a/src/SMESH_SWIG/SMESH_Partition1_tetra.py
b/src/SMESH_SWIG/SMESH_Partition1_tetra.py
index e77c7de2b37ab9ae18a6fa97027415c3f750f47c..1fef52a731751c8a60fffcaeb2ffa351c6439f48 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_Partition1_tetra.py
+++ b/
src/SMESH_SWIG/SMESH_Partition1_tetra.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
#
+
# Tetrahedrization of the geometry generated by the Python script GEOM_Partition1.py
# Hypothesis and algorithms for the mesh generation are global
# -- Rayon de la bariere
# Tetrahedrization of the geometry generated by the Python script GEOM_Partition1.py
# Hypothesis and algorithms for the mesh generation are global
# -- Rayon de la bariere
@@
-120,6
+120,7
@@
status = geompy.CheckShape(alveole)
print " check status ", status
# ---- launch SMESH
print " check status ", status
# ---- launch SMESH
+smesh.SetCurrentStudy(salome.myStudy)
# ---- init a Mesh with the alveole
shape_mesh = salome.IDToObject( idalveole )
# ---- init a Mesh with the alveole
shape_mesh = salome.IDToObject( idalveole )