Stack N Pack Plugin
The successor to Stack N Pack - Texture Set Merging, written from the ground up in Painter's Python API
Requires Windows & Substance 3D Painter version 7.4.3 or later
Note: If you use Linux or Mac OS I may be able to provide a compiled version of the executable but am no longer able to support all three platforms.
With an even friendlier UI than before and no longer needing to create your own export presets. Simply configure your stacking, make sure auto-run is on, and each time you export your textures, Stack N Pack will pick up your outputs and put them together to your specifications and even clean up the mess.
Note: If you are an user of Stack N Pack already, please message me and I'll send you a voucher to purchase this for free.
Join the Discord if you have questions before or after purchase
4.7 Release Notes
Fixes
- Updated to support Python + PySide changes in Substance 3D Painter 10.1.0
- Should be backward compatible too since it checks the Painter version
- Fixed issue where trying to export with empty stacks in your project would error in a cryptic way (os.path error)
- Switched to external json file for stack operations removing character limit from subprocess call
- Exporting should only be fractionally slower for small projects but significantly faster for larger ones (or possible in cases where it wasn't previously)
- If the call fails a .json file will be left behind which will be useful for troubleshooting and can be shared via support channels
4.6 Release Notes
Updates
- [Feature] New Naming Wizard to improve the naming experience since the method can be a bit opaque
- Open the new wizard via the $ menu for the stack
- Reset the naming to your default or use the wizard to create a new default and save it all via the wizard's File menu
- Preview naming with the removal options and text input
- Filter the outputs name based on the output selection to see what each output will end up being named
Fixes
- [Issue] Non-exported channels could cause an os.path error due to being None. Now it warns about files not being exported but continues without the error, similar to Painter's default behavior.
- [Issue] Fix to naming issue where parts of the name weren't properly removed before doing the common prefix/suffix operations leading to less of the name being present than intended. Overall improved reliability of naming and handling of variable user setups.
4.5 Release Notes
Fixes
- [Issue] File paths including non-ascii characters would break the export process
- [Issue] If (_$colorSpace) ended up outputting into the name, the export would break in UV Tile projects due to the udim info being pulled into part of the colorspace for naming
4.4 Release Notes
Fixes
- [Bug] Overlapping UV check was not constrained to just the items in the stack
- [Bug] Names with special characters, spaces, or preset naming like $textureSetBaseColor would fail to stack
- [Bug] Situations where masks could end up exported with partial opacity would be lost or malformed
- [Bug] If exporting a stack of just one item, if a channel was missing e.g. emissive according to the preset, it would fail to properly export/stack
Updates
- [Feature] Added the ability to apply opacity to exported stacks based on UVs/Masks
- Only works for formats that support transparency
- Under plugin settings at the bottom is "Alpha UVs" section
- Check the box on to turn areas outside your UVs transparent
- Override enabling the setting at the project level via "Alpha UVs" option in Settings Menu
- Note: the distance will always use the plugin setting
- Control the distance you want to dilate your UVs up to 256px
- Note: at 256 it is effectively the same behavior as the default export and likely won't have any visible transparency
4.3 Release Notes
Critical Fixes
- [Bug] Users with projects not using a UV Tile Workflow were unable to stack
- For 4.2 users: the dist folder was not updated, for smaller download use the changesOnly zip
Updates
- [UX] Improved catching of mismatched export presets
- [UX] Added some more verbose outputs around export preprocess step
4.2 Release Notes
Fixes
- [Bug] Closing and then reopening Painter yields a window that says Painter didn't close properly
- [Bug] Stacking by UDIM errors
- [UI] The Settings menu isn't properly restored when opening a project with its own settings
- [UI] Some Settings menu items aren't properly disabled when no project is open
Updates
- [UI] Added popups for critical errors during export
- [UI] Added popups for warnings during export
- [UI] Added popup to end of export to let users know it's finished
4.1 Release Notes
Fixes
- Improved support for very large projects
- Will now attempt to break up the stacking into smaller jobs
- If the size is still an issue we now provide a more useful error than before
- Improved/fixed support for exr and tif especially 32-bit
- Supports non-uniform channels across texture sets
- If a channel is missing from a texture set we can continue without it
- Stacking nothing into the output can result in dilation pushing information into other UVs
- It's recommended to have uniform channels across sets, but we can have missing ones across all and handle it flawlessly now
- Fixed an error with default commands (single stack, by texture set, etc.) leading to an issue when attempting to move an item to unused
- Fixed a few issues with refresh project
Updates
- [UI] Resizable stack containers
- Layout and sizes should save and persist for that project
- Can resize to collapse stacks, except the unused section at the top
- [UI] Scrollable window
- Note that with the resizable stack containers you can end up with double scroll bars
- [Masks] In Painter 8.3.0 the 2D View not exporting properly was fixed so masks should be more reliable overall
- [Masks] In Settings you can now choose which channel you'd like to use for your mask, if you want to use one other than the 2D View via the Mask Source submenu
- [Export] We use the export preset to determine naming, Painter's API can return the previous one instead of the current one
- Added a confirmation at export to confirm, to avoid generating stacks with incorrect names and outputs
- [Export] Improved cleanup behavior in cases of aborting the stack process due to errors
- [Export] Improved export speed and reliability
Stack N Pack Plugin with Updates!