DCC Utils
This library offers a series of classes to abstract the most common features available in Digital Content Creation tools.
It supports Blender, Maya and Houdini. Find below, specifications of already implemented functions. If you think that something is missing, feel free to submit a Pull Request and add it.
Installation
Install the library via Pip:
pip install dccutils
Usage
Then in your code (let’s say you are working in Blender):
from dccutils.blender import BlenderContext
dcc_software_manager = BlenderContext()
print(dcc_software_manager.list_cameras())
Specifications
- class dccutils.software.SoftwareContext[source]
- get_available_renderers()[source]
Return a list of renderers or of render nodes, depending on the context.
- get_cameras()[source]
Return a list of tuple representing the cameras. Each tuple contains a camera object and its name.
- get_extensions(is_video)[source]
Return a list of tuple representing the extensions. Each tuple contains an extension object and its name.
- take_render_animation(renderer, output_path, container, use_colorspace=True)[source]
Take a rendered animation