{HEADER END}
{FILE START}

MLAB

[/] [Scripts/] [gen_PragoBoard.sh] - Revize 3294

Přejdi na současnou revizi

Porovnej s předchozí - Blame - Stáhnout jako soubor

#!/bin/bash

## This script generate alternavive data names (Required by some PCB manufacturers such as Pragoboard.cz)
##
## Usage:
##
## 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/
##
## This comand generates new directory PragoBoard with these files:
## bot.gbr  mill.gbr  plt.gbr  pth.exc  smb.gbr  smt.gbr  top.gbr
##
##
## TODO: non plated drill is not properly handled. 
##

cd $1

mkdir ./PragoBoard/
cp V1.PHO ./PragoBoard/top.gbr
cp V2.PHO ./PragoBoard/bot.gbr
cp M1.PHO ./PragoBoard/smt.gbr
cp M2.PHO ./PragoBoard/smb.gbr
cp T1.PHO ./PragoBoard/plt.gbr
cp BOARD.PHO ./PragoBoard/mill.gbr
cp DRILL.DRL ./PragoBoard/pth.exc
#cp nDRILL.DRL ./PragoBoard/npth.exc   #neprokovene vrtani


{FILE END}
{FOOTER START}

Poháněno WebSVN v2.1 alpha 1