Page 1 of 1

; **** end of end.gcode **** doesn't report filament length to Duet Web Control

Posted: Fri Dec 16, 2022 1:16 pm
by zemlin
These two footers were generated by the same factory file - one in V4.1.2, the other in V5
Not sure what's up with the build time estimate.
What prompted me to look at the footer was a file I'm running on a Duet2Wifi-based machine is not displaying a filament usage estimate.

DWC is looking for the "Filament length:" string - and I also discovered that on this one it is case sensitive. Length does not work. length does.


V4.1.2:
; **** end of end.gcode ****
; Build Summary
; Build time: 6 hours 31 minutes
; Filament length: 93838.3 mm (93.84 m)
; Plastic volume: 225707.51 mm^3 (225.71 cc)
; Plastic weight: 243.76 g (0.54 lb)
; Material cost: 15.60

V5
; **** end of end.gcode ****
; Build Summary
; Build Time: 335483040 hours -2147483648 minutes
; Material Length: 91672.6 mm (91.67 m)
; Material Volume: 220498.4 mm^3 (220.50 cc)
; Material Weight: 238.14 g (0.53 lb)
; Material Cost: 15.24

Re: ; **** end of end.gcode **** doesn't report filament length to Duet Web Control

Posted: Sat Dec 17, 2022 5:43 am
by joehuntyak
Same problem here. What Version of Duet Web Control and DuetFW do you run?
DuetFW: 2.04
DuetWC: 1.22.6

Re: ; **** end of end.gcode **** doesn't report filament length to Duet Web Control

Posted: Sat Dec 17, 2022 3:16 pm
by S3D-Jason
See my suggestion on a similar thread here:
viewtopic.php?t=16619

You could just add a few {REPLACE} commands to get the old syntax back.

Re: ; **** end of end.gcode **** doesn't report filament length to Duet Web Control

Posted: Sun Dec 18, 2022 7:51 am
by zemlin
A script change in the footer should not be necessary. S3D should conform to standards and not change things willy nilly that add no value and break functionality with 3D printers.