Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bos #29171 Refactor testing procedure
[modules/smesh.git]
/
doc
/
examples
/
filters_ex26.py
1
# Belong to Geom
2
3
# create mesh
4
from mechanic import *
5
6
# get all faces which nodes lie on the face sub_face3
7
filter = smesh_builder.GetFilter(SMESH.FACE, SMESH.FT_BelongToGeom, sub_face3)
8
ids = mesh.GetIdsFromFilter(filter)
9
print("Number of faces which nodes lie on sub_face3:", len(ids))