Skip to content

Logic changes to make use of gcode buffering improvements #298

@woutgg

Description

@woutgg

With the modifications to print3d's GCodeBuffer (details here, integration in progress), it is now possible for the server to perform several sanity checks while appending code as well as rejecting new code when the buffer is full.

Steps to take

For this to work though, the client should undergo some changes:

  • API docs on the wiki should be updated with the new metadata fields (in requests) as well as new possible errors (in responses);
  • it should handle errors when sending GCode - this is currently being ignored, see here;
  • moreover, it should deal with rejections when the buffer is full, possibly by exposing getMaxBufferSize through the API somehow, so the client can fill up the buffer and wait until it drops below a certain percentage (e.g. to 100%, back to 60%, fill back up again, etc.);
  • although not something to be done in the client itself, with a small change in print3d, accuracy of printing progress could be improved (details here);
  • it should send sequence number (and perhaps also total number of chunks) with each GCode part, to fix Check print/stop parts order #226 (so we can leave the stop button enabled - it is currently disabled while sending).

Related issues

Where appropriate, links are marked with 'unsure'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions