Ender 3S1 Pro thumbnail preview not working

hello try this, its working for my ender 3 s1 plus


https://community.ultimaker.com/topic/44667-no-thumbnail-on-creality-3-vs2/?_fromLogin=1

1 Like

Hi thanks,

We figured it out, and you can actually find an updated version of the script you linked in post #14

I’m having trouble getting this to show up in Cura 5.5. I copied the text from your post, saved it in Notepad as a .py file in the cura scripts folder and it doesn’t show up.

You can download it here. The instructions for using it are in the forum thread

https://community.ultimaker.com/topic/44667-no-thumbnail-on-creality-3-vs2/#comment-331137

Hi,

works great with cura with the instructions from above…

For Prucaslicer I did copy the code from above to a .py file but get this error while exporting gcode:

Failed starting the script \Users\micha\AppData\Roaming\PrusaSlicer\scripts\thump.py C:\Users\micha\AppData\Local\Temp.608.gcode.pp, Win32 error: 193

2 Likes

Hello! I would like to fix the thumbnail problem on my Ender 3 S1 Plus but I cannot find where to put this code. I am using Prusa Slicer (version 2.8.1). From your instructions it suggests I need to download “Pillow”? I know there is a “G-code thumbnails” setting under the “Printers” → “General” tab, but I have no clue what to set the picture size to. I am very new to messing with Gcode so I am grateful for any help.

You need to write the following under “Print Settings” > “Output options” > “Post-processing scripts”:
"full/filepath/to/python/interpreter" "full/filepath/to/postprocesing/script"
or
"python/interpreter/environment/variable" "full/filepath/to/postprocesing/script"

like so:

This setting is “Print profile” specific, meaning you will have to copy and paste the text in each print profile you use

Ok, a little progress, but I still have issues…
I copied the code from post 16 and pasted into Notepad. I saved as a .py, created a folder and stashed the file in there. I then copied the filepath,
“C:\Users\user\Documents\thumbnailfilefolder\thumbnailGcode.py”,
and pasted it into the “Post-processing scripts” area. In the post above you stated that the “full/filepath/to/python/interpreter” is needed.
Do I need to download a python interpreter?
Also, when I attempted to export the file, I received a message similar to @Hromi:
PrusaSlicer has encountered an error

Failed starting the script C:\Users\user\Documents\thumbnailfilefolder\thumbnailGcode.py C:\Users\user\AppData\Local\Temp.15432.gcode.pp, Win32 error: 193

Thanks for the help.

You need a python interpreter to run the script

The error you are getting is because prusaslicer is trying to execute the python script without an interpreter

Hi,
I haven’t read everything above so I’m not really In this topic…but maybe you’ll find something in the following YouTube explanation.
https://www.youtube.com/watch?v=85ybXf42W7M
I have the same printer and with me it worked immediately.