/Scripts/gen_PragoBoard.sh
1,16 → 1,16
#!/bin/bash
 
## This script generate alternative data names (Required by some PCB manufacturers such as Pragoboard.cz)
## This script generate alternavive data names (Required by some PCB manufacturers such as Pragoboard.cz)
##
## Usage:
##
## Run this script with parameter of directory in which Gerber data is located.
## Run this script with prarameter of directory in which Gerber data is located.
##
## Example:
##
## ./gen_PragoBoard.sh /home/kaklik/svnMLAB/Modules/CommRF/GSM01A/CAM_PROFI/ GSM01A
## ./gen_PragoBoard.sh /home/kaklik/svnMLAB/Modules/CommRF/GSM01A/CAM_PROFI/
##
## This command generates new directory PragoBoard with these files:
## This comand generates new directory PragoBoard with these files:
## bot.gbr mill.gbr plt.gbr pth.exc smb.gbr smt.gbr top.gbr
##
##
34,11 → 34,11
 
# sources generated by KiCAD software
 
cp $2-F_Cu.gbr ./PragoBoard/top.gbr
cp $2-B_Cu.gbr ./PragoBoard/bot.gbr
cp $2-F_Mask.gbr ./PragoBoard/smt.gbr
cp $2-B_Mask.gbr ./PragoBoard/smb.gbr
cp $2-F_SilkS.gbr ./PragoBoard/plt.gbr
cp $2-F_Cu.gtl ./PragoBoard/top.gbr
cp $2-B_Cu.gbl ./PragoBoard/bot.gbr
cp $2-F_Mask.gts ./PragoBoard/smt.gbr
cp $2-B_Mask.gbs ./PragoBoard/smb.gbr
cp $2-F_SilkS.gto ./PragoBoard/plt.gbr
cp $2-Edge_Cuts.gbr ./PragoBoard/mill.gbr
cp $2.drl ./PragoBoard/pth.exc
cp $2-NPTH.drl ./PragoBoard/npth.exc #non plated holes