Doodle3D / print3d

The application that runs on a Doodle3D WiFi box that communicates with printers.
www.doodle3d.com
GNU General Public License v2.0
13 stars 4 forks source link

Report more accurate printing progress #34

Open woutgg opened 8 years ago

woutgg commented 8 years ago

With GCode buffering improvements currently being integrated, it becomes possible for clients to set the total of lines to be buffered beforehand. To report more accurate progress (esp. with large prints), it would be good to use this number (if set by client) instead of current behaviour where the number of buffered lines so far is used.

A possible implementation would be to (don't mind the naming proposals):

woutgg commented 8 years ago

Update: the improvements do not actually make this possible, so a new parameter (e.g. total_lines) would have to be added to the printer/print API endpoint in firmware. With that information, the part about possible implementation can be done.

woutgg commented 8 years ago

This has been implemented. See: client changes, firmware changes and print3d changes here and here.