Model.solid_facesfind#

Model.solid_facesfind(compmask)#

Extracts 2D faces from 3D elements in select components. Then, after filtering out all pre-existing faces, the resulting faces are added to the ^faces component.

Parameters:

compmask (Collection) – The collection containing the 3D elements entities to consider.

Example#

Find faces from the components with IDs 1 - 3#
import hm
import hm.entities as ent

model = hm.Model()

model.solid_facesfind(compmask=hm.Collection(model, ent.Component, [1, 2, 3]))