SuperSlicer
SuperSlicer copied to clipboard
Thumbnail/Gcode Preview for Slic3r/PrusaSlicer/SuperSlicer for BigTreeTech TFT Screens
Hi, Thumbnails generated by Slicer could not be viewed in BTT screens. Codes generated by slicer is not applicable for BTT TFT screens.
In BTT touch screen repository there is a custom solution for that. Please see the link below. Could this solution be integrated to SuperSlicer?
#https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/1238
I almost understand what the format is.
But can you link here a gcode file from SuperSlicer (or PS) with & without the script?
Here you go, a calibration cube sliced with superslicer (by the way thanks for superslicer, it's awesome), with (_btt.g file) and without the script. xyzCalibration_cube.zip
I also plan to try superslicer. I started Cura since last year, then switched to PS a month ago. Actually Cura had more features but PS seems to be more fast (program itself and printing times). I would like to try SuperSlicer as well. I wish SS will integrate a solution for BTT TFT screen compatible gcode preview.
@supermerill hi. Btt tft fw is now compatible with prusaslicer's thumbnail generation aporoach.
True, but not all of the TFT's support it, due to memory issues, so there's value in having this feature.
True, but not all of the TFT's support it, due to memory issues, so there's value in having this feature.
Great to hear that. Thnx.
Somehow I closed this issue, I don't know how but it's better to have a look again here @supermerill . If you find it's too hard to integrate this solution to SS, I can close the issue upon your request.
I know that PS developers are not interested in.
I just merge the JPG / QOI thumbnail from prusa, adding that one.
Can someone test if you can see a yellow cube on white background? Just copy-paste this on the start of a gcode file:
; generated by SuperSlicer 2.4 on 2022-02-15 at 22:56:35 UTC
;
; thumbnail_BIQU begin 50x50 10100
;00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008401080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000031a194848c44420100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ac294849484948494846b630840000000000000000000000000000000000000000000000000000000000000000000000000000000000000
;0000000000000000000000000000000000000000000000000000000000000000000000000000000018c084039484948494849484948494848c44296100000000000000000000000000000000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000000000000000000000000000000004a42948494849484948494849484948494849484948452820840000000000000000000000000000000000000000000000000000000000000000000000000
;0000000000000000000000000000000000000000000000000000000000000000000018c073a394849484948494849484948494849484948494849484948473a318c000000000000000000000000000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000000000000000000000000000042019484948494849484948494849484948494849484948494849484948494848c4442010000000000000000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000000000000084063229484948494849484948494849484948494849484948494849484948494849484948494846b63108000000000000000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000000000000000018c08c44948494849484948494849484948494849484948494849484948494849484948494849484948494848c4429610000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000052829484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494845282084000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000018c073a39484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948473a318c00000000000000000000000000000000000000000
;0000000000000000000000000000000000004201948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494848c444201084000000000000000000000000000000000
;000000000000000000000000000008406322948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494846b6310800000000000000000000000000000
;0000000000000000000000002961948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494848c4431a1000000000000000000000000
;000000000000000000005ac2948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494845ac200200000000000000000
;0000000000000000108073838c649484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484632310800000000000000000
;000000000000000010805ae26b4384039484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484842352a24a6210800000000000000000
;000000000000000010805ae25ae263027bc38c64948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948473834a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae26b438c44948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948484235ac24a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae263027bc39484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948473a34a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae26b438c6494849484948494849484948494849484948494849484948494849484948494849484948494849484948494848c6463234a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae26302840394849484948494849484948494849484948494849484948494849484948494849484948494849484842352a24a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae273a38c64948494849484948494849484948494849484948494849484948494849484948494846b634a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae26b438c449484948494849484948494849484948494849484948494849484948484235ac24a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae263027bc38c649484948494849484948494849484948494849484948473a34a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae26b438c44948494849484948494849484948494848c6463024a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae263027be3948494849484948494849484840352824a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae273838c649484948494846b634a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae26b438403842352a24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae263024a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000
;0000000000000000002031a15ac25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a62296100000000000000000000
;00000000000000000000000010a052825ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a4218c0000000000000000000000000
;0000000000000000000000000000002039c15ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6239c100200000000000000000000000000000
;00000000000000000000000000000000000021015ac25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a622101000000000000000000000000000000000000
;0000000000000000000000000000000000000000108042015ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a6239e108400000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000002031a15ac25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a622961000000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000000000000000010a052825ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a4210800000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000000000000002031a15ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a623181000000000000000000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000000000000000000000000000010a05ac25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a6218e00000000000000000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000000000000000000000000002042015ae25ae25ae25ae25ae25ae24a624a624a624a624a624a6239e1084000000000000000000000000000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000000000000000000000000000000000000000029415ac25ae25ae25ae25ae24a624a624a624a624a6221210000000000000000000000000000000000000000000000000000000000000000000000000000
;0000000000000000000000000000000000000000000000000000000000000000000000000000000010804a625ae25ae25ae24a624a624a6239e1086000000000000000000000000000000000000000000000000000000000000000000000000000000000
;000000000000000000000000000000000000000000000000000000000000000000000000000000000000002031a15ae25ae24a624a6229610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010a052824a4218e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
;00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
; thumbnail_BIQU end
;
;
edit: I spot an error: it misses the size header
I created this txt and change it's extension to .gcode and interted to my TFT35 E3 V3 (Thumbnail parser 0-classic https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/pull/1973), it showed standart gcode icon on the screen, not the thumbnail @supermerill. Send me a gcode file, I'll try it. May be it requires 95x95 pixel icon on my TFT35.
Oh btw, this is another PR for thumbnail. https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/pull/2292
Send me a gcode file, I'll try it. May be it requires 95x95 pixel icon on my TFT35.
here: Shape-Box_bqu.zip
No, not working 😐 This is a working example on my TFT35, compiled with PS 2.4.1beta and post processed with @effgarces 's script .(https://github.com/effgarces/Biqu-Thumbnail-Generator)
the only diff I found is that your gcode doesn't ahve any line before the thumbnail.
Do you succeed if you remove the first 5 lines? (the ones before ;005f005f)
No, not working still.
There is another weird thing, if I open one of the working file with VSCode and do something, revert it and save the file, like add a space and then backspace and save the file. Then thumbnail is not visiblity anymore. When I do this with notepad, there is no problem.
When I open the file with notepad file consists of chineese letters, but I can open with VSCode. But I'm suspicious about editing a file with VSCode due to the concern above.
notepad.zip These 3 files are exactly same. Original is the one I sent to you previously, xyz cube. VSCode is opened with VSCode and edited (just a space and backspace move and save) Notepad is opened with notepad and edited ((just a space and backspace move and save)
Result: Original and Notepad thumbnails are still visible but VSCode is not visible. May be this will attract @effgarces too.
I will try to open and edit with MS Word as well. Edit: It is still OK with Word as well.
Maybe your app is messing with the charset & line ending. Use notepad++ or sublimetext. You shouldn't see any utf character, but it so, set your encoding to utf-8. Be sure you only have \n and no \r
I don't understand why my file doesn't work, and can't progress from here. So until someone can guide me on what's wrong, I stop dev on this.
Last try: I added the ; bigtree thumbnail end
at the end of the thumbnail
Shape-Box_bqu.gcode.txt
Sorry, it didn't work. :( I hope some other BTT TFT and script users also try and send their feedback here.
I just took a look a the file Shape-Box_bqu.gcode.txt, I don't see anything wrong with it, but I can't test it on my TFT and maybe that the issue with sarvenn, the file only has the thumbnail for the 95x95 TFT, the TFT35, I have a TFT24 that requires the Thumbnail to be in 70x70 resolution, as far as I am aware each TFT just searches/loads their corresponding resolution. According to Biqu this is resolution table:
- 70x70: TFT24 / TFT28
- 95x80: TFT43 / TFT50
- 95x95: TFT35
- 160x140: TFT70
Hi i have SKR 1.4 Turbo / Marlin 2.0.9.3 / BTT TFT35 E3 BIGTREE_TFT35_V3.0_E3.27.x (THUMBNAIL_PARSER 2 ) =Configuration.h " Show Embedded Thumbnails Of Gcode Files
NOTE: "Base64 PNG" option utilizes about 43kb statically allocated RAM and about 1kb dynamically allocated RAM. Therefore this option is only suitable for devices >96KB RAM. If you choose "Base64 PNG" on such a low RAM device it will automatically downgraded to "RGB565 bitmap" option.
Options: [Classic: 0, RGB565 Bitmap: 1, Base64 PNG: 2]
Classic: RGB565 bitmaps for all possible thumbnail sizes are embedded in the gcode
file at fixed file offsets. It is fastest to parse but least flexible.
RGB565 Bitmap: A specific thumbnail comment identifies the location of a single "Classic"
embedded RB565 bitmap thumbnail. It is almost as fast as classic and
flexible but requires a dedicated post-processing of gcode files for
most slicers. "Classic" is used as fallback.
Base64 PNG: A specific thumbnail comment identifies the location of a Base64-encoded
PNG thumbnail. It is slower as classic but most flexible. It does not
require dedicated post-processing of gcode files for most slicers.
"RGB565 bitmap" and "Classic" are used as fallback.
#define THUMBNAIL_PARSER 2 // Default: 0 "
Tried those files and here is my results:
Here you go, a calibration cube sliced with superslicer (by the way thanks for superslicer, it's awesome), with (_btt.g file) and without the script. xyzCalibration_cube.zip
Hi mate tried your file and here is my result:
Send me a gcode file, I'll try it. May be it requires 95x95 pixel icon on my TFT35.
here: Shape-Box_bqu.zip
Can someone test if you can see a yellow cube on white background? Just copy-paste this on the start of a gcode file:
; generated by SuperSlicer 2.4 on 2022-02-15 at 22:56:35 UTC ; ; thumbnail_BIQU begin 50x50 10100 ;00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008401080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000031a194848c44420100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005ac294849484948494846b630840000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ;0000000000000000000000000000000000000000000000000000000000000000000000000000000018c084039484948494849484948494848c44296100000000000000000000000000000000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000000000000000000000000000000004a42948494849484948494849484948494849484948452820840000000000000000000000000000000000000000000000000000000000000000000000000 ;0000000000000000000000000000000000000000000000000000000000000000000018c073a394849484948494849484948494849484948494849484948473a318c000000000000000000000000000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000000000000000000000000000042019484948494849484948494849484948494849484948494849484948494848c4442010000000000000000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000000000000084063229484948494849484948494849484948494849484948494849484948494849484948494846b63108000000000000000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000000000000000018c08c44948494849484948494849484948494849484948494849484948494849484948494849484948494848c4429610000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000052829484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494845282084000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000018c073a39484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948473a318c00000000000000000000000000000000000000000 ;0000000000000000000000000000000000004201948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494848c444201084000000000000000000000000000000000 ;000000000000000000000000000008406322948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494846b6310800000000000000000000000000000 ;0000000000000000000000002961948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494848c4431a1000000000000000000000000 ;000000000000000000005ac2948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494845ac200200000000000000000 ;0000000000000000108073838c649484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484632310800000000000000000 ;000000000000000010805ae26b4384039484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484842352a24a6210800000000000000000 ;000000000000000010805ae25ae263027bc38c64948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948473834a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae26b438c44948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948484235ac24a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae263027bc39484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948494849484948473a34a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae26b438c6494849484948494849484948494849484948494849484948494849484948494849484948494849484948494848c6463234a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae26302840394849484948494849484948494849484948494849484948494849484948494849484948494849484842352a24a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae273a38c64948494849484948494849484948494849484948494849484948494849484948494846b634a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae26b438c449484948494849484948494849484948494849484948494849484948484235ac24a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae263027bc38c649484948494849484948494849484948494849484948473a34a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae26b438c44948494849484948494849484948494848c6463024a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae263027be3948494849484948494849484840352824a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae273838c649484948494846b634a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae26b438403842352a24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae263024a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;000000000000000010805ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6210800000000000000000 ;0000000000000000002031a15ac25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a62296100000000000000000000 ;00000000000000000000000010a052825ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a4218c0000000000000000000000000 ;0000000000000000000000000000002039c15ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a624a6239c100200000000000000000000000000000 ;00000000000000000000000000000000000021015ac25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a624a624a622101000000000000000000000000000000000000 ;0000000000000000000000000000000000000000108042015ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a624a6239e108400000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000002031a15ac25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a624a622961000000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000000000000000010a052825ae25ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a624a624a4210800000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000000000000002031a15ae25ae25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a624a623181000000000000000000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000000000000000000000000000010a05ac25ae25ae25ae25ae25ae25ae25ae24a624a624a624a624a624a624a624a6218e00000000000000000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000000000000000000000000002042015ae25ae25ae25ae25ae25ae24a624a624a624a624a624a6239e1084000000000000000000000000000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000000000000000000000000000000000000000029415ac25ae25ae25ae25ae24a624a624a624a624a6221210000000000000000000000000000000000000000000000000000000000000000000000000000 ;0000000000000000000000000000000000000000000000000000000000000000000000000000000010804a625ae25ae25ae24a624a624a6239e1086000000000000000000000000000000000000000000000000000000000000000000000000000000000 ;000000000000000000000000000000000000000000000000000000000000000000000000000000000000002031a15ae25ae24a624a6229610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ;0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010a052824a4218e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ;00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ; thumbnail_BIQU end ; ;
edit: I spot an error: it misses the size header
Don't works.
Last try: I added the
; bigtree thumbnail end
at the end of the thumbnail Shape-Box_bqu.gcode.txt
Don't works.
Tried editing file "xyzCalibration_cube_btt.g" from "xyzCalibration_cube.zip" (effgarces commented on 18 Jan 2021)
And for working and see icon file need 3+ cubes:
Editing xyzCalibration_cube_btt_g.zip
This is where the penultimate answer can be of help: https://githubhot.com/repo/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/2398
So the solution is to create 3 thumbnails? have to add another thumbnail size field then.
It turns out that it is. I am willing to help, so feel free and i will test :) SuperSlicer should have such a facility for users of these BTT TFT screens. Thanks for fast response.
if you change in your printer_fff.ui
group:Thumbnails
line:Size for Gcode
setting:id$0:label$Small:thumbnails
setting:id$1:label$Big:thumbnails
end_line
to
group:Thumbnails
line:Size for Gcode
setting:id$0:label$Small:thumbnails
setting:id$1:label$Medium:thumbnails
setting:id$2:label$Big:thumbnails
end_line
then you'll have 3 size and can export 3 good sizes. but I guess that from the gcode, i have to avoid outputting
; bigtree thumbnail end
; thumbnail_BIQU end
;
;
; thumbnail_BIQU begin 40x40 6480
between each one?
(i used 20x20, 40x40 and 80x80, i don't know if it needs exactly the right size or not) Shape-Box_guess_good.gcode.txt Shape-Box_guess_bad.gcode.txt
I checked both of your gcode and unfortunately it can't show the icon:
I tried to edit and delete the lines of text in front of gcode and at the end of this one myself. I reduce the spacing as in the file that works for me, but unfortunately don't works. SuperSlicer TFT tests.zip
Maybe needs to be it exactly the right size.
here with the same dimension as the one you sent to me (40x40, 95x80, 95x95) Shape-Box_guess_bad.gcode.txt Shape-Box_guess_good.gcode.txt Shape-Box_guess_dunno.gcode.txt
Send me a gcode file, I'll try it. May be it requires 95x95 pixel icon on my TFT35.
here: Shape-Box_bqu.zip
I forgot to check this file but don't work. Modified to first line is: ;005f005f = nothing
Modified from: ; bigtree thumbnail end ; thumbnail_BIQU end to ; thumbnail_BIQU end ; bigtree thumbnail end = nothing
here with the same dimension as the one you sent to me (40x40, 95x80, 95x95) Shape-Box_guess_bad.gcode.txt Shape-Box_guess_good.gcode.txt Shape-Box_guess_dunno.gcode.txt
Tested all files and diddn't see the icon :(