Generating of board

This commit is contained in:
ollo 2018-12-07 21:03:54 +01:00
parent b923fcc1a9
commit c20a675745
2 changed files with 12 additions and 0 deletions

4
board/gerber/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.gbr
*.drl
*.ngc
*.png

8
board/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=LEDatmega
pcb2gcode --front $PROJECT-F.Cu.gbr --back $PROJECT-B.Cu.gbr --metric --zsafe 5 --zchange 10 --zwork -0.01 --offset 0.02 --mill-feed $MILLFEED --mill-speed $MILLSPEED --drill $PROJECT.drl --zdrill -2.5 --drill-feed $MILLFEED --drill-speed $MILLSPEED --basename $PROJECT