Question
Is the new Hard surface auto-unwrap mode exposed in the Python API?
Painter 12.1.1 adds a Hard surface option to the automatic unwrap settings. I'd like to use it when creating projects programmatically, but I can't find a way to reach it from the Python API (version 0.3.5).
What I checked on a live 12.1.1 install:
substance_painter.project.AutoUnwrapSettingsstill exposes the same 8 fields:recompute_seams,recompute_uv_islands,recompute_packing,margin_size,island_orientation,uv_tiles_settings,avoid_elongated_uv_islands,create_fewer_seams.AutoUnwrapUVIslandOrientationhas exactly three members:RotateFreely,AlignWith3DMesh,KeepOriginal.- The private
_substance_painter.project.AutoUnwrapSettingshas no extra field either, and_to_private_auto_unwarp_settingscopies field by field, so nothing outside the public dataclass would reachproject.createanyway. project_loading_optionsis empty, and the legacyalg.projectJS API doesn't expose unwrap settings.
Questions:
- Is the Hard surface mode reachable from a script in 12.1.1 by some route I've missed?
- If not, is API support planned? It matters for pipelines that create projects automatically from CAD or architectural meshes, where hard surface is the normal case and the UI toggle can't be used.
- Is
island_orientation=AlignWith3DMeshintended as a partial equivalent, or is it unrelated?
