draw_spheres

compas_blender.utilities.draw_spheres(spheres, collection=None, uv=10)[source]

Draw sphere objects as mesh primitives.

Parameters
  • spheres (list[dict]) – A list of dicts describing the spheres.

  • collection (str or bpy.types.Collection, optional) – The Blender scene collection that should contain the objects created by this function.

Returns

list[bpy.types.Object]