tik_manager4.dcc.krita.main

Main module for Krita integration.

Attributes

LOG

Classes

Dcc

Krita DCC class

Module Contents

class Dcc

Bases: tik_manager4.dcc.main_core.MainCore

Krita DCC class

static generate_thumbnail(file_path: str, width: int, height: int) str

Generates a thumbnail for the current frame. Args:

file_path: (str) Output file path for the thumbnail. width: (int) Thumbnail width. height: (int) Thumbnail height.

Returns: (str) File path of the generated thumbnail.

static get_dcc_version() str

Gets the current version of Krita. Returns: (str) Krita version.

static get_main_window()

Get the main window.

static get_scene_file() str

Gets the current scene file path. Returns: (str) Scene file path.

launch(tik_main_object, window_name=None, dont_show=False)

Launch Tik Main UI with DCC specific way.

static open(file_path: str, force: bool = True) None

Opens the given file path. Args:

file_path: (str) File path to open. force: (bool) If True, unsaved changes on the current scene will be lost.

Returns: None

static save_as(file_path: str) str

Saves the scene to the given path. Args:

file_path: (str) File path that will be written.

Returns: (str) File path.

static save_scene() None

Saves the current scene.

custom_launcher = True
extensions
extracts
formats = ['.kra']
ingests
name = 'Krita'
preview_enabled = False
LOG