increase default clearance around 1/4" tabs to 25 mils
[hw/altusmetrum] / packages / v-bite.5c
1 /*
2  * Copyright © 2015 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 /* Bomar Inteconnect Products, Inc V-Bite footprint.
22  *
23  * This footprint covers their BNC, TNC, F and N connectors
24  */
25
26 real pin_drill = 2.2;
27 real pin_y = 5.1;
28 real pin_x = 5.9;
29 real pin_copper = 0.2;
30
31 real gnd_width = 8.0;
32 real gnd_height = 3.5;
33
34 real center_width = 8.0;
35 real center_height = 2.0;
36
37 element_start("v-bite");
38
39 pad_mm_options(gnd_width / 2, -pin_y, gnd_width, gnd_height, "GND", "2", "square,nopaste");
40 pad_mm_options(gnd_width / 2, -pin_y, gnd_width, gnd_height, "GND", "2", "onsolder,square,nopaste");
41 pin_mm_space_options(gnd_width - pin_x, -pin_y, pin_drill, pin_copper, 0, "GND", "2", "via");
42
43 pad_mm_options(gnd_width / 2, pin_y, gnd_width, gnd_height, "GND", "2", "square,nopaste");
44 pad_mm_options(gnd_width / 2, pin_y, gnd_width, gnd_height, "GND", "2", "onsolder,square,nopaste");
45 pin_mm_space_options(gnd_width -pin_x, pin_y, pin_drill, pin_copper, 0, "GND", "2", "via");
46
47 pad_mm_options(center_width / 2, 0, center_width, center_height,"1", "1", "square,nopaste");
48
49 element_end();