Closed TylonHH closed 1 year ago
I'm afraid that the only solution is to request the developers of the Snapmaker J1 printer firmware to extend support for this syntax with ;
. The reason for this is that if we change it and ignore the ;
, it would be unreadable for many other firmwares and printers.
To support my statement, the Cura post-processing built-in script uses a similar syntax with ;
.
@TylonHH, you could write a small post-processing script to merge those lines after ; thumbnail begin 200x200 20088
to "fix" it for your printer.
I guess this plug-in works well for this: https://github.com/macdylan/Snapmaker2Slic3rPostProcessor
Description of the bug
My printer doesnt recognized the thumbnail. So I looked into the gcode. There is see this:
So I removed all the line breaks and comments. Then I got all the code in one line. Saved the gcode and voilà. I see the thumbnail. Even if I check the lines with the code into https://base64.guru/converter/decode/image/png I will see a thumbnail if the code is in one line. So why is there a line break?
Project file & How to reproduce
Printer settings -> gcode Thumbnail 200x200 (Marlin) / PNG Check out the gcode. It shouldnt be line breaked.
Checklist of files included above
Version of PrusaSlicer
Version 2.5.2+win64
Operating system
Win10
Printer model
Snapmaker J1