adding/updating some parts for QuantiMotor
[hw/altusmetrum] / packages / 0806.5c
1 /*
2  * Copyright © 2012 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 real pad_width = 0.8;
22 real pad_height = 1.8;
23
24 real pad_x_off = 0.8 / 2 + pad_width/2;
25
26 element_start("0806");
27
28 pad_mm(-pad_x_off,
29        0,
30        pad_width,
31        pad_height,
32        "1", "1");
33
34 pad_mm(pad_x_off,
35        0,
36        pad_width,
37        pad_height,
38        "2", "2");
39
40 element_end();