Added PCB generate script

This commit is contained in:
C3MA Room 2024-04-03 21:21:04 +02:00
parent 7e347ca442
commit a433406e1f
2 changed files with 11 additions and 0 deletions

3
tuer/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.gbr
*.ngc
*.png

8
tuer/gerber/generatePCB.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# Needs the tool pcb2gcode
# Was documented at: http://marcuswolschon.blogspot.de/2013/02/milling-pcbs-using-gerber2gcode.html
MILLSPEED=600
MILLFEED=200
PROJECT=tuer
pcb2gcode --back $PROJECT-B_Cu.gbr --metric --zsafe 5 --zchange 10 --zwork -0.01 --offset 0.02 --mill-feed $MILLFEED --mill-speed $MILLSPEED --drill $PROJECT-PTH.drl --zdrill -2.5 --drill-feed $MILLFEED --drill-speed $MILLSPEED --basename $PROJECT --drill-front