Model.hm_getfacesbyedgelength#

Model.hm_getfacesbyedgelength(length)#

Gets the faces that have an edge with a length smaller or equal to the specified value.

Parameters:

length (double) – Length of an edge 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_getfacesbyedgelength(length=20.0)

print("faceIds", result.faceIds)