tik_manager4.dcc.blender.utils
This module contains utility functions for Blender.
Functions
|
|
Get the frame range. |
|
Return the scene FPS. |
|
|
Generates arguments settings for exporting a USD file. |
|
Decorator method to keep the current render settings. |
|
Set the frame range. |
|
Set the scene FPS. |
Module Contents
- get_override_context(context=None)
- get_ranges()
Get the frame range.
- get_scene_fps()
Return the scene FPS.
- get_usd_export_kwargs(file_path)
Generates arguments settings for exporting a USD file.
Includes options for exporting materials, textures, UV maps, animation, hair, mesh colors. Adds extra settings for Blender version 4.2 or newer.
- Args:
file_path (str): The output path for the USD file.
- Returns:
dict: A dictionary of export options.
- keep_scene_settings(func)
Decorator method to keep the current render settings.
- set_ranges(range_list)
Set the frame range.
- set_scene_fps(fps_value)
Set the scene FPS.