Doodle3D / doodle3d-client

The Doodle3D web interface that people can access on computers or tablets to draw doodles and control the Doodle3D WiFi box.
www.doodle3d.com
GNU General Public License v2.0
3 stars 8 forks source link

Retrieve last few printed gcode commands through API #233

Open peteruithoven opened 10 years ago

peteruithoven commented 10 years ago

To visualize what the printer is doing applications need access to the gcode. Because the webserver on the box can't handle sending the whole file at once it would be interesting to log the last few executed gcode lines. This could be a printer/gcodetail endpoint, with arguments like num_lines (which should be limited).

I'm not sure whether this will be possible for the Makerbot, since we convert this to the makerbot format when we retrieve it through the api.

woutgg commented 10 years ago

We could implement the limited gcode retention into the GcodeBuffer. For various reasons, we should modify the makerbot driver to use that class as well, which would then automatically add this feature.