draw_cylinders

compas_blender.utilities.draw_cylinders(cylinders, collection=None, uv=10)[source]

Draw cylinder objects as mesh primitives.

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

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