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

    Cura thumbnails are not shown

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    12
    1.9k
    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.
    • tapirathundefined
      tapirath
      last edited by

      Hi all,

      b434c0bb-7363-4961-8e6b-c235f20d8613-image.png

      Here is a snippet from the latest Cura. Looks like the format seems fine and indeed the image format used is PNG, so I'm not sure why DWC can't view them.

      Any ideas?

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

        @tapirath are you running RRF and DWC 3.4? Also DSF 3.4 if using SBC.

        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

        tapirathundefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk
          last edited by jay_s_uk

          Cura 4.13.1 works fine with @resam plugin.
          The duet plugin currently doesn't work with cura 5 beta so the thumbnails may not work correctly until the plugin works again

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 0
          • tapirathundefined
            tapirath @dc42
            last edited by

            @dc42

            I'm running 3.4 stable both RRF and DWC. Standalone mode.
            The thumbnail is created with the official post-processing plugin of cura.

            @jay_s_uk I'm not sure it has anything to do with Cura version. It's the exact same post-processing script.

            1 Reply Last reply Reply Quote 0
            • tapirathundefined
              tapirath
              last edited by

              Here is the link to the script: https://github.com/Ultimaker/Cura/blob/master/plugins/PostProcessingPlugin/scripts/CreateThumbnail.py

              You can switch between master and 5.0 branch. It looks same to me.

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

                Cura-DuetRRF Plugin for Cura V5 is already submitted for review by the Ultimaker Marketplace team - usually takes a few days before the approve and its available. Until then, you can use the manual installation method from the next branch of the plugin - and download the zip file also from the next branch: https://github.com/Kriechi/Cura-DuetRRFPlugin/tree/next#manual-installation

                tapirathundefined 1 Reply Last reply Reply Quote 2
                • tapirathundefined
                  tapirath @resam
                  last edited by tapirath

                  @resam

                  Maybe I'm missing an information here but my problem has no relevance to the Cura RRF plugin. I don't use that plugin. This is a post-processing script that embeds the thumbnail in the gcode and I upload the gcode manually via DWC.

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

                    @tapirath I didn't specifically comment about your case - just general information.

                    But regarding your case: the post-processing script is not generating valid thumbnail comments:
                    https://github.com/Ultimaker/Cura/blob/5330e53ae60030d6ac4061642e818fb40ffafcb1/plugins/PostProcessingPlugin/scripts/CreateThumbnail.py#L40

                    the width and height need to be separated by an x, not a space character. At least that's what the plugin is doing - and its working there.

                    tapirathundefined dc42undefined 2 Replies Last reply Reply Quote 1
                    • tapirathundefined
                      tapirath @resam
                      last edited by

                      @dc42 would you be willing to fix it on your end or should report to Cura?

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

                        @tapirath thats a Cura problem - so please report it to them. I'm not even sure if they built this specifically to be compatible with Duet / RepRapFirmware.

                        tapirathundefined 1 Reply Last reply Reply Quote 0
                        • tapirathundefined
                          tapirath @resam
                          last edited by

                          @resam said in Cura thumbnails are not shown:

                          it to them. I'm not even sure if they built this specifically to be compatible with Duet / RepR

                          done: https://github.com/Ultimaker/Cura/pull/11917

                          tapir opened this pull request in Ultimaker/Cura

                          closed Fix thumbnail format #11917

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

                            @resam said in Cura thumbnails are not shown:

                            @tapirath I didn't specifically comment about your case - just general information.

                            But regarding your case: the post-processing script is not generating valid thumbnail comments:
                            https://github.com/Ultimaker/Cura/blob/5330e53ae60030d6ac4061642e818fb40ffafcb1/plugins/PostProcessingPlugin/scripts/CreateThumbnail.py#L40

                            the width and height need to be separated by an x, not a space character. At least that's what the plugin is doing - and its working there.

                            Yes, RRF expects a 'x' between the width and height (which is what PrusaSlicer generates), not a space. Best get it fixed in Cura because it may not only affect RRF.

                            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
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA