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?
-
This post is deleted! -
@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.
-
@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:
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
-
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).
-
@Danal weird, I checked the files that printed and did not find anything added... I'll check again new files
-
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.
-
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.
-
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?
-
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.