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,18 @@
#!/bin/bash
set -e
filename=$(basename -- "$1")
filename="${filename%.*}"
kicad-cli pcb export gerbers -o output -l B.Cu $1
kicad-cli pcb export gerbers -o output -l Edge.Cuts $1
kicad-cli pcb export drill -o output $1
mkdir -p gcode
docker run --rm -i -t -v ".:/data" ptodorov/pcb2gcode \
--back="output/$filename-B_Cu.gbl" \
--drill="output/$filename.drl" \
--outline="output/$filename-Edge_Cuts.gm1"