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
[PY3] 2to3 results
[modules/smesh.git]
/
doc
/
salome
/
examples
/
filters_ex32.py
diff --git
a/doc/salome/examples/filters_ex32.py
b/doc/salome/examples/filters_ex32.py
index 726ca153f4ef339572c76886d5907e8fcbc9c9b8..5630f7812b5db20804ec3fffabf4a94f031d766d 100644
(file)
--- a/
doc/salome/examples/filters_ex32.py
+++ b/
doc/salome/examples/filters_ex32.py
@@
-5,6
+5,6
@@
from SMESH_mechanic import *
mesh.Tetrahedron()
mesh.Compute()
# get all badly oriented volumes
mesh.Tetrahedron()
mesh.Compute()
# get all badly oriented volumes
-filter = smesh.GetFilter(
smesh.VOLUME, smesh
.FT_BadOrientedVolume)
+filter = smesh.GetFilter(
SMESH.VOLUME, SMESH
.FT_BadOrientedVolume)
ids = mesh.GetIdsFromFilter(filter)
ids = mesh.GetIdsFromFilter(filter)
-print
"Number of badly oriented volumes:", len(ids
)
+print
("Number of badly oriented volumes:", len(ids)
)