draw_faces

compas_ghpython.utilities.draw_faces(faces)[source]

Draw polygonal faces as Meshes.

Parameters

faces (list of dict) – The face definitions.

Returns

list of Rhino.Geometry.Mesh

Notes

Schema({
    'points': lambda x: all(len(y) == 3 for y in x),
    Optional('vertexcolors', default=None): lambda x: all(len(y) == 3 for y in x)
})