PrusaSlicer Post-Processing script to add thumbnails images into gcode files for Elegoo Neptune printers.
This package just converts the thumbnail that PrusaSlicer bakes into the gcode file into the format that is read by the Neptune printers.
- Download the latest release
- Extract the zip to location where the exe can be executed
For a more detailed guide here
- Go to 'Printer Settings' and change the 'G-code thumbnails' setting to be:
200x200- The script defaults to finding a 200x200 thumbnail, but can take any thumbnail size with the argument
--img_size. Make sure it is big enough to still have a quality preview image.
- The script defaults to finding a 200x200 thumbnail, but can take any thumbnail size with the argument
- Go to 'Print Settings' and under the 'Post-processing scripts' and put the path to the exe:
"C:\ElegooNeptuneThumbnailPrusa\thumbnail.exe";
PrusaSlicer should now run the exe when you export the gcode.
If you do not want to run the exe, you can also run the script through Python:
-
Clone the repo
-
Run
pip install -r requirements.txt -
Change the settings for 'Post-processing scripts' to your path to Python and the path to the thumbnail.py script:
"C:\Program Files\Python311\python.exe" "C:\ElegooNeptuneThumbnailPrusa\thumbnail.py";
If you want to hide the terminal at execution, use pythonw.exe instead of python.exe:
"C:\Program Files\Python311\pythonw.exe" "C:\ElegooNeptuneThumbnailPrusa\thumbnail.py";
Works with these printers:
- NEPTUNE 3 PRO
- NEPTUNE 3 PLUS
- NEPTUNE 3 MAX
- NEPTUNE 4
- NEPTUNE 4 PRO
- NEPTUNE 4 PLUS
- NEPTUNE 4 MAX
Use the --old_printer argument for these printers:
- NEPTUNE 2
- NEPTUNE 2D
- NEPTUNE 2S
- NEPTUNE X
Tested with PrusaSlicer 2.7.1
If you have an arm64 mac, you will need to build an executable inside of a x86_64 python environment. The easiest way is with miniconda:
conda create -p ./my_x86_env -y
conda activate ./my_x86_env
conda config --env --set subdir osx-64
conda install python=3.11 -y
Then follow the steps to run from the script
| Argument | Description |
|---|---|
--old_printer |
To generate thumbnails for Neptune 2 series printers and older |
--img_size 200x200 |
Image size to look for in the Gcode file. This must match to what is in the 'G-code thumbnails' setting |
--short_time_format |
Change the format of the time on the thumbnail to a shorter format of 00h00m |
--debug |
Enable debugging mode |
To add arguments to the script, make sure to wrap them around double quotes "" to have them phrase properly like this:
"C:\ElegooNeptuneThumbnailPrusa\thumbnail.exe" "--img_size" "300x300";
This repository is based on Molodos/ElegooNeptuneThumbnails and sigathi/ElegooN3Thumbnail, therefore released under the AGPL v3 license.