dw-0 / PrusaSlicerThumbnailPostProcessor

Post-processor for re-coloring thumbnails generated by PrusaSlicer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

benchy

PrusaSlicer Thumbnail Post-Processor

An experimental, python based post-processing script, to try and compensate for a (personally) much missed feature in PrusaSlicer.

๐Ÿ“„ Description:

The script reads the original thumbnail and the filament color the G-Code was sliced with. It then modifies the original thumbnail and replaces the orange'ish default color by the filament color. After that it rewrites the thumbnail data and appends it at the very end of the file.

๐Ÿ› ๏ธ Instructions:

For the script to properly work, you need to have Python 3.9 and Pillow 9.2.0 installed.
Download the script to your preferred location and add its path to PrusaSlicers post-processing input.

Example (Windows):

python3 C:\User\Desktop\PrusaSlicerThumbnailPostProcessor\pstnpp.py;

In case you want to remove the thumbnail background, append -nb:

python3 C:\User\Desktop\PrusaSlicerThumbnailPostProcessor\pstnpp.py -nb;

โ— Notes:

  • Image quality might vary depending on colors
  • Only a single thumbnail resolution is supported, do not use multiple different resolutions
  • Issues might occur when using custom bed shape models or textures with other colors than gray

About

Post-processor for re-coloring thumbnails generated by PrusaSlicer

License:GNU General Public License v3.0


Languages

Language:Python 100.0%