@tscircuit/3d-viewer 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1516 @@
1
+ [
2
+ {
3
+ "type": "source_component",
4
+ "source_component_id": "simple_bug_0",
5
+ "name": "U1",
6
+ "supplier_part_numbers": {},
7
+ "ftype": "simple_bug",
8
+ "pinLabels": {
9
+ "1": "VCC",
10
+ "2": "TRIG",
11
+ "3": "OUT",
12
+ "4": "RESET",
13
+ "5": "CTRL",
14
+ "6": "GND"
15
+ },
16
+ "schPortArrangement": {
17
+ "leftSize": 3,
18
+ "rightSize": 3,
19
+ "left_size": 3,
20
+ "right_size": 3
21
+ },
22
+ "pin_labels": {
23
+ "1": "VCC",
24
+ "2": "TRIG",
25
+ "3": "OUT",
26
+ "4": "RESET",
27
+ "5": "CTRL",
28
+ "6": "GND"
29
+ },
30
+ "sch_port_arrangement": {
31
+ "leftSize": 3,
32
+ "rightSize": 3,
33
+ "left_size": 3,
34
+ "right_size": 3
35
+ }
36
+ },
37
+ {
38
+ "type": "schematic_component",
39
+ "source_component_id": "simple_bug_0",
40
+ "schematic_component_id": "schematic_component_simple_bug_0",
41
+ "rotation": 0,
42
+ "size": {
43
+ "width": 1,
44
+ "height": 1.5
45
+ },
46
+ "center": {
47
+ "x": 0,
48
+ "y": 0
49
+ },
50
+ "port_labels": {
51
+ "1": "VCC",
52
+ "2": "TRIG",
53
+ "3": "OUT",
54
+ "4": "RESET",
55
+ "5": "CTRL",
56
+ "6": "GND"
57
+ },
58
+ "port_arrangement": {
59
+ "left_size": 3,
60
+ "right_size": 3
61
+ }
62
+ },
63
+ {
64
+ "type": "source_port",
65
+ "name": "VCC",
66
+ "source_port_id": "source_port_0",
67
+ "source_component_id": "simple_bug_0",
68
+ "pin_number": 1,
69
+ "port_hints": [
70
+ "VCC",
71
+ "1"
72
+ ]
73
+ },
74
+ {
75
+ "type": "schematic_port",
76
+ "schematic_port_id": "schematic_port_0",
77
+ "source_port_id": "source_port_0",
78
+ "center": {
79
+ "x": -0.75,
80
+ "y": 0.5
81
+ },
82
+ "facing_direction": "left",
83
+ "schematic_component_id": "schematic_component_simple_bug_0"
84
+ },
85
+ {
86
+ "type": "schematic_text",
87
+ "schematic_port_id": "schematic_port_0",
88
+ "schematic_text_id": "schematic_text_6",
89
+ "text": "1",
90
+ "anchor": "center",
91
+ "rotation": 0,
92
+ "position": {
93
+ "x": -0.6262563132923542,
94
+ "y": 0.3762563132923542
95
+ },
96
+ "schematic_component_id": "schematic_component_simple_bug_0"
97
+ },
98
+ {
99
+ "type": "pcb_port",
100
+ "pcb_port_id": "pcb_port_0",
101
+ "source_port_id": "source_port_0",
102
+ "pcb_component_id": "pcb_component_simple_bug_0",
103
+ "x": -1.45,
104
+ "y": 1.27,
105
+ "layers": [
106
+ "top"
107
+ ]
108
+ },
109
+ {
110
+ "type": "source_port",
111
+ "name": "TRIG",
112
+ "source_port_id": "source_port_1",
113
+ "source_component_id": "simple_bug_0",
114
+ "pin_number": 2,
115
+ "port_hints": [
116
+ "TRIG",
117
+ "2"
118
+ ]
119
+ },
120
+ {
121
+ "type": "schematic_port",
122
+ "schematic_port_id": "schematic_port_1",
123
+ "source_port_id": "source_port_1",
124
+ "center": {
125
+ "x": -0.75,
126
+ "y": 0
127
+ },
128
+ "facing_direction": "left",
129
+ "schematic_component_id": "schematic_component_simple_bug_0"
130
+ },
131
+ {
132
+ "type": "schematic_text",
133
+ "schematic_port_id": "schematic_port_1",
134
+ "schematic_text_id": "schematic_text_7",
135
+ "text": "2",
136
+ "anchor": "center",
137
+ "rotation": 0,
138
+ "position": {
139
+ "x": -0.6262563132923542,
140
+ "y": -0.12374368670764582
141
+ },
142
+ "schematic_component_id": "schematic_component_simple_bug_0"
143
+ },
144
+ {
145
+ "type": "pcb_port",
146
+ "pcb_port_id": "pcb_port_1",
147
+ "source_port_id": "source_port_1",
148
+ "pcb_component_id": "pcb_component_simple_bug_0",
149
+ "x": -1.45,
150
+ "y": 0,
151
+ "layers": [
152
+ "top"
153
+ ]
154
+ },
155
+ {
156
+ "type": "source_port",
157
+ "name": "OUT",
158
+ "source_port_id": "source_port_2",
159
+ "source_component_id": "simple_bug_0",
160
+ "pin_number": 3,
161
+ "port_hints": [
162
+ "OUT",
163
+ "3"
164
+ ]
165
+ },
166
+ {
167
+ "type": "schematic_port",
168
+ "schematic_port_id": "schematic_port_2",
169
+ "source_port_id": "source_port_2",
170
+ "center": {
171
+ "x": -0.75,
172
+ "y": -0.5
173
+ },
174
+ "facing_direction": "left",
175
+ "schematic_component_id": "schematic_component_simple_bug_0"
176
+ },
177
+ {
178
+ "type": "schematic_text",
179
+ "schematic_port_id": "schematic_port_2",
180
+ "schematic_text_id": "schematic_text_8",
181
+ "text": "3",
182
+ "anchor": "center",
183
+ "rotation": 0,
184
+ "position": {
185
+ "x": -0.6262563132923542,
186
+ "y": -0.6237436867076458
187
+ },
188
+ "schematic_component_id": "schematic_component_simple_bug_0"
189
+ },
190
+ {
191
+ "type": "pcb_port",
192
+ "pcb_port_id": "pcb_port_2",
193
+ "source_port_id": "source_port_2",
194
+ "pcb_component_id": "pcb_component_simple_bug_0",
195
+ "x": -1.45,
196
+ "y": -1.27,
197
+ "layers": [
198
+ "top"
199
+ ]
200
+ },
201
+ {
202
+ "type": "source_port",
203
+ "name": "RESET",
204
+ "source_port_id": "source_port_3",
205
+ "source_component_id": "simple_bug_0",
206
+ "pin_number": 4,
207
+ "port_hints": [
208
+ "RESET",
209
+ "4"
210
+ ]
211
+ },
212
+ {
213
+ "type": "schematic_port",
214
+ "schematic_port_id": "schematic_port_3",
215
+ "source_port_id": "source_port_3",
216
+ "center": {
217
+ "x": 0.75,
218
+ "y": -0.5
219
+ },
220
+ "facing_direction": "right",
221
+ "schematic_component_id": "schematic_component_simple_bug_0"
222
+ },
223
+ {
224
+ "type": "schematic_text",
225
+ "schematic_port_id": "schematic_port_3",
226
+ "schematic_text_id": "schematic_text_9",
227
+ "text": "4",
228
+ "anchor": "center",
229
+ "rotation": 0,
230
+ "position": {
231
+ "x": 0.6262563132923542,
232
+ "y": -0.6237436867076458
233
+ },
234
+ "schematic_component_id": "schematic_component_simple_bug_0"
235
+ },
236
+ {
237
+ "type": "pcb_port",
238
+ "pcb_port_id": "pcb_port_3",
239
+ "source_port_id": "source_port_3",
240
+ "pcb_component_id": "pcb_component_simple_bug_0",
241
+ "x": 1.45,
242
+ "y": -1.27,
243
+ "layers": [
244
+ "top"
245
+ ]
246
+ },
247
+ {
248
+ "type": "source_port",
249
+ "name": "CTRL",
250
+ "source_port_id": "source_port_4",
251
+ "source_component_id": "simple_bug_0",
252
+ "pin_number": 5,
253
+ "port_hints": [
254
+ "CTRL",
255
+ "5"
256
+ ]
257
+ },
258
+ {
259
+ "type": "schematic_port",
260
+ "schematic_port_id": "schematic_port_4",
261
+ "source_port_id": "source_port_4",
262
+ "center": {
263
+ "x": 0.75,
264
+ "y": 0
265
+ },
266
+ "facing_direction": "right",
267
+ "schematic_component_id": "schematic_component_simple_bug_0"
268
+ },
269
+ {
270
+ "type": "schematic_text",
271
+ "schematic_port_id": "schematic_port_4",
272
+ "schematic_text_id": "schematic_text_10",
273
+ "text": "5",
274
+ "anchor": "center",
275
+ "rotation": 0,
276
+ "position": {
277
+ "x": 0.6262563132923542,
278
+ "y": -0.12374368670764582
279
+ },
280
+ "schematic_component_id": "schematic_component_simple_bug_0"
281
+ },
282
+ {
283
+ "type": "pcb_port",
284
+ "pcb_port_id": "pcb_port_4",
285
+ "source_port_id": "source_port_4",
286
+ "pcb_component_id": "pcb_component_simple_bug_0",
287
+ "x": 1.45,
288
+ "y": 0,
289
+ "layers": [
290
+ "top"
291
+ ]
292
+ },
293
+ {
294
+ "type": "source_port",
295
+ "name": "GND",
296
+ "source_port_id": "source_port_5",
297
+ "source_component_id": "simple_bug_0",
298
+ "pin_number": 6,
299
+ "port_hints": [
300
+ "GND",
301
+ "6"
302
+ ]
303
+ },
304
+ {
305
+ "type": "schematic_port",
306
+ "schematic_port_id": "schematic_port_5",
307
+ "source_port_id": "source_port_5",
308
+ "center": {
309
+ "x": 0.75,
310
+ "y": 0.5
311
+ },
312
+ "facing_direction": "right",
313
+ "schematic_component_id": "schematic_component_simple_bug_0"
314
+ },
315
+ {
316
+ "type": "schematic_text",
317
+ "schematic_port_id": "schematic_port_5",
318
+ "schematic_text_id": "schematic_text_11",
319
+ "text": "6",
320
+ "anchor": "center",
321
+ "rotation": 0,
322
+ "position": {
323
+ "x": 0.6262563132923542,
324
+ "y": 0.3762563132923542
325
+ },
326
+ "schematic_component_id": "schematic_component_simple_bug_0"
327
+ },
328
+ {
329
+ "type": "pcb_port",
330
+ "pcb_port_id": "pcb_port_5",
331
+ "source_port_id": "source_port_5",
332
+ "pcb_component_id": "pcb_component_simple_bug_0",
333
+ "x": 1.45,
334
+ "y": 1.27,
335
+ "layers": [
336
+ "top"
337
+ ]
338
+ },
339
+ {
340
+ "type": "schematic_text",
341
+ "schematic_text_id": "schematic_text_0",
342
+ "schematic_component_id": "schematic_component_simple_bug_0",
343
+ "text": "VCC",
344
+ "anchor": "left",
345
+ "rotation": 0,
346
+ "position": {
347
+ "x": -0.35,
348
+ "y": 0.5
349
+ }
350
+ },
351
+ {
352
+ "type": "schematic_text",
353
+ "schematic_text_id": "schematic_text_1",
354
+ "schematic_component_id": "schematic_component_simple_bug_0",
355
+ "text": "TRIG",
356
+ "anchor": "left",
357
+ "rotation": 0,
358
+ "position": {
359
+ "x": -0.35,
360
+ "y": 0
361
+ }
362
+ },
363
+ {
364
+ "type": "schematic_text",
365
+ "schematic_text_id": "schematic_text_2",
366
+ "schematic_component_id": "schematic_component_simple_bug_0",
367
+ "text": "OUT",
368
+ "anchor": "left",
369
+ "rotation": 0,
370
+ "position": {
371
+ "x": -0.35,
372
+ "y": -0.5
373
+ }
374
+ },
375
+ {
376
+ "type": "schematic_text",
377
+ "schematic_text_id": "schematic_text_3",
378
+ "schematic_component_id": "schematic_component_simple_bug_0",
379
+ "text": "RESET",
380
+ "anchor": "right",
381
+ "rotation": 0,
382
+ "position": {
383
+ "x": 0.35,
384
+ "y": -0.5
385
+ }
386
+ },
387
+ {
388
+ "type": "schematic_text",
389
+ "schematic_text_id": "schematic_text_4",
390
+ "schematic_component_id": "schematic_component_simple_bug_0",
391
+ "text": "CTRL",
392
+ "anchor": "right",
393
+ "rotation": 0,
394
+ "position": {
395
+ "x": 0.35,
396
+ "y": 0
397
+ }
398
+ },
399
+ {
400
+ "type": "schematic_text",
401
+ "schematic_text_id": "schematic_text_5",
402
+ "schematic_component_id": "schematic_component_simple_bug_0",
403
+ "text": "GND",
404
+ "anchor": "right",
405
+ "rotation": 0,
406
+ "position": {
407
+ "x": 0.35,
408
+ "y": 0.5
409
+ }
410
+ },
411
+ {
412
+ "type": "pcb_component",
413
+ "source_component_id": "simple_bug_0",
414
+ "pcb_component_id": "pcb_component_simple_bug_0",
415
+ "layer": "top",
416
+ "center": {
417
+ "x": 0,
418
+ "y": 0
419
+ },
420
+ "rotation": 0,
421
+ "width": 3.9,
422
+ "height": 3.14
423
+ },
424
+ {
425
+ "type": "pcb_smtpad",
426
+ "pcb_smtpad_id": "pcb_smtpad_0",
427
+ "shape": "rect",
428
+ "x": -1.45,
429
+ "y": 1.27,
430
+ "width": 1,
431
+ "height": 0.6,
432
+ "layer": "top",
433
+ "pcb_component_id": "pcb_component_simple_bug_0",
434
+ "port_hints": [
435
+ "1"
436
+ ],
437
+ "pcb_port_id": "pcb_port_0"
438
+ },
439
+ {
440
+ "type": "pcb_smtpad",
441
+ "pcb_smtpad_id": "pcb_smtpad_3",
442
+ "shape": "rect",
443
+ "x": -1.45,
444
+ "y": 0,
445
+ "width": 1,
446
+ "height": 0.6,
447
+ "layer": "top",
448
+ "pcb_component_id": "pcb_component_simple_bug_0",
449
+ "port_hints": [
450
+ "2"
451
+ ],
452
+ "pcb_port_id": "pcb_port_1"
453
+ },
454
+ {
455
+ "type": "pcb_smtpad",
456
+ "pcb_smtpad_id": "pcb_smtpad_6",
457
+ "shape": "rect",
458
+ "x": -1.45,
459
+ "y": -1.27,
460
+ "width": 1,
461
+ "height": 0.6,
462
+ "layer": "top",
463
+ "pcb_component_id": "pcb_component_simple_bug_0",
464
+ "port_hints": [
465
+ "3"
466
+ ],
467
+ "pcb_port_id": "pcb_port_2"
468
+ },
469
+ {
470
+ "type": "pcb_smtpad",
471
+ "pcb_smtpad_id": "pcb_smtpad_7",
472
+ "shape": "rect",
473
+ "x": 1.45,
474
+ "y": -1.27,
475
+ "width": 1,
476
+ "height": 0.6,
477
+ "layer": "top",
478
+ "pcb_component_id": "pcb_component_simple_bug_0",
479
+ "port_hints": [
480
+ "4"
481
+ ],
482
+ "pcb_port_id": "pcb_port_3"
483
+ },
484
+ {
485
+ "type": "pcb_smtpad",
486
+ "pcb_smtpad_id": "pcb_smtpad_8",
487
+ "shape": "rect",
488
+ "x": 1.45,
489
+ "y": 0,
490
+ "width": 1,
491
+ "height": 0.6,
492
+ "layer": "top",
493
+ "pcb_component_id": "pcb_component_simple_bug_0",
494
+ "port_hints": [
495
+ "5"
496
+ ],
497
+ "pcb_port_id": "pcb_port_4"
498
+ },
499
+ {
500
+ "type": "pcb_smtpad",
501
+ "pcb_smtpad_id": "pcb_smtpad_9",
502
+ "shape": "rect",
503
+ "x": 1.45,
504
+ "y": 1.27,
505
+ "width": 1,
506
+ "height": 0.6,
507
+ "layer": "top",
508
+ "pcb_component_id": "pcb_component_simple_bug_0",
509
+ "port_hints": [
510
+ "6"
511
+ ],
512
+ "pcb_port_id": "pcb_port_5"
513
+ },
514
+ {
515
+ "type": "pcb_silkscreen_path",
516
+ "layer": "top",
517
+ "pcb_component_id": "pcb_component_simple_bug_0",
518
+ "pcb_silkscreen_path_id": "pcb_silkscreen_path_0",
519
+ "route": [
520
+ {
521
+ "x": -0.85,
522
+ "y": -1.57
523
+ },
524
+ {
525
+ "x": -0.85,
526
+ "y": 1.57
527
+ },
528
+ {
529
+ "x": -0.2833333333333333,
530
+ "y": 1.57
531
+ },
532
+ {
533
+ "x": -0.2617658675448646,
534
+ "y": 1.461573027496558
535
+ },
536
+ {
537
+ "x": -0.20034692133618845,
538
+ "y": 1.3696530786638115
539
+ },
540
+ {
541
+ "x": -0.10842697250344209,
542
+ "y": 1.3082341324551354
543
+ },
544
+ {
545
+ "x": 1.7349162987920837e-17,
546
+ "y": 1.2866666666666666
547
+ },
548
+ {
549
+ "x": 0.10842697250344212,
550
+ "y": 1.3082341324551354
551
+ },
552
+ {
553
+ "x": 0.20034692133618848,
554
+ "y": 1.3696530786638117
555
+ },
556
+ {
557
+ "x": 0.2617658675448646,
558
+ "y": 1.461573027496558
559
+ },
560
+ {
561
+ "x": 0.2833333333333333,
562
+ "y": 1.57
563
+ },
564
+ {
565
+ "x": 0.85,
566
+ "y": 1.57
567
+ },
568
+ {
569
+ "x": 0.85,
570
+ "y": -1.57
571
+ },
572
+ {
573
+ "x": -0.85,
574
+ "y": -1.57
575
+ }
576
+ ],
577
+ "stroke_width": 0.1
578
+ },
579
+ {
580
+ "type": "source_component",
581
+ "source_component_id": "simple_resistor_0",
582
+ "name": "R1",
583
+ "supplier_part_numbers": {},
584
+ "ftype": "simple_resistor",
585
+ "resistance": "10kohm",
586
+ "pcbX": 5,
587
+ "pcbY": 0
588
+ },
589
+ {
590
+ "type": "schematic_component",
591
+ "source_component_id": "simple_resistor_0",
592
+ "schematic_component_id": "schematic_component_simple_resistor_0",
593
+ "rotation": 0,
594
+ "size": {
595
+ "width": 1,
596
+ "height": 0.3
597
+ },
598
+ "center": {
599
+ "x": 0,
600
+ "y": 0
601
+ }
602
+ },
603
+ {
604
+ "type": "source_port",
605
+ "name": "left",
606
+ "source_port_id": "source_port_6",
607
+ "source_component_id": "simple_resistor_0"
608
+ },
609
+ {
610
+ "type": "schematic_port",
611
+ "schematic_port_id": "schematic_port_6",
612
+ "source_port_id": "source_port_6",
613
+ "center": {
614
+ "x": -0.5,
615
+ "y": 0
616
+ },
617
+ "facing_direction": "left",
618
+ "schematic_component_id": "schematic_component_simple_resistor_0"
619
+ },
620
+ {
621
+ "type": "pcb_port",
622
+ "pcb_port_id": "pcb_port_6",
623
+ "source_port_id": "source_port_6",
624
+ "pcb_component_id": "pcb_component_simple_resistor_0",
625
+ "x": 4.05,
626
+ "y": 0,
627
+ "layers": [
628
+ "top"
629
+ ]
630
+ },
631
+ {
632
+ "type": "source_port",
633
+ "name": "right",
634
+ "source_port_id": "source_port_7",
635
+ "source_component_id": "simple_resistor_0"
636
+ },
637
+ {
638
+ "type": "schematic_port",
639
+ "schematic_port_id": "schematic_port_7",
640
+ "source_port_id": "source_port_7",
641
+ "center": {
642
+ "x": 0.5,
643
+ "y": 0
644
+ },
645
+ "facing_direction": "right",
646
+ "schematic_component_id": "schematic_component_simple_resistor_0"
647
+ },
648
+ {
649
+ "type": "pcb_port",
650
+ "pcb_port_id": "pcb_port_7",
651
+ "source_port_id": "source_port_7",
652
+ "pcb_component_id": "pcb_component_simple_resistor_0",
653
+ "x": 5.95,
654
+ "y": 0,
655
+ "layers": [
656
+ "top"
657
+ ]
658
+ },
659
+ {
660
+ "type": "schematic_text",
661
+ "text": "R1",
662
+ "schematic_text_id": "schematic_text_12",
663
+ "schematic_component_id": "schematic_component_simple_resistor_0",
664
+ "anchor": "left",
665
+ "position": {
666
+ "x": -0.2,
667
+ "y": -0.5
668
+ },
669
+ "rotation": 0
670
+ },
671
+ {
672
+ "type": "schematic_text",
673
+ "text": "10kohm",
674
+ "schematic_text_id": "schematic_text_13",
675
+ "schematic_component_id": "schematic_component_simple_resistor_0",
676
+ "anchor": "left",
677
+ "position": {
678
+ "x": -0.2,
679
+ "y": -0.3
680
+ },
681
+ "rotation": 0
682
+ },
683
+ {
684
+ "type": "pcb_component",
685
+ "source_component_id": "simple_resistor_0",
686
+ "pcb_component_id": "pcb_component_simple_resistor_0",
687
+ "layer": "top",
688
+ "center": {
689
+ "x": 5,
690
+ "y": 0
691
+ },
692
+ "rotation": 0,
693
+ "width": 3.1,
694
+ "height": 1.2
695
+ },
696
+ {
697
+ "type": "pcb_smtpad",
698
+ "pcb_smtpad_id": "pcb_smtpad_1",
699
+ "shape": "rect",
700
+ "x": 4.05,
701
+ "y": 0,
702
+ "width": 1.2,
703
+ "height": 1.2,
704
+ "layer": "top",
705
+ "pcb_component_id": "pcb_component_simple_resistor_0",
706
+ "port_hints": [
707
+ "1",
708
+ "left"
709
+ ],
710
+ "pcb_port_id": "pcb_port_6"
711
+ },
712
+ {
713
+ "type": "pcb_smtpad",
714
+ "pcb_smtpad_id": "pcb_smtpad_4",
715
+ "shape": "rect",
716
+ "x": 5.95,
717
+ "y": 0,
718
+ "width": 1.2,
719
+ "height": 1.2,
720
+ "layer": "top",
721
+ "pcb_component_id": "pcb_component_simple_resistor_0",
722
+ "port_hints": [
723
+ "2",
724
+ "right"
725
+ ],
726
+ "pcb_port_id": "pcb_port_7"
727
+ },
728
+ {
729
+ "type": "source_component",
730
+ "source_component_id": "simple_capacitor_0",
731
+ "name": "C1",
732
+ "supplier_part_numbers": {},
733
+ "ftype": "simple_capacitor",
734
+ "capacitance": "1uF",
735
+ "pcbRotation": "90deg",
736
+ "pcbX": -4,
737
+ "pcbY": 0
738
+ },
739
+ {
740
+ "type": "schematic_component",
741
+ "source_component_id": "simple_capacitor_0",
742
+ "schematic_component_id": "schematic_component_simple_capacitor_0",
743
+ "rotation": 0,
744
+ "size": {
745
+ "width": 0.75,
746
+ "height": 0.75
747
+ },
748
+ "center": {
749
+ "x": 0,
750
+ "y": 0
751
+ }
752
+ },
753
+ {
754
+ "type": "source_port",
755
+ "name": "left",
756
+ "source_port_id": "source_port_8",
757
+ "source_component_id": "simple_capacitor_0"
758
+ },
759
+ {
760
+ "type": "schematic_port",
761
+ "schematic_port_id": "schematic_port_8",
762
+ "source_port_id": "source_port_8",
763
+ "center": {
764
+ "x": -0.5,
765
+ "y": 0
766
+ },
767
+ "facing_direction": "left",
768
+ "schematic_component_id": "schematic_component_simple_capacitor_0"
769
+ },
770
+ {
771
+ "type": "pcb_port",
772
+ "pcb_port_id": "pcb_port_8",
773
+ "source_port_id": "source_port_8",
774
+ "pcb_component_id": "pcb_component_simple_capacitor_0",
775
+ "x": -4,
776
+ "y": -0.95,
777
+ "layers": [
778
+ "top"
779
+ ]
780
+ },
781
+ {
782
+ "type": "source_port",
783
+ "name": "right",
784
+ "source_port_id": "source_port_9",
785
+ "source_component_id": "simple_capacitor_0"
786
+ },
787
+ {
788
+ "type": "schematic_port",
789
+ "schematic_port_id": "schematic_port_9",
790
+ "source_port_id": "source_port_9",
791
+ "center": {
792
+ "x": 0.5,
793
+ "y": 0
794
+ },
795
+ "facing_direction": "right",
796
+ "schematic_component_id": "schematic_component_simple_capacitor_0"
797
+ },
798
+ {
799
+ "type": "pcb_port",
800
+ "pcb_port_id": "pcb_port_9",
801
+ "source_port_id": "source_port_9",
802
+ "pcb_component_id": "pcb_component_simple_capacitor_0",
803
+ "x": -4,
804
+ "y": 0.95,
805
+ "layers": [
806
+ "top"
807
+ ]
808
+ },
809
+ {
810
+ "type": "schematic_text",
811
+ "text": "C1",
812
+ "schematic_text_id": "schematic_text_14",
813
+ "schematic_component_id": "schematic_component_simple_capacitor_0",
814
+ "anchor": "left",
815
+ "position": {
816
+ "x": -0.5,
817
+ "y": -0.3
818
+ },
819
+ "rotation": 0
820
+ },
821
+ {
822
+ "type": "schematic_text",
823
+ "text": "1uF",
824
+ "schematic_text_id": "schematic_text_15",
825
+ "schematic_component_id": "schematic_component_simple_capacitor_0",
826
+ "anchor": "left",
827
+ "position": {
828
+ "x": -0.3,
829
+ "y": -0.3
830
+ },
831
+ "rotation": 0
832
+ },
833
+ {
834
+ "type": "pcb_component",
835
+ "source_component_id": "simple_capacitor_0",
836
+ "pcb_component_id": "pcb_component_simple_capacitor_0",
837
+ "layer": "top",
838
+ "center": {
839
+ "x": -4,
840
+ "y": 0
841
+ },
842
+ "rotation": 1.5707963267948966,
843
+ "width": 1.2000000000000002,
844
+ "height": 3.0999999999999996
845
+ },
846
+ {
847
+ "type": "pcb_smtpad",
848
+ "pcb_smtpad_id": "pcb_smtpad_2",
849
+ "shape": "rect",
850
+ "x": -4,
851
+ "y": -0.95,
852
+ "width": 1.2,
853
+ "height": 1.2,
854
+ "layer": "top",
855
+ "pcb_component_id": "pcb_component_simple_capacitor_0",
856
+ "port_hints": [
857
+ "1",
858
+ "left"
859
+ ],
860
+ "pcb_port_id": "pcb_port_8"
861
+ },
862
+ {
863
+ "type": "pcb_smtpad",
864
+ "pcb_smtpad_id": "pcb_smtpad_5",
865
+ "shape": "rect",
866
+ "x": -4,
867
+ "y": 0.95,
868
+ "width": 1.2,
869
+ "height": 1.2,
870
+ "layer": "top",
871
+ "pcb_component_id": "pcb_component_simple_capacitor_0",
872
+ "port_hints": [
873
+ "2",
874
+ "right"
875
+ ],
876
+ "pcb_port_id": "pcb_port_9"
877
+ },
878
+ {
879
+ "type": "pcb_trace_hint",
880
+ "pcb_trace_hint_id": "pcb_trace_hint_0",
881
+ "pcb_component_id": "pcb_component_simple_capacitor_0",
882
+ "pcb_port_id": "pcb_port_8",
883
+ "route": [
884
+ {
885
+ "x": -4.047800235800278,
886
+ "y": -2.138942631152755,
887
+ "via": false
888
+ },
889
+ {
890
+ "x": -2.910350123918821,
891
+ "y": -2.1653949593360444,
892
+ "via": true
893
+ },
894
+ {
895
+ "x": -0.10640333649011602,
896
+ "y": 0.2682192335266045,
897
+ "via": true
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "type": "pcb_trace_hint",
903
+ "pcb_trace_hint_id": "pcb_trace_hint_1",
904
+ "pcb_component_id": "pcb_component_simple_resistor_0",
905
+ "pcb_port_id": "pcb_port_6",
906
+ "route": [
907
+ {
908
+ "x": 2.841065811500746,
909
+ "y": -0.60621099970981,
910
+ "via": true
911
+ },
912
+ {
913
+ "x": 0.049496933124495435,
914
+ "y": 0.7895734394783158,
915
+ "via": true
916
+ }
917
+ ]
918
+ },
919
+ {
920
+ "type": "source_trace",
921
+ "source_trace_id": "source_trace_0",
922
+ "connected_source_port_ids": [
923
+ "source_port_6",
924
+ "source_port_0"
925
+ ]
926
+ },
927
+ {
928
+ "type": "schematic_trace",
929
+ "source_trace_id": "source_trace_0",
930
+ "schematic_trace_id": "schematic_trace_0",
931
+ "edges": [
932
+ {
933
+ "from": {
934
+ "x": -0.65,
935
+ "y": 0,
936
+ "schematic_port_id": "schematic_port_6",
937
+ "facing_direction": "left"
938
+ },
939
+ "to": {
940
+ "x": -0.9,
941
+ "y": 0.5,
942
+ "schematic_port_id": "schematic_port_0",
943
+ "facing_direction": "left"
944
+ }
945
+ },
946
+ {
947
+ "from": {
948
+ "x": -0.5,
949
+ "y": 0,
950
+ "ti": 0
951
+ },
952
+ "to": {
953
+ "x": -0.65,
954
+ "y": 0,
955
+ "schematic_port_id": "schematic_port_6",
956
+ "facing_direction": "left"
957
+ }
958
+ },
959
+ {
960
+ "from": {
961
+ "x": -0.75,
962
+ "y": 0.5,
963
+ "ti": 1
964
+ },
965
+ "to": {
966
+ "x": -0.9,
967
+ "y": 0.5,
968
+ "schematic_port_id": "schematic_port_0",
969
+ "facing_direction": "left"
970
+ }
971
+ }
972
+ ]
973
+ },
974
+ {
975
+ "type": "pcb_trace",
976
+ "pcb_trace_id": "pcb_trace_0",
977
+ "source_trace_id": "source_trace_0",
978
+ "route": [
979
+ {
980
+ "route_type": "wire",
981
+ "layer": "top",
982
+ "width": 0.2,
983
+ "x": 4,
984
+ "y": 0
985
+ },
986
+ {
987
+ "route_type": "wire",
988
+ "layer": "top",
989
+ "width": 0.2,
990
+ "x": 3.8,
991
+ "y": -0.20000000000000018
992
+ },
993
+ {
994
+ "route_type": "wire",
995
+ "layer": "top",
996
+ "width": 0.2,
997
+ "x": 3.4000000000000004,
998
+ "y": -0.20000000000000018
999
+ },
1000
+ {
1001
+ "route_type": "wire",
1002
+ "layer": "top",
1003
+ "width": 0.2,
1004
+ "x": 3.2,
1005
+ "y": -0.40000000000000036
1006
+ },
1007
+ {
1008
+ "route_type": "wire",
1009
+ "layer": "top",
1010
+ "width": 0.2,
1011
+ "x": 3,
1012
+ "y": -0.40000000000000036
1013
+ },
1014
+ {
1015
+ "route_type": "wire",
1016
+ "layer": "top",
1017
+ "width": 0.2,
1018
+ "x": 2.8,
1019
+ "y": -0.6000000000000005
1020
+ },
1021
+ {
1022
+ "route_type": "wire",
1023
+ "layer": "bottom",
1024
+ "width": 0.2,
1025
+ "x": 2.8000000000000007,
1026
+ "y": -0.6000000000000005
1027
+ },
1028
+ {
1029
+ "route_type": "wire",
1030
+ "layer": "bottom",
1031
+ "width": 0.2,
1032
+ "x": 2.6000000000000005,
1033
+ "y": -0.40000000000000036
1034
+ },
1035
+ {
1036
+ "route_type": "wire",
1037
+ "layer": "bottom",
1038
+ "width": 0.2,
1039
+ "x": 2.2,
1040
+ "y": -0.40000000000000036
1041
+ },
1042
+ {
1043
+ "route_type": "wire",
1044
+ "layer": "bottom",
1045
+ "width": 0.2,
1046
+ "x": 1.6000000000000005,
1047
+ "y": 0.20000000000000018
1048
+ },
1049
+ {
1050
+ "route_type": "wire",
1051
+ "layer": "bottom",
1052
+ "width": 0.2,
1053
+ "x": 1,
1054
+ "y": 0.20000000000000018
1055
+ },
1056
+ {
1057
+ "route_type": "wire",
1058
+ "layer": "bottom",
1059
+ "width": 0.2,
1060
+ "x": 0.40000000000000036,
1061
+ "y": 0.7999999999999998
1062
+ },
1063
+ {
1064
+ "route_type": "wire",
1065
+ "layer": "bottom",
1066
+ "width": 0.2,
1067
+ "x": 0,
1068
+ "y": 0.7999999999999998
1069
+ },
1070
+ {
1071
+ "route_type": "wire",
1072
+ "layer": "top",
1073
+ "width": 0.2,
1074
+ "x": 0,
1075
+ "y": 0.7999999999999998
1076
+ },
1077
+ {
1078
+ "route_type": "wire",
1079
+ "layer": "top",
1080
+ "width": 0.2,
1081
+ "x": -1,
1082
+ "y": 0.7999999999999998
1083
+ },
1084
+ {
1085
+ "route_type": "wire",
1086
+ "layer": "top",
1087
+ "width": 0.2,
1088
+ "x": -1.4000000000000004,
1089
+ "y": 1.2000000000000002
1090
+ }
1091
+ ]
1092
+ },
1093
+ {
1094
+ "type": "pcb_via",
1095
+ "x": 2.8,
1096
+ "y": -0.6000000000000005,
1097
+ "from_layer": "top",
1098
+ "to_layer": "bottom",
1099
+ "hole_diameter": 0.2,
1100
+ "outer_diameter": 0.4
1101
+ },
1102
+ {
1103
+ "type": "pcb_via",
1104
+ "x": 0,
1105
+ "y": 0.7999999999999998,
1106
+ "from_layer": "bottom",
1107
+ "to_layer": "top",
1108
+ "hole_diameter": 0.2,
1109
+ "outer_diameter": 0.4
1110
+ },
1111
+ {
1112
+ "type": "source_trace",
1113
+ "source_trace_id": "source_trace_1",
1114
+ "connected_source_port_ids": [
1115
+ "source_port_7",
1116
+ "source_port_4"
1117
+ ]
1118
+ },
1119
+ {
1120
+ "type": "schematic_trace",
1121
+ "source_trace_id": "source_trace_1",
1122
+ "schematic_trace_id": "schematic_trace_1",
1123
+ "edges": [
1124
+ {
1125
+ "from": {
1126
+ "x": 0.8,
1127
+ "y": 0,
1128
+ "directionBias": "right"
1129
+ },
1130
+ "to": {
1131
+ "x": 0.9000000000000001,
1132
+ "y": 0,
1133
+ "directionBias": "right"
1134
+ }
1135
+ },
1136
+ {
1137
+ "from": {
1138
+ "x": 0.5,
1139
+ "y": 0,
1140
+ "ti": 0
1141
+ },
1142
+ "to": {
1143
+ "x": 0.8,
1144
+ "y": 0,
1145
+ "directionBias": "right"
1146
+ }
1147
+ },
1148
+ {
1149
+ "from": {
1150
+ "x": 0.75,
1151
+ "y": 0,
1152
+ "ti": 1
1153
+ },
1154
+ "to": {
1155
+ "x": 0.9000000000000001,
1156
+ "y": 0,
1157
+ "directionBias": "right"
1158
+ }
1159
+ }
1160
+ ]
1161
+ },
1162
+ {
1163
+ "type": "pcb_trace",
1164
+ "pcb_trace_id": "pcb_trace_1",
1165
+ "source_trace_id": "source_trace_1",
1166
+ "route": [
1167
+ {
1168
+ "route_type": "wire",
1169
+ "layer": "top",
1170
+ "width": 0.2,
1171
+ "x": 1.4,
1172
+ "y": 0
1173
+ },
1174
+ {
1175
+ "route_type": "wire",
1176
+ "layer": "top",
1177
+ "width": 0.2,
1178
+ "x": 2.0000000000000004,
1179
+ "y": 0
1180
+ },
1181
+ {
1182
+ "route_type": "wire",
1183
+ "layer": "top",
1184
+ "width": 0.2,
1185
+ "x": 2.8000000000000003,
1186
+ "y": 0.8000000000000007
1187
+ },
1188
+ {
1189
+ "route_type": "wire",
1190
+ "layer": "top",
1191
+ "width": 0.2,
1192
+ "x": 2.8000000000000003,
1193
+ "y": 1
1194
+ },
1195
+ {
1196
+ "route_type": "wire",
1197
+ "layer": "top",
1198
+ "width": 0.2,
1199
+ "x": 5,
1200
+ "y": 1
1201
+ },
1202
+ {
1203
+ "route_type": "wire",
1204
+ "layer": "top",
1205
+ "width": 0.2,
1206
+ "x": 6,
1207
+ "y": 0
1208
+ }
1209
+ ]
1210
+ },
1211
+ {
1212
+ "type": "source_trace",
1213
+ "source_trace_id": "source_trace_2",
1214
+ "connected_source_port_ids": [
1215
+ "source_port_8",
1216
+ "source_port_0"
1217
+ ]
1218
+ },
1219
+ {
1220
+ "type": "schematic_trace",
1221
+ "source_trace_id": "source_trace_2",
1222
+ "schematic_trace_id": "schematic_trace_2",
1223
+ "edges": [
1224
+ {
1225
+ "from": {
1226
+ "x": -0.65,
1227
+ "y": 0,
1228
+ "schematic_port_id": "schematic_port_8",
1229
+ "facing_direction": "left"
1230
+ },
1231
+ "to": {
1232
+ "x": -0.9,
1233
+ "y": 0.5,
1234
+ "schematic_port_id": "schematic_port_0",
1235
+ "facing_direction": "left"
1236
+ }
1237
+ },
1238
+ {
1239
+ "from": {
1240
+ "x": -0.5,
1241
+ "y": 0,
1242
+ "ti": 0
1243
+ },
1244
+ "to": {
1245
+ "x": -0.65,
1246
+ "y": 0,
1247
+ "schematic_port_id": "schematic_port_8",
1248
+ "facing_direction": "left"
1249
+ }
1250
+ },
1251
+ {
1252
+ "from": {
1253
+ "x": -0.75,
1254
+ "y": 0.5,
1255
+ "ti": 1
1256
+ },
1257
+ "to": {
1258
+ "x": -0.9,
1259
+ "y": 0.5,
1260
+ "schematic_port_id": "schematic_port_0",
1261
+ "facing_direction": "left"
1262
+ }
1263
+ }
1264
+ ]
1265
+ },
1266
+ {
1267
+ "type": "pcb_trace",
1268
+ "pcb_trace_id": "pcb_trace_2",
1269
+ "source_trace_id": "source_trace_2",
1270
+ "route": [
1271
+ {
1272
+ "route_type": "wire",
1273
+ "layer": "top",
1274
+ "width": 0.2,
1275
+ "x": -4,
1276
+ "y": -1
1277
+ },
1278
+ {
1279
+ "route_type": "wire",
1280
+ "layer": "top",
1281
+ "width": 0.2,
1282
+ "x": -4,
1283
+ "y": -2.2
1284
+ },
1285
+ {
1286
+ "route_type": "wire",
1287
+ "layer": "top",
1288
+ "width": 0.2,
1289
+ "x": -4,
1290
+ "y": -2.2
1291
+ },
1292
+ {
1293
+ "route_type": "wire",
1294
+ "layer": "top",
1295
+ "width": 0.2,
1296
+ "x": -3,
1297
+ "y": -2.2
1298
+ },
1299
+ {
1300
+ "route_type": "wire",
1301
+ "layer": "bottom",
1302
+ "width": 0.2,
1303
+ "x": -3,
1304
+ "y": -2.2
1305
+ },
1306
+ {
1307
+ "route_type": "wire",
1308
+ "layer": "bottom",
1309
+ "width": 0.2,
1310
+ "x": -2.8,
1311
+ "y": -2
1312
+ },
1313
+ {
1314
+ "route_type": "wire",
1315
+ "layer": "bottom",
1316
+ "width": 0.2,
1317
+ "x": -2.5999999999999996,
1318
+ "y": -2
1319
+ },
1320
+ {
1321
+ "route_type": "wire",
1322
+ "layer": "bottom",
1323
+ "width": 0.2,
1324
+ "x": -0.39999999999999947,
1325
+ "y": 0.20000000000000018
1326
+ },
1327
+ {
1328
+ "route_type": "wire",
1329
+ "layer": "bottom",
1330
+ "width": 0.2,
1331
+ "x": -0.1999999999999993,
1332
+ "y": 0.20000000000000018
1333
+ },
1334
+ {
1335
+ "route_type": "wire",
1336
+ "layer": "top",
1337
+ "width": 0.2,
1338
+ "x": -0.20000000000000018,
1339
+ "y": 0.19999999999999973
1340
+ },
1341
+ {
1342
+ "route_type": "wire",
1343
+ "layer": "top",
1344
+ "width": 0.2,
1345
+ "x": -0.40000000000000036,
1346
+ "y": 0.3999999999999999
1347
+ },
1348
+ {
1349
+ "route_type": "wire",
1350
+ "layer": "top",
1351
+ "width": 0.2,
1352
+ "x": -0.40000000000000036,
1353
+ "y": 0.6000000000000001
1354
+ },
1355
+ {
1356
+ "route_type": "wire",
1357
+ "layer": "top",
1358
+ "width": 0.2,
1359
+ "x": -0.5999999999999996,
1360
+ "y": 0.8000000000000003
1361
+ },
1362
+ {
1363
+ "route_type": "wire",
1364
+ "layer": "top",
1365
+ "width": 0.2,
1366
+ "x": -1,
1367
+ "y": 0.8000000000000003
1368
+ },
1369
+ {
1370
+ "route_type": "wire",
1371
+ "layer": "top",
1372
+ "width": 0.2,
1373
+ "x": -1.4000000000000004,
1374
+ "y": 1.1999999999999997
1375
+ }
1376
+ ]
1377
+ },
1378
+ {
1379
+ "type": "pcb_via",
1380
+ "x": -3,
1381
+ "y": -2.2,
1382
+ "from_layer": "top",
1383
+ "to_layer": "bottom",
1384
+ "hole_diameter": 0.2,
1385
+ "outer_diameter": 0.4
1386
+ },
1387
+ {
1388
+ "type": "pcb_via",
1389
+ "x": -0.1999999999999993,
1390
+ "y": 0.20000000000000018,
1391
+ "from_layer": "bottom",
1392
+ "to_layer": "top",
1393
+ "hole_diameter": 0.2,
1394
+ "outer_diameter": 0.4
1395
+ },
1396
+ {
1397
+ "type": "source_trace",
1398
+ "source_trace_id": "source_trace_3",
1399
+ "connected_source_port_ids": [
1400
+ "source_port_9",
1401
+ "source_port_5"
1402
+ ]
1403
+ },
1404
+ {
1405
+ "type": "schematic_trace",
1406
+ "source_trace_id": "source_trace_3",
1407
+ "schematic_trace_id": "schematic_trace_3",
1408
+ "edges": [
1409
+ {
1410
+ "from": {
1411
+ "x": 0.65,
1412
+ "y": 0,
1413
+ "schematic_port_id": "schematic_port_9",
1414
+ "facing_direction": "right"
1415
+ },
1416
+ "to": {
1417
+ "x": 0.9,
1418
+ "y": 0.5,
1419
+ "schematic_port_id": "schematic_port_5",
1420
+ "facing_direction": "right"
1421
+ }
1422
+ },
1423
+ {
1424
+ "from": {
1425
+ "x": 0.5,
1426
+ "y": 0,
1427
+ "ti": 0
1428
+ },
1429
+ "to": {
1430
+ "x": 0.65,
1431
+ "y": 0,
1432
+ "schematic_port_id": "schematic_port_9",
1433
+ "facing_direction": "right"
1434
+ }
1435
+ },
1436
+ {
1437
+ "from": {
1438
+ "x": 0.75,
1439
+ "y": 0.5,
1440
+ "ti": 1
1441
+ },
1442
+ "to": {
1443
+ "x": 0.9,
1444
+ "y": 0.5,
1445
+ "schematic_port_id": "schematic_port_5",
1446
+ "facing_direction": "right"
1447
+ }
1448
+ }
1449
+ ]
1450
+ },
1451
+ {
1452
+ "type": "pcb_trace",
1453
+ "pcb_trace_id": "pcb_trace_3",
1454
+ "source_trace_id": "source_trace_3",
1455
+ "route": [
1456
+ {
1457
+ "route_type": "wire",
1458
+ "layer": "top",
1459
+ "width": 0.2,
1460
+ "x": 1.4000000000000004,
1461
+ "y": 1.2000000000000002
1462
+ },
1463
+ {
1464
+ "route_type": "wire",
1465
+ "layer": "top",
1466
+ "width": 0.2,
1467
+ "x": 0.8000000000000007,
1468
+ "y": 1.2000000000000002
1469
+ },
1470
+ {
1471
+ "route_type": "wire",
1472
+ "layer": "top",
1473
+ "width": 0.2,
1474
+ "x": 0.20000000000000107,
1475
+ "y": 1.8000000000000007
1476
+ },
1477
+ {
1478
+ "route_type": "wire",
1479
+ "layer": "top",
1480
+ "width": 0.2,
1481
+ "x": -0.39999999999999947,
1482
+ "y": 1.8000000000000007
1483
+ },
1484
+ {
1485
+ "route_type": "wire",
1486
+ "layer": "top",
1487
+ "width": 0.2,
1488
+ "x": -0.5999999999999996,
1489
+ "y": 2
1490
+ },
1491
+ {
1492
+ "route_type": "wire",
1493
+ "layer": "top",
1494
+ "width": 0.2,
1495
+ "x": -3,
1496
+ "y": 2
1497
+ },
1498
+ {
1499
+ "route_type": "wire",
1500
+ "layer": "top",
1501
+ "width": 0.2,
1502
+ "x": -4,
1503
+ "y": 1
1504
+ }
1505
+ ]
1506
+ },
1507
+ {
1508
+ "type": "pcb_board",
1509
+ "center": {
1510
+ "x": 0,
1511
+ "y": 0
1512
+ },
1513
+ "width": 20,
1514
+ "height": 20
1515
+ }
1516
+ ]