Hey all, I'm sort of new to this,

Hey all, I’m sort of new to this, so please forgive me if this problem has been solved. i’ve been looking but haven’t found it posted.

i’m having a problem with drill sizes being milled out with the eagle brd importer. simple put here is a picture of what the board was supposed to be milled out as; (screen shot of chillipeppr’s render) but ended up as (picture of pcb)…

everything was working fine, then none of the boards wholes were getting milled right. so i made a little test board (which is what this is). I dont remember change changing either setting or any step of the process from when it was working. i’m including the gcode. thank you in advance so much for your help. i’m guessing it’s probably just a newbie error… thanx for your time.
(gcode:

(Gcode generated by ChiliPeppr Eagle PCB Widget 2/3/2018, 3:54:20 PM)
G21 (mm mode)
G90 (abs mode)
(------ DRILLING HOLES -------)
M5 (spindle off)
T1 M6 (Drilling holes - diameter 0.3mm)
(T1 D=0.3mm - PCB Drill Bit)
M3 S12000 (spindle on)
F80
G0 Z5
G0 X36 Y12.5
G0 Z0.5
G1 Z-1.7
G0 Z5
M5 (spindle off)
T2 M6 (Drilling holes - diameter 0.6mm)
(T2 D=0.6mm - PCB Drill Bit)
M3 S12000 (spindle on)
F80
G0 Z5
G0 X23 Y11
G0 Z0.5
G1 Z-1.7
G0 Z5
G0 X23 Y9
G0 Z0.5
G1 Z-1.7
G0 Z5
M5 (spindle off)
T3 M6 (Drilling holes - diameter 0.8mm)
(T3 D=0.8mm - PCB Drill Bit)
M3 S12000 (spindle on)
F80
G0 Z5
G0 X22.02 Y14.58
G0 Z0.5
G1 Z-1.7
G0 Z5
G0 X24.56 Y14.58
G0 Z0.5
G1 Z-1.7
G0 Z5
M5 (spindle off)
T4 M6 (Drilling holes - diameter 1.0mm)
(T4 D=1.0mm - PCB Drill Bit)
M3 S12000 (spindle on)
F80
G0 Z5
G0 X51.5 Y19
G0 Z0.5
G1 Z-1.7
G0 Z5
G0 X51.5 Y16.5
G0 Z0.5
G1 Z-1.7
G0 Z5
G0 X51.5 Y14
G0 Z0.5
G1 Z-1.7
G0 Z5
(------ MILLING HOLES -------)
M5 (spindle off)
T5 M6 (Milling holes/board dimensions)
(T5 D=1mm - PCB End Mill)
M3 S12000 (spindle on)
F8
(generate hole at x:16.1100 y:18.9300 with dia:2.0000 in 4 passes)
F8
G0 Z5
G0 X15.61 Y18.93
G1 Z-0.5000
G3 X15.61 Y18.93 I0.5000
G1 Z-1.0000
G3 X15.61 Y18.93 I0.5000
G1 Z-1.5000
G3 X15.61 Y18.93 I0.5000
G1 Z-1.7000
G3 X15.61 Y18.93 I0.5000
G0 Z5
(generate hole at x:29.4100 y:3.8300 with dia:1.1176 in 4 passes)
F8
G0 Z5
G0 X29.3512 Y3.83
G1 Z-0.5000
G3 X29.3512 Y3.83 I0.0588
G1 Z-1.0000
G3 X29.3512 Y3.83 I0.0588
G1 Z-1.5000
G3 X29.3512 Y3.83 I0.0588
G1 Z-1.7000
G3 X29.3512 Y3.83 I0.0588
G0 Z5
(generate hole at x:26.8700 y:3.8300 with dia:1.1176 in 4 passes)
F8
G0 Z5
G0 X26.8112 Y3.83
G1 Z-0.5000
G3 X26.8112 Y3.83 I0.0588
G1 Z-1.0000
G3 X26.8112 Y3.83 I0.0588
G1 Z-1.5000
G3 X26.8112 Y3.83 I0.0588
G1 Z-1.7000
G3 X26.8112 Y3.83 I0.0588
G0 Z5
(generate hole at x:24.3300 y:3.8300 with dia:1.1176 in 4 passes)
F8
G0 Z5
G0 X24.2712 Y3.83
G1 Z-0.5000
G3 X24.2712 Y3.83 I0.0588
G1 Z-1.0000
G3 X24.2712 Y3.83 I0.0588
G1 Z-1.5000
G3 X24.2712 Y3.83 I0.0588
G1 Z-1.7000
G3 X24.2712 Y3.83 I0.0588
G0 Z5
(generate hole at x:11.1400 y:18.9300 with dia:2.0000 in 4 passes)
F8
G0 Z5
G0 X10.64 Y18.93
G1 Z-0.5000
G3 X10.64 Y18.93 I0.5000
G1 Z-1.0000
G3 X10.64 Y18.93 I0.5000
G1 Z-1.5000
G3 X10.64 Y18.93 I0.5000
G1 Z-1.7000
G3 X10.64 Y18.93 I0.5000
G0 Z5
(generate hole at x:38.8400 y:5.2500 with dia:2.9972 in 4 passes)
F8
G0 Z5
G0 X37.8414 Y5.25
G1 Z-0.5000
G3 X37.8414 Y5.25 I0.9986
G1 Z-1.0000
G3 X37.8414 Y5.25 I0.9986
G1 Z-1.5000
G3 X37.8414 Y5.25 I0.9986
G1 Z-1.7000
G3 X37.8414 Y5.25 I0.9986
G0 Z5
(generate hole at x:44.8400 y:5.2500 with dia:2.9972 in 4 passes)
F8
G0 Z5
G0 X43.8414 Y5.25
G1 Z-0.5000
G3 X43.8414 Y5.25 I0.9986
G1 Z-1.0000
G3 X43.8414 Y5.25 I0.9986
G1 Z-1.5000
G3 X43.8414 Y5.25 I0.9986
G1 Z-1.7000
G3 X43.8414 Y5.25 I0.9986
G0 Z5
(generate hole at x:41.8400 y:9.9500 with dia:2.9972 in 4 passes)
F8
G0 Z5
G0 X40.8414 Y9.95
G1 Z-0.5000
G3 X40.8414 Y9.95 I0.9986
G1 Z-1.0000
G3 X40.8414 Y9.95 I0.9986
G1 Z-1.5000
G3 X40.8414 Y9.95 I0.9986
G1 Z-1.7000
G3 X40.8414 Y9.95 I0.9986
G0 Z5
(generate hole at x:15.8800 y:9.7500 with dia:5.4000 in 4 passes)
F8
G0 Z5
G0 X13.68 Y9.75
G1 Z-0.5000
G3 X13.68 Y9.75 I2.2000
G1 Z-1.0000
G3 X13.68 Y9.75 I2.2000
G1 Z-1.5000
G3 X13.68 Y9.75 I2.2000
G1 Z-1.7000
G3 X13.68 Y9.75 I2.2000
G0 Z5
(generate hole at x:7.9800 y:9.7500 with dia:5.4000 in 4 passes)
F8
G0 Z5
G0 X5.78 Y9.75
G1 Z-0.5000
G3 X5.78 Y9.75 I2.2000
G1 Z-1.0000
G3 X5.78 Y9.75 I2.2000
G1 Z-1.5000
G3 X5.78 Y9.75 I2.2000
G1 Z-1.7000
G3 X5.78 Y9.75 I2.2000
G0 Z5
(generate hole at x:43.0900 y:18.2900 with dia:1.8000 in 4 passes)
F8
G0 Z5
G0 X42.69 Y18.29
G1 Z-0.5000
G3 X42.69 Y18.29 I0.4000
G1 Z-1.0000
G3 X42.69 Y18.29 I0.4000
G1 Z-1.5000
G3 X42.69 Y18.29 I0.4000
G1 Z-1.7000
G3 X42.69 Y18.29 I0.4000
G0 Z5
(generate hole at x:35.1900 y:18.2900 with dia:1.8000 in 4 passes)
F8
G0 Z5
G0 X34.79 Y18.29
G1 Z-0.5000
G3 X34.79 Y18.29 I0.4000
G1 Z-1.0000
G3 X34.79 Y18.29 I0.4000
G1 Z-1.5000
G3 X34.79 Y18.29 I0.4000
G1 Z-1.7000
G3 X34.79 Y18.29 I0.4000
G0 Z5
(generate hole at x:33.9900 y:3.0500 with dia:1.1176 in 4 passes)
F8
G0 Z5
G0 X33.9312 Y3.05
G1 Z-0.5000
G3 X33.9312 Y3.05 I0.0588
G1 Z-1.0000
G3 X33.9312 Y3.05 I0.0588
G1 Z-1.5000
G3 X33.9312 Y3.05 I0.0588
G1 Z-1.7000
G3 X33.9312 Y3.05 I0.0588
G0 Z5
(generate hole at x:33.9900 y:5.5900 with dia:1.1176 in 4 passes)
F8
G0 Z5
G0 X33.9312 Y5.59
G1 Z-0.5000
G3 X33.9312 Y5.59 I0.0588
G1 Z-1.0000
G3 X33.9312 Y5.59 I0.0588
G1 Z-1.5000
G3 X33.9312 Y5.59 I0.0588
G1 Z-1.7000
G3 X33.9312 Y5.59 I0.0588
G0 Z5
(generate hole at x:33.9900 y:8.1300 with dia:1.1176 in 4 passes)
F8
G0 Z5
G0 X33.9312 Y8.13
G1 Z-0.5000
G3 X33.9312 Y8.13 I0.0588
G1 Z-1.0000
G3 X33.9312 Y8.13 I0.0588
G1 Z-1.5000
G3 X33.9312 Y8.13 I0.0588
G1 Z-1.7000
G3 X33.9312 Y8.13 I0.0588
G0 Z5
(generate hole at x:27.9900 y:11.2200 with dia:3.3020 in 4 passes)
F8
G0 Z5
G0 X26.839 Y11.22
G1 Z-0.5000
G3 X26.839 Y11.22 I1.1510
G1 Z-1.0000
G3 X26.839 Y11.22 I1.1510
G1 Z-1.5000
G3 X26.839 Y11.22 I1.1510
G1 Z-1.7000
G3 X26.839 Y11.22 I1.1510
G0 Z5
(generate hole at x:4.0500 y:18.7200 with dia:3.0480 in 4 passes)
F8
G0 Z5
G0 X3.026 Y18.72
G1 Z-0.5000
G3 X3.026 Y18.72 I1.0240
G1 Z-1.0000
G3 X3.026 Y18.72 I1.0240
G1 Z-1.5000
G3 X3.026 Y18.72 I1.0240
G1 Z-1.7000
G3 X3.026 Y18.72 I1.0240
G0 Z5
(------ FOOTER -------)
G0 Z5
M5 (spindle stop)
M30 (prog stop)

Under Gcode Tab, Drilling Tab change the field titled “Maximum hole diameter to drill” to the size of your largest drill bit, any holes with diameter larger than this value will be milled by cutting tool, so you need to change the tool before you proceed.
The gcode you shared look normal, milling paths are generated for any holes larger than 1mm which the default.

@ameen.nihad thank you for getting back to me. i believe that is how it is set. the holes for the anderson power poles are about 5mm so it should have definitely milled them. is it possible i messed up some arc setting or something?

i just tried it again. this time taping a marker and transparency instead of wasting more fr4. i noticed that even the if you follow along on the screen it doesn’t mill the circles. so i captured the screen (“4” link included in the post) and before hitting play i scroll thru the settings. p.s., since the drilling part works just fine i created another text brd and including the gcode created for it.

gcode:

(Gcode generated by ChiliPeppr Eagle PCB Widget 2/4/2018, 2:52:04 PM)
G21 (mm mode)
G90 (abs mode)
(------ DRILLING HOLES -----)
(------ MILLING HOLES -----)
M5 (spindle off)
T1 M6 (Milling holes/board dimensions)
(T1 D=1mm - PCB End Mill)
M3 S12000 (spindle on)
F80
(generate hole at x:16.5100 y:20.3200 with dia:2.0000 in 1 passes)
F80
G0 Z5
G0 X16.01 Y20.32
G1 Z-0.1000
G3 X16.01 Y20.32 I0.5000
G0 Z5
(generate hole at x:7.6200 y:20.3200 with dia:4.1910 in 1 passes)
F80
G0 Z5
G0 X6.0245 Y20.32
G1 Z-0.1000
G3 X6.0245 Y20.32 I1.5955
G0 Z5
(generate hole at x:8.7500 y:7.7400 with dia:5.4000 in 1 passes)
F80
G0 Z5
G0 X6.55 Y7.74
G1 Z-0.1000
G3 X6.55 Y7.74 I2.2000
G0 Z5
(generate hole at x:16.6500 y:7.7400 with dia:5.4000 in 1 passes)
F80
G0 Z5
G0 X14.45 Y7.74
G1 Z-0.1000
G3 X14.45 Y7.74 I2.2000
G0 Z5
G0 Z5
(dimensions)
G0 X-0.5 Y0
G0 Z0
(step down 0.5 for new z -0.1)
G1 Z-0.1 F30
F80
G1 X-0.5 Y26
G2 X0 Y26.5 I0.5 J0
G1 X34 Y26.5
G2 X34.5 Y26 I0 J-0.5
G1 X34.5 Y0
G2 X34 Y-0.5 I-0.5 J0
G1 X0 Y-0.5
G2 X-0.5 Y0 I0 J0.5
(------ FOOTER ------)
G0 Z5
M5 (spindle stop)
M30 (prog stop)

Can you share the eagle file you used in the video?
The first gcode you posted should work fine but the second one is definitely wrong, once you share the .brd file I will try to reproduce the issue and see what’s causing it.

@ameen.nihad no problem. here is the one from the video. tonight i’ll also do a ‘sharpi run thru’ with a board that i’m actually trying to make. not sure if it’s related but about the same time i started having this issue i started having issues with the widget not acknowledging polygons. i read tho all the posts that i could find and went back and double checked and everything named right, and dimensions are there etc. and yet when a trace enters a poligon the widget will litterally outline only the trace with an abrupt end where it would otherwise enter polygon. everything seemed to be working fine then all of a suden. tho i have yet to go back and see if someone of my old designs that did work are now in the same boat. i will do that tonight as well… in the meantime here’s the link to the brd file i used in the video. i should note that i specifically chose components with holes larger than 1mm, and even included a large round pad as i was going to see what happened if i used the solder mask component (had an idea that maybe the tiny g is having issues with arcs or something)

thank you sooo much again, not only for ur help but also ur hard and really awesome contribution :slight_smile:
https://drive.google.com/open?id=1O3CKvyrR9paaiKHM4iK9W8AN9BZWLihY

There is something wrong with G3 commands generated by the widget when the command is for full circle! It used to work fine, apparently a recent update related to GRBL is causing this issue, as a quick workaround you can delete XY values from any G3 command and leave only JI values, like this:
G3 X10.64 Y18.93 I0.5000
G3 I0.5000

G3/G4 are a bit difficult for me to understand and remember, I’ll try to find a solution after doing some research, to make sure the solution will work with all supported controllers.

@ameen.nihad do u have any recommendations for a simple gcode editor (preferrably for mac) … i’m trying to do it in textedit and even with fine-replace it’s driving me mac. lol

I also use text editor, I don’t know if there is a gcode editor!
@jlauer from Eagle widget is there a way to check if we are generating gcode for tinyg or grbl?

@ameen.nihad I suppose the best way is just inspect the URL like window.location in Javascript.

I made a quick fix for this issue, G3 for milling hole will be generated as in the following examples:

on grbl or jpadie workspaces:
G3 X16.01 Y20.32 I0.5000

any other workspaces:
G3 I0.5000

@clinton_r this should solve your issue.

@ameen.nihad thank you soo much… for the fix as well as a great widget.