symbol for BAT54C common cathode diode pair
[hw/altusmetrum] / packages / 0402.fp
1         # grab the input values and convert to 1/100 mil
2         # how much to grow the pads by for soldermask [1/100 mil]
3         # clearance from planes [1/100 mil]
4         # silk screen width  [1/100 mil]
5         # courtyard silk screen width  [1/100 mil]
6 # element_flags, description, pcb-name, value, mark_x, mark_y,
7 # text_x, text_y, text_direction, text_scale, text_flags
8 Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "0402" 0 0 -3150 -3150 0 100 ""]
9 (
10   Attribute("openscad" "0402")
11
12 # Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags]
13         Pad[-1574 -393
14                 -1574 393
15                 1968 2000 2568 "1" "1" "square"]
16             Pad[1574 -393
17                 1574 393
18                 1968 2000 2568 "2" "2" "square"]
19 #
20 # This draws a 1 mil placement courtyard outline in silk.  It should probably
21 # not be included since you wont want to try and fab a 1 mil silk line.  Then
22 # again, it is most useful during parts placement.  It really is time for some
23 # additional non-fab layers...
24 #       ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval(   V2/2) CYW]
25 #       ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(   V1/2) eval(-1*V2/2) CYW]
26 #       ElementLine[eval(   V1/2) eval(   V2/2) eval(   V1/2) eval(-1*V2/2) CYW]
27 #       ElementLine[eval(   V1/2) eval(   V2/2) eval(-1*V1/2) eval(   V2/2) CYW]
28 )