draw_cubes

compas_blender.utilities.draw_cubes(cubes, collection=None)[source]

Draw cube objects as mesh primitives.

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

  • 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]