Salome HOME
bos #29171 Refactor testing procedure
[modules/smesh.git] / doc / examples / filters_ex32.py
1 # Badly oriented volume
2
3 # create mesh with volumes
4 from mechanic import *
5
6 # get all badly oriented volumes
7 filter = smesh_builder.GetFilter(SMESH.VOLUME, SMESH.FT_BadOrientedVolume)
8 ids = mesh.GetIdsFromFilter(filter)
9 print("Number of badly oriented volumes:", len(ids))