API to get filament used or extruder moved distance during print

(I post here since no response in Feature Requests)

I would like to implement filament jam detection function by an external python script. I am looking for getting the filament used or extruder moved distance during print. But search all API document did not found any way to get the filament usage real-time.

Request to add filamentUsage or extruderUsage output in API listPrinter or stateList.

Comments

  • Adding it there will add much communication all the time. So that is not really what I'd like to do.
    Maybe a separate command so it only gets queried if really wanted.
  • Great! Looking forward to having this counter value from API.

    Thanks!
Sign In or Register to comment.