Python thumbnailer code that goes in /usr/local/bin folder....
https://pastebin.com/4MRmX3ts
chmod 755
Thumbnailer thigy, that goes in /usr/share/thumbnailers/ folder....
https://pastebin.com/HYHkpcHv
If anyone can improve on it, help yourself. Don't forget to tick these boxes....
I'm using Linux Mint 20 XFCE. Python is version 3.8.2. Freecad Is 19 pre appimage
These are for the stl thumbnails. OpenSCAD needs to be installed for the stl's to work
https://pastebin.com/UEaTnwrB
https://pastebin.com/KpJzBxxc