tik_manager4.dcc.blender.main ============================= .. py:module:: tik_manager4.dcc.blender.main .. autoapi-nested-parse:: Main module for Maya DCC integration. Attributes ---------- .. autoapisummary:: tik_manager4.dcc.blender.main.LOG Classes ------- .. autoapisummary:: tik_manager4.dcc.blender.main.Dcc Module Contents --------------- .. py:class:: Dcc Bases: :py:obj:`tik_manager4.dcc.main_core.MainCore` Maya DCC class. .. py:method:: generate_preview(name, folder, camera_code, resolution, range, settings=None) Create a preview from the current scene Args: name: (String) Name of the preview folder: (String) Folder to save the preview camera_code: (String) Camera code. In Maya, this is the UUID of the camera transform node. resolution: (list) Resolution of the preview range: (list) Range of the preview settings: (dict) Global Settings dictionary .. py:method:: generate_thumbnail(file_path, width, height) Generate a thumbnail for the scene. .. py:method:: get_current_camera() :staticmethod: Return the current camera name and node. .. py:method:: get_current_frame() :staticmethod: Return the current frame. .. py:method:: get_dcc_version() :staticmethod: Return the DCC version. .. py:method:: get_ranges() :staticmethod: Get the frame range. .. py:method:: get_scene_cameras() :staticmethod: Return a dictionary of all the cameras in the scene where key is the camera name and value is the camera path. .. py:method:: get_scene_file() :staticmethod: Return the scene file. .. py:method:: get_scene_fps() :staticmethod: Return the scene FPS. .. py:method:: is_modified() :staticmethod: Return True if the scene is modified. .. py:method:: open(file_path, force=True, **extra_arguments) Open the given file path. .. py:method:: save_as(file_path) Save the current file to the given path. .. py:method:: save_scene() :staticmethod: Save the current scene. .. py:method:: set_camera(camera_node) :staticmethod: Set the viewport camera to the given camera. .. py:method:: set_ranges(range_list) :staticmethod: Set the frame range. .. py:method:: set_scene_fps(fps_value) :staticmethod: Set the scene FPS. .. py:attribute:: extensions .. py:attribute:: extracts .. py:attribute:: formats :value: ['.blend'] .. py:attribute:: ingests .. py:attribute:: name :value: 'Blender' .. py:attribute:: preview_enabled :value: True .. py:attribute:: validations .. py:data:: LOG