- Substance 3D home
- Home
- Command Line Tools
- Command Line overview
- sbsbaker
- sbscooker
- sbsmtools
- sbsmutator
- sbsrender
- sbsupdater
- Command Line overview
- Pysbs - Python API
- Pysbs - Python API overview
- Getting started
- General topics
- Examples
- API Content
- API Content overview
- Substance definitions
- Common interfaces
- compnode
- context projectmgr
- graph
- mdl
- modelgraphindex
- modelannotationnames
- modelgraph
- modelgraphgenerator
- modelgraphimplementation
- modelnodenames
- modeloperand
- modulegraphindex
- moduleannotation
- moduleconnection
- modulegraph
- modulegraphgenerator
- modulegraphimplementation
- modulegraphlibrary
- modulegraphregister
- modulenode
- modulenodeimplementation
- modulenodeinstance
- moduleoperand
- moduleoutputbridging
- moduleparaminput
- params
- projectmgrdoc
- sbsarchive
- sbscommon
- sbspreset
- sbsproject
- substance
- Libraries
- sbsenum
- sbslibrary
- sbsbakerslibrary
- Helpers
- Execution context
- API Change log
- Samples
- Setup and Getting Started
- Integrations
- Substance Maya toolset
- Release notes
Version 11.1.0
SAT and Pantone® Spot Colors
With the latest Substance Designer release, get access to Pantone spot colors. And with Substance Automation Toolkit, you can now easily manage your spot colors in bulk.
Take, for instance, the Pantone Solid Coated colors. Use them to generate many versions of a single asset (here, a computer mouse by Jean-François Bozec).
A new command line and a PySBS support is available. Find the complete documentation as well as examples, right here.
Thumbnail Creation with SAT
Generate all your thumbnails easily with SAT. A new helper function `pysbs.batchtools.thumbnail.generate()` is available to generate .png file thumbnails for substance .sbs or archive .sbsar files.
from pysbs.batchtools import thumbnail thumbnail.generate("material.sbs", aOutputPath="material-thumb.png")
It’s also possible to generate a thumbnail directly from an SBSDocument or SBSArchive object and embed the result in it. Just call up the method `.generateThumbnail()`
from pysbs import substance, context, sbsarchive # sbsar doc = sbsarchive.SBSArchive(context, "clay_court.sbsar") doc.parseDoc() doc.generateIcon(saveArchiveAs="clay_court_with_icon.sbsar") # possible to give a graph identifier # sbs doc = substance.SBSDocument(context, "clay_court.sbs") doc.parseDoc() doc.generateIcon() # possible to give a graph identifier doc.writeDoc("clay_court_with_icon.sbs")
Edit Substance Archive (.sbsar), the Beginning
With this release, we introduce for the first time away to directly edit the content of a Substance archive. Use the object `SBSARManager` with `with` statement as follows:
from pysbs import context, sbsarchive sbsar = sbsarchive.SBSArchive(context.Context(), "archive.sbsar") sbsar.parseDoc() with sbsar.enterSBSARManager() as edit: edit.addIcon("aGraphIdentifier", "thumbnail.png", replaceIfExists=True) edit.save()
Currently, only a few icon manipulations are available, but we'll keep working on this. Everything you need to know is in the doc.
New baker for curvature_from_mesh
batchtools.sbsbaker_curvature_from_mesh is now using the `curvature-from-mesh-v2` baker by default. If you need to keep the old one (`curvature-from-mesh`) use the argument `legacy=True`
Sbsrender Usage selection
Starting today, you can use `sbsrender render` with Usage properties present in Input and Output nodes instead of using the node’s Identifier.
Connect an image to an Input node by its Usage value and select an Output node to render by its Usage:
sbsrender render input.sbsar --set-entry-usage baseColor@texture_basecolor.png --input-graph-output-usage baseColor
Sbsrender memory budget
A new flag is available to optimize the memory budget for sbsrender, `--memory-budget`. To be used especially with CPU engine (sse2) by default: 2000MB (CPU engine) or half of the VRAM (GPU engine).
Local documentation
An html doc is now available in the SAT installation (`Substance Automation Toolkit/html-doc.zip`). This doc is generated with Sphinx and uses the RTD theme. This local doc should make it simpler to access information about SAT.