Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Cura thumbnails are not shown

    Duet Web Control
    4
    12
    1318
    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.
    • tapirath
      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?

      dc42 1 Reply Last reply Reply Quote 0
      • dc42
        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

        tapirath 1 Reply Last reply Reply Quote 0
        • jay_s_uk
          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
          • tapirath
            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
            • tapirath
              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.

              resam 1 Reply Last reply Reply Quote 0
              • resam
                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

                tapirath 1 Reply Last reply Reply Quote 2
                • tapirath
                  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.

                  resam 1 Reply Last reply Reply Quote 0
                  • resam
                    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.

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

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

                      resam 1 Reply Last reply Reply Quote 0
                      • resam
                        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.

                        tapirath 1 Reply Last reply Reply Quote 0
                        • tapirath
                          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 created this issue in Ultimaker/Cura

                          open Fix thumbnail format #11917

                          1 Reply Last reply Reply Quote 1
                          • dc42
                            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