@tscircuit/autorouting-dataset-01 1.0.5

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.
@@ -0,0 +1,443 @@
1
+ {
2
+ "bounds": {
3
+ "minX": -3.81,
4
+ "maxX": 3.81,
5
+ "minY": -12.065,
6
+ "maxY": 12.065
7
+ },
8
+ "obstacles": [
9
+ {
10
+ "type": "rect",
11
+ "layers": [
12
+ "bottom"
13
+ ],
14
+ "center": {
15
+ "x": -2.5400000000000005,
16
+ "y": -5.97
17
+ },
18
+ "width": 1,
19
+ "height": 3,
20
+ "connectedTo": [
21
+ "pcb_smtpad_0",
22
+ "connectivity_net20",
23
+ "source_trace_8",
24
+ "source_port_7",
25
+ "source_trace_0",
26
+ "source_port_2",
27
+ "source_port_3",
28
+ "pcb_smtpad_0",
29
+ "pcb_port_2",
30
+ "pcb_smtpad_3",
31
+ "pcb_port_3",
32
+ "pcb_smtpad_9",
33
+ "pcb_port_7"
34
+ ]
35
+ },
36
+ {
37
+ "type": "rect",
38
+ "layers": [
39
+ "bottom"
40
+ ],
41
+ "center": {
42
+ "x": -6.123233995736766e-16,
43
+ "y": -5.97
44
+ },
45
+ "width": 1,
46
+ "height": 3,
47
+ "connectedTo": [
48
+ "pcb_smtpad_1",
49
+ "connectivity_net15",
50
+ "source_trace_6",
51
+ "source_port_6",
52
+ "source_trace_5",
53
+ "source_port_4",
54
+ "source_trace_4",
55
+ "source_port_1",
56
+ "source_net_1",
57
+ "pcb_smtpad_1",
58
+ "pcb_port_1",
59
+ "pcb_smtpad_4",
60
+ "pcb_port_4",
61
+ "pcb_smtpad_6",
62
+ "pcb_port_6"
63
+ ]
64
+ },
65
+ {
66
+ "type": "rect",
67
+ "layers": [
68
+ "bottom"
69
+ ],
70
+ "center": {
71
+ "x": 2.5399999999999996,
72
+ "y": -5.97
73
+ },
74
+ "width": 1,
75
+ "height": 3,
76
+ "connectedTo": [
77
+ "pcb_smtpad_2",
78
+ "connectivity_net8",
79
+ "source_trace_3",
80
+ "source_port_10",
81
+ "source_trace_2",
82
+ "source_port_9",
83
+ "source_trace_1",
84
+ "source_port_0",
85
+ "source_net_0",
86
+ "pcb_smtpad_2",
87
+ "pcb_port_0",
88
+ "pcb_smtpad_10",
89
+ "pcb_port_9",
90
+ "pcb_smtpad_8",
91
+ "pcb_port_10"
92
+ ]
93
+ },
94
+ {
95
+ "type": "rect",
96
+ "layers": [
97
+ "top"
98
+ ],
99
+ "center": {
100
+ "x": -1.2699999999999998,
101
+ "y": 6.365
102
+ },
103
+ "width": 0.9,
104
+ "height": 0.7,
105
+ "connectedTo": [
106
+ "pcb_smtpad_3",
107
+ "connectivity_net20",
108
+ "source_trace_8",
109
+ "source_port_7",
110
+ "source_trace_0",
111
+ "source_port_2",
112
+ "source_port_3",
113
+ "pcb_smtpad_0",
114
+ "pcb_port_2",
115
+ "pcb_smtpad_3",
116
+ "pcb_port_3",
117
+ "pcb_smtpad_9",
118
+ "pcb_port_7"
119
+ ]
120
+ },
121
+ {
122
+ "type": "rect",
123
+ "layers": [
124
+ "top"
125
+ ],
126
+ "center": {
127
+ "x": -1.2700000000000002,
128
+ "y": 5.0649999999999995
129
+ },
130
+ "width": 0.9,
131
+ "height": 0.7,
132
+ "connectedTo": [
133
+ "pcb_smtpad_4",
134
+ "connectivity_net15",
135
+ "source_trace_6",
136
+ "source_port_6",
137
+ "source_trace_5",
138
+ "source_port_4",
139
+ "source_trace_4",
140
+ "source_port_1",
141
+ "source_net_1",
142
+ "pcb_smtpad_1",
143
+ "pcb_port_1",
144
+ "pcb_smtpad_4",
145
+ "pcb_port_4",
146
+ "pcb_smtpad_6",
147
+ "pcb_port_6"
148
+ ]
149
+ },
150
+ {
151
+ "type": "rect",
152
+ "layers": [
153
+ "top"
154
+ ],
155
+ "center": {
156
+ "x": 1.2700000000000002,
157
+ "y": 6.365
158
+ },
159
+ "width": 0.9,
160
+ "height": 0.7,
161
+ "connectedTo": [
162
+ "pcb_smtpad_5",
163
+ "connectivity_net17",
164
+ "source_trace_7",
165
+ "source_port_8",
166
+ "source_port_5",
167
+ "pcb_smtpad_5",
168
+ "pcb_port_5",
169
+ "pcb_smtpad_7",
170
+ "pcb_port_8"
171
+ ]
172
+ },
173
+ {
174
+ "type": "rect",
175
+ "layers": [
176
+ "top"
177
+ ],
178
+ "center": {
179
+ "x": 1.2699999999999998,
180
+ "y": 5.0649999999999995
181
+ },
182
+ "width": 0.9,
183
+ "height": 0.7,
184
+ "connectedTo": [
185
+ "pcb_smtpad_6",
186
+ "connectivity_net15",
187
+ "source_trace_6",
188
+ "source_port_6",
189
+ "source_trace_5",
190
+ "source_port_4",
191
+ "source_trace_4",
192
+ "source_port_1",
193
+ "source_net_1",
194
+ "pcb_smtpad_1",
195
+ "pcb_port_1",
196
+ "pcb_smtpad_4",
197
+ "pcb_port_4",
198
+ "pcb_smtpad_6",
199
+ "pcb_port_6"
200
+ ]
201
+ },
202
+ {
203
+ "type": "rect",
204
+ "layers": [
205
+ "top"
206
+ ],
207
+ "center": {
208
+ "x": 1.8,
209
+ "y": 10.425
210
+ },
211
+ "width": 1.2,
212
+ "height": 0.6,
213
+ "connectedTo": [
214
+ "pcb_smtpad_7",
215
+ "connectivity_net17",
216
+ "source_trace_7",
217
+ "source_port_8",
218
+ "source_port_5",
219
+ "pcb_smtpad_5",
220
+ "pcb_port_5",
221
+ "pcb_smtpad_7",
222
+ "pcb_port_8"
223
+ ]
224
+ },
225
+ {
226
+ "type": "rect",
227
+ "layers": [
228
+ "top"
229
+ ],
230
+ "center": {
231
+ "x": -1.8,
232
+ "y": 10.425
233
+ },
234
+ "width": 1.2,
235
+ "height": 0.6,
236
+ "connectedTo": [
237
+ "pcb_smtpad_8",
238
+ "connectivity_net8",
239
+ "source_trace_3",
240
+ "source_port_10",
241
+ "source_trace_2",
242
+ "source_port_9",
243
+ "source_trace_1",
244
+ "source_port_0",
245
+ "source_net_0",
246
+ "pcb_smtpad_2",
247
+ "pcb_port_0",
248
+ "pcb_smtpad_10",
249
+ "pcb_port_9",
250
+ "pcb_smtpad_8",
251
+ "pcb_port_10"
252
+ ]
253
+ },
254
+ {
255
+ "type": "rect",
256
+ "layers": [
257
+ "top"
258
+ ],
259
+ "center": {
260
+ "x": -1.8,
261
+ "y": 8.625
262
+ },
263
+ "width": 1.2,
264
+ "height": 0.6,
265
+ "connectedTo": [
266
+ "pcb_smtpad_9",
267
+ "connectivity_net20",
268
+ "source_trace_8",
269
+ "source_port_7",
270
+ "source_trace_0",
271
+ "source_port_2",
272
+ "source_port_3",
273
+ "pcb_smtpad_0",
274
+ "pcb_port_2",
275
+ "pcb_smtpad_3",
276
+ "pcb_port_3",
277
+ "pcb_smtpad_9",
278
+ "pcb_port_7"
279
+ ]
280
+ },
281
+ {
282
+ "type": "rect",
283
+ "layers": [
284
+ "top"
285
+ ],
286
+ "center": {
287
+ "x": 1.8,
288
+ "y": 8.625
289
+ },
290
+ "width": 1.2,
291
+ "height": 0.6,
292
+ "connectedTo": [
293
+ "pcb_smtpad_10",
294
+ "connectivity_net8",
295
+ "source_trace_3",
296
+ "source_port_10",
297
+ "source_trace_2",
298
+ "source_port_9",
299
+ "source_trace_1",
300
+ "source_port_0",
301
+ "source_net_0",
302
+ "pcb_smtpad_2",
303
+ "pcb_port_0",
304
+ "pcb_smtpad_10",
305
+ "pcb_port_9",
306
+ "pcb_smtpad_8",
307
+ "pcb_port_10"
308
+ ]
309
+ },
310
+ {
311
+ "type": "rect",
312
+ "layers": [
313
+ "top",
314
+ "inner1",
315
+ "inner2",
316
+ "bottom"
317
+ ],
318
+ "center": {
319
+ "x": 0,
320
+ "y": 0.635
321
+ },
322
+ "width": 3.302,
323
+ "height": 3.302,
324
+ "connectedTo": []
325
+ }
326
+ ],
327
+ "connections": [
328
+ {
329
+ "name": "source_trace_0",
330
+ "source_trace_id": "source_trace_0",
331
+ "pointsToConnect": [
332
+ {
333
+ "x": -2.5400000000000005,
334
+ "y": -5.97,
335
+ "layer": "bottom",
336
+ "pointId": "pcb_port_2",
337
+ "pcb_port_id": "pcb_port_2"
338
+ },
339
+ {
340
+ "x": -1.2699999999999998,
341
+ "y": 6.365,
342
+ "layer": "top",
343
+ "pointId": "pcb_port_3",
344
+ "pcb_port_id": "pcb_port_3"
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "name": "source_trace_7",
350
+ "source_trace_id": "source_trace_7",
351
+ "pointsToConnect": [
352
+ {
353
+ "x": 1.8,
354
+ "y": 10.425,
355
+ "layer": "top",
356
+ "pointId": "pcb_port_8",
357
+ "pcb_port_id": "pcb_port_8"
358
+ },
359
+ {
360
+ "x": 1.2700000000000002,
361
+ "y": 6.365,
362
+ "layer": "top",
363
+ "pointId": "pcb_port_5",
364
+ "pcb_port_id": "pcb_port_5"
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "name": "source_trace_8",
370
+ "source_trace_id": "source_trace_8",
371
+ "pointsToConnect": [
372
+ {
373
+ "x": -1.8,
374
+ "y": 8.625,
375
+ "layer": "top",
376
+ "pointId": "pcb_port_7",
377
+ "pcb_port_id": "pcb_port_7"
378
+ },
379
+ {
380
+ "x": -1.2699999999999998,
381
+ "y": 6.365,
382
+ "layer": "top",
383
+ "pointId": "pcb_port_3",
384
+ "pcb_port_id": "pcb_port_3"
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "name": "source_net_0",
390
+ "pointsToConnect": [
391
+ {
392
+ "x": 2.5399999999999996,
393
+ "y": -5.97,
394
+ "layer": "bottom",
395
+ "pointId": "pcb_port_0",
396
+ "pcb_port_id": "pcb_port_0"
397
+ },
398
+ {
399
+ "x": 1.8,
400
+ "y": 8.625,
401
+ "layer": "top",
402
+ "pointId": "pcb_port_9",
403
+ "pcb_port_id": "pcb_port_9"
404
+ },
405
+ {
406
+ "x": -1.8,
407
+ "y": 10.425,
408
+ "layer": "top",
409
+ "pointId": "pcb_port_10",
410
+ "pcb_port_id": "pcb_port_10"
411
+ }
412
+ ]
413
+ },
414
+ {
415
+ "name": "source_net_1",
416
+ "pointsToConnect": [
417
+ {
418
+ "x": -6.123233995736766e-16,
419
+ "y": -5.97,
420
+ "layer": "bottom",
421
+ "pointId": "pcb_port_1",
422
+ "pcb_port_id": "pcb_port_1"
423
+ },
424
+ {
425
+ "x": -1.2700000000000002,
426
+ "y": 5.0649999999999995,
427
+ "layer": "top",
428
+ "pointId": "pcb_port_4",
429
+ "pcb_port_id": "pcb_port_4"
430
+ },
431
+ {
432
+ "x": 1.2699999999999998,
433
+ "y": 5.0649999999999995,
434
+ "layer": "top",
435
+ "pointId": "pcb_port_6",
436
+ "pcb_port_id": "pcb_port_6"
437
+ }
438
+ ]
439
+ }
440
+ ],
441
+ "layerCount": 2,
442
+ "minTraceWidth": 0.15
443
+ }
@@ -0,0 +1,14 @@
1
+ export { default as circuit014 } from "./circuit014.simple-route-before.json"
2
+ export { default as circuit006 } from "./circuit006.simple-route-before.json"
3
+ export { default as circuit011 } from "./circuit011.simple-route-before.json"
4
+ export { default as circuit013 } from "./circuit013.simple-route-before.json"
5
+ export { default as circuit020 } from "./circuit020.simple-route-before.json"
6
+ export { default as circuit002 } from "./circuit002.simple-route-before.json"
7
+ export { default as circuit015 } from "./circuit015.simple-route-before.json"
8
+ export { default as circuit003 } from "./circuit003.simple-route-before.json"
9
+ export { default as circuit012 } from "./circuit012.simple-route-before.json"
10
+ export { default as circuit004 } from "./circuit004.simple-route-before.json"
11
+ export { default as circuit010 } from "./circuit010.simple-route-before.json"
12
+ export { default as circuit018 } from "./circuit018.simple-route-before.json"
13
+ export { default as circuit007 } from "./circuit007.simple-route-before.json"
14
+ export { default as circuit005 } from "./circuit005.simple-route-before.json"
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@tscircuit/autorouting-dataset-01",
3
+ "version": "1.0.5",
4
+ "main": "lib/dataset/index.ts",
5
+ "files": [
6
+ "lib/dataset"
7
+ ],
8
+ "keywords": [
9
+ "tscircuit"
10
+ ],
11
+ "scripts": {
12
+ "dev": "tsci dev",
13
+ "snapshot": "tsci snapshot",
14
+ "snapshot:update": "tsci snapshot --update",
15
+ "start": "tsci dev",
16
+ "format": "biome format --write",
17
+ "lint": "biome lint",
18
+ "lint:fix": "biome lint --write",
19
+ "check": "biome check",
20
+ "check:write": "biome check --write --unsafe"
21
+ },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "devDependencies": {
26
+ "@tscircuit/checks": "^0.0.87",
27
+ "@types/react": "^19.2.9",
28
+ "tscircuit": "^0.0.1168",
29
+ "@biomejs/biome": "^2.3.13",
30
+ "@tsci/imrishabh18.TB6612FNG": "^0.1.0",
31
+ "@tsci/seveibar.PICO": "^0.1.0",
32
+ "@tsci/seveibar.PICO_W": "^0.1.0",
33
+ "@tsci/seveibar.WS2812B_2020": "^0.0.1",
34
+ "@tsci/seveibar.esp32-s3-mini-1-n8": "^0.1.0",
35
+ "@tsci/seveibar.keyboard-utils": "^0.0.18",
36
+ "@tsci/seveibar.push-button": "^0.1.1",
37
+ "@tsci/seveibar.reg-5v-to-3v": "^0.0.1",
38
+ "@tscircuit/capacity-autorouter": "^0.0.266",
39
+ "@tscircuit/footprints": "^0.0.21",
40
+ "@tscircuit/math-utils": "^0.0.33",
41
+ "circuit-json": "^0.0.371"
42
+ }
43
+ }