CNC Eagle PCB File Configuration



The tool that converts a board in Eagle CAD to an isolation milling G-Code is called pcb-gcode. It is a plug-in for Eagle.

Installation


download pcbgcode

http://pcbgcode.org/list.php?12


extract and copy to a place that is writeable, for example: ~/eagle

open Eagle and in Eagle’s Control Panel, click Options | Directories, then put the path to pcb-gcode in the User Language Programs field.


Open a board in Eagle, then click File | Run.... Locate the folder where pcb-gcode is
and select pcb-gcode-setup.ulp.


Usage

In Eagle, click on File -> Run ULP


navigate to the file that is called pcb-gcode-setup.ulp and click ok.

Enter the parameters as needed and proceed to create the G-code files.

For a board named example, the following files would be created:

example.top.drill.tap
example.top.etch.tap
example.top.mill.tap

if you choose to make a two-sided board, then the according files for the bottom layer will be added.

example.bot.drill.tap
example.bot.etch.tap
example.bot.mill.tap


Milling Preparation

If you want to have the CNC machine cut out the board from a larger copper clad board, you'll have to add the milling layer.

In the board window, click on Wire

This will cause the select layer box to appear.


Select the milling layer (46) and draw an outline of the board that you want milled out later.

Also, check the box Generate milling in the pcb-gcode setup.




Here is an example of a board with a milling outline:









No comments:

Post a Comment