polygon1.c: #ifdef DEBUG_ALL_LABELS build print_labels()
[geda-pcb/gde.git] / lib / amphenol.inc
blobe41f8744b9f74eea74da94a7489884caf9923d3d
1 # -*- m4 -*-
3 # $Id$
4 #                            COPYRIGHT
6 #   PCB, interactive printed circuit board design
7 #   Copyright (C) 2003, 2004 Dan McMahill
9 #   This program is free software; you can redistribute it and/or modify
10 #   it under the terms of the GNU General Public License as published by
11 #   the Free Software Foundation; either version 2 of the License, or
12 #   (at your option) any later version.
13
14 #   This program is distributed in the hope that it will be useful,
15 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 #   GNU General Public License for more details.
18
19 #   You should have received a copy of the GNU General Public License
20 #   along with this program; if not, write to the Free Software
21 #   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
23
24 # Amphenol Connectors
27 # ARFX1229 SMA Connector
28 # 5.08 mm (200 mil) outer pin spacing
29 # 1.70 mm (67 mil, #51 drill) hole sizes
31 define(`PKG_AMPHENOL_ARFX1229',
32         `define(`PAD_SIZE', `100')
33         define(`HOLE_SIZE', `67')
34         define(`CPAD_SIZE', `100')
35         define(`CHOLE_SIZE', `67')
36         define(`PAD_SPACE', `200')
37         define(`CENTER', `eval(PAD_SPACE/2)')
38         define(`SILK', `70')
39         define(`XMIN', `eval(-1*SILK)')
40         define(`XMAX', `eval(PAD_SPACE+SILK)')
41         define(`YMIN', `eval(-1*SILK)')
42         define(`YMAX', `eval(PAD_SPACE+SILK)')
43 Element(0x00 "$1" "`$2'" "$3" eval(XMIN+20) eval(YMAX+20) 0 100 0x00)
46         Pin(CENTER     CENTER     CPAD_SIZE  CHOLE_SIZE  "1" 0x01)
47         Pin(0          0          PAD_SIZE   HOLE_SIZE   "2" 0x01)
48         Pin(0          PAD_SPACE  PAD_SIZE   HOLE_SIZE   "3" 0x01)
49         Pin(PAD_SPACE  0          PAD_SIZE   HOLE_SIZE   "4" 0x01)
50         Pin(PAD_SPACE  PAD_SPACE  PAD_SIZE   HOLE_SIZE   "5" 0x01)
52         # silk screen
53         # ends
54         ElementLine(XMIN YMIN XMIN YMAX 10)
55         ElementLine(XMAX YMAX XMAX YMIN 10)
56         ElementLine(XMIN YMIN XMAX YMIN 10)
57         ElementLine(XMAX YMAX XMIN YMAX 10)
58         Mark(CENTER CENTER)
59 )')
61 # XXX once we get some sort of annotation layer in PCB, the right
62 # angle connectors should have an annotation showing where the connector
63 # really goes to.  Same for a keep out layer.
64 define(`PKG_AMPHENOL_ARFX1230',`PKG_AMPHENOL_ARFX1229(`$1', `$2', `$3')')
65 define(`PKG_AMPHENOL_ARFX1231',`PKG_AMPHENOL_ARFX1229(`$1', `$2', `$3')')
66 define(`PKG_AMPHENOL_ARFX1232',`PKG_AMPHENOL_ARFX1229(`$1', `$2', `$3')')