This commit is contained in:
cpu
2025-11-30 17:37:13 +01:00
parent 1e81b19b05
commit 7c752054c5
3 changed files with 17 additions and 15 deletions

View File

@@ -1,20 +1,15 @@
## 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)
* Select B.Cu (bottom copper) and Edge_Cuts (board outlines)
* Click Plot
* Then Generate Drill Files → Generate
Adapt milling and drilling parameters in `millproject`:
Adapt milling and drilling parameters in `millproject`. Look up [pcb2gcode/wiki](https://github.com/pcb2gcode/pcb2gcode/wiki) for help.
```bash
nano millproject
```
@@ -25,6 +20,9 @@ Then run:
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).
The `ngc` files for milling and drilling will be generated in the `gcode` directory (create it if it does not exist first).
Load the `ngc` file to `gSender` program for the fabrication.
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.