@tscircuit/pcb-viewer 1.0.0 → 1.0.2
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.
- package/dist/PCBViewer.d.ts +5 -0
- package/dist/PCBViewer.js +662 -0
- package/dist/PCBViewer.js.map +1 -0
- package/dist/assets/alphabet.d.ts +47 -0
- package/{src/assets/alphabet.ts → dist/assets/alphabet.js} +41 -24
- package/dist/assets/alphabet.js.map +1 -0
- package/dist/assets/attiny-eagle.d.ts +133 -0
- package/{src/assets/attiny-eagle.ts → dist/assets/attiny-eagle.js} +156 -130
- package/dist/assets/attiny-eagle.js.map +1 -0
- package/dist/components/CanvasElementsRenderer.d.ts +14 -0
- package/dist/components/CanvasElementsRenderer.js +647 -0
- package/dist/components/CanvasElementsRenderer.js.map +1 -0
- package/dist/components/CanvasPrimitiveRenderer.d.ts +14 -0
- package/dist/components/CanvasPrimitiveRenderer.js +588 -0
- package/dist/components/CanvasPrimitiveRenderer.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +666 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/Drawer.d.ts +146 -0
- package/dist/lib/Drawer.js +396 -0
- package/dist/lib/Drawer.js.map +1 -0
- package/dist/lib/colors.d.ts +154 -0
- package/{src/lib/colors.ts → dist/lib/colors.js} +37 -13
- package/dist/lib/colors.js.map +1 -0
- package/dist/lib/convert-element-to-primitive.d.ts +6 -0
- package/dist/lib/convert-element-to-primitive.js +72 -0
- package/dist/lib/convert-element-to-primitive.js.map +1 -0
- package/dist/lib/convert-text-to-lines.d.ts +5 -0
- package/dist/lib/convert-text-to-lines.js +114 -0
- package/dist/lib/convert-text-to-lines.js.map +1 -0
- package/dist/lib/draw-eagle.d.ts +7 -0
- package/dist/lib/draw-eagle.js +63 -0
- package/dist/lib/draw-eagle.js.map +1 -0
- package/dist/lib/draw-grid.d.ts +18 -0
- package/dist/lib/draw-grid.js +79 -0
- package/dist/lib/draw-grid.js.map +1 -0
- package/dist/lib/draw-primitives.d.ts +12 -0
- package/dist/lib/draw-primitives.js +181 -0
- package/dist/lib/draw-primitives.js.map +1 -0
- package/dist/lib/types.d.ts +52 -0
- package/dist/lib/types.js +18 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/util/scale-only.d.ts +5 -0
- package/dist/lib/util/scale-only.js +34 -0
- package/dist/lib/util/scale-only.js.map +1 -0
- package/dist/pages/eagle.d.ts +3 -0
- package/dist/pages/eagle.js +1265 -0
- package/dist/pages/eagle.js.map +1 -0
- package/dist/pages/index.d.ts +3 -0
- package/dist/pages/index.js +390 -0
- package/dist/pages/index.js.map +1 -0
- package/dist/pages/primitives.d.ts +3 -0
- package/dist/pages/primitives.js +619 -0
- package/dist/pages/primitives.js.map +1 -0
- package/dist/pages/viewer.d.ts +14 -0
- package/dist/pages/viewer.js +676 -0
- package/dist/pages/viewer.js.map +1 -0
- package/package.json +14 -4
- package/.github/workflows/npm-semantic-release.yml +0 -29
- package/next-env.d.ts +0 -5
- package/release.config.js +0 -16
- package/src/PCBViewer.tsx +0 -24
- package/src/components/CanvasElementsRenderer.tsx +0 -15
- package/src/components/CanvasPrimitiveRenderer.tsx +0 -25
- package/src/index.tsx +0 -2
- package/src/lib/Drawer.ts +0 -168
- package/src/lib/convert-element-to-primitive.ts +0 -31
- package/src/lib/convert-text-to-lines.ts +0 -31
- package/src/lib/draw-eagle.ts +0 -45
- package/src/lib/draw-primitives.ts +0 -69
- package/src/lib/types.ts +0 -54
- package/src/lib/util/scale-only.ts +0 -7
- package/src/pages/eagle.tsx +0 -20
- package/src/pages/index.tsx +0 -23
- package/src/pages/primitives.tsx +0 -64
- package/src/pages/viewer.tsx +0 -43
- package/tsconfig.json +0 -21
|
@@ -1,8 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/assets/attiny-eagle.ts
|
|
20
|
+
var attiny_eagle_exports = {};
|
|
21
|
+
__export(attiny_eagle_exports, {
|
|
22
|
+
default: () => attiny_eagle_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(attiny_eagle_exports);
|
|
25
|
+
var attiny_eagle_default = {
|
|
2
26
|
version: "7.1.0",
|
|
3
27
|
settings: {
|
|
4
28
|
alwaysvectorfont: "no",
|
|
5
|
-
verticaltext: "up"
|
|
29
|
+
verticaltext: "up"
|
|
6
30
|
},
|
|
7
31
|
grid: {
|
|
8
32
|
distance: 0.1,
|
|
@@ -13,7 +37,7 @@ export default {
|
|
|
13
37
|
display: "no",
|
|
14
38
|
altdistance: 0.01,
|
|
15
39
|
altunitdist: "inch",
|
|
16
|
-
altunit: "inch"
|
|
40
|
+
altunit: "inch"
|
|
17
41
|
},
|
|
18
42
|
layers: [
|
|
19
43
|
{
|
|
@@ -22,7 +46,7 @@ export default {
|
|
|
22
46
|
color: 4,
|
|
23
47
|
fill: 1,
|
|
24
48
|
visible: "yes",
|
|
25
|
-
active: "yes"
|
|
49
|
+
active: "yes"
|
|
26
50
|
},
|
|
27
51
|
{
|
|
28
52
|
number: 16,
|
|
@@ -30,7 +54,7 @@ export default {
|
|
|
30
54
|
color: 1,
|
|
31
55
|
fill: 1,
|
|
32
56
|
visible: "yes",
|
|
33
|
-
active: "yes"
|
|
57
|
+
active: "yes"
|
|
34
58
|
},
|
|
35
59
|
{
|
|
36
60
|
number: 17,
|
|
@@ -38,7 +62,7 @@ export default {
|
|
|
38
62
|
color: 2,
|
|
39
63
|
fill: 1,
|
|
40
64
|
visible: "yes",
|
|
41
|
-
active: "yes"
|
|
65
|
+
active: "yes"
|
|
42
66
|
},
|
|
43
67
|
{
|
|
44
68
|
number: 18,
|
|
@@ -46,7 +70,7 @@ export default {
|
|
|
46
70
|
color: 2,
|
|
47
71
|
fill: 1,
|
|
48
72
|
visible: "yes",
|
|
49
|
-
active: "yes"
|
|
73
|
+
active: "yes"
|
|
50
74
|
},
|
|
51
75
|
{
|
|
52
76
|
number: 19,
|
|
@@ -54,7 +78,7 @@ export default {
|
|
|
54
78
|
color: 6,
|
|
55
79
|
fill: 1,
|
|
56
80
|
visible: "yes",
|
|
57
|
-
active: "yes"
|
|
81
|
+
active: "yes"
|
|
58
82
|
},
|
|
59
83
|
{
|
|
60
84
|
number: 20,
|
|
@@ -62,7 +86,7 @@ export default {
|
|
|
62
86
|
color: 15,
|
|
63
87
|
fill: 1,
|
|
64
88
|
visible: "yes",
|
|
65
|
-
active: "yes"
|
|
89
|
+
active: "yes"
|
|
66
90
|
},
|
|
67
91
|
{
|
|
68
92
|
number: 21,
|
|
@@ -70,7 +94,7 @@ export default {
|
|
|
70
94
|
color: 7,
|
|
71
95
|
fill: 1,
|
|
72
96
|
visible: "yes",
|
|
73
|
-
active: "yes"
|
|
97
|
+
active: "yes"
|
|
74
98
|
},
|
|
75
99
|
{
|
|
76
100
|
number: 22,
|
|
@@ -78,7 +102,7 @@ export default {
|
|
|
78
102
|
color: 7,
|
|
79
103
|
fill: 1,
|
|
80
104
|
visible: "yes",
|
|
81
|
-
active: "yes"
|
|
105
|
+
active: "yes"
|
|
82
106
|
},
|
|
83
107
|
{
|
|
84
108
|
number: 23,
|
|
@@ -86,7 +110,7 @@ export default {
|
|
|
86
110
|
color: 15,
|
|
87
111
|
fill: 1,
|
|
88
112
|
visible: "yes",
|
|
89
|
-
active: "yes"
|
|
113
|
+
active: "yes"
|
|
90
114
|
},
|
|
91
115
|
{
|
|
92
116
|
number: 24,
|
|
@@ -94,7 +118,7 @@ export default {
|
|
|
94
118
|
color: 15,
|
|
95
119
|
fill: 1,
|
|
96
120
|
visible: "yes",
|
|
97
|
-
active: "yes"
|
|
121
|
+
active: "yes"
|
|
98
122
|
},
|
|
99
123
|
{
|
|
100
124
|
number: 25,
|
|
@@ -102,7 +126,7 @@ export default {
|
|
|
102
126
|
color: 7,
|
|
103
127
|
fill: 1,
|
|
104
128
|
visible: "yes",
|
|
105
|
-
active: "yes"
|
|
129
|
+
active: "yes"
|
|
106
130
|
},
|
|
107
131
|
{
|
|
108
132
|
number: 26,
|
|
@@ -110,7 +134,7 @@ export default {
|
|
|
110
134
|
color: 7,
|
|
111
135
|
fill: 1,
|
|
112
136
|
visible: "yes",
|
|
113
|
-
active: "yes"
|
|
137
|
+
active: "yes"
|
|
114
138
|
},
|
|
115
139
|
{
|
|
116
140
|
number: 27,
|
|
@@ -118,7 +142,7 @@ export default {
|
|
|
118
142
|
color: 7,
|
|
119
143
|
fill: 1,
|
|
120
144
|
visible: "yes",
|
|
121
|
-
active: "yes"
|
|
145
|
+
active: "yes"
|
|
122
146
|
},
|
|
123
147
|
{
|
|
124
148
|
number: 28,
|
|
@@ -126,7 +150,7 @@ export default {
|
|
|
126
150
|
color: 7,
|
|
127
151
|
fill: 1,
|
|
128
152
|
visible: "yes",
|
|
129
|
-
active: "yes"
|
|
153
|
+
active: "yes"
|
|
130
154
|
},
|
|
131
155
|
{
|
|
132
156
|
number: 29,
|
|
@@ -134,7 +158,7 @@ export default {
|
|
|
134
158
|
color: 7,
|
|
135
159
|
fill: 3,
|
|
136
160
|
visible: "yes",
|
|
137
|
-
active: "yes"
|
|
161
|
+
active: "yes"
|
|
138
162
|
},
|
|
139
163
|
{
|
|
140
164
|
number: 30,
|
|
@@ -142,7 +166,7 @@ export default {
|
|
|
142
166
|
color: 7,
|
|
143
167
|
fill: 6,
|
|
144
168
|
visible: "no",
|
|
145
|
-
active: "yes"
|
|
169
|
+
active: "yes"
|
|
146
170
|
},
|
|
147
171
|
{
|
|
148
172
|
number: 31,
|
|
@@ -150,7 +174,7 @@ export default {
|
|
|
150
174
|
color: 7,
|
|
151
175
|
fill: 4,
|
|
152
176
|
visible: "yes",
|
|
153
|
-
active: "yes"
|
|
177
|
+
active: "yes"
|
|
154
178
|
},
|
|
155
179
|
{
|
|
156
180
|
number: 32,
|
|
@@ -158,7 +182,7 @@ export default {
|
|
|
158
182
|
color: 7,
|
|
159
183
|
fill: 5,
|
|
160
184
|
visible: "no",
|
|
161
|
-
active: "yes"
|
|
185
|
+
active: "yes"
|
|
162
186
|
},
|
|
163
187
|
{
|
|
164
188
|
number: 33,
|
|
@@ -166,7 +190,7 @@ export default {
|
|
|
166
190
|
color: 6,
|
|
167
191
|
fill: 3,
|
|
168
192
|
visible: "no",
|
|
169
|
-
active: "yes"
|
|
193
|
+
active: "yes"
|
|
170
194
|
},
|
|
171
195
|
{
|
|
172
196
|
number: 34,
|
|
@@ -174,7 +198,7 @@ export default {
|
|
|
174
198
|
color: 6,
|
|
175
199
|
fill: 6,
|
|
176
200
|
visible: "no",
|
|
177
|
-
active: "yes"
|
|
201
|
+
active: "yes"
|
|
178
202
|
},
|
|
179
203
|
{
|
|
180
204
|
number: 35,
|
|
@@ -182,7 +206,7 @@ export default {
|
|
|
182
206
|
color: 7,
|
|
183
207
|
fill: 4,
|
|
184
208
|
visible: "no",
|
|
185
|
-
active: "yes"
|
|
209
|
+
active: "yes"
|
|
186
210
|
},
|
|
187
211
|
{
|
|
188
212
|
number: 36,
|
|
@@ -190,7 +214,7 @@ export default {
|
|
|
190
214
|
color: 7,
|
|
191
215
|
fill: 5,
|
|
192
216
|
visible: "no",
|
|
193
|
-
active: "yes"
|
|
217
|
+
active: "yes"
|
|
194
218
|
},
|
|
195
219
|
{
|
|
196
220
|
number: 37,
|
|
@@ -198,7 +222,7 @@ export default {
|
|
|
198
222
|
color: 7,
|
|
199
223
|
fill: 1,
|
|
200
224
|
visible: "no",
|
|
201
|
-
active: "yes"
|
|
225
|
+
active: "yes"
|
|
202
226
|
},
|
|
203
227
|
{
|
|
204
228
|
number: 38,
|
|
@@ -206,7 +230,7 @@ export default {
|
|
|
206
230
|
color: 7,
|
|
207
231
|
fill: 1,
|
|
208
232
|
visible: "no",
|
|
209
|
-
active: "yes"
|
|
233
|
+
active: "yes"
|
|
210
234
|
},
|
|
211
235
|
{
|
|
212
236
|
number: 39,
|
|
@@ -214,7 +238,7 @@ export default {
|
|
|
214
238
|
color: 4,
|
|
215
239
|
fill: 11,
|
|
216
240
|
visible: "yes",
|
|
217
|
-
active: "yes"
|
|
241
|
+
active: "yes"
|
|
218
242
|
},
|
|
219
243
|
{
|
|
220
244
|
number: 40,
|
|
@@ -222,7 +246,7 @@ export default {
|
|
|
222
246
|
color: 1,
|
|
223
247
|
fill: 11,
|
|
224
248
|
visible: "yes",
|
|
225
|
-
active: "yes"
|
|
249
|
+
active: "yes"
|
|
226
250
|
},
|
|
227
251
|
{
|
|
228
252
|
number: 41,
|
|
@@ -230,7 +254,7 @@ export default {
|
|
|
230
254
|
color: 4,
|
|
231
255
|
fill: 10,
|
|
232
256
|
visible: "yes",
|
|
233
|
-
active: "yes"
|
|
257
|
+
active: "yes"
|
|
234
258
|
},
|
|
235
259
|
{
|
|
236
260
|
number: 42,
|
|
@@ -238,7 +262,7 @@ export default {
|
|
|
238
262
|
color: 1,
|
|
239
263
|
fill: 10,
|
|
240
264
|
visible: "yes",
|
|
241
|
-
active: "yes"
|
|
265
|
+
active: "yes"
|
|
242
266
|
},
|
|
243
267
|
{
|
|
244
268
|
number: 43,
|
|
@@ -246,7 +270,7 @@ export default {
|
|
|
246
270
|
color: 2,
|
|
247
271
|
fill: 10,
|
|
248
272
|
visible: "yes",
|
|
249
|
-
active: "yes"
|
|
273
|
+
active: "yes"
|
|
250
274
|
},
|
|
251
275
|
{
|
|
252
276
|
number: 44,
|
|
@@ -254,7 +278,7 @@ export default {
|
|
|
254
278
|
color: 7,
|
|
255
279
|
fill: 1,
|
|
256
280
|
visible: "no",
|
|
257
|
-
active: "yes"
|
|
281
|
+
active: "yes"
|
|
258
282
|
},
|
|
259
283
|
{
|
|
260
284
|
number: 45,
|
|
@@ -262,7 +286,7 @@ export default {
|
|
|
262
286
|
color: 7,
|
|
263
287
|
fill: 1,
|
|
264
288
|
visible: "no",
|
|
265
|
-
active: "yes"
|
|
289
|
+
active: "yes"
|
|
266
290
|
},
|
|
267
291
|
{
|
|
268
292
|
number: 46,
|
|
@@ -270,7 +294,7 @@ export default {
|
|
|
270
294
|
color: 3,
|
|
271
295
|
fill: 1,
|
|
272
296
|
visible: "no",
|
|
273
|
-
active: "yes"
|
|
297
|
+
active: "yes"
|
|
274
298
|
},
|
|
275
299
|
{
|
|
276
300
|
number: 47,
|
|
@@ -278,7 +302,7 @@ export default {
|
|
|
278
302
|
color: 7,
|
|
279
303
|
fill: 1,
|
|
280
304
|
visible: "no",
|
|
281
|
-
active: "yes"
|
|
305
|
+
active: "yes"
|
|
282
306
|
},
|
|
283
307
|
{
|
|
284
308
|
number: 48,
|
|
@@ -286,7 +310,7 @@ export default {
|
|
|
286
310
|
color: 7,
|
|
287
311
|
fill: 1,
|
|
288
312
|
visible: "yes",
|
|
289
|
-
active: "yes"
|
|
313
|
+
active: "yes"
|
|
290
314
|
},
|
|
291
315
|
{
|
|
292
316
|
number: 49,
|
|
@@ -294,7 +318,7 @@ export default {
|
|
|
294
318
|
color: 7,
|
|
295
319
|
fill: 1,
|
|
296
320
|
visible: "yes",
|
|
297
|
-
active: "yes"
|
|
321
|
+
active: "yes"
|
|
298
322
|
},
|
|
299
323
|
{
|
|
300
324
|
number: 51,
|
|
@@ -302,7 +326,7 @@ export default {
|
|
|
302
326
|
color: 7,
|
|
303
327
|
fill: 1,
|
|
304
328
|
visible: "yes",
|
|
305
|
-
active: "yes"
|
|
329
|
+
active: "yes"
|
|
306
330
|
},
|
|
307
331
|
{
|
|
308
332
|
number: 52,
|
|
@@ -310,7 +334,7 @@ export default {
|
|
|
310
334
|
color: 7,
|
|
311
335
|
fill: 1,
|
|
312
336
|
visible: "yes",
|
|
313
|
-
active: "yes"
|
|
337
|
+
active: "yes"
|
|
314
338
|
},
|
|
315
339
|
{
|
|
316
340
|
number: 90,
|
|
@@ -318,7 +342,7 @@ export default {
|
|
|
318
342
|
color: 5,
|
|
319
343
|
fill: 1,
|
|
320
344
|
visible: "yes",
|
|
321
|
-
active: "yes"
|
|
345
|
+
active: "yes"
|
|
322
346
|
},
|
|
323
347
|
{
|
|
324
348
|
number: 91,
|
|
@@ -326,7 +350,7 @@ export default {
|
|
|
326
350
|
color: 2,
|
|
327
351
|
fill: 1,
|
|
328
352
|
visible: "yes",
|
|
329
|
-
active: "yes"
|
|
353
|
+
active: "yes"
|
|
330
354
|
},
|
|
331
355
|
{
|
|
332
356
|
number: 92,
|
|
@@ -334,7 +358,7 @@ export default {
|
|
|
334
358
|
color: 1,
|
|
335
359
|
fill: 1,
|
|
336
360
|
visible: "yes",
|
|
337
|
-
active: "yes"
|
|
361
|
+
active: "yes"
|
|
338
362
|
},
|
|
339
363
|
{
|
|
340
364
|
number: 93,
|
|
@@ -342,7 +366,7 @@ export default {
|
|
|
342
366
|
color: 2,
|
|
343
367
|
fill: 1,
|
|
344
368
|
visible: "yes",
|
|
345
|
-
active: "yes"
|
|
369
|
+
active: "yes"
|
|
346
370
|
},
|
|
347
371
|
{
|
|
348
372
|
number: 94,
|
|
@@ -350,7 +374,7 @@ export default {
|
|
|
350
374
|
color: 4,
|
|
351
375
|
fill: 1,
|
|
352
376
|
visible: "yes",
|
|
353
|
-
active: "yes"
|
|
377
|
+
active: "yes"
|
|
354
378
|
},
|
|
355
379
|
{
|
|
356
380
|
number: 95,
|
|
@@ -358,7 +382,7 @@ export default {
|
|
|
358
382
|
color: 7,
|
|
359
383
|
fill: 1,
|
|
360
384
|
visible: "yes",
|
|
361
|
-
active: "yes"
|
|
385
|
+
active: "yes"
|
|
362
386
|
},
|
|
363
387
|
{
|
|
364
388
|
number: 96,
|
|
@@ -366,7 +390,7 @@ export default {
|
|
|
366
390
|
color: 7,
|
|
367
391
|
fill: 1,
|
|
368
392
|
visible: "yes",
|
|
369
|
-
active: "yes"
|
|
393
|
+
active: "yes"
|
|
370
394
|
},
|
|
371
395
|
{
|
|
372
396
|
number: 97,
|
|
@@ -374,7 +398,7 @@ export default {
|
|
|
374
398
|
color: 7,
|
|
375
399
|
fill: 1,
|
|
376
400
|
visible: "yes",
|
|
377
|
-
active: "yes"
|
|
401
|
+
active: "yes"
|
|
378
402
|
},
|
|
379
403
|
{
|
|
380
404
|
number: 98,
|
|
@@ -382,8 +406,8 @@ export default {
|
|
|
382
406
|
color: 6,
|
|
383
407
|
fill: 1,
|
|
384
408
|
visible: "yes",
|
|
385
|
-
active: "yes"
|
|
386
|
-
}
|
|
409
|
+
active: "yes"
|
|
410
|
+
}
|
|
387
411
|
],
|
|
388
412
|
library: {
|
|
389
413
|
packages: [
|
|
@@ -394,8 +418,8 @@ export default {
|
|
|
394
418
|
y: 4.4,
|
|
395
419
|
radius: 0.1,
|
|
396
420
|
width: 0.2,
|
|
397
|
-
layer: 21
|
|
398
|
-
}
|
|
421
|
+
layer: 21
|
|
422
|
+
}
|
|
399
423
|
],
|
|
400
424
|
wire: [
|
|
401
425
|
{
|
|
@@ -404,7 +428,7 @@ export default {
|
|
|
404
428
|
x2: 1.9475,
|
|
405
429
|
y2: 4.425,
|
|
406
430
|
width: 0.127,
|
|
407
|
-
layer: 21
|
|
431
|
+
layer: 21
|
|
408
432
|
},
|
|
409
433
|
{
|
|
410
434
|
x1: -1.9475,
|
|
@@ -412,7 +436,7 @@ export default {
|
|
|
412
436
|
x2: 1.9475,
|
|
413
437
|
y2: -4.425,
|
|
414
438
|
width: 0.127,
|
|
415
|
-
layer: 21
|
|
439
|
+
layer: 21
|
|
416
440
|
},
|
|
417
441
|
{
|
|
418
442
|
x1: -3.705,
|
|
@@ -420,7 +444,7 @@ export default {
|
|
|
420
444
|
x2: 3.705,
|
|
421
445
|
y2: 4.5725,
|
|
422
446
|
width: 0.05,
|
|
423
|
-
layer: 39
|
|
447
|
+
layer: 39
|
|
424
448
|
},
|
|
425
449
|
{
|
|
426
450
|
x1: -3.705,
|
|
@@ -428,7 +452,7 @@ export default {
|
|
|
428
452
|
x2: 3.705,
|
|
429
453
|
y2: -4.5725,
|
|
430
454
|
width: 0.05,
|
|
431
|
-
layer: 39
|
|
455
|
+
layer: 39
|
|
432
456
|
},
|
|
433
457
|
{
|
|
434
458
|
x1: -3.705,
|
|
@@ -436,7 +460,7 @@ export default {
|
|
|
436
460
|
x2: -3.705,
|
|
437
461
|
y2: -4.5725,
|
|
438
462
|
width: 0.05,
|
|
439
|
-
layer: 39
|
|
463
|
+
layer: 39
|
|
440
464
|
},
|
|
441
465
|
{
|
|
442
466
|
x1: 3.705,
|
|
@@ -444,8 +468,8 @@ export default {
|
|
|
444
468
|
x2: 3.705,
|
|
445
469
|
y2: -4.5725,
|
|
446
470
|
width: 0.05,
|
|
447
|
-
layer: 39
|
|
448
|
-
}
|
|
471
|
+
layer: 39
|
|
472
|
+
}
|
|
449
473
|
],
|
|
450
474
|
text: [
|
|
451
475
|
{
|
|
@@ -454,15 +478,15 @@ export default {
|
|
|
454
478
|
y: -4.602,
|
|
455
479
|
size: 1.27,
|
|
456
480
|
layer: 27,
|
|
457
|
-
align: "top-left"
|
|
481
|
+
align: "top-left"
|
|
458
482
|
},
|
|
459
483
|
{
|
|
460
484
|
"#text": ">NAME",
|
|
461
485
|
x: -3.965,
|
|
462
486
|
y: 4.602,
|
|
463
487
|
size: 1.27,
|
|
464
|
-
layer: 25
|
|
465
|
-
}
|
|
488
|
+
layer: 25
|
|
489
|
+
}
|
|
466
490
|
],
|
|
467
491
|
smd: [
|
|
468
492
|
{
|
|
@@ -472,7 +496,7 @@ export default {
|
|
|
472
496
|
dx: 1.97,
|
|
473
497
|
dy: 0.59,
|
|
474
498
|
layer: 1,
|
|
475
|
-
roundness: 25
|
|
499
|
+
roundness: 25
|
|
476
500
|
},
|
|
477
501
|
{
|
|
478
502
|
name: 2,
|
|
@@ -481,7 +505,7 @@ export default {
|
|
|
481
505
|
dx: 1.97,
|
|
482
506
|
dy: 0.59,
|
|
483
507
|
layer: 1,
|
|
484
|
-
roundness: 25
|
|
508
|
+
roundness: 25
|
|
485
509
|
},
|
|
486
510
|
{
|
|
487
511
|
name: 3,
|
|
@@ -490,7 +514,7 @@ export default {
|
|
|
490
514
|
dx: 1.97,
|
|
491
515
|
dy: 0.59,
|
|
492
516
|
layer: 1,
|
|
493
|
-
roundness: 25
|
|
517
|
+
roundness: 25
|
|
494
518
|
},
|
|
495
519
|
{
|
|
496
520
|
name: 4,
|
|
@@ -499,7 +523,7 @@ export default {
|
|
|
499
523
|
dx: 1.97,
|
|
500
524
|
dy: 0.59,
|
|
501
525
|
layer: 1,
|
|
502
|
-
roundness: 25
|
|
526
|
+
roundness: 25
|
|
503
527
|
},
|
|
504
528
|
{
|
|
505
529
|
name: 5,
|
|
@@ -508,7 +532,7 @@ export default {
|
|
|
508
532
|
dx: 1.97,
|
|
509
533
|
dy: 0.59,
|
|
510
534
|
layer: 1,
|
|
511
|
-
roundness: 25
|
|
535
|
+
roundness: 25
|
|
512
536
|
},
|
|
513
537
|
{
|
|
514
538
|
name: 6,
|
|
@@ -517,7 +541,7 @@ export default {
|
|
|
517
541
|
dx: 1.97,
|
|
518
542
|
dy: 0.59,
|
|
519
543
|
layer: 1,
|
|
520
|
-
roundness: 25
|
|
544
|
+
roundness: 25
|
|
521
545
|
},
|
|
522
546
|
{
|
|
523
547
|
name: 7,
|
|
@@ -526,7 +550,7 @@ export default {
|
|
|
526
550
|
dx: 1.97,
|
|
527
551
|
dy: 0.59,
|
|
528
552
|
layer: 1,
|
|
529
|
-
roundness: 25
|
|
553
|
+
roundness: 25
|
|
530
554
|
},
|
|
531
555
|
{
|
|
532
556
|
name: 8,
|
|
@@ -535,7 +559,7 @@ export default {
|
|
|
535
559
|
dx: 1.97,
|
|
536
560
|
dy: 0.59,
|
|
537
561
|
layer: 1,
|
|
538
|
-
roundness: 25
|
|
562
|
+
roundness: 25
|
|
539
563
|
},
|
|
540
564
|
{
|
|
541
565
|
name: 9,
|
|
@@ -544,7 +568,7 @@ export default {
|
|
|
544
568
|
dx: 1.97,
|
|
545
569
|
dy: 0.59,
|
|
546
570
|
layer: 1,
|
|
547
|
-
roundness: 25
|
|
571
|
+
roundness: 25
|
|
548
572
|
},
|
|
549
573
|
{
|
|
550
574
|
name: 10,
|
|
@@ -553,7 +577,7 @@ export default {
|
|
|
553
577
|
dx: 1.97,
|
|
554
578
|
dy: 0.59,
|
|
555
579
|
layer: 1,
|
|
556
|
-
roundness: 25
|
|
580
|
+
roundness: 25
|
|
557
581
|
},
|
|
558
582
|
{
|
|
559
583
|
name: 11,
|
|
@@ -562,7 +586,7 @@ export default {
|
|
|
562
586
|
dx: 1.97,
|
|
563
587
|
dy: 0.59,
|
|
564
588
|
layer: 1,
|
|
565
|
-
roundness: 25
|
|
589
|
+
roundness: 25
|
|
566
590
|
},
|
|
567
591
|
{
|
|
568
592
|
name: 12,
|
|
@@ -571,7 +595,7 @@ export default {
|
|
|
571
595
|
dx: 1.97,
|
|
572
596
|
dy: 0.59,
|
|
573
597
|
layer: 1,
|
|
574
|
-
roundness: 25
|
|
598
|
+
roundness: 25
|
|
575
599
|
},
|
|
576
600
|
{
|
|
577
601
|
name: 13,
|
|
@@ -580,7 +604,7 @@ export default {
|
|
|
580
604
|
dx: 1.97,
|
|
581
605
|
dy: 0.59,
|
|
582
606
|
layer: 1,
|
|
583
|
-
roundness: 25
|
|
607
|
+
roundness: 25
|
|
584
608
|
},
|
|
585
609
|
{
|
|
586
610
|
name: 14,
|
|
@@ -589,24 +613,23 @@ export default {
|
|
|
589
613
|
dx: 1.97,
|
|
590
614
|
dy: 0.59,
|
|
591
615
|
layer: 1,
|
|
592
|
-
roundness: 25
|
|
593
|
-
}
|
|
616
|
+
roundness: 25
|
|
617
|
+
}
|
|
594
618
|
],
|
|
595
619
|
name: "SOIC127P599X175-14N",
|
|
596
|
-
rect: []
|
|
597
|
-
}
|
|
620
|
+
rect: []
|
|
621
|
+
}
|
|
598
622
|
],
|
|
599
623
|
devicesets: [
|
|
600
624
|
{
|
|
601
|
-
description:
|
|
602
|
-
"MCU 8-bit ATtiny AVR CISC 8KB Flash 1.8V/2.5V/3.3V/5V 14-Pin SOIC W Tray",
|
|
625
|
+
description: "MCU 8-bit ATtiny AVR CISC 8KB Flash 1.8V/2.5V/3.3V/5V 14-Pin SOIC W Tray",
|
|
603
626
|
gates: [
|
|
604
627
|
{
|
|
605
628
|
name: "G$1",
|
|
606
629
|
symbol: "ATTINY841-SSU",
|
|
607
630
|
x: 0,
|
|
608
|
-
y: 0
|
|
609
|
-
}
|
|
631
|
+
y: 0
|
|
632
|
+
}
|
|
610
633
|
],
|
|
611
634
|
devices: [
|
|
612
635
|
{
|
|
@@ -614,81 +637,81 @@ export default {
|
|
|
614
637
|
{
|
|
615
638
|
gate: "G$1",
|
|
616
639
|
pin: "GND",
|
|
617
|
-
pad: 14
|
|
640
|
+
pad: 14
|
|
618
641
|
},
|
|
619
642
|
{
|
|
620
643
|
gate: "G$1",
|
|
621
644
|
pin: "PA0",
|
|
622
|
-
pad: 13
|
|
645
|
+
pad: 13
|
|
623
646
|
},
|
|
624
647
|
{
|
|
625
648
|
gate: "G$1",
|
|
626
649
|
pin: "PA1",
|
|
627
|
-
pad: 12
|
|
650
|
+
pad: 12
|
|
628
651
|
},
|
|
629
652
|
{
|
|
630
653
|
gate: "G$1",
|
|
631
654
|
pin: "PA2",
|
|
632
|
-
pad: 11
|
|
655
|
+
pad: 11
|
|
633
656
|
},
|
|
634
657
|
{
|
|
635
658
|
gate: "G$1",
|
|
636
659
|
pin: "PA3",
|
|
637
|
-
pad: 10
|
|
660
|
+
pad: 10
|
|
638
661
|
},
|
|
639
662
|
{
|
|
640
663
|
gate: "G$1",
|
|
641
664
|
pin: "PA4",
|
|
642
|
-
pad: 9
|
|
665
|
+
pad: 9
|
|
643
666
|
},
|
|
644
667
|
{
|
|
645
668
|
gate: "G$1",
|
|
646
669
|
pin: "PA5",
|
|
647
|
-
pad: 8
|
|
670
|
+
pad: 8
|
|
648
671
|
},
|
|
649
672
|
{
|
|
650
673
|
gate: "G$1",
|
|
651
674
|
pin: "PA6",
|
|
652
|
-
pad: 7
|
|
675
|
+
pad: 7
|
|
653
676
|
},
|
|
654
677
|
{
|
|
655
678
|
gate: "G$1",
|
|
656
679
|
pin: "PA7",
|
|
657
|
-
pad: 6
|
|
680
|
+
pad: 6
|
|
658
681
|
},
|
|
659
682
|
{
|
|
660
683
|
gate: "G$1",
|
|
661
684
|
pin: "PB0",
|
|
662
|
-
pad: 2
|
|
685
|
+
pad: 2
|
|
663
686
|
},
|
|
664
687
|
{
|
|
665
688
|
gate: "G$1",
|
|
666
689
|
pin: "PB1",
|
|
667
|
-
pad: 3
|
|
690
|
+
pad: 3
|
|
668
691
|
},
|
|
669
692
|
{
|
|
670
693
|
gate: "G$1",
|
|
671
694
|
pin: "PB2",
|
|
672
|
-
pad: 5
|
|
695
|
+
pad: 5
|
|
673
696
|
},
|
|
674
697
|
{
|
|
675
698
|
gate: "G$1",
|
|
676
699
|
pin: "PB3",
|
|
677
|
-
pad: 4
|
|
700
|
+
pad: 4
|
|
678
701
|
},
|
|
679
702
|
{
|
|
680
703
|
gate: "G$1",
|
|
681
704
|
pin: "VCC",
|
|
682
|
-
pad: 1
|
|
683
|
-
}
|
|
705
|
+
pad: 1
|
|
706
|
+
}
|
|
684
707
|
],
|
|
685
708
|
name: "",
|
|
686
|
-
package: "SOIC127P599X175-14N"
|
|
687
|
-
}
|
|
709
|
+
package: "SOIC127P599X175-14N"
|
|
710
|
+
}
|
|
688
711
|
],
|
|
689
712
|
name: "ATTINY841-SSU",
|
|
690
|
-
prefix: "U"
|
|
691
|
-
}
|
|
713
|
+
prefix: "U"
|
|
714
|
+
}
|
|
692
715
|
],
|
|
693
716
|
symbols: [
|
|
694
717
|
{
|
|
@@ -699,7 +722,7 @@ export default {
|
|
|
699
722
|
x2: 10.16,
|
|
700
723
|
y2: -17.78,
|
|
701
724
|
width: 0.1524,
|
|
702
|
-
layer: 94
|
|
725
|
+
layer: 94
|
|
703
726
|
},
|
|
704
727
|
{
|
|
705
728
|
x1: 10.16,
|
|
@@ -707,7 +730,7 @@ export default {
|
|
|
707
730
|
x2: -10.16,
|
|
708
731
|
y2: -17.78,
|
|
709
732
|
width: 0.1524,
|
|
710
|
-
layer: 94
|
|
733
|
+
layer: 94
|
|
711
734
|
},
|
|
712
735
|
{
|
|
713
736
|
x1: -10.16,
|
|
@@ -715,7 +738,7 @@ export default {
|
|
|
715
738
|
x2: -10.16,
|
|
716
739
|
y2: 15.24,
|
|
717
740
|
width: 0.1524,
|
|
718
|
-
layer: 94
|
|
741
|
+
layer: 94
|
|
719
742
|
},
|
|
720
743
|
{
|
|
721
744
|
x1: -10.16,
|
|
@@ -723,8 +746,8 @@ export default {
|
|
|
723
746
|
x2: 10.16,
|
|
724
747
|
y2: 15.24,
|
|
725
748
|
width: 0.1524,
|
|
726
|
-
layer: 94
|
|
727
|
-
}
|
|
749
|
+
layer: 94
|
|
750
|
+
}
|
|
728
751
|
],
|
|
729
752
|
text: [
|
|
730
753
|
{
|
|
@@ -732,15 +755,15 @@ export default {
|
|
|
732
755
|
x: -10.16,
|
|
733
756
|
y: 16.002,
|
|
734
757
|
size: 1.778,
|
|
735
|
-
layer: 95
|
|
758
|
+
layer: 95
|
|
736
759
|
},
|
|
737
760
|
{
|
|
738
761
|
"#text": ">VALUE",
|
|
739
762
|
x: -10.16,
|
|
740
763
|
y: -20.32,
|
|
741
764
|
size: 1.778,
|
|
742
|
-
layer: 96
|
|
743
|
-
}
|
|
765
|
+
layer: 96
|
|
766
|
+
}
|
|
744
767
|
],
|
|
745
768
|
pin: [
|
|
746
769
|
{
|
|
@@ -749,20 +772,20 @@ export default {
|
|
|
749
772
|
y: 12.7,
|
|
750
773
|
length: "middle",
|
|
751
774
|
direction: "pwr",
|
|
752
|
-
rot: "R180"
|
|
775
|
+
rot: "R180"
|
|
753
776
|
},
|
|
754
777
|
{
|
|
755
778
|
name: "PB0",
|
|
756
779
|
x: 15.24,
|
|
757
780
|
y: 2.54,
|
|
758
781
|
length: "middle",
|
|
759
|
-
rot: "R180"
|
|
782
|
+
rot: "R180"
|
|
760
783
|
},
|
|
761
784
|
{
|
|
762
785
|
name: "PA0",
|
|
763
786
|
x: -15.24,
|
|
764
787
|
y: 7.62,
|
|
765
|
-
length: "middle"
|
|
788
|
+
length: "middle"
|
|
766
789
|
},
|
|
767
790
|
{
|
|
768
791
|
name: "GND",
|
|
@@ -770,74 +793,77 @@ export default {
|
|
|
770
793
|
y: -15.24,
|
|
771
794
|
length: "middle",
|
|
772
795
|
direction: "pwr",
|
|
773
|
-
rot: "R180"
|
|
796
|
+
rot: "R180"
|
|
774
797
|
},
|
|
775
798
|
{
|
|
776
799
|
name: "PB1",
|
|
777
800
|
x: 15.24,
|
|
778
801
|
y: 0,
|
|
779
802
|
length: "middle",
|
|
780
|
-
rot: "R180"
|
|
803
|
+
rot: "R180"
|
|
781
804
|
},
|
|
782
805
|
{
|
|
783
806
|
name: "PB2",
|
|
784
807
|
x: 15.24,
|
|
785
808
|
y: -2.54,
|
|
786
809
|
length: "middle",
|
|
787
|
-
rot: "R180"
|
|
810
|
+
rot: "R180"
|
|
788
811
|
},
|
|
789
812
|
{
|
|
790
813
|
name: "PB3",
|
|
791
814
|
x: 15.24,
|
|
792
815
|
y: -5.08,
|
|
793
816
|
length: "middle",
|
|
794
|
-
rot: "R180"
|
|
817
|
+
rot: "R180"
|
|
795
818
|
},
|
|
796
819
|
{
|
|
797
820
|
name: "PA6",
|
|
798
821
|
x: -15.24,
|
|
799
822
|
y: -7.62,
|
|
800
|
-
length: "middle"
|
|
823
|
+
length: "middle"
|
|
801
824
|
},
|
|
802
825
|
{
|
|
803
826
|
name: "PA7",
|
|
804
827
|
x: -15.24,
|
|
805
828
|
y: -10.16,
|
|
806
|
-
length: "middle"
|
|
829
|
+
length: "middle"
|
|
807
830
|
},
|
|
808
831
|
{
|
|
809
832
|
name: "PA1",
|
|
810
833
|
x: -15.24,
|
|
811
834
|
y: 5.08,
|
|
812
|
-
length: "middle"
|
|
835
|
+
length: "middle"
|
|
813
836
|
},
|
|
814
837
|
{
|
|
815
838
|
name: "PA2",
|
|
816
839
|
x: -15.24,
|
|
817
840
|
y: 2.54,
|
|
818
|
-
length: "middle"
|
|
841
|
+
length: "middle"
|
|
819
842
|
},
|
|
820
843
|
{
|
|
821
844
|
name: "PA3",
|
|
822
845
|
x: -15.24,
|
|
823
846
|
y: 0,
|
|
824
|
-
length: "middle"
|
|
847
|
+
length: "middle"
|
|
825
848
|
},
|
|
826
849
|
{
|
|
827
850
|
name: "PA4",
|
|
828
851
|
x: -15.24,
|
|
829
852
|
y: -2.54,
|
|
830
|
-
length: "middle"
|
|
853
|
+
length: "middle"
|
|
831
854
|
},
|
|
832
855
|
{
|
|
833
856
|
name: "PA5",
|
|
834
857
|
x: -15.24,
|
|
835
858
|
y: -5.08,
|
|
836
|
-
length: "middle"
|
|
837
|
-
}
|
|
859
|
+
length: "middle"
|
|
860
|
+
}
|
|
838
861
|
],
|
|
839
|
-
name: "ATTINY841-SSU"
|
|
840
|
-
}
|
|
841
|
-
]
|
|
842
|
-
}
|
|
843
|
-
}
|
|
862
|
+
name: "ATTINY841-SSU"
|
|
863
|
+
}
|
|
864
|
+
]
|
|
865
|
+
}
|
|
866
|
+
};
|
|
867
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
868
|
+
0 && (module.exports = {});
|
|
869
|
+
//# sourceMappingURL=attiny-eagle.js.map
|