Milling PCB's using GCode from pcb2gcode and others

Discussion/questions about software used with your CNC Shark and programming issues

Moderators: al wolford, sbk, Bob, Kayvon

Post Reply
gbeauw
Posts: 2
Joined: Tue Sep 04, 2012 7:25 pm

Milling PCB's using GCode from pcb2gcode and others

Post by gbeauw »

Has anyone tried milling PCB's using their CNC Shark Pro HD?

The software package "pcb2gcode" as well as others such as FlatCAM, CopperCAM, etc. all can generate GCode from Gerber files to mill PCB's. However, most of them output Mach3 GCode. Can Mach3 GCode be used on the Shark? Is there a complete list of GCodes that are supported by the Controller that I can find so I can manually check the GCode from the above packages to see if they look OK. (Of course the final test is to try to cut some air but that's not a perfect way to check compatibility.)

jeb2cav
Site Admin
Posts: 1524
Joined: Thu Sep 30, 2010 7:04 pm
Location: Kentucky
Contact:

Re: Milling PCB's using GCode from pcb2gcode and others

Post by jeb2cav »

This topic may be of some use, but it is also 4+ years now since I really looked - http://cncsharktalk.com/viewtopic.php?f ... 97&p=10186 - but in the end I'm not aware that NWA has published an authoritative list of supported G Code commands.

If you do ask support about this and they provide a list - please post to the forum. Good luck.

mphwoodwerks
Posts: 2
Joined: Wed Feb 01, 2017 10:17 pm

Re: Milling PCB's using GCode from pcb2gcode and others

Post by mphwoodwerks »

FlatCAM gcode seems to run unmodified. It omits the stop at the end. Using DipTrace free version I can manage SOIC outlines and pads 0603 and larger.

Rando
Posts: 757
Joined: Tue Jan 06, 2015 3:24 pm
Location: Boise, ID
Contact:

Re: Milling PCB's using GCode from pcb2gcode and others

Post by Rando »

All

Also, I've used the EAGLE (now part of AutoDesk) export add-on to successfully machine boards direct from designs on the Sharks.
If you do PCB design, do that export BEFORE you do the "copper pour", since the export effectively does that.
I don't recall having to do anything special to the GCode besides verifying it before running it. The drill pattern, I think I used
what they put out, since I was aghast that they didn't do any pecking, but okay that it turned out perfect in the end ;-).

Cheers!

Thom
=====================================================
ThomR.com Creative tools and photographic art
A proud member of the Pacific Northwest CNC Club (now on Facebook)

User avatar
Kayvon
Posts: 552
Joined: Tue Oct 21, 2014 11:46 pm

Re: Milling PCB's using GCode from pcb2gcode and others

Post by Kayvon »

I've never exported directly from Eagle CAD to the CNC machine, but I've exported from Eagle for VCarve, then used Vcarve to generated the gcode for the CNC. I've done a few circuit boards this way, including a custom touch-plate that works by USB rather than the more expensive "proper" solution.

Post Reply