5 # Criterion : VOLUME < 7.
8 aFilter = smesh_builder.GetFilter(SMESH.VOLUME, SMESH.FT_Volume3D, SMESH.FT_LessThan, volume_margin)
10 anIds = mesh.GetIdsFromFilter(aFilter)
14 print("Criterion: Volume < ", volume_margin, " Nb = ", len(anIds))
16 for i in range(len(anIds)):
17 if j > 20: j = 1; print("")
18 print(anIds[i], end=' ')
24 aGroup = mesh.CreateEmptyGroup(SMESH.VOLUME, "Volume < " + repr(volume_margin))