2 # Copyright 2007 by Bdale Garbee <bdale@gag.com>. GPLv2
4 # Program to emit PCB footprint for TDK beeper
7 # dimensions in mm from abm8.pdf Abracon datasheet
13 # we're going to use the 1/100 of a mil fundamental unit form
15 return int( mm / 25.4 * 1000.0 * 100.0 + 0.5 )
17 print 'Element[0x0 "TDK_PS12" "" "" 0 0 0 0 0 100 0x0]'
20 mm2mils100(-PinSpacing/2), \
29 mm2mils100(PinSpacing/2), \
37 print ' ElementArc[',\
40 mm2mils100(BodyDiam/2), \
41 mm2mils100(BodyDiam/2), \