Skip to content

Post-processor for re-coloring thumbnails generated by PrusaSlicer

License

Notifications You must be signed in to change notification settings

dw-0/PrusaSlicerThumbnailPostProcessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Languages