2 # Copyright 2014 by Bdale Garbee <bdale@gag.com>. GPLv2
4 # Program to emit PCB footprint for edge-launch wire antenna
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 = 15000 # 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 "wire-ant" "" "" 0 0 0 0 0 0 0x0]'
25 (-PinSpacing - GndWidth/2), \
27 (-PinSpacing - GndWidth/2), \
28 (PinHeight - GndWidth/2), \
32 '"pin2"', '"2"', '"square,nopaste"]'
37 (PinHeight - PinWidth/2), \
41 '"pin1"', '"1"', '"square,nopaste"]'
43 (PinSpacing + GndWidth/2), \
45 (PinSpacing + GndWidth/2), \
46 (PinHeight - GndWidth/2), \
50 '"pin2"', '"2"', '"square,nopaste"]'