Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic changes to make use of gcode buffering improvements #298

Open
5 tasks done
woutgg opened this issue Feb 5, 2016 · 2 comments
Open
5 tasks done

Logic changes to make use of gcode buffering improvements #298

woutgg opened this issue Feb 5, 2016 · 2 comments

Comments

@woutgg
Copy link
Contributor

woutgg commented Feb 5, 2016

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'.

@peteruithoven
Copy link
Member

@woutgg
Copy link
Contributor Author

woutgg commented Feb 17, 2016

Only recent changes have been mentioned here, they should make a good starting point to find older changes (mainly in firmware and print3d) which facilitate the new ones though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants