Skip to content

ellensp/gcode-thumbnailer

Repository files navigation

gcode-thumbnailer

Examples:

Example at 2 * Zoom

A simple thumbnail generator for Gnome. This extracts the encoded thumbnail data from within a gcode file and turns it into OS useable thumbnail, such as in nautilus.

Only tested on Ubuntu 20.04.4 LTS.

Consists of two files:

Gcode-with-thumbnail-thumbnailer.py The python script that extracts and generates the required png file.

gcode-with-thumbnail.thumbnailer Configuration file to associate *.gcode with the thumbnailer application.

Instiltion is manual:

Copy gcode-with-thumbnail.thumbnailer to /usr/share/thumbnails/ Copy gcode-with-thumbnail-thumbnailer.py to somewhere in you path. For eg /usr/local/bin/

How to add thumbnail to gcode:

I used the method mentioned here https://github.com/mriscoc/Ender3V2S1/wiki/How-to-generate-a-gcode-preview

This is also compatable with PrusaSlicer 2.4.2 inbult thumbnail generator.

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages