@tscircuit/schematic-trace-solver 0.0.48 → 0.0.50

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.
Files changed (168) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +128 -1
  3. package/dist/index.js +1450 -42
  4. package/lib/solvers/AvailableNetOrientationSolver/AvailableNetOrientationSolver.ts +682 -0
  5. package/lib/solvers/AvailableNetOrientationSolver/constants.ts +6 -0
  6. package/lib/solvers/AvailableNetOrientationSolver/geometry.ts +192 -0
  7. package/lib/solvers/AvailableNetOrientationSolver/traces.ts +43 -0
  8. package/lib/solvers/AvailableNetOrientationSolver/types.ts +44 -0
  9. package/lib/solvers/AvailableNetOrientationSolver/visualize.ts +123 -0
  10. package/lib/solvers/Example28Solver/Example28Solver.ts +182 -0
  11. package/lib/solvers/Example28Solver/geometry.ts +246 -0
  12. package/lib/solvers/Example28Solver/labelMovement.ts +82 -0
  13. package/lib/solvers/Example28Solver/reroute.ts +368 -0
  14. package/lib/solvers/Example28Solver/types.ts +47 -0
  15. package/lib/solvers/Example28Solver/visualize.ts +96 -0
  16. package/lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver.ts +30 -0
  17. package/package.json +1 -1
  18. package/site/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.page.tsx +2 -0
  19. package/site/TraceCleanupSolver/TraceCleanupSolver.page.tsx +23 -0
  20. package/site/TraceLabelOverlapAvoidanceSolver/MergedNetLabelObstacles.page.tsx +18 -0
  21. package/site/TraceLabelOverlapAvoidanceSolver/OverlapAvoidanceStepSolver.page.tsx +24 -0
  22. package/site/TraceLabelOverlapAvoidanceSolver/SingleOverlapSolver.page.tsx +10 -0
  23. package/site/TraceLabelOverlapAvoidanceSolver/TraceLabelOverlapAvoidanceSolver.page.tsx +146 -0
  24. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView01.page.tsx +32 -0
  25. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView02.page.tsx +32 -0
  26. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView03.page.tsx +35 -0
  27. package/site/examples/example01.page.tsx +6 -0
  28. package/site/examples/example02.page.tsx +4 -180
  29. package/site/examples/example03.page.tsx +3 -212
  30. package/site/examples/example04.page.tsx +6 -0
  31. package/site/examples/example05.page.tsx +3 -179
  32. package/site/examples/example06.page.tsx +3 -57
  33. package/site/examples/example07.page.tsx +3 -132
  34. package/site/examples/example08.page.tsx +3 -91
  35. package/site/examples/example09.page.tsx +3 -414
  36. package/site/examples/example10.page.tsx +3 -75
  37. package/site/examples/example11.page.tsx +3 -116
  38. package/site/examples/example12.page.tsx +3 -94
  39. package/site/examples/example13.page.tsx +3 -216
  40. package/site/examples/example14.page.tsx +3 -207
  41. package/site/examples/example15.page.tsx +6 -0
  42. package/site/examples/example16.page.tsx +6 -0
  43. package/site/examples/example17.page.tsx +6 -0
  44. package/site/examples/example18.page.tsx +3 -178
  45. package/site/examples/example19.page.tsx +3 -166
  46. package/site/examples/example20.page.tsx +3 -100
  47. package/site/examples/example21.page.tsx +3 -174
  48. package/site/examples/example22.page.tsx +3 -105
  49. package/site/examples/example23.page.tsx +3 -134
  50. package/site/examples/example24.page.tsx +3 -125
  51. package/site/examples/example25.page.tsx +2 -0
  52. package/site/examples/example26.page.tsx +2 -0
  53. package/site/examples/example27.page.tsx +2 -0
  54. package/site/examples/example28.page.tsx +3 -58
  55. package/site/examples/example29.page.tsx +6 -0
  56. package/site/examples/example30.page.tsx +6 -0
  57. package/site/examples/example31.page.tsx +4 -0
  58. package/tests/assets/example01.json +109 -0
  59. package/tests/assets/example02.json +178 -0
  60. package/tests/assets/example03.json +210 -0
  61. package/tests/assets/example04.json +41 -0
  62. package/tests/assets/example05.json +175 -0
  63. package/tests/assets/example06.json +55 -0
  64. package/tests/assets/example07.json +130 -0
  65. package/tests/assets/example08.json +89 -0
  66. package/tests/assets/example09.json +412 -0
  67. package/tests/assets/example10.json +73 -0
  68. package/tests/assets/example11.json +114 -0
  69. package/tests/assets/example12.json +92 -0
  70. package/tests/assets/example13.json +214 -0
  71. package/tests/assets/example14.json +205 -0
  72. package/tests/assets/example15.json +618 -0
  73. package/tests/assets/example16.json +102 -0
  74. package/tests/assets/example17.json +160 -0
  75. package/tests/assets/example18.json +176 -0
  76. package/tests/assets/example19.json +164 -0
  77. package/tests/assets/example20.json +98 -0
  78. package/tests/assets/example21.json +172 -0
  79. package/tests/assets/example22.json +103 -0
  80. package/tests/assets/example23.json +132 -0
  81. package/tests/assets/example24.json +123 -0
  82. package/tests/assets/example25.json +146 -33
  83. package/tests/assets/example26.json +51 -1134
  84. package/tests/assets/example27.json +151 -91
  85. package/tests/assets/example28.json +56 -0
  86. package/tests/assets/example29.json +1206 -0
  87. package/tests/assets/example30.json +168 -0
  88. package/tests/assets/example31.json +46 -0
  89. package/tests/examples/__snapshots__/example01.snap.svg +12 -6
  90. package/tests/examples/__snapshots__/example02.snap.svg +16 -8
  91. package/tests/examples/__snapshots__/example03.snap.svg +36 -18
  92. package/tests/examples/__snapshots__/example04.snap.svg +8 -4
  93. package/tests/examples/__snapshots__/example05.snap.svg +4 -2
  94. package/tests/examples/__snapshots__/example06.snap.svg +4 -2
  95. package/tests/examples/__snapshots__/example07.snap.svg +20 -10
  96. package/tests/examples/__snapshots__/example08.snap.svg +16 -8
  97. package/tests/examples/__snapshots__/example09.snap.svg +80 -40
  98. package/tests/examples/__snapshots__/example10.snap.svg +16 -8
  99. package/tests/examples/__snapshots__/example11.snap.svg +24 -12
  100. package/tests/examples/__snapshots__/example12.snap.svg +41 -30
  101. package/tests/examples/__snapshots__/example13.snap.svg +38 -16
  102. package/tests/examples/__snapshots__/example14.snap.svg +121 -48
  103. package/tests/examples/__snapshots__/example15.snap.svg +36 -18
  104. package/tests/examples/__snapshots__/example16.snap.svg +41 -27
  105. package/tests/examples/__snapshots__/example17.snap.svg +16 -8
  106. package/tests/examples/__snapshots__/example18.snap.svg +20 -10
  107. package/tests/examples/__snapshots__/example19.snap.svg +16 -8
  108. package/tests/examples/__snapshots__/example20.snap.svg +45 -131
  109. package/tests/examples/__snapshots__/example21.snap.svg +93 -65
  110. package/tests/examples/__snapshots__/example22.snap.svg +43 -23
  111. package/tests/examples/__snapshots__/example23.snap.svg +62 -26
  112. package/tests/examples/__snapshots__/example24.snap.svg +50 -28
  113. package/tests/examples/__snapshots__/example25.snap.svg +175 -49
  114. package/tests/examples/__snapshots__/example26.snap.svg +16 -8
  115. package/tests/examples/__snapshots__/example27.snap.svg +24 -12
  116. package/tests/examples/__snapshots__/example28.snap.svg +24 -18
  117. package/tests/examples/__snapshots__/example29.snap.svg +184 -92
  118. package/tests/examples/__snapshots__/example30.snap.svg +48 -24
  119. package/tests/examples/__snapshots__/example31.snap.svg +88 -0
  120. package/tests/examples/example01.test.ts +2 -2
  121. package/tests/examples/example02.test.ts +2 -2
  122. package/tests/examples/example03.test.ts +2 -2
  123. package/tests/examples/example04.test.ts +2 -2
  124. package/tests/examples/example05.test.ts +2 -2
  125. package/tests/examples/example06.test.ts +2 -2
  126. package/tests/examples/example07.test.ts +2 -2
  127. package/tests/examples/example08.test.ts +2 -2
  128. package/tests/examples/example09.test.ts +2 -2
  129. package/tests/examples/example10.test.ts +2 -2
  130. package/tests/examples/{example11.test.tsx → example11.test.ts} +2 -2
  131. package/tests/examples/{example12.test.tsx → example12.test.ts} +2 -2
  132. package/tests/examples/{example13.test.tsx → example13.test.ts} +2 -2
  133. package/tests/examples/example14.test.ts +12 -0
  134. package/tests/examples/example15.test.ts +12 -0
  135. package/tests/examples/example16.test.ts +12 -0
  136. package/tests/examples/example17.test.ts +12 -0
  137. package/tests/examples/example18.test.ts +12 -0
  138. package/tests/examples/example19.test.ts +12 -0
  139. package/tests/examples/example20.test.ts +12 -0
  140. package/tests/examples/example21.test.ts +12 -0
  141. package/tests/examples/example22.test.ts +12 -0
  142. package/tests/examples/example23.test.ts +12 -0
  143. package/tests/examples/example24.test.ts +12 -0
  144. package/tests/examples/example25.test.ts +12 -0
  145. package/tests/examples/example26.test.ts +12 -0
  146. package/tests/examples/example27.test.ts +3 -232
  147. package/tests/examples/example28.test.ts +2 -2
  148. package/tests/examples/example29.test.ts +1 -2
  149. package/tests/examples/example30.test.ts +2 -2
  150. package/tests/examples/example31.test.ts +12 -0
  151. package/site/examples/example01-basic.page.tsx +0 -105
  152. package/site/examples/example04-single-symbol.page.tsx +0 -46
  153. package/site/examples/example15-rp2040-caps.page.tsx +0 -623
  154. package/site/examples/example16-core-repro51.page.tsx +0 -107
  155. package/site/examples/example17-straight-line-trace.page.tsx +0 -165
  156. package/tests/examples/example14.test.tsx +0 -11
  157. package/tests/examples/example15.test.tsx +0 -629
  158. package/tests/examples/example16.test.tsx +0 -113
  159. package/tests/examples/example17.test.tsx +0 -171
  160. package/tests/examples/example18.test.tsx +0 -187
  161. package/tests/examples/example19.test.tsx +0 -175
  162. package/tests/examples/example20.test.tsx +0 -190
  163. package/tests/examples/example21.test.tsx +0 -183
  164. package/tests/examples/example22.test.tsx +0 -109
  165. package/tests/examples/example23.test.tsx +0 -109
  166. package/tests/examples/example24.test.tsx +0 -114
  167. package/tests/examples/example25.test.tsx +0 -143
  168. package/tests/examples/example26.test.tsx +0 -134
@@ -2,1205 +2,122 @@
2
2
  "chips": [
3
3
  {
4
4
  "chipId": "schematic_component_0",
5
- "center": {
6
- "x": -5,
7
- "y": 0
8
- },
9
- "width": 1.1,
10
- "height": 0.388910699999999,
11
- "pins": [
12
- {
13
- "pinId": "R2.1",
14
- "x": -5.55,
15
- "y": 0
16
- },
17
- {
18
- "pinId": "R2.2",
19
- "x": -4.449999999999999,
20
- "y": 0
21
- }
22
- ]
23
- },
24
- {
25
- "chipId": "schematic_component_1",
26
- "center": {
27
- "x": -3,
28
- "y": -1
29
- },
30
- "width": 0.53,
31
- "height": 1.1,
32
- "pins": [
33
- {
34
- "pinId": "C4.1",
35
- "x": -3,
36
- "y": -0.44999999999999996
37
- },
38
- {
39
- "pinId": "C4.2",
40
- "x": -3,
41
- "y": -1.55
42
- }
43
- ]
44
- },
45
- {
46
- "chipId": "schematic_component_2",
47
- "center": {
48
- "x": -5,
49
- "y": -2
50
- },
51
- "width": 1.1,
52
- "height": 0.388910699999999,
53
- "pins": [
54
- {
55
- "pinId": "R3.1",
56
- "x": -5.55,
57
- "y": -1.9999999999999998
58
- },
59
- {
60
- "pinId": "R3.2",
61
- "x": -4.449999999999999,
62
- "y": -1.9999999999999998
63
- }
64
- ]
65
- },
66
- {
67
- "chipId": "schematic_component_3",
68
- "center": {
69
- "x": -4,
70
- "y": -3
71
- },
72
- "width": 0.53,
73
- "height": 1.1,
74
- "pins": [
75
- {
76
- "pinId": "C5.1",
77
- "x": -4,
78
- "y": -2.45
79
- },
80
- {
81
- "pinId": "C5.2",
82
- "x": -4,
83
- "y": -3.55
84
- }
85
- ]
86
- },
87
- {
88
- "chipId": "schematic_component_4",
89
- "center": {
90
- "x": -5,
91
- "y": -4
92
- },
93
- "width": 1.1,
94
- "height": 0.388910699999999,
95
- "pins": [
96
- {
97
- "pinId": "R4.1",
98
- "x": -5.55,
99
- "y": -4
100
- },
101
- {
102
- "pinId": "R4.2",
103
- "x": -4.449999999999999,
104
- "y": -4
105
- }
106
- ]
107
- },
108
- {
109
- "chipId": "schematic_component_5",
110
- "center": {
111
- "x": -3,
112
- "y": -5
113
- },
114
- "width": 0.53,
115
- "height": 1.1,
116
- "pins": [
117
- {
118
- "pinId": "C6.1",
119
- "x": -3,
120
- "y": -4.449999999999999
121
- },
122
- {
123
- "pinId": "C6.2",
124
- "x": -3,
125
- "y": -5.55
126
- }
127
- ]
128
- },
129
- {
130
- "chipId": "schematic_component_6",
131
- "center": {
132
- "x": -5,
133
- "y": -6
134
- },
135
- "width": 1.1,
136
- "height": 0.388910699999999,
137
- "pins": [
138
- {
139
- "pinId": "R7.1",
140
- "x": -5.55,
141
- "y": -6
142
- },
143
- {
144
- "pinId": "R7.2",
145
- "x": -4.449999999999999,
146
- "y": -6
147
- }
148
- ]
149
- },
150
- {
151
- "chipId": "schematic_component_7",
152
- "center": {
153
- "x": -4,
154
- "y": -7
155
- },
156
- "width": 0.53,
157
- "height": 1.1,
158
- "pins": [
159
- {
160
- "pinId": "C7.1",
161
- "x": -4,
162
- "y": -6.449999999999999
163
- },
164
- {
165
- "pinId": "C7.2",
166
- "x": -4,
167
- "y": -7.55
168
- }
169
- ]
170
- },
171
- {
172
- "chipId": "schematic_component_8",
173
- "center": {
174
- "x": -5,
175
- "y": -8
176
- },
177
- "width": 1.1,
178
- "height": 0.388910699999999,
179
- "pins": [
180
- {
181
- "pinId": "R8.1",
182
- "x": -5.55,
183
- "y": -8
184
- },
185
- {
186
- "pinId": "R8.2",
187
- "x": -4.449999999999999,
188
- "y": -8
189
- }
190
- ]
191
- },
192
- {
193
- "chipId": "schematic_component_9",
194
- "center": {
195
- "x": -3,
196
- "y": -9
197
- },
198
- "width": 0.53,
199
- "height": 1.1,
200
- "pins": [
201
- {
202
- "pinId": "C8.1",
203
- "x": -3,
204
- "y": -8.45
205
- },
206
- {
207
- "pinId": "C8.2",
208
- "x": -3,
209
- "y": -9.549999999999999
210
- }
211
- ]
212
- },
213
- {
214
- "chipId": "schematic_component_10",
215
- "center": {
216
- "x": -5,
217
- "y": -10
218
- },
219
- "width": 1.1,
220
- "height": 0.388910699999999,
221
- "pins": [
222
- {
223
- "pinId": "R11.1",
224
- "x": -5.55,
225
- "y": -10
226
- },
227
- {
228
- "pinId": "R11.2",
229
- "x": -4.449999999999999,
230
- "y": -10
231
- }
232
- ]
233
- },
234
- {
235
- "chipId": "schematic_component_11",
236
- "center": {
237
- "x": -4,
238
- "y": -11
239
- },
240
- "width": 0.53,
241
- "height": 1.1,
242
- "pins": [
243
- {
244
- "pinId": "C9.1",
245
- "x": -4,
246
- "y": -10.45
247
- },
248
- {
249
- "pinId": "C9.2",
250
- "x": -4,
251
- "y": -11.549999999999999
252
- }
253
- ]
254
- },
255
- {
256
- "chipId": "schematic_component_12",
257
- "center": {
258
- "x": -5,
259
- "y": -12
260
- },
261
- "width": 1.1,
262
- "height": 0.388910699999999,
263
- "pins": [
264
- {
265
- "pinId": "R12.1",
266
- "x": -5.55,
267
- "y": -12
268
- },
269
- {
270
- "pinId": "R12.2",
271
- "x": -4.449999999999999,
272
- "y": -12
273
- }
274
- ]
275
- },
276
- {
277
- "chipId": "schematic_component_13",
278
- "center": {
279
- "x": -3,
280
- "y": -13
281
- },
282
- "width": 0.53,
283
- "height": 1.1,
284
- "pins": [
285
- {
286
- "pinId": "C10.1",
287
- "x": -3,
288
- "y": -12.45
289
- },
290
- {
291
- "pinId": "C10.2",
292
- "x": -3,
293
- "y": -13.549999999999999
294
- }
295
- ]
296
- },
297
- {
298
- "chipId": "schematic_component_14",
299
- "center": {
300
- "x": -5,
301
- "y": -14
302
- },
303
- "width": 1.1,
304
- "height": 0.388910699999999,
305
- "pins": [
306
- {
307
- "pinId": "R13.1",
308
- "x": -5.55,
309
- "y": -14
310
- },
311
- {
312
- "pinId": "R13.2",
313
- "x": -4.449999999999999,
314
- "y": -14
315
- }
316
- ]
317
- },
318
- {
319
- "chipId": "schematic_component_15",
320
- "center": {
321
- "x": -4,
322
- "y": -15
323
- },
324
- "width": 0.53,
325
- "height": 1.1,
326
- "pins": [
327
- {
328
- "pinId": "C11.1",
329
- "x": -4,
330
- "y": -14.45
331
- },
332
- {
333
- "pinId": "C11.2",
334
- "x": -4,
335
- "y": -15.549999999999999
336
- }
337
- ]
338
- },
339
- {
340
- "chipId": "schematic_component_16",
341
- "center": {
342
- "x": -5,
343
- "y": -16
344
- },
345
- "width": 1.1,
346
- "height": 0.388910699999999,
347
- "pins": [
348
- {
349
- "pinId": "R14.1",
350
- "x": -5.55,
351
- "y": -16
352
- },
353
- {
354
- "pinId": "R14.2",
355
- "x": -4.449999999999999,
356
- "y": -16
357
- }
358
- ]
359
- },
360
- {
361
- "chipId": "schematic_component_17",
362
- "center": {
363
- "x": -3,
364
- "y": -17
365
- },
366
- "width": 0.53,
367
- "height": 1.1,
368
- "pins": [
369
- {
370
- "pinId": "C14.1",
371
- "x": -3,
372
- "y": -16.45
373
- },
374
- {
375
- "pinId": "C14.2",
376
- "x": -3,
377
- "y": -17.55
378
- }
379
- ]
380
- },
381
- {
382
- "chipId": "schematic_component_18",
383
- "center": {
384
- "x": -5,
385
- "y": -18
386
- },
387
- "width": 1.1,
388
- "height": 0.388910699999999,
389
- "pins": [
390
- {
391
- "pinId": "R16.1",
392
- "x": -5.55,
393
- "y": -18
394
- },
395
- {
396
- "pinId": "R16.2",
397
- "x": -4.449999999999999,
398
- "y": -18
399
- }
400
- ]
401
- },
402
- {
403
- "chipId": "schematic_component_19",
404
- "center": {
405
- "x": -4,
406
- "y": -19
407
- },
408
- "width": 0.53,
409
- "height": 1.1,
410
- "pins": [
411
- {
412
- "pinId": "C16.1",
413
- "x": -4,
414
- "y": -18.45
415
- },
416
- {
417
- "pinId": "C16.2",
418
- "x": -4,
419
- "y": -19.55
420
- }
421
- ]
422
- },
423
- {
424
- "chipId": "schematic_component_20",
425
- "center": {
426
- "x": -5,
427
- "y": -20
428
- },
429
- "width": 1.1,
430
- "height": 0.388910699999999,
431
- "pins": [
432
- {
433
- "pinId": "R17.1",
434
- "x": -5.55,
435
- "y": -20
436
- },
437
- {
438
- "pinId": "R17.2",
439
- "x": -4.449999999999999,
440
- "y": -20
441
- }
442
- ]
443
- },
444
- {
445
- "chipId": "schematic_component_21",
446
- "center": {
447
- "x": -3,
448
- "y": -21
449
- },
450
- "width": 0.53,
451
- "height": 1.1,
452
- "pins": [
453
- {
454
- "pinId": "C17.1",
455
- "x": -3,
456
- "y": -20.45
457
- },
458
- {
459
- "pinId": "C17.2",
460
- "x": -3,
461
- "y": -21.55
462
- }
463
- ]
464
- },
465
- {
466
- "chipId": "schematic_component_22",
467
- "center": {
468
- "x": -5,
469
- "y": -22
470
- },
471
- "width": 1.1,
472
- "height": 0.388910699999999,
473
- "pins": [
474
- {
475
- "pinId": "R18.1",
476
- "x": -5.55,
477
- "y": -22
478
- },
479
- {
480
- "pinId": "R18.2",
481
- "x": -4.449999999999999,
482
- "y": -22
483
- }
484
- ]
485
- },
486
- {
487
- "chipId": "schematic_component_23",
488
- "center": {
489
- "x": -4,
490
- "y": -23
491
- },
492
- "width": 0.53,
493
- "height": 1.1,
494
- "pins": [
495
- {
496
- "pinId": "C18.1",
497
- "x": -4,
498
- "y": -22.45
499
- },
500
- {
501
- "pinId": "C18.2",
502
- "x": -4,
503
- "y": -23.55
504
- }
505
- ]
506
- },
507
- {
508
- "chipId": "schematic_component_24",
509
- "center": {
510
- "x": -5,
511
- "y": -24
512
- },
513
- "width": 1.1,
514
- "height": 0.388910699999999,
515
- "pins": [
516
- {
517
- "pinId": "R19.1",
518
- "x": -5.55,
519
- "y": -24
520
- },
521
- {
522
- "pinId": "R19.2",
523
- "x": -4.449999999999999,
524
- "y": -24
525
- }
526
- ]
527
- },
528
- {
529
- "chipId": "schematic_component_25",
530
5
  "center": {
531
6
  "x": -3,
532
- "y": -25
533
- },
534
- "width": 0.53,
535
- "height": 1.1,
536
- "pins": [
537
- {
538
- "pinId": "C19.1",
539
- "x": -3,
540
- "y": -24.45
541
- },
542
- {
543
- "pinId": "C19.2",
544
- "x": -3,
545
- "y": -25.55
546
- }
547
- ]
548
- },
549
- {
550
- "chipId": "schematic_component_26",
551
- "center": {
552
- "x": -5,
553
- "y": -26
554
- },
555
- "width": 1.1,
556
- "height": 0.388910699999999,
557
- "pins": [
558
- {
559
- "pinId": "R21.1",
560
- "x": -5.55,
561
- "y": -26
562
- },
563
- {
564
- "pinId": "R21.2",
565
- "x": -4.449999999999999,
566
- "y": -26
567
- }
568
- ]
569
- },
570
- {
571
- "chipId": "schematic_component_27",
572
- "center": {
573
- "x": -4,
574
- "y": -27
575
- },
576
- "width": 0.53,
577
- "height": 1.1,
578
- "pins": [
579
- {
580
- "pinId": "C21.1",
581
- "x": -4,
582
- "y": -26.45
583
- },
584
- {
585
- "pinId": "C21.2",
586
- "x": -4,
587
- "y": -27.55
588
- }
589
- ]
590
- },
591
- {
592
- "chipId": "schematic_component_28",
593
- "center": {
594
- "x": -5,
595
- "y": -28
596
- },
597
- "width": 1.1,
598
- "height": 0.388910699999999,
599
- "pins": [
600
- {
601
- "pinId": "R22.1",
602
- "x": -5.55,
603
- "y": -28
604
- },
605
- {
606
- "pinId": "R22.2",
607
- "x": -4.449999999999999,
608
- "y": -28
609
- }
610
- ]
611
- },
612
- {
613
- "chipId": "schematic_component_29",
614
- "center": {
615
- "x": 5,
616
7
  "y": 0
617
8
  },
618
- "width": 2,
619
- "height": 6.200000000000003,
9
+ "width": 2.4000000000000004,
10
+ "height": 1,
620
11
  "pins": [
621
12
  {
622
13
  "pinId": "U1.1",
623
- "x": 3.6,
624
- "y": 1.7000000000000013
14
+ "x": -1.8,
15
+ "y": -0.30000000000000004
625
16
  },
626
17
  {
627
18
  "pinId": "U1.2",
628
- "x": 3.6,
629
- "y": 1.5000000000000013
19
+ "x": -4.2,
20
+ "y": -0.30000000000000004
630
21
  },
631
22
  {
632
23
  "pinId": "U1.3",
633
- "x": 3.6,
634
- "y": 1.3000000000000014
24
+ "x": -1.8,
25
+ "y": 0.09999999999999998
635
26
  },
636
27
  {
637
28
  "pinId": "U1.4",
638
- "x": 3.6,
639
- "y": 1.1000000000000014
29
+ "x": -4.2,
30
+ "y": 0.30000000000000004
640
31
  },
641
32
  {
642
33
  "pinId": "U1.5",
643
- "x": 3.6,
644
- "y": 0.9000000000000015
34
+ "x": -4.2,
35
+ "y": 0.10000000000000003
645
36
  },
646
37
  {
647
38
  "pinId": "U1.6",
648
- "x": 3.6,
649
- "y": 0.7000000000000015
39
+ "x": -4.2,
40
+ "y": -0.09999999999999998
650
41
  },
651
42
  {
652
43
  "pinId": "U1.7",
653
- "x": 3.6,
654
- "y": 0.5000000000000013
44
+ "x": -1.8,
45
+ "y": -0.10000000000000003
655
46
  },
656
47
  {
657
48
  "pinId": "U1.8",
658
- "x": 3.6,
659
- "y": 0.30000000000000115
660
- },
661
- {
662
- "pinId": "U1.9",
663
- "x": 3.6,
664
- "y": 0.10000000000000098
665
- },
666
- {
667
- "pinId": "U1.10",
668
- "x": 3.6,
669
- "y": -0.0999999999999992
670
- },
671
- {
672
- "pinId": "U1.11",
673
- "x": 3.6,
674
- "y": -0.2999999999999994
675
- },
676
- {
677
- "pinId": "U1.12",
678
- "x": 3.6,
679
- "y": -0.49999999999999956
680
- },
681
- {
682
- "pinId": "U1.13",
683
- "x": 3.6,
684
- "y": -0.6999999999999997
685
- },
686
- {
687
- "pinId": "U1.14",
688
- "x": 3.6,
689
- "y": -0.8999999999999999
690
- },
691
- {
692
- "pinId": "U1.15",
693
- "x": 3.6,
694
- "y": -1.0999999999999996
695
- },
696
- {
697
- "pinId": "U1.16",
698
- "x": 3.6,
699
- "y": -1.2999999999999998
700
- },
701
- {
702
- "pinId": "U1.17",
703
- "x": 6.4,
704
- "y": -2.600000000000001
705
- },
706
- {
707
- "pinId": "U1.18",
708
- "x": 3.6,
709
- "y": -1.7000000000000002
710
- },
711
- {
712
- "pinId": "U1.19",
713
- "x": 3.6,
714
- "y": -1.9000000000000004
715
- },
716
- {
717
- "pinId": "U1.20",
718
- "x": 3.6,
719
- "y": -2.1000000000000005
720
- },
721
- {
722
- "pinId": "U1.21",
723
- "x": 3.6,
724
- "y": -2.3000000000000007
725
- },
726
- {
727
- "pinId": "U1.22",
728
- "x": 3.6,
729
- "y": -2.500000000000001
730
- },
731
- {
732
- "pinId": "U1.23",
733
- "x": 3.6,
734
- "y": -2.700000000000001
735
- },
736
- {
737
- "pinId": "U1.24",
738
- "x": 3.6,
739
- "y": -2.9000000000000012
740
- },
741
- {
742
- "pinId": "U1.25",
743
- "x": 6.4,
744
- "y": -2.200000000000001
745
- },
746
- {
747
- "pinId": "U1.26",
748
- "x": 6.4,
749
- "y": -2.000000000000001
750
- },
751
- {
752
- "pinId": "U1.27",
753
- "x": 6.4,
754
- "y": -1.800000000000001
755
- },
756
- {
757
- "pinId": "U1.28",
758
- "x": 6.4,
759
- "y": -1.400000000000001
760
- },
761
- {
762
- "pinId": "U1.29",
763
- "x": 6.4,
764
- "y": -1.000000000000001
765
- },
766
- {
767
- "pinId": "U1.30",
768
- "x": 6.4,
769
- "y": -0.6000000000000012
770
- },
771
- {
772
- "pinId": "U1.31",
773
- "x": 6.4,
774
- "y": -0.20000000000000107
775
- },
776
- {
777
- "pinId": "U1.32",
778
- "x": 6.4,
779
- "y": -8.881784197001252e-16
780
- },
781
- {
782
- "pinId": "U1.33",
783
- "x": 6.4,
784
- "y": 0.1999999999999993
785
- },
786
- {
787
- "pinId": "U1.34",
788
- "x": 6.4,
789
- "y": 0.39999999999999947
790
- },
791
- {
792
- "pinId": "U1.35",
793
- "x": 6.4,
794
- "y": 0.5999999999999996
795
- },
796
- {
797
- "pinId": "U1.36",
798
- "x": 6.4,
799
- "y": 0.7999999999999998
800
- },
801
- {
802
- "pinId": "U1.37",
803
- "x": 6.4,
804
- "y": 1
805
- },
806
- {
807
- "pinId": "U1.38",
808
- "x": 6.4,
809
- "y": 1.2000000000000002
810
- },
811
- {
812
- "pinId": "U1.39",
813
- "x": 6.4,
814
- "y": 1.4
815
- },
816
- {
817
- "pinId": "U1.40",
818
- "x": 6.4,
819
- "y": 1.6
820
- },
821
- {
822
- "pinId": "U1.41",
823
- "x": 6.4,
824
- "y": 1.8000000000000003
825
- },
826
- {
827
- "pinId": "U1.42",
828
- "x": 6.4,
829
- "y": 2.0000000000000004
830
- },
831
- {
832
- "pinId": "U1.43",
833
- "x": 6.4,
834
- "y": 2.2000000000000006
835
- },
836
- {
837
- "pinId": "U1.45",
838
- "x": 6.4,
839
- "y": 2.600000000000001
840
- },
841
- {
842
- "pinId": "U1.46",
843
- "x": 3.6,
844
- "y": 2.700000000000001
845
- },
846
- {
847
- "pinId": "U1.47",
848
- "x": 3.6,
849
- "y": 2.300000000000001
850
- },
851
- {
852
- "pinId": "U1.48",
853
- "x": 3.6,
854
- "y": 1.9000000000000012
49
+ "x": -1.8,
50
+ "y": 0.30000000000000004
855
51
  }
856
52
  ]
857
53
  },
858
54
  {
859
- "chipId": "schematic_component_30",
55
+ "chipId": "schematic_component_1",
860
56
  "center": {
861
- "x": -9,
862
- "y": -4
57
+ "x": 3,
58
+ "y": 0
863
59
  },
864
- "width": 0.4,
865
- "height": 2.4,
60
+ "width": 2.2,
61
+ "height": 0.8,
866
62
  "pins": [
867
63
  {
868
64
  "pinId": "J1.1",
869
- "x": -8.4,
870
- "y": -3
65
+ "x": 1.9,
66
+ "y": 0.2
871
67
  },
872
68
  {
873
69
  "pinId": "J1.2",
874
- "x": -8.4,
875
- "y": -3.4
70
+ "x": 1.9,
71
+ "y": 0
876
72
  },
877
73
  {
878
74
  "pinId": "J1.3",
879
- "x": -8.4,
880
- "y": -3.8
881
- },
882
- {
883
- "pinId": "J1.4",
884
- "x": -8.4,
885
- "y": -4.2
886
- },
887
- {
888
- "pinId": "J1.5",
889
- "x": -8.4,
890
- "y": -4.6
891
- },
892
- {
893
- "pinId": "J1.6",
894
- "x": -8.4,
895
- "y": -5
896
- }
897
- ]
898
- },
899
- {
900
- "chipId": "schematic_component_31",
901
- "center": {
902
- "x": -9,
903
- "y": -10
904
- },
905
- "width": 0.4,
906
- "height": 2,
907
- "pins": [
908
- {
909
- "pinId": "J3.1",
910
- "x": -8.4,
911
- "y": -9.2
912
- },
913
- {
914
- "pinId": "J3.2",
915
- "x": -8.4,
916
- "y": -9.6
917
- },
918
- {
919
- "pinId": "J3.3",
920
- "x": -8.4,
921
- "y": -10
922
- },
923
- {
924
- "pinId": "J3.4",
925
- "x": -8.4,
926
- "y": -10.4
927
- },
928
- {
929
- "pinId": "J3.5",
930
- "x": -8.4,
931
- "y": -10.8
75
+ "x": 1.9,
76
+ "y": -0.2
932
77
  }
933
78
  ]
934
79
  },
935
80
  {
936
- "chipId": "schematic_component_32",
81
+ "chipId": "schematic_component_2",
937
82
  "center": {
938
- "x": -9,
939
- "y": -16
83
+ "x": 0,
84
+ "y": 1
940
85
  },
941
- "width": 0.4,
942
- "height": 2.4,
86
+ "width": 1,
87
+ "height": 1,
943
88
  "pins": [
944
89
  {
945
- "pinId": "J4.1",
946
- "x": -8.4,
947
- "y": -15
90
+ "pinId": "U2.3",
91
+ "x": -0.4,
92
+ "y": 0.5
948
93
  },
949
94
  {
950
- "pinId": "J4.2",
951
- "x": -8.4,
952
- "y": -15.4
953
- },
954
- {
955
- "pinId": "J4.3",
956
- "x": -8.4,
957
- "y": -15.8
958
- },
959
- {
960
- "pinId": "J4.4",
961
- "x": -8.4,
962
- "y": -16.2
963
- },
964
- {
965
- "pinId": "J4.5",
966
- "x": -8.4,
967
- "y": -16.6
968
- },
969
- {
970
- "pinId": "J4.6",
971
- "x": -8.4,
972
- "y": -17
95
+ "pinId": "U2.4",
96
+ "x": 0.4,
97
+ "y": 0.5
973
98
  }
974
99
  ]
975
100
  }
976
101
  ],
977
- "directConnections": [
978
- {
979
- "pinIds": ["R2.1", "J1.1"],
980
- "netId": ".R2 > .pin1 to J1.pin1"
981
- },
982
- {
983
- "pinIds": ["R2.2", "C4.1"],
984
- "netId": ".R2 > .pin2 to C4.pin1"
985
- },
986
- {
987
- "pinIds": ["C4.1", "U1.48"],
988
- "netId": ".C4 > .pin1 to U1.VC16"
989
- },
990
- {
991
- "pinIds": ["C4.2", "C5.1"],
992
- "netId": ".C4 > .pin2 to C5.pin1"
993
- },
994
- {
995
- "pinIds": ["R3.1", "J1.2"],
996
- "netId": ".R3 > .pin1 to J1.pin2"
997
- },
998
- {
999
- "pinIds": ["R3.2", "C5.1"],
1000
- "netId": ".R3 > .pin2 to C5.pin1"
1001
- },
1002
- {
1003
- "pinIds": ["C5.1", "U1.1"],
1004
- "netId": ".C5 > .pin1 to U1.VC15"
1005
- },
1006
- {
1007
- "pinIds": ["C5.2", "C6.1"],
1008
- "netId": ".C5 > .pin2 to C6.pin1"
1009
- },
1010
- {
1011
- "pinIds": ["R4.1", "J1.3"],
1012
- "netId": ".R4 > .pin1 to J1.pin3"
1013
- },
1014
- {
1015
- "pinIds": ["R4.2", "C6.1"],
1016
- "netId": ".R4 > .pin2 to C6.pin1"
1017
- },
1018
- {
1019
- "pinIds": ["C6.1", "U1.2"],
1020
- "netId": ".C6 > .pin1 to U1.VC14"
1021
- },
1022
- {
1023
- "pinIds": ["C6.2", "C7.1"],
1024
- "netId": ".C6 > .pin2 to C7.pin1"
1025
- },
1026
- {
1027
- "pinIds": ["R7.1", "J1.4"],
1028
- "netId": ".R7 > .pin1 to J1.pin4"
1029
- },
1030
- {
1031
- "pinIds": ["R7.2", "C7.1"],
1032
- "netId": ".R7 > .pin2 to C7.pin1"
1033
- },
1034
- {
1035
- "pinIds": ["C7.1", "U1.3"],
1036
- "netId": ".C7 > .pin1 to U1.VC13"
1037
- },
1038
- {
1039
- "pinIds": ["C7.2", "C8.1"],
1040
- "netId": ".C7 > .pin2 to C8.pin1"
1041
- },
1042
- {
1043
- "pinIds": ["R8.1", "J1.5"],
1044
- "netId": ".R8 > .pin1 to J1.pin5"
1045
- },
1046
- {
1047
- "pinIds": ["R8.2", "C8.1"],
1048
- "netId": ".R8 > .pin2 to C8.pin1"
1049
- },
1050
- {
1051
- "pinIds": ["C8.1", "U1.4"],
1052
- "netId": ".C8 > .pin1 to U1.VC12"
1053
- },
1054
- {
1055
- "pinIds": ["C8.2", "C9.1"],
1056
- "netId": ".C8 > .pin2 to C9.pin1"
1057
- },
1058
- {
1059
- "pinIds": ["R11.1", "J1.6"],
1060
- "netId": ".R11 > .pin1 to J1.pin6"
1061
- },
1062
- {
1063
- "pinIds": ["R11.2", "C9.1"],
1064
- "netId": ".R11 > .pin2 to C9.pin1"
1065
- },
1066
- {
1067
- "pinIds": ["C9.1", "U1.6"],
1068
- "netId": ".C9 > .pin1 to U1.VC10"
1069
- },
1070
- {
1071
- "pinIds": ["C9.2", "C10.1"],
1072
- "netId": ".C9 > .pin2 to C10.pin1"
1073
- },
1074
- {
1075
- "pinIds": ["R12.1", "J3.1"],
1076
- "netId": ".R12 > .pin1 to J3.pin1"
1077
- },
1078
- {
1079
- "pinIds": ["R12.2", "C10.1"],
1080
- "netId": ".R12 > .pin2 to C10.pin1"
1081
- },
1082
- {
1083
- "pinIds": ["C10.1", "U1.7"],
1084
- "netId": ".C10 > .pin1 to U1.VC9"
1085
- },
1086
- {
1087
- "pinIds": ["C10.2", "C11.1"],
1088
- "netId": ".C10 > .pin2 to C11.pin1"
1089
- },
1090
- {
1091
- "pinIds": ["R13.1", "J3.2"],
1092
- "netId": ".R13 > .pin1 to J3.pin2"
1093
- },
1094
- {
1095
- "pinIds": ["R13.2", "C11.1"],
1096
- "netId": ".R13 > .pin2 to C11.pin1"
1097
- },
1098
- {
1099
- "pinIds": ["C11.1", "U1.8"],
1100
- "netId": ".C11 > .pin1 to U1.VC8"
1101
- },
1102
- {
1103
- "pinIds": ["C11.2", "C14.1"],
1104
- "netId": ".C11 > .pin2 to C14.pin1"
1105
- },
1106
- {
1107
- "pinIds": ["R14.1", "J3.3"],
1108
- "netId": ".R14 > .pin1 to J3.pin3"
1109
- },
1110
- {
1111
- "pinIds": ["R14.2", "C14.1"],
1112
- "netId": ".R14 > .pin2 to C14.pin1"
1113
- },
1114
- {
1115
- "pinIds": ["C14.1", "U1.10"],
1116
- "netId": ".C14 > .pin1 to U1.VC6"
1117
- },
1118
- {
1119
- "pinIds": ["C14.2", "C16.1"],
1120
- "netId": ".C14 > .pin2 to C16.pin1"
1121
- },
1122
- {
1123
- "pinIds": ["R16.1", "J3.4"],
1124
- "netId": ".R16 > .pin1 to J3.pin4"
1125
- },
1126
- {
1127
- "pinIds": ["R16.2", "C16.1"],
1128
- "netId": ".R16 > .pin2 to C16.pin1"
1129
- },
1130
- {
1131
- "pinIds": ["C16.1", "U1.11"],
1132
- "netId": ".C16 > .pin1 to U1.VC5"
1133
- },
1134
- {
1135
- "pinIds": ["C16.2", "C17.1"],
1136
- "netId": ".C16 > .pin2 to C17.pin1"
1137
- },
1138
- {
1139
- "pinIds": ["R17.1", "J3.5"],
1140
- "netId": ".R17 > .pin1 to J3.pin5"
1141
- },
1142
- {
1143
- "pinIds": ["R17.2", "C17.1"],
1144
- "netId": ".R17 > .pin2 to C17.pin1"
1145
- },
1146
- {
1147
- "pinIds": ["C17.1", "U1.12"],
1148
- "netId": ".C17 > .pin1 to U1.VC4"
1149
- },
1150
- {
1151
- "pinIds": ["C17.2", "C18.1"],
1152
- "netId": ".C17 > .pin2 to C18.pin1"
1153
- },
1154
- {
1155
- "pinIds": ["R18.1", "J4.1"],
1156
- "netId": ".R18 > .pin1 to J4.pin1"
1157
- },
1158
- {
1159
- "pinIds": ["R18.2", "C18.1"],
1160
- "netId": ".R18 > .pin2 to C18.pin1"
1161
- },
1162
- {
1163
- "pinIds": ["C18.1", "U1.13"],
1164
- "netId": ".C18 > .pin1 to U1.VC3"
1165
- },
1166
- {
1167
- "pinIds": ["C18.2", "C19.1"],
1168
- "netId": ".C18 > .pin2 to C19.pin1"
1169
- },
1170
- {
1171
- "pinIds": ["R19.1", "J4.2"],
1172
- "netId": ".R19 > .pin1 to J4.pin2"
1173
- },
1174
- {
1175
- "pinIds": ["R19.2", "C19.1"],
1176
- "netId": ".R19 > .pin2 to C19.pin1"
1177
- },
1178
- {
1179
- "pinIds": ["C19.1", "U1.14"],
1180
- "netId": ".C19 > .pin1 to U1.VC2"
1181
- },
1182
- {
1183
- "pinIds": ["C19.2", "C21.1"],
1184
- "netId": ".C19 > .pin2 to C21.pin1"
1185
- },
102
+ "directConnections": [],
103
+ "netConnections": [
1186
104
  {
1187
- "pinIds": ["R21.1", "J4.3"],
1188
- "netId": ".R21 > .pin1 to J4.pin3"
105
+ "netId": "SIGNAL1",
106
+ "pinIds": ["U2.3"]
1189
107
  },
1190
108
  {
1191
- "pinIds": ["R21.2", "C21.1"],
1192
- "netId": ".R21 > .pin2 to C21.pin1"
109
+ "netId": "SIGNAL2",
110
+ "pinIds": ["U2.4"]
1193
111
  },
1194
112
  {
1195
- "pinIds": ["C21.1", "U1.15"],
1196
- "netId": ".C21 > .pin1 to U1.VC1"
113
+ "netId": "SSH",
114
+ "pinIds": ["U1.1", "J1.3"]
1197
115
  },
1198
116
  {
1199
- "pinIds": ["R22.1", "J4.4"],
1200
- "netId": ".R22 > .pin1 to J4.pin4"
117
+ "netId": "BHH",
118
+ "pinIds": ["J1.1", "U1.3"]
1201
119
  }
1202
120
  ],
1203
- "netConnections": [],
1204
121
  "availableNetLabelOrientations": {},
1205
- "maxMspPairDistance": 10
122
+ "maxMspPairDistance": 6.5
1206
123
  }