Model.hm_getplanarfaces#

Model.hm_getplanarfaces()#

Returns a list of planar surfaces.

Returns:

Example#

Get the list of all planar surfaces in the current model#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getplanarfaces()

print("Planar Surfaces:", [s.id for s in result.planarSurfaces])