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
/
SMESH_BuildCompound.py
diff --git
a/src/SMESH_SWIG/SMESH_BuildCompound.py
b/src/SMESH_SWIG/SMESH_BuildCompound.py
index e82abfa409e4d1b0d198e0206993a0110c7481b7..2ed6eb0e8fe0e2c79f214cca4c45af761908008b 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_BuildCompound.py
+++ b/
src/SMESH_SWIG/SMESH_BuildCompound.py
@@
-1,8
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2008 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) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-20,6
+17,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
#
+
# File : SMESH_BuildCompound.py
# Author : Alexander KOVALEV
# Module : SMESH
# File : SMESH_BuildCompound.py
# Author : Alexander KOVALEV
# Module : SMESH
@@
-29,6
+27,7
@@
# ! as some sequences of symbols from this example are used during
# ! documentation generation to identify certain places of this file
#
# ! as some sequences of symbols from this example are used during
# ! documentation generation to identify certain places of this file
#
+import salome
import geompy
import smesh
import geompy
import smesh
@@
-61,6
+60,8
@@
geompy.addToStudy(Box_sup, "Box_sup")
geompy.addToStudyInFather(Box_sup, Fsup2, "Fsup")
geompy.addToStudyInFather(Box_sup, Finf2, "Finf")
geompy.addToStudyInFather(Box_sup, Fsup2, "Fsup")
geompy.addToStudyInFather(Box_sup, Finf2, "Finf")
+smesh.SetCurrentStudy(salome.myStudy)
+
## create a bottom mesh
Mesh_inf = smesh.Mesh(Box_inf, "Mesh_inf")
algo1D_1=Mesh_inf.Segment()
## create a bottom mesh
Mesh_inf = smesh.Mesh(Box_inf, "Mesh_inf")
algo1D_1=Mesh_inf.Segment()