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
bos #24596 [CEA] New MeshGems license
[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 c7dc5b14a6802f6817b52b8a2734683d24256ab8..562519ca0944c176d50296c01cc62357f0a79583 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
16
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
21
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(
True
)
+salome.sg.updateObjBrowser()