4 from SMESH_mechanic import *
5 # get faces with aspect ratio > 6.5
6 filter = smesh.GetFilter(smesh.FACE, smesh.FT_AspectRatio, smesh.FT_MoreThan, 6.5)
7 ids = mesh.GetIdsFromFilter(filter)
8 print "Number of faces with aspect ratio > 6.5:", len(ids)