Notifications
Clear all

G Code reading with Notepad++  

  RSS
F6eeq
(@f6eeq)
Active Member
G Code reading with Notepad++

Hi all,

I'm on the verge to buy a MK4 printer, so I wanted to have a look at the difference in G Code between a "standard" printer, and a MK4.

So I took an STL file, which I already sliced with PS printed, and sliced it with Prusa Slicer, with MK4 basic settings.

The G Code is perfectly visualized on Prusa Viewer, but not readable with Notepad.

Here some lines :

; generated by PrusaSlicer 2.6.0+win64 on 2023-08-27 at 08:17:18 UTC
;
; thumbnail begin 16x16 824; iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACMElEQVR4AZVS2WpaURQ9oIj4VJAiiA; VtC60aWy9VapznebjOUzVCAslDAoEQyENIX0KSv8in9BPyCf0EP2F1r4PXPrWlFw733nP2mvY+Sv3l

 

The previous G Code, generated in the same conditions, but with a "standard" printer is perfectly readable :

; generated by PrusaSlicer 2.6.0+win64 on 2023-08-19 at 13:01:13 UTC
;
; external perimeters extrusion width = 0.45mm; perimeters extrusion width = 0.45mm; infill extrusion width = 0.45mm; solid infill extrusion width = 0.45mm; top infill extrusion width = 0.40mm; first layer extrusion width = 0.42mm

M190 S95 ; set bed temperature and wait for it to be reachedM104 S220 ; set temperature;TYPE:CustomG28 ; home all axesG1 Z5 F5000 ; lift nozzle

 

Do you have a hint to understand why ??

Thanks

Gerard

Posted : 27/08/2023 8:31 am
Neophyl
(@neophyl)
Illustrious Member
RE: G Code reading with Notepad++

It’s tells you what it is.  Thumbnail begin. It’s the thumbnail data that allows it to display the thumbnail on screen. It’s image data in a text format. 
Obviously your original gcode was sliced with a printer profile where the thumbnail option was not enabled. 

Posted : 27/08/2023 8:56 am
F6eeq
(@f6eeq)
Active Member
Topic starter answered:
RE: G Code reading with Notepad++

OK thanks, I will check that.

Posted : 27/08/2023 8:58 am
Hello
(@hello)
Noble Member
RE: G Code reading with Notepad++

If you scroll down it should show gcode

Please help me out by downloading a model it's free and easy but really helps me out https://www.printables.com/@Hello_474427/models

Posted : 27/08/2023 8:59 am
F6eeq
(@f6eeq)
Active Member
Topic starter answered:
RE: G Code reading with Notepad++

You're right.

Thanks!!

 

But what is "thumbnail" ???

 

Posted : 27/08/2023 9:01 am
Neophyl
(@neophyl)
Illustrious Member
RE: G Code reading with Notepad++

A thumbnail image is a small image that represents a larger one.   

The MK4  like the mini and the XL use a bigger LCD screen that can display thumbnail images of the print on screen.  
https://www.prusa3d.com/product/original-prusa-mk4-2/   scroll down to the section on lcd screen and you will see a picture of the screen.  Note the small image representation of the sliced object(s).  

Posted : 27/08/2023 10:57 am
Share: