@tscircuit/schematic-trace-solver 0.0.48 → 0.0.49

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 (162) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +51 -1
  3. package/dist/index.js +730 -43
  4. package/lib/solvers/Example28Solver/Example28Solver.ts +182 -0
  5. package/lib/solvers/Example28Solver/geometry.ts +246 -0
  6. package/lib/solvers/Example28Solver/labelMovement.ts +82 -0
  7. package/lib/solvers/Example28Solver/reroute.ts +368 -0
  8. package/lib/solvers/Example28Solver/types.ts +47 -0
  9. package/lib/solvers/Example28Solver/visualize.ts +96 -0
  10. package/lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver.ts +16 -0
  11. package/package.json +1 -1
  12. package/site/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.page.tsx +2 -0
  13. package/site/TraceCleanupSolver/TraceCleanupSolver.page.tsx +23 -0
  14. package/site/TraceLabelOverlapAvoidanceSolver/MergedNetLabelObstacles.page.tsx +18 -0
  15. package/site/TraceLabelOverlapAvoidanceSolver/OverlapAvoidanceStepSolver.page.tsx +24 -0
  16. package/site/TraceLabelOverlapAvoidanceSolver/SingleOverlapSolver.page.tsx +10 -0
  17. package/site/TraceLabelOverlapAvoidanceSolver/TraceLabelOverlapAvoidanceSolver.page.tsx +146 -0
  18. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView01.page.tsx +32 -0
  19. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView02.page.tsx +32 -0
  20. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView03.page.tsx +35 -0
  21. package/site/examples/example01.page.tsx +6 -0
  22. package/site/examples/example02.page.tsx +4 -180
  23. package/site/examples/example03.page.tsx +3 -212
  24. package/site/examples/example04.page.tsx +6 -0
  25. package/site/examples/example05.page.tsx +3 -179
  26. package/site/examples/example06.page.tsx +3 -57
  27. package/site/examples/example07.page.tsx +3 -132
  28. package/site/examples/example08.page.tsx +3 -91
  29. package/site/examples/example09.page.tsx +3 -414
  30. package/site/examples/example10.page.tsx +3 -75
  31. package/site/examples/example11.page.tsx +3 -116
  32. package/site/examples/example12.page.tsx +3 -94
  33. package/site/examples/example13.page.tsx +3 -216
  34. package/site/examples/example14.page.tsx +3 -207
  35. package/site/examples/example15.page.tsx +6 -0
  36. package/site/examples/example16.page.tsx +6 -0
  37. package/site/examples/example17.page.tsx +6 -0
  38. package/site/examples/example18.page.tsx +3 -178
  39. package/site/examples/example19.page.tsx +3 -166
  40. package/site/examples/example20.page.tsx +3 -100
  41. package/site/examples/example21.page.tsx +3 -174
  42. package/site/examples/example22.page.tsx +3 -105
  43. package/site/examples/example23.page.tsx +3 -134
  44. package/site/examples/example24.page.tsx +3 -125
  45. package/site/examples/example25.page.tsx +2 -0
  46. package/site/examples/example26.page.tsx +2 -0
  47. package/site/examples/example27.page.tsx +2 -0
  48. package/site/examples/example28.page.tsx +3 -58
  49. package/site/examples/example29.page.tsx +6 -0
  50. package/site/examples/example30.page.tsx +6 -0
  51. package/site/examples/example31.page.tsx +4 -0
  52. package/tests/assets/example01.json +109 -0
  53. package/tests/assets/example02.json +178 -0
  54. package/tests/assets/example03.json +210 -0
  55. package/tests/assets/example04.json +41 -0
  56. package/tests/assets/example05.json +175 -0
  57. package/tests/assets/example06.json +55 -0
  58. package/tests/assets/example07.json +130 -0
  59. package/tests/assets/example08.json +89 -0
  60. package/tests/assets/example09.json +412 -0
  61. package/tests/assets/example10.json +73 -0
  62. package/tests/assets/example11.json +114 -0
  63. package/tests/assets/example12.json +92 -0
  64. package/tests/assets/example13.json +214 -0
  65. package/tests/assets/example14.json +205 -0
  66. package/tests/assets/example15.json +618 -0
  67. package/tests/assets/example16.json +102 -0
  68. package/tests/assets/example17.json +160 -0
  69. package/tests/assets/example18.json +176 -0
  70. package/tests/assets/example19.json +164 -0
  71. package/tests/assets/example20.json +98 -0
  72. package/tests/assets/example21.json +172 -0
  73. package/tests/assets/example22.json +103 -0
  74. package/tests/assets/example23.json +132 -0
  75. package/tests/assets/example24.json +123 -0
  76. package/tests/assets/example25.json +146 -33
  77. package/tests/assets/example26.json +51 -1134
  78. package/tests/assets/example27.json +151 -91
  79. package/tests/assets/example28.json +56 -0
  80. package/tests/assets/example29.json +1206 -0
  81. package/tests/assets/example30.json +168 -0
  82. package/tests/assets/example31.json +46 -0
  83. package/tests/examples/__snapshots__/example01.snap.svg +12 -6
  84. package/tests/examples/__snapshots__/example02.snap.svg +16 -8
  85. package/tests/examples/__snapshots__/example03.snap.svg +36 -18
  86. package/tests/examples/__snapshots__/example04.snap.svg +8 -4
  87. package/tests/examples/__snapshots__/example05.snap.svg +4 -2
  88. package/tests/examples/__snapshots__/example06.snap.svg +4 -2
  89. package/tests/examples/__snapshots__/example07.snap.svg +20 -10
  90. package/tests/examples/__snapshots__/example08.snap.svg +16 -8
  91. package/tests/examples/__snapshots__/example09.snap.svg +80 -40
  92. package/tests/examples/__snapshots__/example10.snap.svg +16 -8
  93. package/tests/examples/__snapshots__/example11.snap.svg +24 -12
  94. package/tests/examples/__snapshots__/example12.snap.svg +16 -8
  95. package/tests/examples/__snapshots__/example13.snap.svg +32 -16
  96. package/tests/examples/__snapshots__/example14.snap.svg +115 -48
  97. package/tests/examples/__snapshots__/example15.snap.svg +36 -18
  98. package/tests/examples/__snapshots__/example16.snap.svg +16 -8
  99. package/tests/examples/__snapshots__/example17.snap.svg +16 -8
  100. package/tests/examples/__snapshots__/example18.snap.svg +20 -10
  101. package/tests/examples/__snapshots__/example19.snap.svg +16 -8
  102. package/tests/examples/__snapshots__/example20.snap.svg +43 -135
  103. package/tests/examples/__snapshots__/example21.snap.svg +34 -18
  104. package/tests/examples/__snapshots__/example22.snap.svg +37 -23
  105. package/tests/examples/__snapshots__/example23.snap.svg +62 -26
  106. package/tests/examples/__snapshots__/example24.snap.svg +50 -28
  107. package/tests/examples/__snapshots__/example25.snap.svg +175 -49
  108. package/tests/examples/__snapshots__/example26.snap.svg +16 -8
  109. package/tests/examples/__snapshots__/example27.snap.svg +24 -12
  110. package/tests/examples/__snapshots__/example28.snap.svg +24 -18
  111. package/tests/examples/__snapshots__/example29.snap.svg +184 -92
  112. package/tests/examples/__snapshots__/example30.snap.svg +48 -24
  113. package/tests/examples/__snapshots__/example31.snap.svg +88 -0
  114. package/tests/examples/example01.test.ts +2 -2
  115. package/tests/examples/example02.test.ts +2 -2
  116. package/tests/examples/example03.test.ts +2 -2
  117. package/tests/examples/example04.test.ts +2 -2
  118. package/tests/examples/example05.test.ts +2 -2
  119. package/tests/examples/example06.test.ts +2 -2
  120. package/tests/examples/example07.test.ts +2 -2
  121. package/tests/examples/example08.test.ts +2 -2
  122. package/tests/examples/example09.test.ts +2 -2
  123. package/tests/examples/example10.test.ts +2 -2
  124. package/tests/examples/{example11.test.tsx → example11.test.ts} +2 -2
  125. package/tests/examples/{example12.test.tsx → example12.test.ts} +2 -2
  126. package/tests/examples/{example13.test.tsx → example13.test.ts} +2 -2
  127. package/tests/examples/example14.test.ts +12 -0
  128. package/tests/examples/example15.test.ts +12 -0
  129. package/tests/examples/example16.test.ts +12 -0
  130. package/tests/examples/example17.test.ts +12 -0
  131. package/tests/examples/example18.test.ts +12 -0
  132. package/tests/examples/example19.test.ts +12 -0
  133. package/tests/examples/example20.test.ts +12 -0
  134. package/tests/examples/example21.test.ts +12 -0
  135. package/tests/examples/example22.test.ts +12 -0
  136. package/tests/examples/example23.test.ts +12 -0
  137. package/tests/examples/example24.test.ts +12 -0
  138. package/tests/examples/example25.test.ts +12 -0
  139. package/tests/examples/example26.test.ts +12 -0
  140. package/tests/examples/example27.test.ts +3 -232
  141. package/tests/examples/example28.test.ts +2 -2
  142. package/tests/examples/example29.test.ts +1 -2
  143. package/tests/examples/example30.test.ts +2 -2
  144. package/tests/examples/example31.test.ts +12 -0
  145. package/site/examples/example01-basic.page.tsx +0 -105
  146. package/site/examples/example04-single-symbol.page.tsx +0 -46
  147. package/site/examples/example15-rp2040-caps.page.tsx +0 -623
  148. package/site/examples/example16-core-repro51.page.tsx +0 -107
  149. package/site/examples/example17-straight-line-trace.page.tsx +0 -165
  150. package/tests/examples/example14.test.tsx +0 -11
  151. package/tests/examples/example15.test.tsx +0 -629
  152. package/tests/examples/example16.test.tsx +0 -113
  153. package/tests/examples/example17.test.tsx +0 -171
  154. package/tests/examples/example18.test.tsx +0 -187
  155. package/tests/examples/example19.test.tsx +0 -175
  156. package/tests/examples/example20.test.tsx +0 -190
  157. package/tests/examples/example21.test.tsx +0 -183
  158. package/tests/examples/example22.test.tsx +0 -109
  159. package/tests/examples/example23.test.tsx +0 -109
  160. package/tests/examples/example24.test.tsx +0 -114
  161. package/tests/examples/example25.test.tsx +0 -143
  162. package/tests/examples/example26.test.tsx +0 -134
@@ -0,0 +1,210 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": -3,
7
+ "y": 1.5
8
+ },
9
+ "width": 1.0011537820000012,
10
+ "height": 0.44923699999999833,
11
+ "pins": [
12
+ {
13
+ "pinId": "PIN1_PIN2.1",
14
+ "x": -3.4724184500000006,
15
+ "y": 1.4489565000000004
16
+ },
17
+ {
18
+ "pinId": "PIN1_PIN2.2",
19
+ "x": -3.4724184500000006,
20
+ "y": 1.4489565000000004
21
+ },
22
+ {
23
+ "pinId": "PIN1_PIN2.3",
24
+ "x": -2.5275815499999994,
25
+ "y": 1.4485175000000003
26
+ },
27
+ {
28
+ "pinId": "PIN1_PIN2.4",
29
+ "x": -2.5275815499999994,
30
+ "y": 1.4485175000000003
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "chipId": "schematic_component_1",
36
+ "center": {
37
+ "x": 0,
38
+ "y": 1.5
39
+ },
40
+ "width": 1.0011537820000012,
41
+ "height": 0.44923699999999833,
42
+ "pins": [
43
+ {
44
+ "pinId": "PIN1_PIN3.1",
45
+ "x": -0.4724184500000006,
46
+ "y": 1.4489565000000004
47
+ },
48
+ {
49
+ "pinId": "PIN1_PIN3.2",
50
+ "x": -0.4724184500000006,
51
+ "y": 1.4489565000000004
52
+ },
53
+ {
54
+ "pinId": "PIN1_PIN3.3",
55
+ "x": 0.4724184500000006,
56
+ "y": 1.4485175000000003
57
+ },
58
+ {
59
+ "pinId": "PIN1_PIN3.4",
60
+ "x": 0.4724184500000006,
61
+ "y": 1.4485175000000003
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "chipId": "schematic_component_2",
67
+ "center": {
68
+ "x": 3,
69
+ "y": 1.5
70
+ },
71
+ "width": 1.0011537820000012,
72
+ "height": 0.44923699999999833,
73
+ "pins": [
74
+ {
75
+ "pinId": "PIN1_PIN4.1",
76
+ "x": 2.5275815499999994,
77
+ "y": 1.4489565000000004
78
+ },
79
+ {
80
+ "pinId": "PIN1_PIN4.2",
81
+ "x": 2.5275815499999994,
82
+ "y": 1.4489565000000004
83
+ },
84
+ {
85
+ "pinId": "PIN1_PIN4.3",
86
+ "x": 3.4724184500000006,
87
+ "y": 1.4485175000000003
88
+ },
89
+ {
90
+ "pinId": "PIN1_PIN4.4",
91
+ "x": 3.4724184500000006,
92
+ "y": 1.4485175000000003
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "chipId": "schematic_component_3",
98
+ "center": {
99
+ "x": -3,
100
+ "y": -1.5
101
+ },
102
+ "width": 1.0011537820000012,
103
+ "height": 0.44923699999999833,
104
+ "pins": [
105
+ {
106
+ "pinId": "PIN2_PIN3.1",
107
+ "x": -3.4724184500000006,
108
+ "y": -1.5510434999999996
109
+ },
110
+ {
111
+ "pinId": "PIN2_PIN3.2",
112
+ "x": -3.4724184500000006,
113
+ "y": -1.5510434999999996
114
+ },
115
+ {
116
+ "pinId": "PIN2_PIN3.3",
117
+ "x": -2.5275815499999994,
118
+ "y": -1.5514824999999997
119
+ },
120
+ {
121
+ "pinId": "PIN2_PIN3.4",
122
+ "x": -2.5275815499999994,
123
+ "y": -1.5514824999999997
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "chipId": "schematic_component_4",
129
+ "center": {
130
+ "x": 0,
131
+ "y": -1.5
132
+ },
133
+ "width": 1.0011537820000012,
134
+ "height": 0.44923699999999833,
135
+ "pins": [
136
+ {
137
+ "pinId": "PIN2_PIN4.1",
138
+ "x": -0.4724184500000006,
139
+ "y": -1.5510434999999996
140
+ },
141
+ {
142
+ "pinId": "PIN2_PIN4.2",
143
+ "x": -0.4724184500000006,
144
+ "y": -1.5510434999999996
145
+ },
146
+ {
147
+ "pinId": "PIN2_PIN4.3",
148
+ "x": 0.4724184500000006,
149
+ "y": -1.5514824999999997
150
+ },
151
+ {
152
+ "pinId": "PIN2_PIN4.4",
153
+ "x": 0.4724184500000006,
154
+ "y": -1.5514824999999997
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ "chipId": "schematic_component_5",
160
+ "center": {
161
+ "x": 3,
162
+ "y": -1.5
163
+ },
164
+ "width": 1.0011537820000012,
165
+ "height": 0.44923699999999833,
166
+ "pins": [
167
+ {
168
+ "pinId": "PIN3_PIN4.1",
169
+ "x": 2.5275815499999994,
170
+ "y": -1.5510434999999996
171
+ },
172
+ {
173
+ "pinId": "PIN3_PIN4.2",
174
+ "x": 2.5275815499999994,
175
+ "y": -1.5510434999999996
176
+ },
177
+ {
178
+ "pinId": "PIN3_PIN4.3",
179
+ "x": 3.4724184500000006,
180
+ "y": -1.5514824999999997
181
+ },
182
+ {
183
+ "pinId": "PIN3_PIN4.4",
184
+ "x": 3.4724184500000006,
185
+ "y": -1.5514824999999997
186
+ }
187
+ ]
188
+ }
189
+ ],
190
+ "directConnections": [],
191
+ "netConnections": [
192
+ {
193
+ "netId": "PIN1",
194
+ "pinIds": ["PIN1_PIN2.1", "PIN1_PIN3.1", "PIN1_PIN4.1"]
195
+ },
196
+ {
197
+ "netId": "PIN2",
198
+ "pinIds": ["PIN1_PIN2.2", "PIN2_PIN3.2", "PIN2_PIN4.2"]
199
+ },
200
+ {
201
+ "netId": "PIN3",
202
+ "pinIds": ["PIN1_PIN3.3", "PIN2_PIN3.3", "PIN3_PIN4.3"]
203
+ },
204
+ {
205
+ "netId": "PIN4",
206
+ "pinIds": ["PIN1_PIN4.4", "PIN2_PIN4.4", "PIN3_PIN4.4"]
207
+ }
208
+ ],
209
+ "availableNetLabelOrientations": {}
210
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": 0,
7
+ "y": 0
8
+ },
9
+ "width": 0.8935117710000002,
10
+ "height": 1.1601665819999987,
11
+ "pins": [
12
+ {
13
+ "pinId": "Q1.1",
14
+ "x": 0.30397715550000004,
15
+ "y": 0.5519248499999994
16
+ },
17
+ {
18
+ "pinId": "Q1.2",
19
+ "x": 0.31067575550000137,
20
+ "y": -0.5519248499999994
21
+ },
22
+ {
23
+ "pinId": "Q1.3",
24
+ "x": -0.41859744450000014,
25
+ "y": -0.10250625000000019
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "directConnections": [],
31
+ "netConnections": [
32
+ {
33
+ "netId": "V3_3",
34
+ "pinIds": ["Q1.1", "Q1.2"]
35
+ }
36
+ ],
37
+ "availableNetLabelOrientations": {
38
+ "V3_3": ["y+"]
39
+ },
40
+ "maxMspPairDistance": 2
41
+ }
@@ -0,0 +1,175 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": 0,
7
+ "y": 0
8
+ },
9
+ "width": 1,
10
+ "height": 5,
11
+ "pins": [
12
+ {
13
+ "pinId": "U1.1",
14
+ "x": 0.9,
15
+ "y": 1.2
16
+ },
17
+ {
18
+ "pinId": "U1.2",
19
+ "x": 0.9,
20
+ "y": 0.3999999999999999
21
+ },
22
+ {
23
+ "pinId": "U1.3",
24
+ "x": 0.9,
25
+ "y": 0.5999999999999999
26
+ },
27
+ {
28
+ "pinId": "U1.4",
29
+ "x": -0.9,
30
+ "y": 0.3999999999999999
31
+ },
32
+ {
33
+ "pinId": "U1.5",
34
+ "x": 0.9,
35
+ "y": 0.9999999999999998
36
+ },
37
+ {
38
+ "pinId": "U1.6",
39
+ "x": 0.9,
40
+ "y": -0.19999999999999996
41
+ },
42
+ {
43
+ "pinId": "U1.7",
44
+ "x": -0.9,
45
+ "y": -0.7999999999999998
46
+ },
47
+ {
48
+ "pinId": "U1.9",
49
+ "x": 0.9,
50
+ "y": 0.19999999999999996
51
+ },
52
+ {
53
+ "pinId": "U1.10",
54
+ "x": 0.9,
55
+ "y": 0
56
+ },
57
+ {
58
+ "pinId": "U1.11",
59
+ "x": 0.9,
60
+ "y": 0.7999999999999998
61
+ },
62
+ {
63
+ "pinId": "U1.12",
64
+ "x": 0.9,
65
+ "y": -1.2
66
+ },
67
+ {
68
+ "pinId": "U1.13",
69
+ "x": 0.9,
70
+ "y": -1
71
+ },
72
+ {
73
+ "pinId": "U1.14",
74
+ "x": 0.9,
75
+ "y": -0.7999999999999999
76
+ },
77
+ {
78
+ "pinId": "U1.15",
79
+ "x": -0.9,
80
+ "y": 1
81
+ },
82
+ {
83
+ "pinId": "U1.16",
84
+ "x": -0.9,
85
+ "y": 1.2
86
+ },
87
+ {
88
+ "pinId": "U1.17",
89
+ "x": -0.9,
90
+ "y": 0.5999999999999999
91
+ },
92
+ {
93
+ "pinId": "U1.18",
94
+ "x": -0.9,
95
+ "y": -0.9999999999999998
96
+ },
97
+ {
98
+ "pinId": "U1.19",
99
+ "x": -0.9,
100
+ "y": -0.19999999999999996
101
+ },
102
+ {
103
+ "pinId": "U1.20",
104
+ "x": -0.9,
105
+ "y": 0.7999999999999999
106
+ },
107
+ {
108
+ "pinId": "U1.21",
109
+ "x": -0.9,
110
+ "y": -1.2
111
+ },
112
+ {
113
+ "pinId": "U1.22",
114
+ "x": 0.9,
115
+ "y": -0.5999999999999999
116
+ },
117
+ {
118
+ "pinId": "U1.23",
119
+ "x": 0.9,
120
+ "y": -0.3999999999999999
121
+ },
122
+ {
123
+ "pinId": "U1.25",
124
+ "x": -0.9,
125
+ "y": -0.5999999999999999
126
+ },
127
+ {
128
+ "pinId": "U1.26",
129
+ "x": -0.9,
130
+ "y": -0.3999999999999999
131
+ },
132
+ {
133
+ "pinId": "U1.27",
134
+ "x": -0.9,
135
+ "y": 0.19999999999999996
136
+ },
137
+ {
138
+ "pinId": "U1.28",
139
+ "x": -0.9,
140
+ "y": 0
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "chipId": "schematic_component_1",
146
+ "center": {
147
+ "x": 2,
148
+ "y": 1
149
+ },
150
+ "width": 1.0402490999999996,
151
+ "height": 0.5476905999999993,
152
+ "pins": [
153
+ {
154
+ "pinId": "LED1.1",
155
+ "x": 1.4808529,
156
+ "y": 1.0005122999999987
157
+ },
158
+ {
159
+ "pinId": "LED1.2",
160
+ "x": 2.5191471,
161
+ "y": 0.9994877000000013
162
+ }
163
+ ]
164
+ }
165
+ ],
166
+ "directConnections": [
167
+ {
168
+ "pinIds": ["LED1.2", "U1.20"],
169
+ "netId": ".LED1 > port.right to .U1 > .pin20"
170
+ }
171
+ ],
172
+ "netConnections": [],
173
+ "availableNetLabelOrientations": {},
174
+ "maxMspPairDistance": 10
175
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": -3,
7
+ "y": 0
8
+ },
9
+ "width": 1.102581400000001,
10
+ "height": 0.388910699999999,
11
+ "pins": [
12
+ {
13
+ "pinId": "R1.1",
14
+ "x": -3.5512907000000005,
15
+ "y": 0.0002732499999993365
16
+ },
17
+ {
18
+ "pinId": "R1.2",
19
+ "x": -2.4487092999999995,
20
+ "y": -0.0002732499999993365
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "chipId": "schematic_component_1",
26
+ "center": {
27
+ "x": 3,
28
+ "y": 0
29
+ },
30
+ "width": 1.102418600000001,
31
+ "height": 0.8400173000000031,
32
+ "pins": [
33
+ {
34
+ "pinId": "C1.1",
35
+ "x": 2.4487906999999995,
36
+ "y": -0.00027334999999961695
37
+ },
38
+ {
39
+ "pinId": "C1.2",
40
+ "x": 3.5512093000000005,
41
+ "y": 0.00027334999999961695
42
+ }
43
+ ]
44
+ }
45
+ ],
46
+ "directConnections": [
47
+ {
48
+ "pinIds": ["R1.1", "C1.1"],
49
+ "netId": ".R1 > .pin1 to .C1 > .pin1"
50
+ }
51
+ ],
52
+ "netConnections": [],
53
+ "availableNetLabelOrientations": {},
54
+ "maxMspPairDistance": 10
55
+ }
@@ -0,0 +1,130 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": 0,
7
+ "y": 0
8
+ },
9
+ "width": 2.8,
10
+ "height": 1.4,
11
+ "pins": [
12
+ {
13
+ "pinId": "U3.8",
14
+ "x": -1.4,
15
+ "y": 0.42500000000000004
16
+ },
17
+ {
18
+ "pinId": "U3.4",
19
+ "x": -1.4,
20
+ "y": -0.42500000000000004
21
+ },
22
+ {
23
+ "pinId": "U3.1",
24
+ "x": 1.4,
25
+ "y": 0.5
26
+ },
27
+ {
28
+ "pinId": "U3.6",
29
+ "x": 1.4,
30
+ "y": 0.30000000000000004
31
+ },
32
+ {
33
+ "pinId": "U3.5",
34
+ "x": 1.4,
35
+ "y": 0.10000000000000009
36
+ },
37
+ {
38
+ "pinId": "U3.2",
39
+ "x": 1.4,
40
+ "y": -0.09999999999999998
41
+ },
42
+ {
43
+ "pinId": "U3.3",
44
+ "x": 1.4,
45
+ "y": -0.3
46
+ },
47
+ {
48
+ "pinId": "U3.7",
49
+ "x": 1.4,
50
+ "y": -0.5
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "chipId": "schematic_component_1",
56
+ "center": {
57
+ "x": -2.3145833,
58
+ "y": 0
59
+ },
60
+ "width": 0.5291665999999999,
61
+ "height": 1.1024186000000005,
62
+ "pins": [
63
+ {
64
+ "pinId": "C20.1",
65
+ "x": -2.3148566499999994,
66
+ "y": 0.5512093000000002
67
+ },
68
+ {
69
+ "pinId": "C20.2",
70
+ "x": -2.31430995,
71
+ "y": -0.5512093000000002
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "chipId": "schematic_component_2",
77
+ "center": {
78
+ "x": 1.7577928249999983,
79
+ "y": 1.7512907000000002
80
+ },
81
+ "width": 0.3155856499999966,
82
+ "height": 1.1025814000000005,
83
+ "pins": [
84
+ {
85
+ "pinId": "R11.1",
86
+ "x": 1.7580660749999977,
87
+ "y": 2.3025814000000002
88
+ },
89
+ {
90
+ "pinId": "R11.2",
91
+ "x": 1.757519574999999,
92
+ "y": 1.2
93
+ }
94
+ ]
95
+ }
96
+ ],
97
+ "directConnections": [
98
+ {
99
+ "pinIds": ["C20.1", "U3.8"],
100
+ "netId": "capacitor.C20 > port.pin1 to .U3 > .VDD"
101
+ },
102
+ {
103
+ "pinIds": ["C20.2", "U3.4"],
104
+ "netId": "capacitor.C20 > port.pin2 to .U3 > .GND"
105
+ },
106
+ {
107
+ "pinIds": ["R11.2", "U3.1"],
108
+ "netId": "resistor.R11 > port.pin2 to .U3 > .N_CS"
109
+ }
110
+ ],
111
+ "netConnections": [
112
+ {
113
+ "netId": "V3_3",
114
+ "pinIds": ["U3.8", "U3.3", "U3.7", "C20.1", "R11.1"]
115
+ },
116
+ {
117
+ "netId": "GND",
118
+ "pinIds": ["U3.4", "C20.2"]
119
+ },
120
+ {
121
+ "netId": "FLASH_N_CS",
122
+ "pinIds": ["U3.1", "R11.2"]
123
+ }
124
+ ],
125
+ "availableNetLabelOrientations": {
126
+ "V3_3": ["y+"],
127
+ "GND": ["y-"]
128
+ },
129
+ "maxMspPairDistance": 2
130
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": 4,
7
+ "y": 0
8
+ },
9
+ "width": 1.1025814,
10
+ "height": 0.388910699999999,
11
+ "pins": [
12
+ {
13
+ "pinId": "R1.1",
14
+ "x": 3.4487093,
15
+ "y": 0.0002732499999993365
16
+ },
17
+ {
18
+ "pinId": "R1.2",
19
+ "x": 4.5512907,
20
+ "y": -0.0002732499999993365
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "chipId": "schematic_component_1",
26
+ "center": {
27
+ "x": 0,
28
+ "y": 0
29
+ },
30
+ "width": 1.2000000000000002,
31
+ "height": 1,
32
+ "pins": [
33
+ {
34
+ "pinId": "U1.1",
35
+ "x": -0.6000000000000001,
36
+ "y": 0.30000000000000004
37
+ },
38
+ {
39
+ "pinId": "U1.2",
40
+ "x": -0.6000000000000001,
41
+ "y": 0.10000000000000003
42
+ },
43
+ {
44
+ "pinId": "U1.3",
45
+ "x": -0.6000000000000001,
46
+ "y": -0.09999999999999998
47
+ },
48
+ {
49
+ "pinId": "U1.4",
50
+ "x": -0.6000000000000001,
51
+ "y": -0.30000000000000004
52
+ },
53
+ {
54
+ "pinId": "U1.5",
55
+ "x": 0.6000000000000001,
56
+ "y": -0.30000000000000004
57
+ },
58
+ {
59
+ "pinId": "U1.6",
60
+ "x": 0.6000000000000001,
61
+ "y": -0.10000000000000003
62
+ },
63
+ {
64
+ "pinId": "U1.7",
65
+ "x": 0.6000000000000001,
66
+ "y": 0.09999999999999998
67
+ },
68
+ {
69
+ "pinId": "U1.8",
70
+ "x": 0.6000000000000001,
71
+ "y": 0.30000000000000004
72
+ }
73
+ ]
74
+ }
75
+ ],
76
+ "directConnections": [
77
+ {
78
+ "pinIds": ["U1.1", "R1.1"],
79
+ "netId": "chip.U1 > port.pin1 to R1.1"
80
+ },
81
+ {
82
+ "pinIds": ["U1.6", "R1.2"],
83
+ "netId": "chip.U1 > port.pin6 to R1.2"
84
+ }
85
+ ],
86
+ "netConnections": [],
87
+ "availableNetLabelOrientations": {},
88
+ "maxMspPairDistance": 5
89
+ }