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
simplification
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex31_dimGroup.py
diff --git
a/src/SMESH_SWIG/ex31_dimGroup.py
b/src/SMESH_SWIG/ex31_dimGroup.py
old mode 100755
(executable)
new mode 100644
(file)
index
7be95f2
..
1de4647
--- a/
src/SMESH_SWIG/ex31_dimGroup.py
+++ b/
src/SMESH_SWIG/ex31_dimGroup.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
21
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
@@
-45,12
+45,12
@@
isDone = Mesh_1.Compute()
### CreateDimGroup()
### CreateDimGroup()
-aListOf3d_1=
range(721,821
)
+aListOf3d_1=
list(range(721,821)
)
aGrp3D_1=Mesh_1.GetMesh().CreateGroup( SMESH.VOLUME, "Src 3D 1" )
aGrp3D_1.Add( aListOf3d_1 )
aGrp3D_1=Mesh_1.GetMesh().CreateGroup( SMESH.VOLUME, "Src 3D 1" )
aGrp3D_1.Add( aListOf3d_1 )
-aListOf3d_2=
range(821, 921
)
+aListOf3d_2=
list(range(821, 921)
)
aGrp3D_2=Mesh_1.GetMesh().CreateGroup( SMESH.VOLUME, "Src 3D 2" )
aGrp3D_2.Add( aListOf3d_2 )
aGrp3D_2=Mesh_1.GetMesh().CreateGroup( SMESH.VOLUME, "Src 3D 2" )
aGrp3D_2.Add( aListOf3d_2 )