## Exporting gcode files from gerber

Adapt milling and drilling parameters in `millproject`:
```bash
nano millproject
```

First, generate gerber files. These are the same used to order from a vendor. There are no specific settings, just:

KiCad PCB Editor → File → Fabrication Outputs → Gerbers

*	Set "Output directory" to "gerbers/"
*	Select only B.Cu (bottom copper)
*	Click Plot
*	Then Generate Drill Files → Generate

Adapt milling and drilling parameters in `millproject`:
```bash
nano millproject
```

Then run:

```bash
docker run --rm -i -t -v ".:/data" ptodorov/pcb2gcode
```

The `.ngc` files for milling and drilling will be generated in the `gcode` directory (must exist).

Load the `ngc` file to `gSender` program for the fabrication.
