Doodle3D / WiFi-Box

The Doodle3D WiFi-Box for wireless 3D-printing
GNU General Public License v3.0
3 stars 1 forks source link

Test stopping big file (>4MB) to Wanhao #5

Closed peteruithoven closed 8 years ago

peteruithoven commented 8 years ago
  1. Update the box to the latest beta version (also Remove sketches and settings).
  2. Through the Doodle3D client settings window change the Log level to Bulk.
  3. Let the Doodle3D send more gcode; In Chrome or Firefox, open the Web console. Paste the following and press enter.
    MAX_POINTS_TO_PRINT = Printer.MAX_GCODE_SIZE = 999999999999999999999;
    Keep this Web console open.
  4. Make a big drawing (lot's of text, extruded high)
  5. Try the following 4 times, preferably without restarting the WiFi-Box (or the printer).:
    1. In the doodle3d client press the Print button.
    2. First two times: Press stop while still sending print.
      Last two times: press stop after finished sending.

After each print (fails):

olijf commented 8 years ago

Print using fw 0.10.10-c

Wanhao stopping.zip

It seems the Wanhao never stops, even with smaller prints

peteruithoven commented 8 years ago

(It does stop printing, but it doesn't seem to execute the end gcode)

olijf commented 8 years ago

Yes, although according to the logs it looks like the ending gcode is actually sent to the printer!

woutgg commented 8 years ago

Just for reference, there is an issue about this observance: https://github.com/Doodle3D/print3d/issues/40. Also note that the currently used printer buffer space can be seen in the print3d logs.

woutgg commented 8 years ago

I noticed that we now have logs of exactly which bytes are being written to the printer, so maybe with the knowledge of how much is data is left in the buffer we could figure out the actual bytes and run that through the s3g decompiler to find out where it gets stuck?

peteruithoven commented 8 years ago

@olijf Could you try this once again, with the stable firmware, with a regular sized sketch? I'd like to check / confirm if this changed with this release or this was a existing bug.

olijf commented 8 years ago

Print using non-beta 0.10.10

I tested the Wanhao using the normal firmware just to test if this wasn't an issue. It seems the stop function works properly on this firmware.

wanhao stopping regular firmware.zip

peteruithoven commented 8 years ago

@olaf you tested this with the beta a couple of times, but didn't include the log files?

olijf commented 8 years ago

@peteruithoven If I am not mistaken these are all included in the zip file

peteruithoven commented 8 years ago

@olijf maybe I'm not looking correctly but I'm only finding one wifibox-logs in the Wanhao stopping.zip file.

peteruithoven commented 8 years ago

Also see: #40

peteruithoven commented 8 years ago

@olijf There migth be a issue with the Makerbot end-gcode. Could you try commenting the following lines from the makerbot end gcode and trying to stop a print again? Please try commenting these one by one and attempting to stop the printer untill it works. If it starts stopping properly please try reenabling some lines again. Between each test reboot the WiFi-Box and 3D printer, this is to prevent code sticking in buffers.

You can comment by adding a ; at the beginning of the line. Please try this with the latest beta release. (I'm not sure why this would only affect our beta.)

jeroensomers commented 8 years ago

@peteruithoven I commented the following two lines:

After this the print stops normally like it should.