Cura
Thumbnail

You have to add a Post Processing Script to add "G-code thumbnails" in Cura. To add these scripts, click on Extensions > Post Processing > Modify Gcode. Then click on Add a script, choose Create Thumbnail and fill in the size 32x32. Add again the same script with the size 400x400.
It is important for this size to be a square, with equal size on both length and width. If you don't use a square resolution, Cura will squeeze the thumbnail.

Direct G-code upload
Install the Moonraker Connection plugin by Emtrax using the Ultimaker Marketplace.
Next, configure the plugin's parameters in Cura:
Navigate to
Settings > Printer > Manage PrintersSelect the printer profile you wish to connect to Moonraker
Click
Connect Moonraker.Configure the fields as appropriate for your printer. The most important ones are listed below.
Connection > Address (URL): The address you've been using to access Mainsail, prefixed by
http://. e.g.http://myprinter.local/Monitor > Camera > URL The address of the camera stream on the network, prefixed by
http://. e.g.http://myprinter.local/webcam/stream

Best practise G-codes
In Cura, there is a straightforward solution to add custom G-codes. Pedro Lamas has developed an excellent post-processing script for including the necessary custom G-codes.
Follow the guide here to use this script: https://github.com/pedrolamas/klipper-preprocessor
Last updated
Was this helpful?
