Model.hm_getfacesbyarea#

Model.hm_getfacesbyarea(area)#

Gets the faces with an area smaller or equal to the specified value.

Parameters:

area (double) – Maximum area that you specify.

Returns:

Example#

Get the faces with an area smaller or equal to 40#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getfacesbyarea(area=40.0)

print("faceIds", result.faceIds)