5 # Criterion : ELEMENT DIAMETER 2D > 10
8 aFilter = smesh_builder.GetFilter(SMESH.FACE, SMESH.FT_MaxElementLength2D, SMESH.FT_MoreThan, mel_2d_margin)
10 anIds = mesh.GetIdsFromFilter(aFilter)
13 print("Criterion: Element Diameter 2D Ratio > ", mel_2d_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, "Element Diameter 2D > " + repr(mel_2d_margin))