2 # Copyright 2007 by Bdale Garbee <bdale@gag.com>. GPLv2
4 # Program to emit PCB footprint for edge-launch SMA connector
7 # dimensions in 1/100 mil from CONSMA003.062.pdf datasheet, modified to
8 # accomidate a wider range of new and surplus edge-launched SMA connectors
9 PinWidth = 6000 # the center pin
10 GndWidth = 13000 # the "side" pins for the gnd "wings"
12 PinSpacing = PinWidth / 2 + 4000
16 print '# author: Bdale Garbee'
17 print '# email: bdale@gag.com'
18 print '# dist-license: GPL 2'
19 print '# use-license: unlimited'
21 print 'Element[0x0 "sma-edge" "" "" 0 0 0 0 0 0 0x0]'
25 (-PinSpacing - GndWidth/2), \
27 (-PinSpacing - GndWidth/2), \
28 (PinHeight - GndWidth/2), \
32 '"pin2"', '"2"', '"square,nopaste"]'
34 (-PinSpacing - GndWidth/2), \
36 (-PinSpacing - GndWidth/2), \
37 (PinHeight - GndWidth/2), \
41 '"pin2"', '"2"', '"onsolder,square,nopaste"]'
46 (PinHeight - PinWidth/2), \
50 '"pin1"', '"1"', '"square,nopaste"]'
52 (PinSpacing + GndWidth/2), \
54 (PinSpacing + GndWidth/2), \
55 (PinHeight - GndWidth/2), \
59 '"pin2"', '"2"', '"square,nopaste"]'
61 (PinSpacing + GndWidth/2), \
63 (PinSpacing + GndWidth/2), \
64 (PinHeight - GndWidth/2), \
68 '"pin2"', '"2"', '"onsolder,square,nopaste"]'