MarcusWolschon / PCBZCorrect

Java program for PCB milling on a CNC. Alters the g-code output by PCB2GCode with multiple z probe meassurements for not perfectly planar mounted PCBs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

line too long

MarcusWolschon opened this issue · comments

from:
http://www.cnczone.com/forums/pcb_milling/82628-cheap_simple_height-probing.html#post1362966

I tried your software this past weekend Marcus, I got an error message from Mach3.
"Line too long"

This is the offending line at the top of my modified gcode file:
(Inch Mode)
G20
(Absolute Coordinates)
G90
G00 X0 Y0 Z[179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + #3 + 1_#104 + 0_#109]
M03
G04 P0.000000

Is it a bug?

Here is the original Gcode:
(Inch Mode)
G20
(Absolute Coordinates)
G90
G00 X0.0000 Y0.0000
M03
G04 P0.000000

fixed in source

Tested and works, thank you.

One suggestion I changed line 109
from north.setLayout(new GridLayout(3, 2));
to north.setLayout(new GridLayout(4, 2));