Date:2010-09-01 09:00:07 (9 years 11 months ago)
Author:Werner Almesberger
Commit:7ca5701a18fcff7d0e1b68519940a42e5dab557f
Message:modules/stdpass.fpd, originally from gta02-core

Files: modules/Makefile (1 diff)
modules/stdpass.fpd (1 diff)

Change Details

modules/Makefile
1MODULES=usd-card
1MODULES=stdpass usd-card
22
33.SUFFIXES: .fpd .mod
44.PHONY: all clean
modules/stdpass.fpd
1/* MACHINE-GENERATED ! */
2
3frame pad_r {
4    ll: vec @(0mm, -b/2)
5    x: vec .(a, 0mm)
6    y: vec ll(0mm, b)
7    pad "2" . x
8}
9
10frame pad_l {
11    ll: vec @(-a, -b/2)
12    w: vec .(a, 0mm)
13    h: vec ll(0mm, b)
14    pad "1" . w
15}
16
17frame pads {
18    left: vec @(-e/2, 0mm)
19    frame pad_l .
20    right: vec @(e/2, 0mm)
21    frame pad_r .
22}
23
24frame outline {
25    ll: vec @(-Ox/2, -Oy/2)
26    ur: vec @(Ox/2, Oy/2)
27    rect ll . silk
28}
29
30package "$name"
31unit mm
32table
33    { name, L, W, a, b, e }
34    { "0201", 0.6mm, 0.3mm, 0.28mm, 0.43mm, 0.23mm }
35    { "0402", 1mm, 0.5mm, 0.4mm, 0.6mm, 0.5mm }
36    { "0603", 1.55mm, 0.85mm, 0.5mm, 0.9mm, 1mm }
37    { "0805", 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm }
38    { "1206", 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm }
39    { "1210", 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm }
40
41set silk = 5mil
42
43set clear = 5mil
44
45set Ox = e+2*a+2*clear
46
47set Oy = b+2*clear
48
49frame pads @
50frame outline @
51measx pad_l.w >> pad_r.ll -0.3mm
52measx pad_l.ll -> pad_l.w -0.3mm
53measy pad_l.ll >> pad_l.h 0.3mm
54measx outline.ll >> outline.ur Oy+0.3mm
55measy outline.ur >> outline.ll 0.3mm
56measx pad_l.ll >> pad_r.x -0.5mm

Archive Download the corresponding diff file

Branches:
master



interactive