get_faces_from_materials#

Modeler2D.get_faces_from_materials(filter_materials)[source]#

Select all outer faces given a list of materials.

Parameters:
filter_materialslist

List of materials to include in the search for outer faces.

Returns:
list

List of all outer faces of the specified materials.

References

>>> oEditor.GetObjectsByMaterial
>>> oEditor.GetFaceIDs