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_ex04.py
diff --git
a/doc/salome/examples/quality_controls_ex04.py
b/doc/salome/examples/quality_controls_ex04.py
index 9d902f5b068e31977ba7c214de91e7c5d749f18d..07867cc2f909f120b90fe41477c6dc6f109618d1 100644
(file)
--- a/
doc/salome/examples/quality_controls_ex04.py
+++ b/
doc/salome/examples/quality_controls_ex04.py
@@
-27,12
+27,12
@@
aGroupF = mesh.CreateEmptyGroup(SMESH.FACE, "Faces with free edges")
aGroupN = mesh.CreateEmptyGroup(SMESH.NODE, "Nodes on free edges")
# fill groups with elements, corresponding to the criterion
aGroupN = mesh.CreateEmptyGroup(SMESH.NODE, "Nodes on free edges")
# fill groups with elements, corresponding to the criterion
-print
""
-print
"Criterion: Free edges Nb = ", len(aBorders
)
+print
("")
+print
("Criterion: Free edges Nb = ", len(aBorders)
)
for i in range(len(aBorders)):
aBorder = aBorders[i]
for i in range(len(aBorders)):
aBorder = aBorders[i]
- print
"Face # ", aBorder.myElemId, " : Edge between nodes (",
- print
aBorder.myPnt1, ", ", aBorder.myPnt2, ")"
+ print
("Face # ", aBorder.myElemId, " : Edge between nodes (", end=' ')
+ print
(aBorder.myPnt1, ", ", aBorder.myPnt2, ")")
aGroupF.Add([aBorder.myElemId])
aGroupN.Add([aBorder.myPnt1, aBorder.myPnt2])
aGroupF.Add([aBorder.myElemId])
aGroupN.Add([aBorder.myPnt1, aBorder.myPnt2])