Does anyone here work on Superslicer?
-
@resam said in Does anyone here work on Superslicer?:
yeah, good idea of mine to ask for a sanity check Thanks for catching that typo!
Actually that typo was made by the devs of PrusaSlicer; but they later corrected it.
I don't have a latest build of PrusasSlicer, so I don't know whether they use thumbnail_end or thumbnail_QOI end.
-
@dc42 indeed! https://github.com/prusa3d/PrusaSlicer/commit/086662b6a1c7d7a14e35a90e6d46445f6871ac24 fixes it - so I probably copy-pasted it.
The end tag is the same tag as the begin, so
thumbail_QOI
. See https://github.com/prusa3d/PrusaSlicer/commit/87cff55856ae14096cd57f8e2542f1f1caef7167#diff-e09699df9f3fa4c292ba50b9f88dffe95b2d2d5c0a58d9d81441f9da5031c97bR49 -
@resam thanks for that. We'll need to change RRF and probably DSF then.
-
@dc42 ok - my Cura plugin behaves the same way as PrusaSlicer.
-
@dc42 please also update the code comment at https://github.com/Duet3D/RepRapFirmware/blob/09bf6d01b6028c7d7d162f0e2b60ca8a07849901/src/Storage/FileInfoParser.cpp#L959-L961
and am I reading RRF constant
MaxThumbnails = 3
correctly, that the fourth thumbnail will not be parsed by RRF? My Cura plugin currently outputs 4 sizes... so again my question about resolutions? -
@resam That limitation applies to RRF but not DSF. For the DWC filelist the ideal resolution is 48x48px and there is no real upper limit for previews. For PanelDue the maximum thumbnail height appears to be 6 x rowTextHeight. That means we have effective height limits of 126px for small displays and 192px for larger displays.
-
For PanelDue the recommended image size is 160x160 pixels. That size works on all three screen sizes.
-
@dc42 said in Does anyone here work on Superslicer?:
ecause QOI for
I work with ideamaker and have the possibility to add content of data into gcode file. Thumbnail 640x640 or any other value.
Would be nice if it would be used on your side.
thx
Deiter -
@icy_snake for PanelDue the optimum size is 160x160. DWC can use a wider variety of sizes, however RRF can only use the first 3 thumbnail images in the file.
-
Anyone got a "sample gcode" with some sort of thumbnail that they can share just to see how the thumbnails look on DWC / Paneldue?
-
-
@resam Here is a sample code
Box_2_led-rar.txtrename to .rar
includes a 160x160 thumbnail in the gcode plus an thumbnail for octoprint and Mainsail.
Dieter
-
@resam
Worked a treat, thx!