substance_painter package

The substance_painter package is a collection of modules that give access to Substance 3D Painter functions and runtime data.

You can for example:

  • Open, save, rename, etc. a Substance 3D Painter project with the project module.
  • Change the “Display Settings” or your project, like environment map and color grading, with the display module.
  • Change the channels of the Texture Set of your project with the textureset module.
  • Export the textures of your project with the export module.
  • Print messages to the console and the log file with the logging module.
  • Cutomize the UI of Substance 3D Painter with the ui module.

Event handling is done via the event module. Finally, the Substance Painter Python API introduces several custom exceptions, which are listed and documented in the exception module.