joehuntyak
Posts: 4
Joined: Fri Dec 16, 2022 2:59 am

Material Lenght / filament lenght

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
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Material Lenght / filament lenght

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.
joehuntyak
Posts: 4
Joined: Fri Dec 16, 2022 2:59 am

Re: Material Lenght / filament lenght

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

Return to “Troubleshooting and Bug Reports”