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

Doesn't finish sending print to Makerbot? #177

Open peteruithoven opened 10 years ago

peteruithoven commented 10 years ago

Somehow, even though we have a retry system it sometimes seems to stop sending print parts to the Makerbot. Usually when the status request also times out.

chenhaixu commented 10 years ago

I met this problem too, it's basically happening every time for moderate size and big size model for which the sending to printer process should last for a while but didn't.

peteruithoven commented 10 years ago

This isn't something we have come across in recent tests, this might have to do with issue #216. If the issue also occurs when using he WiFi-Box in access point mode, it's not #216.

peteruithoven commented 10 years ago

I've been able to replicate this issue. Using version 0.10.4 and sending a big print Wordart "Wanhao Duplicator 4" sending the print progresses really slow so slow I've never let it complete. It never got beyond 23%. At some point it looked like it didn't print the right shape anymore. http://www.tempfiles.net/download/201407/350728/wifibox-logs-79.html

The latest (development) version seems to handle big files better, probably because buffering is done differently. It buffered until 57%, slower than Marlin printers but a lot faster than the 0.10.4 release. It never finishes sending, it sticks at 57% and the print is completed until there. There are no issues with the print itself. http://www.tempfiles.net/download/201407/350730/wifibox-logs-79.html screen shot 2014-07-02 at 16 12 44

peteruithoven commented 10 years ago

In the latest development version the printer/print call returns status fail status with buffer_full as data.status.

{"data":{"status":"buffer_full"},"msg":"could not add gcode","status":"fail"} 

So that's very useful. But we don't handle this yet in the interface. We should implement a fail handler that retries a send after a bigger delay. If I restart the sending process by calling printer.sendPrintPart(...,500); it continues again.

peteruithoven commented 10 years ago

Also interesting, we seem to have a fixed buffer of 3MB: #255

chenhaixu commented 10 years ago

Sounds like you guys have identified the cause and the solution. Could you please give a rough ETA about it, when am I going to get the new update, my buisness is relying on this, BETA version is ok for me. BTW, does Doodle3D have a partner relationship with a Chinese printer manufactoring company who produces below printer? Just out of curisity that I went a an 3d PRINT EXPO in China and saw below printer, and the guy from that company say they have partnership with doodle, their printer called drawing doodle or what.

Thanks in advanceHarrison


发件人:Peter Uithoven notifications@github.com 发送时间:2014年7月2日(星期三) 23:32 收件人:Doodle3D/doodle3d-client doodle3d-client@noreply.github.com 抄 送:chenhaixu chenhaixu_solo@aliyun.com 主 题:Re: [doodle3d-client] Doesn't finish sending print to Makerbot? (#177)

Also interesting, we seem to have a fixed buffer of 3MB: #255

— Reply to this email directly or view it on GitHub.

arneboon commented 9 years ago

related commit https://github.com/Doodle3D/print3d/commit/7813f1eec4aa23cdef0c4024ad7252346726189d