Substance Painter source functions
5 definitions in the current source checkout. This source map includes internal helpers and class methods. It is not a supported API contract or a promise that a function can be called through a bridge. For supported entry points use the Python API reference or bundled DCC wrapper pages.
Type to search all API references.
substance_painter_tools.material
apply_material
def apply_material(material_name: str, texture_set: str='') -> dict[str, Any]module function · public name · substance_painter_tools/material.py:8
substance_painter_tools.project
create_project
def create_project(mesh_path: str, template_name: str='PBR - Metallic Roughness', directory: str='') -> dict[str, Any]module function · public name · substance_painter_tools/project.py:9
substance_painter_tools.textures
export_textures
def export_textures(output_path: str, preset_name: str='PBR Metallic Roughness', resolution: int=2048) -> dict[str, Any]module function · public name · substance_painter_tools/textures.py:9
_display_name
def _display_name(value: Any) -> strmodule function · internal · substance_painter_tools/textures.py:69
_image_dimensions
def _image_dimensions(path: Path) -> tuple[int, int] | Nonemodule function · internal · substance_painter_tools/textures.py:79