Page 1 of 1

Material Lenght / filament lenght

Posted: Fri Dec 16, 2022 3:07 am
by joehuntyak
Hello,
in the V4 in the file-ending the total amount was written in the following format:
; Filament length: 22092.0 mm (22.09 m)

now with V5 its the following:
; Material Length: 2524.3 mm (2.52 m)

The older Version of DuetWebInterface reads this file endings to show the needed filament length and the printing status as percentage.
But it only detects the old format, not the new.

Is there a possibility to correct this? Open every file with Notepad++ and search/replace is not what I want to use with a newer versiuon of a really good slicer.

Kind regards,
Tobias

Re: Material Lenght / filament lenght

Posted: Sat Dec 17, 2022 3:12 pm
by S3D-Jason
You could always add the following line to your post-processing script:
{REPLACE "; Material Length" "; Filament length"}

I bet the Duet code could also be updated to detect both formats.

Re: Material Lenght / filament lenght

Posted: Sun Dec 18, 2022 7:30 am
by joehuntyak
Hell Jason,

thank you for your answer.

I have tried it, with the correct syntax it does work:

post processing script:
{REPLACE "Material Length" "Filament length"}

About your suggestion to change in DuetFW: For a "nomal user" (working with G-Code, set machine parameters and so on.) it´s not possible to change the comparison word to detect the filament length.

Kind regards,
Tobias