5 # Criterion : ASPECT RATIO > 1.8
8 aFilter = smesh_builder.GetFilter(SMESH.FACE, SMESH.FT_AspectRatio, SMESH.FT_MoreThan, ar_margin)
10 anIds = mesh.GetIdsFromFilter(aFilter)
13 print("Criterion: Aspect Ratio > ", ar_margin, " Nb = ", len(anIds))
15 for i in range(len(anIds)):
16 if j > 20: j = 1; print("")
17 print(anIds[i], end=' ')
23 aGroup = mesh.CreateEmptyGroup(SMESH.FACE, "Aspect Ratio > " + repr(ar_margin))