augur
Posts: 1
Joined: Sun Feb 28, 2021 4:18 am

Format of "Build time: 1 hour 12 minutes" in Gcode

Hi,

I am asked to add Simplify3D to my Octoprint Plugin https://plugins.octoprint.org/plugins/SlicerEstimator/ to read out print time estimation from embedded information by the slicer to have a better accuracy. I found the following comment in a Gcode file produced by Simplify3D and like to ask if I overseen a more technical comment for build time and what formats are used like for prints below an hour or for prints need days? With that information I can parse it.

embedded in Gcode file
; Build Summary
; Build time: 1 hour 12 minutes

Regards,
Nils
parallyze
Posts: 352
Joined: Fri Jun 05, 2015 4:18 am

Re: Format of "Build time: 1 hour 12 minutes" in Gcode

Hi,

just sliced some marvin keychains using chaotic settings to get various print times:

Code: Select all

; Build Summary
;   Build time: 0 hours 11 minutes
;   Filament length: 922.1 mm (0.92 m)
;   Plastic volume: 2217.83 mm^3 (2.22 cc)
;   Plastic weight: 2.75 g (0.01 lb)
;   Material cost: 0.05

Code: Select all

; Build Summary
;   Build time: 10 hours 47 minutes
;   Filament length: 65963.3 mm (65.96 m)
;   Plastic volume: 158660.22 mm^3 (158.66 cc)
;   Plastic weight: 196.74 g (0.43 lb)
;   Material cost: 3.92

Code: Select all

; Build Summary
;   Build time: 100 hours 12 minutes
;   Filament length: 154839.3 mm (154.84 m)
;   Plastic volume: 372432.24 mm^3 (372.43 cc)
;   Plastic weight: 461.82 g (1.02 lb)
;   Material cost: 9.21
Dual Extrusion does show the same summary, it's not split up between material a/b

Code: Select all

; Build Summary
;   Build time: 0 hours 18 minutes
;   Filament length: 2111.6 mm (2.11 m)
;   Plastic volume: 5078.90 mm^3 (5.08 cc)
;   Plastic weight: 6.33 g (0.01 lb)
;   Material cost: 0.13
Seems to be always the same "xxx hours yy minutes" pattern... ^^

There's an option to slow down print speed if layer print time is below x seconds, which also involves a min speed to print at.
While this can be found on top of the gcode file/header:

Code: Select all

;   adjustSpeedForCooling,1
;   minSpeedLayerTime,20
;   minCoolingSpeedSlowdown,65
...there seems to be no indication later on showing where the slow downs happened in the gcode apart from the feed rate used.
(no comment like "; slowed down because of min. layer time" or something like that)

Setting S3D to another language only shows localization of the summary inside the UI, gcode summary seems to be always in english.

Edit:
Tested with v4.1.2, 4.1.1, 4.0.0, 3.1.1 and 3.0.2 (all windows) - summary looks always the same. Don't know if there's differences between win/mac/linux, though... ^^

Return to “General Discussion and Tips”