svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
696 stars 176 forks source link

G2/G3 don't recognize P(full circle) parameter #416

Closed zengfanfan closed 2 months ago

zengfanfan commented 2 months ago

How ?

open the attached file, which includes a 540°(1.5 circle) arc.

Bugs

1: the preview image only shows 0.5 circle; 2: it runs 0.5 circle in simulation, but 1.5 circle in real machine.

preview: image

test file: bug.gcode.txt

svenhb commented 2 months ago

Too bad, the P-value in G2 X165.0 Y132.0 I44 J22 P2 is not supported by original grbl (https://github.com/gnea/grbl) and also not supported by GRBL-Plotter. Original grbl gives this error:

< error:36  Unused value words found in block.
! Last processed 'G2X165.0Y132.0I44J22P2'  line-Nr:24

Can't you use a post-processor to avoid the P-word?

zengfanfan commented 2 months ago

ok.