cgl.plugins.substance.tasks package¶
Submodules¶
cgl.plugins.substance.tasks.tex module¶
- class cgl.plugins.substance.tasks.tex.Task(path_object=None)[source]¶
Bases:
objectThis is a template for a “task” within the cookbook. It covers common areas when dealing with digital assets specific to different tasks.
- get_msd_data()[source]¶
creates the msd dictionary for the task being called. :param task_name:
- Returns:
dictionary of the msd data
- Return type:
data
- msd_path = ''¶
- path_object = None¶
- cgl.plugins.substance.tasks.tex.export_config(export_dir, preset_name: str, file_format='png', bit_depth='8', max_size_log2=11, padding='infinite', dithering=True)[source]¶
- cgl.plugins.substance.tasks.tex.get_latest_mdl(path_object, ext='.fbx')[source]¶
gets the latest published model Returns:
- cgl.plugins.substance.tasks.tex.get_template_path(template_name)[source]¶
Gets filepath to a project template file in substance