VolMeshObject.draw

VolMeshObject.draw(cells=None, color=None, collection=None)[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. The default color is VolMeshObject.default_cellcolor.

collectionstr, optional

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

Returns:
list[bpy.types.Object]

The objects created in Blender.