## Exporting gcode files from KiCad

Adapt milling and drilling parameters in `millproject`. Look up [pcb2gcode/wiki](https://github.com/pcb2gcode/pcb2gcode/wiki) for help.
```bash
nano millproject
```

Run the export by providing the `.kicad_pcb` file as a first argument:

```bash
chmod +x export.sh
./export.sh Step_Down_Carrier_Board.kicad_pcb
```
The script will first generate gerber files in the `output` directory and then convert them into `ngc` format in the `gcode` directory.

Launch the `gSender` program.
*   Load the `drill.ngc` file for drilling holes.
*   Load the `outline.ngc` file for milling the board outlines.
*   Load the `back.ngc` file if you want to mill the isolation traces.