mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 07:54:06 +02:00
fab/m1/: update path name and drill file offset for M1r4
This commit is contained in:
parent
748a01fb9a
commit
f6720c767f
@ -1,9 +1,13 @@
|
|||||||
D=rc3_gerber
|
ifndef REV
|
||||||
|
REV = rc3
|
||||||
|
endif
|
||||||
|
|
||||||
|
D=$(REV)_gerber
|
||||||
|
|
||||||
all: front.png back.png
|
all: front.png back.png
|
||||||
|
|
||||||
drill.pho:
|
drill.pho:
|
||||||
tr -d '\015' <$(D)/drl00.drl | ./drl2gerber >$@
|
tr -d '\015' <$(D)/drl00.drl | REV=$(REV) ./drl2gerber >$@
|
||||||
|
|
||||||
front.png: drill.pho
|
front.png: drill.pho
|
||||||
cd $(D) && ../prettygerbv -d ../drill.pho foo front ../$@
|
cd $(D) && ../prettygerbv -d ../drill.pho foo front ../$@
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
wget http://downloads.qi-hardware.com/hardware/milkymist_one/gerber/rc3/rc3_gerber.tar.bz2
|
wget http://downloads.qi-hardware.com/hardware/milkymist_one/gerber/rc3/rc3_gerber.tar.bz2
|
||||||
tar xfj rc3_gerber.tar.bz2
|
tar xfj rc3_gerber.tar.bz2
|
||||||
make
|
make
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
wget http://downloads.qi-hardware.com/hardware/milkymist_one/gerber/r4/r4_gerber.tar.bz2
|
||||||
|
tar xfj r4_gerber.tar.bz2
|
||||||
|
make REV=r4
|
||||||
|
@ -19,8 +19,14 @@ print "G90*\n" || die; # absolute Mode
|
|||||||
print "%MOIN*%*\n" || die; # inches, RS274X-style
|
print "%MOIN*%*\n" || die; # inches, RS274X-style
|
||||||
print "%FSLAX34Y34*%\n" || die; # format
|
print "%FSLAX34Y34*%\n" || die; # format
|
||||||
|
|
||||||
|
# M1rc3
|
||||||
$x0 = 7300;
|
$x0 = 7300;
|
||||||
$y0 = 268910;
|
$y0 = 268910;
|
||||||
|
# M1r4
|
||||||
|
if ($ENV{"REV"} eq "r4") {
|
||||||
|
$x0 = 34022;
|
||||||
|
$y0 = 293540;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
sub u()
|
sub u()
|
||||||
|
Loading…
Reference in New Issue
Block a user