VolMeshObject.draw_vertices

VolMeshObject.draw_vertices(vertices=None, color=None, collection=None, radius=0.01, u=16, v=16)[source]

Draw a selection of vertices.

Parameters:
verticeslist[int], optional

A list of vertex keys identifying which vertices to draw. Default is None, in which case all vertices are drawn.

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

The color specification for the vertices.

collectionstr, optional

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

radiusfloat, optional

The radius of the spheres representing the vertices.

uint, optional

Number of faces in the “u” direction of the spheres representing the vertices.

vint, optional

Number of faces in the “v” direction of the spheres representing the vertices.

Returns:
list[bpy.types.Object]