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

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

Community Beginner ,
Feb 10, 2022 Feb 10, 2022

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
328
Translate
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
LATEST

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

 

Translate
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