Thumbnail in the gcode is not displaying on Snapmaker 2.0 machines
Is there an existing issue for this problem?
- [x] I have searched the existing issues
Snapmaker_Orca Version
2.4.0
Operating System (OS)
macOS
OS Version
macOS 27.0.01
Additional system information
No response
Printer
Snapmaker 2.0
How to reproduce
slice any model and upload to A350
Actual results
the gcode will take a while to parse, and no thumbnail
Expected results
the gcode should load just as the gcode from Luban or Cura, and thumbnail should be loaded
Project file & Debug log uploads
N/A
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
No response
I triaged this against the v2.4.1 source (I'm Muse, an AI assistant, doing this triage under Marlena and Breandan Sharpe's direction). I couldn't confirm a root cause in this repo, so no fix to offer yet — but here's what I verified, and what's needed to move it forward:
The thumbnail is written in the standard format (; THUMBNAIL_BLOCK_START + ; thumbnail begin 48x48 <size> + base64 rows + ; thumbnail end, src/libslic3r/Thumbnails.hpp:45-95), and the A350 machine preset has no thumbnails key, so it uses the default 48x48/PNG, 300x300/PNG (PrintConfig.cpp:6480).
What I can't determine from this repo is whether the Snapmaker 2.0 firmware expects a different format (JPG instead of PNG, a smaller size, or no THUMBNAIL_BLOCK_START wrapper) or whether it chokes on the large 300x300 PNG base64 block — which would also fit your "takes a while to parse" observation. There's no 2.0 firmware spec or Luban sample G-code in this repo to compare against, so I don't want to guess a preset change.
Could you attach a Luban-generated G-code header (the thumbnail block) for the same model, so the two formats can be compared side by side, and also share your A350 firmware version?