paukstelis / Octoprint-Cancelobject

104 stars 11 forks source link

Cura: line ;MESH:ENDGCODE omits correct filament display in OctoPrint #63

Open domhardt opened 3 years ago

domhardt commented 3 years ago

As soon as I include the line ;MESH:ENDGCODE in Cura 4.8 at the end gcode section (as described in the Cancelobject configuration section), OctoPrint 1.5.1 won't show the correct filament amount in the 'Files' section any more.

While Cura will still show the correct amount (e.g., 4g 1.35m for a xyz calibration cube), OctoPrint will state 'Filament: 0.0m / 0.0cm³' for file when uploaded.

OctoPrint will show the correct filament amount if I include a space in the line (; MESH:ENDGCODE) but I don't know if the Cancelobject plugin will work with that.

PS It could be that the displayed filament amount is a feature of the PrintTimeGenius plugin I also use.

domhardt commented 3 years ago

Here the screenshots. Please find the corresponding gcode files attached.

;MESH:ENDGCODE:

DefaultLine

; MESH:ENDGCODE:

LineInclSpace

gCodeFiles.zip