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 'V8_3_BR' into ngr/python3_dev
[modules/smesh.git]
/
doc
/
salome
/
examples
/
filters_ex19.py
diff --git
a/doc/salome/examples/filters_ex19.py
b/doc/salome/examples/filters_ex19.py
index 41b7cc7626cab29199e4271a90cbc813f1ff67c3..cb1c545a353e130478a74aad6c905fcaf65d1d16 100644
(file)
--- a/
doc/salome/examples/filters_ex19.py
+++ b/
doc/salome/examples/filters_ex19.py
@@
-3,6
+3,6
@@
# create mesh
from SMESH_mechanic import *
# get faces which consist of edges belonging to 2 mesh elements
# create mesh
from SMESH_mechanic import *
# get faces which consist of edges belonging to 2 mesh elements
-filter = smesh.GetFilter(
smesh.FACE, smesh
.FT_MultiConnection2D, 2)
+filter = smesh.GetFilter(
SMESH.FACE, SMESH
.FT_MultiConnection2D, 2)
ids = mesh.GetIdsFromFilter(filter)
ids = mesh.GetIdsFromFilter(filter)
-print
"Number of faces consisting of edges belonging to 2 faces:", len(ids
)
+print
("Number of faces consisting of edges belonging to 2 faces:", len(ids)
)