Giter Site home page Giter Site logo

chendo / bufferbuddy Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 2.0 49 KB

An Octoprint plugin that aims to improve print quality when printing over USB by ensuring the buffers stay filled.

Python 68.76% CSS 0.25% JavaScript 18.02% Less 0.28% HTML 12.67%

bufferbuddy's People

Contributors

chendo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fflosi silycr

bufferbuddy's Issues

Stops timelapses to early

Hello,

after a few days of tracing code in octoprint..... While running bufferbuddy octoprint finishes the print to early.

Depending on the buffersize config this will be more or less obvious, but mine are large enough that i have around 100 moves 'left' when the final m400 is send by octoprint.

because octoprint doesn't wait for all the buffers to drain on this point the printer is happily printing the finals lines while octoprint thinks the printer is finished.

tested this theory by adding 100 times M400 add the end of the file to make sure the buffer is completely filled with NO-OP's and then the timelapse is just fine.

i don't expect that this plugin can fix this, but it might be usefull to document it as knows issue with workaround

BufferBuddy sending multiple commands at a time with out receiving an OK causing the target to fall way behind, causing printer lockups or the host to initiates an Estop

Discussed here on the marlin Repo MarlinFirmware/Marlin#21119

We deduced that commands are doubling up causing the printer to far behind the host, eventually the host (octoprint) starts simulating OK messages, and as it rapidly fast further behind the host (Octoprint) will either initiate an emergency stop, or the printer will lock up leaving the heaters on.

Not sure if you're still working on this plugin but on large prints it causes them to fails because of the above as the target starts to fall way behind. Which is actually the reverse effect of what the plugin is trying to achieve.

BufferBuddy breaks RepRap protocol and Marlin

The protocol says that the next line should be only sent when the host receive 'ok' from the board:
https://reprap.org/wiki/G-code#Replies_from_the_RepRap_machine_to_the_host_computer

This plugin send more than one command at time. It generate unpredictable behaviour on Marlin.

Sum this plugin with the octo "simulated ok", and things will get really unpredictable. "Firmware didn't send an 'ok' with their resend request. That's a known bug with some firmware variants out there. Simulating an ok to continue..."

It would be a good addition to marlin, to support more than one command at time. But it's not the case of the current code.

Thanks for the project - want to contribute / beta test

Thank you for doing this. I saw your post in the Cura git issues thread. I will be using the plugin and reporting back any issues I find. My configuration:

printer: Sovol SV01 / Creality v2.2.1 silent board 32 bit
marlin: CopterTec 1.6.4 RC1 (https://github.com/CopterTec/Marlin-Sovol_SV01/releases) over Marlin 2.0.5.3
octoprint: 1.4.2 on Python 3.6.9 on Ubuntu 18.04.5 running on an Intel Computestick

Was using Cura 4.6.1 - upgraded to 4.7.1 and abandoned it for IdeaMaker 4.0.0 due to the quality issues. I have Cura 4.8.0 beta loaded and am starting more tests after I get some customer projects completed.

Best regards,

Mark

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.