Skip to main content
JokerMartini
Participant
February 10, 2022
Question

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

  • February 10, 2022
  • 1 reply
  • 311 views

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'])

 

 

This topic has been closed for replies.

1 reply

JokerMartini
Participant
February 14, 2022

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