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
Revert wrongly integrated merge
[modules/smesh.git]
/
doc
/
salome
/
examples
/
filters_ex05.py
diff --git
a/doc/salome/examples/filters_ex05.py
b/doc/salome/examples/filters_ex05.py
index b15225194e003b946ae9957f6574643e51861f99..c470db6bccb0a1c439bf540b07a078b016526dc1 100644
(file)
--- a/
doc/salome/examples/filters_ex05.py
+++ b/
doc/salome/examples/filters_ex05.py
@@
-3,6
+3,6
@@
# create mesh
from SMESH_mechanic import *
# get faces with taper < 1.e-15
# create mesh
from SMESH_mechanic import *
# get faces with taper < 1.e-15
-filter = smesh.GetFilter(
smesh.FACE, smesh.FT_Taper, smesh
.FT_LessThan, 1.e-15)
+filter = smesh.GetFilter(
SMESH.FACE, SMESH.FT_Taper, SMESH
.FT_LessThan, 1.e-15)
ids = mesh.GetIdsFromFilter(filter)
ids = mesh.GetIdsFromFilter(filter)
-print
"Number of faces with taper < 1.e-15:", len(ids
)
+print
("Number of faces with taper < 1.e-15:", len(ids)
)