4 # PCB, interactive printed circuit board design
5 # Copyright (C) 1994,1995,1996 Thomas Nau
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 # Contact addresses for paper mail and Email:
22 # Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
23 # Thomas.Nau@rz.uni-ulm.de
26 #-----------------------------------------------------------------
27 # ma librairie --- C. PETER 14 11 99
29 # l'origine 0 0 est en haut a gauche (x vers la droite, y vers le bas)
30 # Element(0x00 "$1" "`$2'" "$3" pos_x_text pos_y_text ? taille_text 0x00)
31 # PIN(pos_x, pos_y, diametre, percage, type?) type : 1 carre, 2 ronde
32 # ElementLine(debut_x debut_y fin_x fin_y epaisseur-trait)
33 # ElementArc(centre_x centre_y rayon_x rayon_y debut_arc fin_arc ep-trait)
34 # Mark fixe la position du curseur lors de la creation des composants
36 # -------------------------------------------------------------------
38 # Pin 1 is 1, 2 is c, 3 is 2
45 `Element(0x00 "$1" "`$2'" "$3" 100 325 0 100 0x00)
47 PIN(50, 450, 80, 30, 1)
48 PIN(250, 450, 80, 30, 3)
49 PIN(150, 50, 80, 30, 2)
50 ElementLine(0 150 0 500 20)
51 ElementLine(0 500 300 500 20)
52 ElementLine(300 500 300 150 20)
53 ElementArc(150 150 100 100 0 360 10)
54 ElementArc(150 150 150 150 0 -180 20)
59 # -------------------------------------------------------------------
61 # Pin 1 is 1, 2 is c, 3 is 2
68 `Element(0x00 "$1" "`$2'" "$3" 100 45 0 100 0x00)
70 PIN(50, 50, 80, 30, 1)
71 PIN(250, 50, 80, 30, 3)
72 PIN(150, 0, 80, 30, 2)
73 ElementLine(0 0 0 100 20)
74 ElementLine(0 0 300 0 20)
75 ElementLine(300 0 300 100 20)
76 ElementLine(0 100 300 100 20)
81 # -------------------------------------------------------------------