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

    where is metadata stored? (is it?)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    10
    359
    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.
    • A Former User?
      A Former User
      last edited by

      where is metadata stored (if it is stored)? if I print something, is there a way to see "last time I printed it" and "how much time it took to print last time it was printed"? what I see is only estimations even if file was already printed? on octoprint for e.g. I see this metadata update for each file after print and since RRF can do simulation I assume it stores that data somewhere?

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @A Former User
          last edited by

          @smece said in where is metadata stored? (is it?):

          where is metadata stored (if it is stored)? if I print something, is there a way to see "last time I printed it" and "how much time it took to print last time it was printed"? what I see is only estimations even if file was already printed? on octoprint for e.g. I see this metadata update for each file after print and since RRF can do simulation I assume it stores that data somewhere?

          It stores it in a comment at the end of the GCode file. It's displayed alongside each file in the GCode file list in Duet Web Control, if the screen is wide enough. It's also displayed by PanelDue when you select a 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

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @dc42
            last edited by

            @dc42 said in where is metadata stored? (is it?):

            It stores it in a comment at the end of the GCode file.

            I know where slicer stores it, but if I have file.gcode that slicer comment show estimation 100 hours I understand M36 will extract this data from the file and show that slicer estimated 100 hours, but when I print this file and this file takes 123 hours to print, is that 123h value stored anywhere? for e.g. if I look at octoprint files I see for example:

            f119a3fd-9ce6-41f7-9b70-fc4cfb523f38-image.png

            estimated print time is from comment in the file generated by slicer
            but the "last printed" and "last print time" are metadata stored about file in a local octoprint database.

            is this something RRF stores? as looking at store gcode files I don't see any additional comment added to the end by the RRF

            1 Reply Last reply Reply Quote 0
            • Danalundefined
              Danal
              last edited by Danal

              RRF adds or updates the comments at the end of the file after a print or a simulation. You will only see it after a print ends (successfully) or a simulation ends (successfully).

              A Former User? 1 Reply Last reply Reply Quote 1
              • A Former User?
                A Former User @Danal
                last edited by

                @Danal weird, I checked the files that printed and did not find anything added... I'll check again new files

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

                  I just checked the end of a file that I prepared in S3D and then simulated. This is what i see:

                  M0
                  ; Build Summary
                  ;   Build time: 0 hours 38 minutes
                  ;   Filament length: 3838.6 mm (3.84 m)
                  ;   Plastic volume: 9232.91 mm^3 (9.23 cc)
                  ;   Plastic weight: 11.54 g (0.03 lb)
                  ;   Material cost: 0.53
                  
                  ; Simulated print time: 2482
                  

                  The Build Summary was put there by S3D. The simulated print time was put there by 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
                  • Danalundefined
                    Danal
                    last edited by

                    Also note that the way this is stored, as a line in the file, implies it is "one deep"... not a historic log or database.

                    1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User
                      last edited by

                      I don't see it 😞

                      3 files, both printed, I don't see any additional info

                      ...
                      ; Build Summary
                      ;   Build time: 2 hours 19 minutes
                      ;   Filament length: 9833.3 mm (9.83 m)
                      ;   Plastic volume: 23651.97 mm^3 (23.65 cc)
                      ;   Plastic weight: 29.56 g (0.07 lb)
                      ;   Material cost: 1.36
                      
                      ...
                      ; Build Summary
                      ;   Build time: 2 hours 22 minutes
                      ;   Filament length: 7288.3 mm (7.29 m)
                      ;   Plastic volume: 17530.48 mm^3 (17.53 cc)
                      ;   Plastic weight: 21.91 g (0.05 lb)
                      ;   Material cost: 1.01
                      
                      ...
                      G90
                      ; Build Summary
                      ;   Build time: 6 hours 22 minutes
                      ;   Filament length: 18363.4 mm (18.36 m)
                      ;   Plastic volume: 44169.04 mm^3 (44.17 cc)
                      ;   Plastic weight: 55.21 g (0.12 lb)
                      ;   Material cost: 2.54
                      

                      diff between files on my disk and on sd card show no differences.

                      is the metadata added only if the simulation is run and not after successful print or?

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @A Former User
                        last edited by

                        RRF currently only adds simulation data to the end of a file, not data from actual printing. We may add data from actual printing in future, but it's distorted by changes to the speed factor. I did several prints today with speed factors of 50% to 65% for part or all of the print. Saving the actual print times of those would have been misleading.

                        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