Skip to content
This repository was archived by the owner on Apr 18, 2022. It is now read-only.

How to generate a gcode preview

Miguel Risco-Castillo edited this page Aug 8, 2021 · 31 revisions

This firmware allows to show a preview of g-codes that have a thumbnail automatically embedded using a script in the slicer. Warning! if you send the g-code file to the µSD using Octoprint, the thumbnail and any other information additional to pure g-code will be stripped.

g-code preview

For be able to generate g-code with thumbnail it is necessary to install Python and a script/plugin in your slicer

First download the correct script/plugin:

Install the script/plugin

For Prusa/Super Slicer

Save the downloaded script in a known location

Prusa 2

Write the location of your Python installation and script on the slicer Print settings / Output options:

Prusa 3

In printer settings / General write 230x180 for the G-code thumbnails. The firmware only recognizes thumbnails with a size of 230x180 pixel

Prusa 1

For Cura

Save the downloaded script in the custom script folder of Cura inside of your user profile folder: C:\Users\NameOfUser\AppData\Roaming\cura\..., AppData could be a hidden folder, therefore, you must to write it on the address bar of the file explorer.

Cura 1

Press "Add a script" and select the script from the post processing plugin popup in Cura

Cura 2

The firmware only recognizes thumbnails with a size of 230x180 pixel

Cura 3

Clone this wiki locally