metadata updates for TeleMetrum build, working on TeleGPS parts
[hw/altusmetrum] / packages / bc4aa.5c
1 /*
2  * Copyright © 2013 Keith Packard <keithp@keithp.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 2 of the License.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along
14  * with this program; if not, write to the Free Software Foundation, Inc.,
15  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16  */
17
18 load "footprint.5c"
19 import Footprint;
20
21 width = 57.2;
22
23 hole_dist = 55;
24 hole_diameter = 2.9;
25 case_pad = 3;
26
27 pin_from_hole_y = 8.1 - 3.3;
28 pin_sep = 16.60;
29 pin_diameter = 1.17;
30 pin_dx = 26.1;
31
32 height = 61.3;
33
34 element_start("bc4aa");
35
36 rect (-width/2, -height/2, width, height);
37
38 /* mounting holes */
39 pin_mm(0, hole_dist/2, hole_diameter, 0.35, "mounting", "0");
40 pin_mm(0, -hole_dist/2, hole_diameter, 0.35, "mounting", "0");
41
42 pin_mm_options(pin_dx, hole_dist/2 - pin_from_hole_y, pin_diameter, 0.5, "1", "1", "square");
43 pin_mm(pin_dx, hole_dist/2 - pin_from_hole_y - pin_sep, pin_diameter, 0.5, "2", "2");
44
45 element_end();