eaglecad 0 → 1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +5 -1
- data/README.markdown +29 -0
- data/Rakefile +9 -0
- data/eaglecad.gemspec +4 -2
- data/lib/eaglecad.rb +15 -1
- data/lib/eaglecad/attribute.rb +47 -0
- data/lib/eaglecad/board.rb +184 -0
- data/lib/eaglecad/clearance.rb +31 -0
- data/lib/eaglecad/design_rules.rb +38 -0
- data/lib/eaglecad/deviceset.rb +113 -0
- data/lib/eaglecad/drawing.rb +124 -0
- data/lib/eaglecad/geometry.rb +259 -0
- data/lib/eaglecad/layer.rb +40 -0
- data/lib/eaglecad/library.rb +73 -0
- data/lib/eaglecad/package.rb +74 -0
- data/lib/eaglecad/part.rb +29 -0
- data/lib/eaglecad/schematic.rb +83 -0
- data/lib/eaglecad/sheet.rb +256 -0
- data/lib/eaglecad/symbol.rb +73 -0
- data/test/eaglecad.rb +12 -0
- data/test/eaglecad/board.rb +68 -0
- data/test/eaglecad/design_rules.rb +38 -0
- data/test/eaglecad/deviceset.rb +52 -0
- data/test/eaglecad/drawing.rb +94 -0
- data/test/eaglecad/library.rb +47 -0
- data/test/eaglecad/package.rb +60 -0
- data/test/eaglecad/schematic.rb +50 -0
- data/test/eaglecad/sheet.rb +24 -0
- data/test/eaglecad/symbol.rb +41 -0
- data/test/fixtures/board.xml +859 -0
- data/test/fixtures/demo1.sch +10932 -0
- data/test/fixtures/design_rules.xml +70 -0
- data/test/fixtures/deviceset.xml +683 -0
- data/test/fixtures/drawing_board.xml +910 -0
- data/test/fixtures/drawing_schematic.xml +10928 -0
- data/test/fixtures/hexapodu.brd +1863 -0
- data/test/fixtures/library.xml +175 -0
- data/test/fixtures/package.xml +28 -0
- data/test/fixtures/schematic.xml +10861 -0
- data/test/fixtures/sheet.xml +318 -0
- data/test/fixtures/symbol.xml +11 -0
- metadata +79 -5
- data/README.md +0 -29
@@ -0,0 +1,318 @@
|
|
1
|
+
<sheet>
|
2
|
+
<description>Sheet Description</description>
|
3
|
+
<plain>
|
4
|
+
</plain>
|
5
|
+
<instances>
|
6
|
+
<instance part="F1" gate="G$1" x="0" y="0"/>
|
7
|
+
<instance part="F1" gate="G$2" x="162.56" y="0"/>
|
8
|
+
<instance part="C4" gate="G$1" x="91.44" y="45.72"/>
|
9
|
+
<instance part="C5" gate="G$1" x="58.42" y="45.72"/>
|
10
|
+
<instance part="D1" gate="G$1" x="73.66" y="116.84" smashed="yes" rot="R270">
|
11
|
+
<attribute name="NAME" x="76.2" y="117.3226" size="1.778" layer="95"/>
|
12
|
+
<attribute name="VALUE" x="76.2" y="111.9886" size="1.778" layer="96"/>
|
13
|
+
</instance>
|
14
|
+
<instance part="IC1" gate="G$1" x="142.24" y="104.14"/>
|
15
|
+
<instance part="R1" gate="G$1" x="73.66" y="124.46" rot="R90"/>
|
16
|
+
<instance part="C1" gate="G$1" x="93.98" y="116.84" smashed="yes" rot="R90">
|
17
|
+
<attribute name="NAME" x="94.996" y="121.539" size="1.778" layer="95" rot="R180"/>
|
18
|
+
<attribute name="VALUE" x="102.616" y="121.539" size="1.778" layer="96" rot="R180"/>
|
19
|
+
</instance>
|
20
|
+
<instance part="C2" gate="G$1" x="93.98" y="106.68" smashed="yes" rot="R90">
|
21
|
+
<attribute name="NAME" x="97.536" y="111.379" size="1.778" layer="95" rot="R180"/>
|
22
|
+
<attribute name="VALUE" x="97.536" y="103.759" size="1.778" layer="96" rot="R180"/>
|
23
|
+
</instance>
|
24
|
+
<instance part="C3" gate="G$1" x="106.68" y="45.72"/>
|
25
|
+
<instance part="IC2" gate="A1" x="76.2" y="53.34"/>
|
26
|
+
<instance part="GND1" gate="1" x="58.42" y="38.1"/>
|
27
|
+
<instance part="GND2" gate="1" x="76.2" y="43.18"/>
|
28
|
+
<instance part="GND3" gate="1" x="91.44" y="38.1"/>
|
29
|
+
<instance part="GND4" gate="1" x="106.68" y="38.1"/>
|
30
|
+
<instance part="P+4" gate="1" x="58.42" y="60.96"/>
|
31
|
+
<instance part="GND8" gate="1" x="185.42" y="73.66"/>
|
32
|
+
<instance part="P+3" gate="1" x="177.8" y="73.66" rot="R180"/>
|
33
|
+
<instance part="P+2" gate="1" x="121.92" y="121.92"/>
|
34
|
+
<instance part="P+5" gate="1" x="170.18" y="73.66" rot="R180"/>
|
35
|
+
<instance part="GND5" gate="1" x="121.92" y="83.82"/>
|
36
|
+
<instance part="GND6" gate="1" x="88.9" y="106.68" rot="R270"/>
|
37
|
+
<instance part="GND7" gate="1" x="88.9" y="116.84" rot="R270"/>
|
38
|
+
<instance part="GND9" gate="1" x="185.42" y="142.24" rot="R270"/>
|
39
|
+
<instance part="P+1" gate="1" x="73.66" y="132.08"/>
|
40
|
+
<instance part="JP1" gate="A" x="198.12" y="144.78"/>
|
41
|
+
<instance part="JP2" gate="G$1" x="198.12" y="104.14"/>
|
42
|
+
<instance part="Q1" gate="G$1" x="104.14" y="111.76" smashed="yes" rot="R90">
|
43
|
+
<attribute name="NAME" x="111.76" y="113.03" size="1.778" layer="95" rot="R180"/>
|
44
|
+
</instance>
|
45
|
+
</instances>
|
46
|
+
<busses>
|
47
|
+
<bus name="EN,VALVE[0..11]">
|
48
|
+
<segment>
|
49
|
+
<wire x1="96.52" y1="137.16" x2="93.98" y2="139.7" width="0.762" layer="92"/>
|
50
|
+
<wire x1="96.52" y1="137.16" x2="96.52" y2="109.22" width="0.762" layer="92"/>
|
51
|
+
<wire x1="93.98" y1="139.7" x2="160.02" y2="139.7" width="0.762" layer="92"/>
|
52
|
+
<wire x1="160.02" y1="139.7" x2="162.56" y2="137.16" width="0.762" layer="92"/>
|
53
|
+
<wire x1="162.56" y1="137.16" x2="162.56" y2="109.22" width="0.762" layer="92"/>
|
54
|
+
<wire x1="96.52" y1="137.16" x2="96.52" y2="63.5" width="0.762" layer="92"/>
|
55
|
+
<wire x1="58.42" y1="139.7" x2="93.98" y2="139.7" width="0.762" layer="92"/>
|
56
|
+
<wire x1="58.42" y1="139.7" x2="55.88" y2="137.16" width="0.762" layer="92"/>
|
57
|
+
<wire x1="55.88" y1="137.16" x2="55.88" y2="114.3" width="0.762" layer="92"/>
|
58
|
+
<wire x1="55.88" y1="114.3" x2="55.88" y2="81.28" width="0.762" layer="92"/>
|
59
|
+
<wire x1="55.88" y1="114.3" x2="53.34" y2="111.76" width="0.762" layer="92"/>
|
60
|
+
<wire x1="53.34" y1="111.76" x2="10.16" y2="111.76" width="0.762" layer="92"/>
|
61
|
+
<wire x1="10.16" y1="111.76" x2="7.62" y2="109.22" width="0.762" layer="92"/>
|
62
|
+
<wire x1="7.62" y1="109.22" x2="7.62" y2="78.74" width="0.762" layer="92"/>
|
63
|
+
<label x="66.04" y="140.97" size="2.54" layer="95"/>
|
64
|
+
</segment>
|
65
|
+
</bus>
|
66
|
+
</busses>
|
67
|
+
<nets>
|
68
|
+
<net name="GND" class="1">
|
69
|
+
<segment>
|
70
|
+
<pinref part="C5" gate="G$1" pin="-"/>
|
71
|
+
<pinref part="GND1" gate="1" pin="GND"/>
|
72
|
+
</segment>
|
73
|
+
<segment>
|
74
|
+
<pinref part="IC2" gate="A1" pin="GND"/>
|
75
|
+
<pinref part="GND2" gate="1" pin="GND"/>
|
76
|
+
</segment>
|
77
|
+
<segment>
|
78
|
+
<pinref part="C4" gate="G$1" pin="-"/>
|
79
|
+
<pinref part="GND3" gate="1" pin="GND"/>
|
80
|
+
</segment>
|
81
|
+
<segment>
|
82
|
+
<pinref part="C3" gate="G$1" pin="2"/>
|
83
|
+
<pinref part="GND4" gate="1" pin="GND"/>
|
84
|
+
</segment>
|
85
|
+
<segment>
|
86
|
+
<wire x1="185.42" y1="76.2" x2="185.42" y2="81.28" width="0.1524" layer="91"/>
|
87
|
+
<wire x1="185.42" y1="81.28" x2="195.58" y2="81.28" width="0.1524" layer="91"/>
|
88
|
+
<pinref part="GND8" gate="1" pin="GND"/>
|
89
|
+
<pinref part="JP2" gate="G$1" pin="17"/>
|
90
|
+
</segment>
|
91
|
+
<segment>
|
92
|
+
<wire x1="121.92" y1="86.36" x2="129.54" y2="86.36" width="0.1524" layer="91"/>
|
93
|
+
<pinref part="IC1" gate="G$1" pin="VSS"/>
|
94
|
+
<pinref part="GND5" gate="1" pin="GND"/>
|
95
|
+
</segment>
|
96
|
+
<segment>
|
97
|
+
<pinref part="C2" gate="G$1" pin="1"/>
|
98
|
+
<pinref part="GND6" gate="1" pin="GND"/>
|
99
|
+
</segment>
|
100
|
+
<segment>
|
101
|
+
<pinref part="C1" gate="G$1" pin="1"/>
|
102
|
+
<pinref part="GND7" gate="1" pin="GND"/>
|
103
|
+
</segment>
|
104
|
+
<segment>
|
105
|
+
<wire x1="187.96" y1="142.24" x2="195.58" y2="142.24" width="0.1524" layer="91"/>
|
106
|
+
<pinref part="GND9" gate="1" pin="GND"/>
|
107
|
+
<pinref part="JP1" gate="A" pin="4"/>
|
108
|
+
</segment>
|
109
|
+
</net>
|
110
|
+
<net name="N$1" class="0">
|
111
|
+
<segment>
|
112
|
+
<wire x1="91.44" y1="48.26" x2="91.44" y2="53.34" width="0.1524" layer="91"/>
|
113
|
+
<wire x1="91.44" y1="53.34" x2="86.36" y2="53.34" width="0.1524" layer="91"/>
|
114
|
+
<wire x1="106.68" y1="48.26" x2="106.68" y2="53.34" width="0.1524" layer="91"/>
|
115
|
+
<wire x1="106.68" y1="53.34" x2="91.44" y2="53.34" width="0.1524" layer="91"/>
|
116
|
+
<junction x="91.44" y="53.34"/>
|
117
|
+
<pinref part="C4" gate="G$1" pin="+"/>
|
118
|
+
<pinref part="C3" gate="G$1" pin="1"/>
|
119
|
+
<pinref part="IC2" gate="A1" pin="VO"/>
|
120
|
+
</segment>
|
121
|
+
</net>
|
122
|
+
<net name="V+" class="1">
|
123
|
+
<segment>
|
124
|
+
<wire x1="58.42" y1="48.26" x2="58.42" y2="53.34" width="0.1524" layer="91"/>
|
125
|
+
<wire x1="58.42" y1="53.34" x2="58.42" y2="58.42" width="0.1524" layer="91"/>
|
126
|
+
<wire x1="58.42" y1="58.42" x2="58.42" y2="53.34" width="0.1524" layer="91"/>
|
127
|
+
<wire x1="58.42" y1="53.34" x2="66.04" y2="53.34" width="0.1524" layer="91"/>
|
128
|
+
<junction x="58.42" y="53.34"/>
|
129
|
+
<junction x="58.42" y="58.42"/>
|
130
|
+
<pinref part="C5" gate="G$1" pin="+"/>
|
131
|
+
<pinref part="IC2" gate="A1" pin="VI"/>
|
132
|
+
<pinref part="P+4" gate="1" pin="V+"/>
|
133
|
+
</segment>
|
134
|
+
<segment>
|
135
|
+
<wire x1="177.8" y1="76.2" x2="177.8" y2="83.82" width="0.1524" layer="91"/>
|
136
|
+
<wire x1="177.8" y1="83.82" x2="195.58" y2="83.82" width="0.1524" layer="91"/>
|
137
|
+
<pinref part="P+3" gate="1" pin="V+"/>
|
138
|
+
<pinref part="JP2" gate="G$1" pin="16"/>
|
139
|
+
</segment>
|
140
|
+
</net>
|
141
|
+
<net name="N$2" class="0">
|
142
|
+
<segment>
|
143
|
+
<wire x1="129.54" y1="111.76" x2="116.84" y2="111.76" width="0.1524" layer="91"/>
|
144
|
+
<wire x1="116.84" y1="111.76" x2="116.84" y2="116.84" width="0.1524" layer="91"/>
|
145
|
+
<wire x1="116.84" y1="116.84" x2="104.14" y2="116.84" width="0.1524" layer="91"/>
|
146
|
+
<wire x1="104.14" y1="116.84" x2="99.06" y2="116.84" width="0.1524" layer="91"/>
|
147
|
+
<junction x="104.14" y="116.84"/>
|
148
|
+
<pinref part="IC1" gate="G$1" pin="OSC1"/>
|
149
|
+
<pinref part="C1" gate="G$1" pin="2"/>
|
150
|
+
<pinref part="Q1" gate="G$1" pin="2"/>
|
151
|
+
</segment>
|
152
|
+
</net>
|
153
|
+
<net name="N$3" class="0">
|
154
|
+
<segment>
|
155
|
+
<wire x1="99.06" y1="106.68" x2="104.14" y2="106.68" width="0.1524" layer="91"/>
|
156
|
+
<wire x1="104.14" y1="106.68" x2="129.54" y2="106.68" width="0.1524" layer="91"/>
|
157
|
+
<junction x="104.14" y="106.68"/>
|
158
|
+
<pinref part="IC1" gate="G$1" pin="OSC2"/>
|
159
|
+
<pinref part="C2" gate="G$1" pin="2"/>
|
160
|
+
<pinref part="Q1" gate="G$1" pin="1"/>
|
161
|
+
</segment>
|
162
|
+
</net>
|
163
|
+
<net name="MCLR/PGM" class="0">
|
164
|
+
<segment>
|
165
|
+
<wire x1="73.66" y1="114.3" x2="73.66" y2="101.6" width="0.1524" layer="91"/>
|
166
|
+
<wire x1="73.66" y1="101.6" x2="129.54" y2="101.6" width="0.1524" layer="91"/>
|
167
|
+
<wire x1="63.5" y1="144.78" x2="167.64" y2="144.78" width="0.1524" layer="91"/>
|
168
|
+
<wire x1="167.64" y1="144.78" x2="195.58" y2="144.78" width="0.1524" layer="91"/>
|
169
|
+
<wire x1="63.5" y1="144.78" x2="63.5" y2="101.6" width="0.1524" layer="91"/>
|
170
|
+
<wire x1="63.5" y1="101.6" x2="73.66" y2="101.6" width="0.1524" layer="91"/>
|
171
|
+
<wire x1="195.58" y1="121.92" x2="167.64" y2="121.92" width="0.1524" layer="91"/>
|
172
|
+
<wire x1="167.64" y1="121.92" x2="167.64" y2="144.78" width="0.1524" layer="91"/>
|
173
|
+
<junction x="73.66" y="101.6"/>
|
174
|
+
<junction x="167.64" y="144.78"/>
|
175
|
+
<label x="175.26" y="144.78" size="1.778" layer="95"/>
|
176
|
+
<pinref part="D1" gate="G$1" pin="C"/>
|
177
|
+
<pinref part="IC1" gate="G$1" pin="!MCLR"/>
|
178
|
+
<pinref part="JP1" gate="A" pin="3"/>
|
179
|
+
<pinref part="JP2" gate="G$1" pin="1"/>
|
180
|
+
</segment>
|
181
|
+
</net>
|
182
|
+
<net name="RB0" class="0">
|
183
|
+
<segment>
|
184
|
+
<wire x1="195.58" y1="101.6" x2="154.94" y2="101.6" width="0.1524" layer="91"/>
|
185
|
+
<pinref part="IC1" gate="G$1" pin="RB0"/>
|
186
|
+
<pinref part="JP2" gate="G$1" pin="9"/>
|
187
|
+
</segment>
|
188
|
+
</net>
|
189
|
+
<net name="RB1" class="0">
|
190
|
+
<segment>
|
191
|
+
<wire x1="195.58" y1="104.14" x2="154.94" y2="104.14" width="0.1524" layer="91"/>
|
192
|
+
<pinref part="IC1" gate="G$1" pin="RB1"/>
|
193
|
+
<pinref part="JP2" gate="G$1" pin="8"/>
|
194
|
+
</segment>
|
195
|
+
</net>
|
196
|
+
<net name="RB2" class="0">
|
197
|
+
<segment>
|
198
|
+
<wire x1="195.58" y1="106.68" x2="154.94" y2="106.68" width="0.1524" layer="91"/>
|
199
|
+
<pinref part="IC1" gate="G$1" pin="RB2"/>
|
200
|
+
<pinref part="JP2" gate="G$1" pin="7"/>
|
201
|
+
</segment>
|
202
|
+
</net>
|
203
|
+
<net name="RB3" class="0">
|
204
|
+
<segment>
|
205
|
+
<wire x1="195.58" y1="109.22" x2="154.94" y2="109.22" width="0.1524" layer="91"/>
|
206
|
+
<pinref part="IC1" gate="G$1" pin="RB3"/>
|
207
|
+
<pinref part="JP2" gate="G$1" pin="6"/>
|
208
|
+
</segment>
|
209
|
+
</net>
|
210
|
+
<net name="RB4" class="0">
|
211
|
+
<segment>
|
212
|
+
<wire x1="195.58" y1="111.76" x2="154.94" y2="111.76" width="0.1524" layer="91"/>
|
213
|
+
<pinref part="IC1" gate="G$1" pin="RB4"/>
|
214
|
+
<pinref part="JP2" gate="G$1" pin="5"/>
|
215
|
+
</segment>
|
216
|
+
</net>
|
217
|
+
<net name="RB5" class="0">
|
218
|
+
<segment>
|
219
|
+
<wire x1="195.58" y1="114.3" x2="154.94" y2="114.3" width="0.1524" layer="91"/>
|
220
|
+
<pinref part="IC1" gate="G$1" pin="RB5"/>
|
221
|
+
<pinref part="JP2" gate="G$1" pin="4"/>
|
222
|
+
</segment>
|
223
|
+
</net>
|
224
|
+
<net name="RB6/CLK" class="0">
|
225
|
+
<segment>
|
226
|
+
<wire x1="195.58" y1="116.84" x2="172.72" y2="116.84" width="0.1524" layer="91"/>
|
227
|
+
<wire x1="172.72" y1="116.84" x2="154.94" y2="116.84" width="0.1524" layer="91"/>
|
228
|
+
<wire x1="172.72" y1="116.84" x2="172.72" y2="149.86" width="0.1524" layer="91"/>
|
229
|
+
<wire x1="172.72" y1="149.86" x2="195.58" y2="149.86" width="0.1524" layer="91"/>
|
230
|
+
<junction x="172.72" y="116.84"/>
|
231
|
+
<label x="175.26" y="149.86" size="1.778" layer="95"/>
|
232
|
+
<pinref part="IC1" gate="G$1" pin="RB6"/>
|
233
|
+
<pinref part="JP1" gate="A" pin="1"/>
|
234
|
+
<pinref part="JP2" gate="G$1" pin="3"/>
|
235
|
+
</segment>
|
236
|
+
</net>
|
237
|
+
<net name="RB7/DATA" class="0">
|
238
|
+
<segment>
|
239
|
+
<wire x1="195.58" y1="119.38" x2="170.18" y2="119.38" width="0.1524" layer="91"/>
|
240
|
+
<wire x1="170.18" y1="119.38" x2="154.94" y2="119.38" width="0.1524" layer="91"/>
|
241
|
+
<wire x1="170.18" y1="119.38" x2="170.18" y2="147.32" width="0.1524" layer="91"/>
|
242
|
+
<wire x1="170.18" y1="147.32" x2="195.58" y2="147.32" width="0.1524" layer="91"/>
|
243
|
+
<junction x="170.18" y="119.38"/>
|
244
|
+
<label x="175.26" y="147.32" size="1.778" layer="95"/>
|
245
|
+
<pinref part="IC1" gate="G$1" pin="RB7"/>
|
246
|
+
<pinref part="JP1" gate="A" pin="2"/>
|
247
|
+
<pinref part="JP2" gate="G$1" pin="2"/>
|
248
|
+
</segment>
|
249
|
+
</net>
|
250
|
+
<net name="RA4" class="0">
|
251
|
+
<segment>
|
252
|
+
<wire x1="154.94" y1="96.52" x2="154.94" y2="99.06" width="0.1524" layer="91"/>
|
253
|
+
<wire x1="154.94" y1="99.06" x2="195.58" y2="99.06" width="0.1524" layer="91"/>
|
254
|
+
<pinref part="IC1" gate="G$1" pin="T0CKI/RA4"/>
|
255
|
+
<pinref part="JP2" gate="G$1" pin="10"/>
|
256
|
+
</segment>
|
257
|
+
</net>
|
258
|
+
<net name="RA3" class="0">
|
259
|
+
<segment>
|
260
|
+
<wire x1="154.94" y1="93.98" x2="157.48" y2="93.98" width="0.1524" layer="91"/>
|
261
|
+
<wire x1="157.48" y1="93.98" x2="157.48" y2="96.52" width="0.1524" layer="91"/>
|
262
|
+
<wire x1="157.48" y1="96.52" x2="195.58" y2="96.52" width="0.1524" layer="91"/>
|
263
|
+
<pinref part="IC1" gate="G$1" pin="RA3"/>
|
264
|
+
<pinref part="JP2" gate="G$1" pin="11"/>
|
265
|
+
</segment>
|
266
|
+
</net>
|
267
|
+
<net name="RA2" class="0">
|
268
|
+
<segment>
|
269
|
+
<wire x1="154.94" y1="91.44" x2="160.02" y2="91.44" width="0.1524" layer="91"/>
|
270
|
+
<wire x1="160.02" y1="91.44" x2="160.02" y2="93.98" width="0.1524" layer="91"/>
|
271
|
+
<wire x1="160.02" y1="93.98" x2="195.58" y2="93.98" width="0.1524" layer="91"/>
|
272
|
+
<pinref part="IC1" gate="G$1" pin="RA2"/>
|
273
|
+
<pinref part="JP2" gate="G$1" pin="12"/>
|
274
|
+
</segment>
|
275
|
+
</net>
|
276
|
+
<net name="RA1" class="0">
|
277
|
+
<segment>
|
278
|
+
<wire x1="154.94" y1="88.9" x2="162.56" y2="88.9" width="0.1524" layer="91"/>
|
279
|
+
<wire x1="162.56" y1="88.9" x2="162.56" y2="91.44" width="0.1524" layer="91"/>
|
280
|
+
<wire x1="162.56" y1="91.44" x2="195.58" y2="91.44" width="0.1524" layer="91"/>
|
281
|
+
<pinref part="IC1" gate="G$1" pin="RA1"/>
|
282
|
+
<pinref part="JP2" gate="G$1" pin="13"/>
|
283
|
+
</segment>
|
284
|
+
</net>
|
285
|
+
<net name="RA0" class="0">
|
286
|
+
<segment>
|
287
|
+
<wire x1="154.94" y1="86.36" x2="165.1" y2="86.36" width="0.1524" layer="91"/>
|
288
|
+
<wire x1="165.1" y1="86.36" x2="165.1" y2="88.9" width="0.1524" layer="91"/>
|
289
|
+
<wire x1="165.1" y1="88.9" x2="195.58" y2="88.9" width="0.1524" layer="91"/>
|
290
|
+
<pinref part="IC1" gate="G$1" pin="RA0"/>
|
291
|
+
<pinref part="JP2" gate="G$1" pin="14"/>
|
292
|
+
</segment>
|
293
|
+
</net>
|
294
|
+
<net name="N$4" class="0">
|
295
|
+
<segment>
|
296
|
+
<pinref part="D1" gate="G$1" pin="A"/>
|
297
|
+
<pinref part="R1" gate="G$1" pin="1"/>
|
298
|
+
</segment>
|
299
|
+
</net>
|
300
|
+
<net name="+5V" class="1">
|
301
|
+
<segment>
|
302
|
+
<wire x1="121.92" y1="119.38" x2="129.54" y2="119.38" width="0.1524" layer="91"/>
|
303
|
+
<pinref part="IC1" gate="G$1" pin="VDD"/>
|
304
|
+
<pinref part="P+2" gate="1" pin="+5V"/>
|
305
|
+
</segment>
|
306
|
+
<segment>
|
307
|
+
<wire x1="170.18" y1="76.2" x2="170.18" y2="86.36" width="0.1524" layer="91"/>
|
308
|
+
<wire x1="170.18" y1="86.36" x2="195.58" y2="86.36" width="0.1524" layer="91"/>
|
309
|
+
<pinref part="P+5" gate="1" pin="+5V"/>
|
310
|
+
<pinref part="JP2" gate="G$1" pin="15"/>
|
311
|
+
</segment>
|
312
|
+
<segment>
|
313
|
+
<pinref part="R1" gate="G$1" pin="2"/>
|
314
|
+
<pinref part="P+1" gate="1" pin="+5V"/>
|
315
|
+
</segment>
|
316
|
+
</net>
|
317
|
+
</nets>
|
318
|
+
</sheet>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<symbol name="C-EU">
|
2
|
+
<description>A Description</description>
|
3
|
+
<wire x1="0" y1="0" x2="0" y2="-0.508" width="0.1524" layer="94"/>
|
4
|
+
<wire x1="0" y1="-2.54" x2="0" y2="-2.032" width="0.1524" layer="94"/>
|
5
|
+
<text x="1.524" y="0.381" size="1.778" layer="95">>NAME</text>
|
6
|
+
<text x="1.524" y="-4.699" size="1.778" layer="96">>VALUE</text>
|
7
|
+
<rectangle x1="-2.032" y1="-2.032" x2="2.032" y2="-1.524" layer="94"/>
|
8
|
+
<rectangle x1="-2.032" y1="-1.016" x2="2.032" y2="-0.508" layer="94"/>
|
9
|
+
<pin name="1" x="0" y="2.54" visible="off" length="short" direction="pas" swaplevel="1" rot="R270"/>
|
10
|
+
<pin name="2" x="0" y="-5.08" visible="off" length="short" direction="pas" swaplevel="1" rot="R90"/>
|
11
|
+
</symbol>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eaglecad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '
|
4
|
+
version: '1'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -43,6 +43,22 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: geometry
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '6'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '6'
|
46
62
|
description: Everything you need to bend Eagle CAD projects to your will
|
47
63
|
email:
|
48
64
|
- bfoz@bfoz.net
|
@@ -52,11 +68,47 @@ extra_rdoc_files: []
|
|
52
68
|
files:
|
53
69
|
- .gitignore
|
54
70
|
- Gemfile
|
55
|
-
- README.
|
71
|
+
- README.markdown
|
56
72
|
- Rakefile
|
57
73
|
- eaglecad.gemspec
|
58
74
|
- lib/eaglecad.rb
|
59
|
-
|
75
|
+
- lib/eaglecad/attribute.rb
|
76
|
+
- lib/eaglecad/board.rb
|
77
|
+
- lib/eaglecad/clearance.rb
|
78
|
+
- lib/eaglecad/design_rules.rb
|
79
|
+
- lib/eaglecad/deviceset.rb
|
80
|
+
- lib/eaglecad/drawing.rb
|
81
|
+
- lib/eaglecad/geometry.rb
|
82
|
+
- lib/eaglecad/layer.rb
|
83
|
+
- lib/eaglecad/library.rb
|
84
|
+
- lib/eaglecad/package.rb
|
85
|
+
- lib/eaglecad/part.rb
|
86
|
+
- lib/eaglecad/schematic.rb
|
87
|
+
- lib/eaglecad/sheet.rb
|
88
|
+
- lib/eaglecad/symbol.rb
|
89
|
+
- test/eaglecad.rb
|
90
|
+
- test/eaglecad/board.rb
|
91
|
+
- test/eaglecad/design_rules.rb
|
92
|
+
- test/eaglecad/deviceset.rb
|
93
|
+
- test/eaglecad/drawing.rb
|
94
|
+
- test/eaglecad/library.rb
|
95
|
+
- test/eaglecad/package.rb
|
96
|
+
- test/eaglecad/schematic.rb
|
97
|
+
- test/eaglecad/sheet.rb
|
98
|
+
- test/eaglecad/symbol.rb
|
99
|
+
- test/fixtures/board.xml
|
100
|
+
- test/fixtures/demo1.sch
|
101
|
+
- test/fixtures/design_rules.xml
|
102
|
+
- test/fixtures/deviceset.xml
|
103
|
+
- test/fixtures/drawing_board.xml
|
104
|
+
- test/fixtures/drawing_schematic.xml
|
105
|
+
- test/fixtures/hexapodu.brd
|
106
|
+
- test/fixtures/library.xml
|
107
|
+
- test/fixtures/package.xml
|
108
|
+
- test/fixtures/schematic.xml
|
109
|
+
- test/fixtures/sheet.xml
|
110
|
+
- test/fixtures/symbol.xml
|
111
|
+
homepage: http://github.com/bfoz/eaglecad-ruby
|
60
112
|
licenses:
|
61
113
|
- BSD
|
62
114
|
post_install_message:
|
@@ -81,5 +133,27 @@ rubygems_version: 1.8.25
|
|
81
133
|
signing_key:
|
82
134
|
specification_version: 3
|
83
135
|
summary: Read and write Eagle CAD files
|
84
|
-
test_files:
|
136
|
+
test_files:
|
137
|
+
- test/eaglecad.rb
|
138
|
+
- test/eaglecad/board.rb
|
139
|
+
- test/eaglecad/design_rules.rb
|
140
|
+
- test/eaglecad/deviceset.rb
|
141
|
+
- test/eaglecad/drawing.rb
|
142
|
+
- test/eaglecad/library.rb
|
143
|
+
- test/eaglecad/package.rb
|
144
|
+
- test/eaglecad/schematic.rb
|
145
|
+
- test/eaglecad/sheet.rb
|
146
|
+
- test/eaglecad/symbol.rb
|
147
|
+
- test/fixtures/board.xml
|
148
|
+
- test/fixtures/demo1.sch
|
149
|
+
- test/fixtures/design_rules.xml
|
150
|
+
- test/fixtures/deviceset.xml
|
151
|
+
- test/fixtures/drawing_board.xml
|
152
|
+
- test/fixtures/drawing_schematic.xml
|
153
|
+
- test/fixtures/hexapodu.brd
|
154
|
+
- test/fixtures/library.xml
|
155
|
+
- test/fixtures/package.xml
|
156
|
+
- test/fixtures/schematic.xml
|
157
|
+
- test/fixtures/sheet.xml
|
158
|
+
- test/fixtures/symbol.xml
|
85
159
|
has_rdoc:
|
data/README.md
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# EagleCAD
|
2
|
-
|
3
|
-
Everything you need to bend Eagle CAD projects to your will
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
Add this line to your application's Gemfile:
|
8
|
-
|
9
|
-
gem 'eaglecad'
|
10
|
-
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install eaglecad
|
18
|
-
|
19
|
-
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
|
-
## Contributing
|
24
|
-
|
25
|
-
1. Fork it
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|