2 * Copyright © 2013 Keith Packard <keithp@keithp.com>
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.
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.
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.
27 pin_from_hole_y = 8.1 - 3.3;
34 element_start("bc4aa");
36 rect (-width/2, -height/2, width, height);
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");
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");