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/evolution
[modules/smesh.git]
/
doc
/
salome
/
examples
/
quality_controls_ex02.py
diff --git
a/doc/salome/examples/quality_controls_ex02.py
b/doc/salome/examples/quality_controls_ex02.py
index f1c1943be12774d62c981fbc6f0959a2e910ef4a..62a312ca7ed293bae7a1fbf5401b63a4f7c2b094 100644
(file)
--- a/
doc/salome/examples/quality_controls_ex02.py
+++ b/
doc/salome/examples/quality_controls_ex02.py
@@
-33,14
+33,14
@@
aFilter = smesh.GetFilter(SMESH.EDGE, SMESH.FT_MultiConnection, SMESH.FT_EqualTo
anIds = mesh.GetIdsFromFilter(aFilter)
# print the result
anIds = mesh.GetIdsFromFilter(aFilter)
# print the result
-print
"Criterion: Borders at multi-connections Nb = ", len(anIds
)
+print
("Criterion: Borders at multi-connections Nb = ", len(anIds)
)
j = 1
for i in range(len(anIds)):
j = 1
for i in range(len(anIds)):
- if j > 20: j = 1; print
""
- print
anIds[i],
+ if j > 20: j = 1; print
("")
+ print
(anIds[i], end=' ')
j = j + 1
pass
j = j + 1
pass
-print
""
+print
("")
# create a group
aGroup = mesh.GetMesh().CreateGroup(SMESH.EDGE, "Borders at multi-connections")
# create a group
aGroup = mesh.GetMesh().CreateGroup(SMESH.EDGE, "Borders at multi-connections")