• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Is it possible to bake mesh maps from a python script?

Community Beginner ,
Feb 10, 2022 Feb 10, 2022

Copy link to clipboard

Copied

How would i recreate this snippet of code using the python api? This is something I asked about almost 3 years ago,i would hope there has been improvements to the API to do such a pivotal process to Painter. 🙂

 

 

alg.mapexport.exportDocumentMaps(
       "D:/projects/tools/substance/substance_painter/export-presets/Basic.spexp",
       "c:/tmp/export/pbr",
       "tiff"
     )

 

alg.mapexport.exportDocumentMaps("D:/.../studio/tools/export-presets/SK_Basic.spexp", "D:/.../props/test", "png", {padding:"Transparent", dilation: 8, resolution:[256, 256], bitDepth:8}, ['Layer01'])

 

 

TOPICS
Scripting

Views

41

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 14, 2022 Feb 14, 2022

Copy link to clipboard

Copied

LATEST

I'm guessing this is still not possible with todays latest API? That would be sad if true.

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources