38 lines
1.3 KiB
Bash
Executable File
38 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
/usr/bin/pcb2gcode --voronoi=1 --onedrill --nom6 \
|
|
--nog64 \
|
|
--back *-B_Cu.gbl \
|
|
--front *-F_Cu.gtl \
|
|
--drill *-PTH.drl \
|
|
--outline *-Edge_Cuts.gm1 \
|
|
--metric --metricoutput --optimise --onedrill \
|
|
--zsafe 5 --zchange 5 --zcut -1.6 --cutter-diameter .7 --zdrill -1.65 \
|
|
--drill-feed 50 --drill-speed 24000 --offset 0.0 --mill-feed 100 --mill-speed 24000 --cut-feed 100 \
|
|
--cut-speed 24000 --zwork -0.04 --cut-infeed 2 --fill-outline=true \
|
|
--basename pcb \
|
|
--vectorial
|
|
#--preamble /home/giver/Focus/pcb/pcb2metalab/preamble.ngc \
|
|
#--postamble /home/giver/Focus/pcb/pcb2metalab/postamble.ngc \
|
|
|
|
|
|
|
|
|
|
/usr/bin/pcb2gcode --milldrill-diameter .7 --nom6 --min-milldrill-hole-diameter=3mm \
|
|
--nog64 \
|
|
--front *-F_Adhesive.gta \
|
|
--drill *-NPTH.drl \
|
|
--outline *-Edge_Cuts.gm1 \
|
|
--metric --metricoutput --optimise --onedrill \
|
|
--zwork -0.02 --zsafe 3 --zchange 5 --zcut -1.6 --cutter-diameter .85 --zdrill -1.8 \
|
|
--drill-feed 50 --drill-speed 24000 --offset 0.5 --mill-feed 50 --mill-speed 24000 --cut-feed 100 \
|
|
--cut-speed 24000 --cut-infeed 2 \
|
|
--basename pcbm --nog81 1 \
|
|
--vectorial --bridges=0.5000
|
|
|
|
#--preamble /home/giver/Focus/pcb/pcb2metalab/preamble.ngc \
|
|
#--postamble /home/giver/Focus/pcb/pcb2metalab/postamble.ngc \
|
|
for a in *ngc; do
|
|
sed "/M[025].*/d" < $a > $a.tap
|
|
done
|
|
rm *svg *ngc |