nraynaud / webgcode

Online G-Code simulator, controller code for STM32F4-Discovery and google chrome extension to send the code to it.
http://nraynaud.github.io/webgcode/webapp/visucamTest.html#/
Other
373 stars 162 forks source link

Circular interpolation arcs end early #10

Closed slindberg closed 7 years ago

slindberg commented 7 years ago

Thanks for the awesome tool, I'm using it to proof my G-code before trying it on a real CNC. I don't know if I'm missing something, but it appears that circular interpolation endpoints aren't completed properly when followed by a G0 or a G1. I think it's easiest to just show you an example. Pasting that code into the simulator, you can see that arcs in the XY plane terminate early, and the G0 to the clearance plane (Z0.25) is diagonal instead of vertical. This happens on the bottom of the eyes as well, when a G2 is followed by a G1.

nraynaud commented 7 years ago

Thanks for the report with the nice repro, that looks buggy to me too.

nraynaud commented 7 years ago

wait, I didn't mean to close it.

nraynaud commented 7 years ago

Can you check that I fixed it please?

slindberg commented 7 years ago

Looks like that did it! Thanks again for the great tool.