VolMeshObject.draw_cells

VolMeshObject.draw_cells(cells=None, color=None, collection=None, show_wire=True)[source]

Draw a selection of cells.

Parameters:
cellslist[int], optional

A list of cells to draw. The default is None, in which case all cells are drawn.

colorcompas.colors.Color | dict[int, compas.colors.Color], optional

The color of the cells.

collectionstr, optional

The name of the Blender scene collection containing the created object(s).

show_wirebool, optional

Display the wireframe of the cells.

Returns:
list[bpy.types.Object]