Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Does anyone here work on Superslicer?

    Scheduled Pinned Locked Moved
    General Discussion
    14
    87
    8.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chrishammundefined
      chrishamm administrators @resam
      last edited by

      @resam there's a problem with it, the start comment should be

      ; thumbnail_QOI begin
      

      instead of

      ; thumbnail_OQI begin
      

      and the end comment should read

      ; thumbnail end
      

      instead of

      ; thumbnail_OQI end
      

      Then it should work as expected.

      Duet software engineer

      resamundefined 1 Reply Last reply Reply Quote 0
      • resamundefined
        resam @chrishamm
        last edited by

        @chrishamm lol - yeah, good idea of mine to ask for a sanity check 😛 Thanks for catching that typo!

        I'll ask again about resolutions: what do you want, or what can you/DCW/RRF/DSF handle? I read that PanelDue can do a max. of 160x160.

        dc42undefined 1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @resam
          last edited by dc42

          @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.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          resamundefined 1 Reply Last reply Reply Quote 0
          • resamundefined
            resam @dc42
            last edited by

            @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

            0 bubnikv committed to prusa3d/PrusaSlicer
            Fixed typo in thumbnail_QOI tag.
            9 bubnikv committed to prusa3d/PrusaSlicer
            WIP: Implemented support for QOI G-code thumbnail format as requested
            by the RepRapFirmware team due to their low RAM budget for decompression.
            Bundled the QOI image compression library.
            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @resam
              last edited by

              @resam thanks for that. We'll need to change RRF and probably DSF then.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              resamundefined 2 Replies Last reply Reply Quote 0
              • resamundefined
                resam @dc42
                last edited by

                @dc42 ok - my Cura plugin behaves the same way as PrusaSlicer.

                1 Reply Last reply Reply Quote 0
                • resamundefined
                  resam @dc42
                  last edited by

                  @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?

                  chrishammundefined 1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @resam
                    last edited by

                    @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.

                    Duet software engineer

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @chrishamm
                      last edited by

                      For PanelDue the recommended image size is 160x160 pixels. That size works on all three screen sizes.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • ICY_SNAKEundefined
                        ICY_SNAKE
                        last edited by

                        @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

                        DO IT OR DON'T

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @ICY_SNAKE
                          last edited by

                          @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.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          Exerqtorundefined 1 Reply Last reply Reply Quote 1
                          • Exerqtorundefined
                            Exerqtor @dc42
                            last edited by

                            Anyone got a "sample gcode" with some sort of thumbnail that they can share just to see how the thumbnails look on DWC / Paneldue? 🙄

                            resamundefined 1 Reply Last reply Reply Quote 0
                            • resamundefined
                              resam @Exerqtor
                              last edited by

                              @exerqtor https://github.com/Duet3D/DuetSoftwareFramework/blob/v3.4-dev/src/UnitTests/File/GCodes/Thumbnail_QOI.gcode

                              ICY_SNAKEundefined Exerqtorundefined 2 Replies Last reply Reply Quote 2
                              • ICY_SNAKEundefined
                                ICY_SNAKE @resam
                                last edited by

                                @resam Here is a sample code
                                Box_2_led-rar.txt

                                rename to .rar

                                includes a 160x160 thumbnail in the gcode plus an thumbnail for octoprint and Mainsail.

                                Dieter

                                DO IT OR DON'T

                                1 Reply Last reply Reply Quote 0
                                • Exerqtorundefined
                                  Exerqtor @resam
                                  last edited by

                                  @resam
                                  Worked a treat, thx! 😃

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA