Added CNC mill and drill project configuration, scripts and examples

This commit is contained in:
cpu
2025-11-30 16:37:56 +01:00
parent 2497f1e203
commit 1e81b19b05
54 changed files with 118590 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
## 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.