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
647 stars 172 forks source link

Error Messages in gode parsing #332

Closed kjk25 closed 1 year ago

kjk25 commented 1 year ago

when i create with coopercam gcode it add text for the tool information like

G00 Z1 M05 ( Tool https://github.com/svenhb/GRBL-Plotter/issues/6 "Bohrer 0.8mm" / Diameter 0.8 mm ) T6 M06 M03 S32

the gbrl-plotter parser reprts error in row xyz can i prevent this anyhow?

svenhb commented 1 year ago

The '#' sign is an indicator for a variable, unfortunatly I don't check if this sign appears inside a comment. Will fix this. As a workarround, don't use '#' inside a comment :-)

svenhb commented 1 year ago

Should be fixed now: https://github.com/svenhb/GRBL-Plotter/releases

kjk25 commented 1 year ago

i use Version 1.6.9.2 in the meantime i changed coopercam language to german, then you get in the output no # But then your parser will not recognize it, becorse i think you search for "Tool"

maybe it is possible to store the Previous line in a buffer and when the next line is a Tx Mx show dialog and comment ? perhaps you can create a checkmark for use Toolset yes,no in settings, if you like to use your tools set with all parameters for the toolchange or display only the comment.

i would like to use your toolset when a Tx Mx is recognized with a dialg to change to Tool Nr..xxx

G21 G40 G54 G80 G90 G94 ( Werkzeug Nr. 1 "Universalfraeser 0.2mm" / Durchmesser 0.2 mm ) T1 M06 M03 S32 G00 Z1 G00 X49.936 Y19.329 G01 F180 Z-1.2

when i change to english with the Tool it worked like expected, grafik

but i can't execute the toolchange script, where i move to toolchange position what is on my machine x0,y0,z1 would be cool to have the flexibility to use still scripts

grafik

all the best Kai