utilities

This package contains low-level functions for working and interacting with Blender.

collections

create_collection

Create a collection with the given name.

create_collections

Create multiple collections at once.

create_collections_from_path

Create nested collections from a collection path string.

clear_collection

Clear the objects from a collection.

clear_collections

Clear the objects from multiple collections.

data

delete_unused_data

Delete all collections, mesh and curve objects, meshes, curves, materials.

drawing

draw_points

Draw point objects.

draw_pointcloud

Draw point objects as a single cloud.

draw_lines

Draw line objects.

draw_cylinders

Draw cylinder objects as mesh primitives.

draw_spheres

Draw sphere objects as mesh primitives.

draw_cubes

Draw cube objects as mesh primitives.

draw_mesh

Draw a mesh object.

draw_faces

Draw polygonal faces.

draw_texts

Draw text objects.

objects

delete_object

Delete a scene object.

delete_objects

Delete multiple scene objects.

delete_object_by_name

Delete the scene object corresponding to the given name.

delete_objects_by_names

Delete the scene objects corresponding to the list of names.

get_object_by_name

Get the object with the given name.

get_objects_by_names

Get the objects corresponding to the given names.