Root/labsw/modules/spacer.fpd

Source at commit 51106cf9b34d773e72aa00385c80a9abb76b28df created 6 years 6 months ago.
By Werner Almesberger, ircstat/ML: update for 11/2013
1/* MACHINE-GENERATED ! */
2
3frame copper {
4    loop if = 1, copper
5
6    __2: vec @(disc/2, -disc/2)
7    __3: vec @(-disc/2, disc/2)
8    rpad "1" . __2 bare
9}
10
11package "SPACER-$nominal$type"
12unit mm
13
14table
15    { nominal }
16    { 3mm }
17    { 4mm }
18
19table
20    { type, copper }
21    { "", 1 }
22    { "-BARE", 0 }
23
24set hole = nominal+0.2mm
25
26set disc = 9mm
27
28set area = 10mm
29
30set w = 5mil
31
32__0: vec @(hole/2, hole/2)
33__1: vec @(-hole/2, -hole/2)
34hole . __0
35__4: vec @(area/2, 0mm)
36circ @ . w
37__2: vec @(-area/2, 0mm)
38frame copper @
39measx copper.__3 >> copper.__2 3mm
40measx __1 >> __0 6mm+nominal/2
41measx __2 >> __4 9mm
42

Archive Download this file

Branches:
master



interactive