Files
svg2stl/examples/CNC_mill_drill_from_KiCad/Readme.md
2026-06-07 15:19:45 +02:00

20 lines
722 B
Markdown

## 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 `gcode/drill.ngc` file for drilling holes.
* Load the `gcode/outline.ngc` file for milling the board outlines.
* Load the `gcode/back.ngc` file if you want to mill the isolation traces.