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 branch 'master' into gni/adaptation
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_test2.py
diff --git
a/src/SMESH_SWIG/SMESH_test2.py
b/src/SMESH_SWIG/SMESH_test2.py
index 4f45d16aa493f844d232a729868162f09bdea8e1..d3d8aaae7689f7c02656d94b1eec870aceaed7ac 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_test2.py
+++ b/
src/SMESH_SWIG/SMESH_test2.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
15
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
20
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
@@
-28,11
+28,11
@@
from SMESH_test1 import *
# ---- compute box
# ---- compute box
-print
"-------------------------- compute box"
+print
("-------------------------- compute box")
ret = mesh.Compute()
ret = mesh.Compute()
-print
ret
+print
(ret)
log = mesh.GetLog(0); # no erase trace
log = mesh.GetLog(0); # no erase trace
-for linelog in log:
- print linelog
+
#
for linelog in log:
+# print(linelog)
-salome.sg.updateObjBrowser(
1
)
+salome.sg.updateObjBrowser()