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
/
ex15_cyl2geometry.py
diff --git
a/src/SMESH_SWIG/ex15_cyl2geometry.py
b/src/SMESH_SWIG/ex15_cyl2geometry.py
index 72a0a4b92594e33d95f52c9482e3ce719826e012..8231b04905fb6113943fd74d2adaedc261c67743 100644
(file)
--- a/
src/SMESH_SWIG/ex15_cyl2geometry.py
+++ b/
src/SMESH_SWIG/ex15_cyl2geometry.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 *
@@
-168,7
+169,7
@@
cpd = cpd + r_element
# Compound
# --------
# Compound
# --------
-piece = RemoveExtraEdges(MakeCompound(cpd),
0
)
+piece = RemoveExtraEdges(MakeCompound(cpd),
True
)
# Ajouter la piece dans l'etude
# -----------------------------
# Ajouter la piece dans l'etude
# -----------------------------
@@
-178,6
+179,8
@@
piece_id = addToStudy(piece, "ex15_cyl2geometry")
# Meshing
# =======
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create a hexahedral mesh
# ------------------------
# Create a hexahedral mesh
# ------------------------