schematic-symbols 0.0.77 → 0.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -484,6 +484,129 @@ ref.anchor = "middle_left";
484
484
  val.anchor = "middle_right";
485
485
  var avalanche_diode_vert_default = rotated;
486
486
 
487
+ // assets/generated/battery.json
488
+ var battery_default = {
489
+ paths: {
490
+ path43: {
491
+ type: "path",
492
+ points: [
493
+ {
494
+ x: -0.05901489999999909,
495
+ y: -0.18831315000000015
496
+ },
497
+ {
498
+ x: -0.05869489999999833,
499
+ y: 0.11814524999999954
500
+ }
501
+ ],
502
+ color: "primary",
503
+ fill: false
504
+ },
505
+ "path43-6": {
506
+ type: "path",
507
+ points: [
508
+ {
509
+ x: 0.015375000000000805,
510
+ y: -0.12533125000000034
511
+ },
512
+ {
513
+ x: 0.016669000000000933,
514
+ y: 0.05562075000000033
515
+ }
516
+ ],
517
+ color: "primary",
518
+ fill: false
519
+ },
520
+ path44: {
521
+ type: "path",
522
+ points: [
523
+ {
524
+ x: -0.06443049999999961,
525
+ y: -0.032673549999999496
526
+ },
527
+ {
528
+ x: -0.4368029,
529
+ y: -0.032673549999999496
530
+ }
531
+ ],
532
+ color: "primary",
533
+ fill: false
534
+ },
535
+ "path44-0": {
536
+ type: "path",
537
+ points: [
538
+ {
539
+ x: 0.4350822999999997,
540
+ y: -0.03438825000000034
541
+ },
542
+ {
543
+ x: 0.028285099999999952,
544
+ y: -0.03438825000000034
545
+ }
546
+ ],
547
+ color: "primary",
548
+ fill: false
549
+ }
550
+ },
551
+ texts: {
552
+ top1: {
553
+ type: "text",
554
+ text: "{REF}",
555
+ x: -0.027835099999999446,
556
+ y: -0.26964474999999943
557
+ },
558
+ bottom1: {
559
+ type: "text",
560
+ text: "{VAL}",
561
+ x: -0.028373699999999502,
562
+ y: 0.19564474999999967
563
+ }
564
+ },
565
+ refblocks: {
566
+ left1: {
567
+ x: -0.4458008,
568
+ y: -0.033557849999999334
569
+ },
570
+ right1: {
571
+ x: 0.4458008,
572
+ y: -0.03343344999999931
573
+ }
574
+ },
575
+ bounds: {
576
+ minX: -0.473959241,
577
+ maxX: 0.473959241,
578
+ minY: -0.3656447499999994,
579
+ maxY: 0.27564474999999966,
580
+ width: 0.947918482,
581
+ height: 0.2912894999999991,
582
+ centerX: 0,
583
+ centerY: -0.04499999999999987
584
+ },
585
+ circles: {}
586
+ };
587
+
588
+ // symbols/battery_horz.ts
589
+ var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3, circles: circles3 } = battery_default;
590
+ var battery_horz_default = defineSymbol({
591
+ primitives: [
592
+ ...Object.values(paths3),
593
+ ...Object.values(circles3),
594
+ { ...texts2.top1, anchor: "middle_bottom" },
595
+ { ...texts2.bottom1, anchor: "middle_top" }
596
+ ],
597
+ ports: [
598
+ { ...refblocks3.left1, labels: ["1"] },
599
+ // TODO add more "standard" labels
600
+ { ...refblocks3.right1, labels: ["2"] }
601
+ // TODO add more "standard" labels
602
+ ],
603
+ size: { width: bounds3.width, height: bounds3.height },
604
+ center: { x: bounds3.centerX, y: bounds3.centerY }
605
+ });
606
+
607
+ // symbols/battery_vert.ts
608
+ var battery_vert_default = rotateSymbol(battery_horz_default);
609
+
487
610
  // assets/generated/boxresistor.json
488
611
  var boxresistor_default = {
489
612
  paths: {
@@ -491,12 +614,12 @@ var boxresistor_default = {
491
614
  type: "path",
492
615
  points: [
493
616
  {
494
- x: -0.5291666499999996,
495
- y: 0
617
+ x: -0.511850799999999,
618
+ y: -0.04116140000000179
496
619
  },
497
620
  {
498
- x: -0.2645833500000001,
499
- y: 0
621
+ x: -0.24726749999999953,
622
+ y: -0.04116140000000179
500
623
  }
501
624
  ],
502
625
  color: "primary",
@@ -506,12 +629,12 @@ var boxresistor_default = {
506
629
  type: "path",
507
630
  points: [
508
631
  {
509
- x: 0.2645832500000007,
510
- y: 0
632
+ x: 0.2818991000000013,
633
+ y: -0.04116140000000179
511
634
  },
512
635
  {
513
- x: 0.5291666500000001,
514
- y: 0
636
+ x: 0.5464825000000006,
637
+ y: -0.04116140000000179
515
638
  }
516
639
  ],
517
640
  color: "primary",
@@ -521,28 +644,28 @@ var boxresistor_default = {
521
644
  type: "path",
522
645
  points: [
523
646
  {
524
- x: -14999999997655777e-23,
525
- y: -0.13229169999999968
647
+ x: 0.0173157000000006,
648
+ y: -0.17345310000000147
526
649
  },
527
650
  {
528
- x: 0.26458314999999955,
529
- y: -0.13229169999999968
651
+ x: 0.2818990000000001,
652
+ y: -0.17345310000000147
530
653
  },
531
654
  {
532
- x: 0.26458314999999955,
533
- y: 0.13229169999999968
655
+ x: 0.2818990000000001,
656
+ y: 0.09113029999999789
534
657
  },
535
658
  {
536
- x: -0.2645835500000011,
537
- y: 0.13229169999999968
659
+ x: -0.24726770000000053,
660
+ y: 0.09113029999999789
538
661
  },
539
662
  {
540
- x: -0.2645835500000011,
541
- y: -0.13229169999999968
663
+ x: -0.24726770000000053,
664
+ y: -0.17345310000000147
542
665
  },
543
666
  {
544
- x: -15000000175291461e-23,
545
- y: -0.13229169999999968
667
+ x: 0.017315699999998824,
668
+ y: -0.17345310000000147
546
669
  }
547
670
  ],
548
671
  color: "primary",
@@ -553,54 +676,54 @@ var boxresistor_default = {
553
676
  top1: {
554
677
  type: "text",
555
678
  text: "{REF}",
556
- x: -0.018740649999999803,
557
- y: -0.20383659999999892
679
+ x: -0.0014247999999992267,
680
+ y: -0.24499800000000072
558
681
  },
559
682
  bottom1: {
560
683
  type: "text",
561
684
  text: "{VAL}",
562
- x: -0.01777865000000034,
563
- y: 0.2961594000000023
685
+ x: -4627999999997634e-19,
686
+ y: 0.2549980000000005
564
687
  }
565
688
  },
566
689
  refblocks: {
567
690
  left1: {
568
- x: -0.5511065500000007,
569
- y: 3562000000023602e-19
691
+ x: -0.5337907000000002,
692
+ y: -0.04080519999999943
570
693
  },
571
694
  right1: {
572
- x: 0.5164748499999998,
573
- y: 9027000000010332e-19
695
+ x: 0.5337907000000004,
696
+ y: -0.04025870000000076
574
697
  }
575
698
  },
576
699
  bounds: {
577
- minX: -0.5291666499999996,
578
- maxX: 0.5291666500000001,
579
- minY: -0.13229169999999968,
580
- maxY: 0.13229169999999968,
581
- width: 1.0583332999999997,
582
- height: 1,
583
- centerX: 2220446049250313e-31,
584
- centerY: 0
700
+ minX: -0.5619491410000002,
701
+ maxX: 0.5619491410000004,
702
+ minY: -0.3449980000000007,
703
+ maxY: 0.2549980000000005,
704
+ width: 1.1238982820000005,
705
+ height: 0.24999600000000122,
706
+ centerX: 11102230246251565e-32,
707
+ centerY: -0.045000000000000095
585
708
  },
586
709
  circles: {}
587
710
  };
588
711
 
589
712
  // symbols/boxresistor_horz.ts
590
- var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3 } = boxresistor_default;
713
+ var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4 } = boxresistor_default;
591
714
  var boxresistor_horz_default = defineSymbol({
592
715
  primitives: [
593
- ...Object.values(paths3),
594
- { ...texts2.top1, anchor: "middle_bottom" },
595
- { ...texts2.bottom1, anchor: "middle_top" }
716
+ ...Object.values(paths4),
717
+ { ...texts3.top1, anchor: "middle_bottom" },
718
+ { ...texts3.bottom1, anchor: "middle_top" }
596
719
  ],
597
720
  ports: [
598
- { ...refblocks3.left1, labels: ["1"] },
599
- { ...refblocks3.right1, labels: ["2"] }
721
+ { ...refblocks4.left1, labels: ["1"] },
722
+ { ...refblocks4.right1, labels: ["2"] }
600
723
  ],
601
- size: { width: bounds3.width, height: bounds3.height },
724
+ size: { width: bounds4.width, height: bounds4.height },
602
725
  //{ width: 1, height: 0.24 },
603
- center: { x: bounds3.centerX, y: bounds3.centerY }
726
+ center: { x: bounds4.centerX, y: bounds4.centerY }
604
727
  });
605
728
 
606
729
  // symbols/boxresistor_vert.ts
@@ -613,12 +736,12 @@ var capacitor_default = {
613
736
  type: "path",
614
737
  points: [
615
738
  {
616
- x: 0.5291666500000001,
617
- y: 0
739
+ x: 0.5229378000000002,
740
+ y: -0.012283099999995883
618
741
  },
619
742
  {
620
- x: 0.07937504999999989,
621
- y: 0
743
+ x: 0.07314620000000005,
744
+ y: -0.012283099999995883
622
745
  }
623
746
  ],
624
747
  color: "primary",
@@ -628,12 +751,12 @@ var capacitor_default = {
628
751
  type: "path",
629
752
  points: [
630
753
  {
631
- x: -0.07937494999999961,
632
- y: 0
754
+ x: -0.08560379999999945,
755
+ y: -0.012283099999995883
633
756
  },
634
757
  {
635
- x: -0.5291666500000001,
636
- y: 0
758
+ x: -0.5353954999999999,
759
+ y: -0.012283099999995883
637
760
  }
638
761
  ],
639
762
  color: "primary",
@@ -643,12 +766,12 @@ var capacitor_default = {
643
766
  type: "path",
644
767
  points: [
645
768
  {
646
- x: 0.07937504999999989,
647
- y: -0.26458330000000174
769
+ x: 0.07314620000000005,
770
+ y: -0.2768663999999976
648
771
  },
649
772
  {
650
- x: 0.07937504999999989,
651
- y: 0.2645832999999982
773
+ x: 0.07314620000000005,
774
+ y: 0.2523002000000023
652
775
  }
653
776
  ],
654
777
  color: "primary",
@@ -658,12 +781,12 @@ var capacitor_default = {
658
781
  type: "path",
659
782
  points: [
660
783
  {
661
- x: -0.07937495000000006,
662
- y: -0.26458330000000174
784
+ x: -0.0856037999999999,
785
+ y: -0.2768663999999976
663
786
  },
664
787
  {
665
- x: -0.07937494999999961,
666
- y: 0.2645832999999982
788
+ x: -0.08560379999999945,
789
+ y: 0.2523002000000023
667
790
  }
668
791
  ],
669
792
  color: "primary",
@@ -674,53 +797,54 @@ var capacitor_default = {
674
797
  top1: {
675
798
  type: "text",
676
799
  text: "{REF}",
677
- x: 0,
678
- y: -0.36
800
+ x: -0.012864500000000056,
801
+ y: -0.4150086999999978
679
802
  },
680
803
  bottom1: {
681
804
  type: "text",
682
805
  text: "{VAL}",
683
- x: 0,
684
- y: 0.36
806
+ x: -0.003850500000000423,
807
+ y: 0.4250087000000011
685
808
  }
686
809
  },
687
810
  refblocks: {
688
811
  left1: {
689
- x: -0.5449804500000004,
690
- y: 9026999999974805e-19
812
+ x: -0.5512093000000002,
813
+ y: -0.011380399999998403
691
814
  },
692
815
  right1: {
693
- x: 0.5574381499999999,
694
- y: 35619999999880747e-20
816
+ x: 0.5512093,
817
+ y: -0.011926899999997076
695
818
  }
696
819
  },
697
820
  bounds: {
698
- minX: -0.5291666500000001,
699
- maxX: 0.5291666500000001,
700
- minY: -0.26458330000000174,
701
- maxY: 0.2645832999999982,
702
- width: 1.0583333000000001,
703
- height: 0.5291665999999999,
704
- centerX: 0,
705
- centerY: -17763568394002505e-31
706
- }
821
+ minX: -0.5793677410000002,
822
+ maxX: 0.579367741,
823
+ minY: -0.5150086999999978,
824
+ maxY: 0.4250087000000011,
825
+ width: 1.1587354820000002,
826
+ height: 0.5900173999999989,
827
+ centerX: -11102230246251565e-32,
828
+ centerY: -0.04499999999999832
829
+ },
830
+ circles: {}
707
831
  };
708
832
 
709
833
  // symbols/capacitor_horz.ts
710
- var { paths: paths4, bounds: bounds4, refblocks: refblocks4, texts: texts3 } = capacitor_default;
834
+ var { paths: paths5, bounds: bounds5, refblocks: refblocks5, texts: texts4 } = capacitor_default;
711
835
  var capacitor_horz_default = defineSymbol({
712
836
  primitives: [
713
- ...Object.values(paths4),
714
- { ...texts3.top1, anchor: "middle_bottom" },
715
- { ...texts3.bottom1, anchor: "middle_top" }
837
+ ...Object.values(paths5),
838
+ { ...texts4.top1, anchor: "middle_bottom" },
839
+ { ...texts4.bottom1, anchor: "middle_top" }
716
840
  ],
717
841
  ports: [
718
- { ...refblocks4.left1, labels: ["1"] },
719
- { ...refblocks4.right1, labels: ["2"] }
842
+ { ...refblocks5.left1, labels: ["1"] },
843
+ { ...refblocks5.right1, labels: ["2"] }
720
844
  ],
721
- size: { width: bounds4.width, height: bounds4.height },
845
+ size: { width: bounds5.width, height: bounds5.height },
722
846
  //{ width: 1, height: 0.24 },
723
- center: { x: bounds4.centerX, y: bounds4.centerY }
847
+ center: { x: bounds5.centerX, y: bounds5.centerY }
724
848
  });
725
849
 
726
850
  // symbols/capacitor_vert.ts
@@ -822,32 +946,32 @@ var constant_current_diode_default = {
822
946
  };
823
947
 
824
948
  // symbols/constant_current_diode_horz.ts
825
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = constant_current_diode_default;
949
+ var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = constant_current_diode_default;
826
950
  var constant_current_diode_horz_default = defineSymbol({
827
951
  primitives: [
828
- ...Object.values(paths5),
829
- ...Object.values(circles3),
830
- { ...texts4.top1, anchor: "middle_left", x: -0.15, y: -0.4 },
831
- { ...texts4.bottom1, anchor: "middle_left", x: -0.15 }
952
+ ...Object.values(paths6),
953
+ ...Object.values(circles4),
954
+ { ...texts5.top1, anchor: "middle_left", x: -0.15, y: -0.4 },
955
+ { ...texts5.bottom1, anchor: "middle_left", x: -0.15 }
832
956
  ],
833
957
  ports: [
834
- { ...refblocks5.left1, labels: ["1"] },
958
+ { ...refblocks6.left1, labels: ["1"] },
835
959
  // TODO add more "standard" labels
836
- { ...refblocks5.right1, labels: ["2"] }
960
+ { ...refblocks6.right1, labels: ["2"] }
837
961
  // TODO add more "standard" labels
838
962
  ],
839
- size: { width: bounds5.width, height: bounds5.height },
840
- center: { x: bounds5.centerX, y: bounds5.centerY }
963
+ size: { width: bounds6.width, height: bounds6.height },
964
+ center: { x: bounds6.centerX, y: bounds6.centerY }
841
965
  });
842
966
 
843
967
  // symbols/constant_current_diode_vert.ts
844
968
  var rotatedSymbol2 = rotateSymbol(constant_current_diode_horz_default);
845
- var texts5 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
846
- var val2 = texts5.find((t) => t.text === "{VAL}");
969
+ var texts6 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
970
+ var val2 = texts6.find((t) => t.text === "{VAL}");
847
971
  val2.x = -0.35;
848
972
  val2.y = 0;
849
973
  val2.anchor = "middle_right";
850
- var ref2 = texts5.find((t) => t.text === "{REF}");
974
+ var ref2 = texts6.find((t) => t.text === "{REF}");
851
975
  ref2.y = 0;
852
976
  ref2.x = 0.35;
853
977
  ref2.anchor = "middle_left";
@@ -1015,11 +1139,11 @@ var crystal_default = {
1015
1139
  };
1016
1140
 
1017
1141
  // symbols/crystal_horz.ts
1018
- var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = crystal_default;
1142
+ var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = crystal_default;
1019
1143
  var crystal_horz_default = defineSymbol({
1020
1144
  primitives: [
1021
- ...Object.values(paths6),
1022
- ...Object.values(circles4),
1145
+ ...Object.values(paths7),
1146
+ ...Object.values(circles5),
1023
1147
  // { ...texts.top1, anchor: "middle_left" },
1024
1148
  // { ...texts.bottom1, anchor: "middle_left" },
1025
1149
  {
@@ -1038,20 +1162,20 @@ var crystal_horz_default = defineSymbol({
1038
1162
  }
1039
1163
  ],
1040
1164
  ports: [
1041
- { ...refblocks6.left1, labels: ["1"] },
1165
+ { ...refblocks7.left1, labels: ["1"] },
1042
1166
  // TODO add more "standard" labels
1043
- { ...refblocks6.right1, labels: ["2"] }
1167
+ { ...refblocks7.right1, labels: ["2"] }
1044
1168
  // TODO add more "standard" labels
1045
1169
  ],
1046
- size: { width: bounds6.width, height: bounds6.height },
1047
- center: { x: bounds6.centerX, y: bounds6.centerY }
1170
+ size: { width: bounds7.width, height: bounds7.height },
1171
+ center: { x: bounds7.centerX, y: bounds7.centerY }
1048
1172
  });
1049
1173
 
1050
1174
  // symbols/crystal_vert.ts
1051
1175
  var rotatedSymbol3 = rotateSymbol(crystal_horz_default);
1052
- var texts7 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1053
- var ref3 = texts7.find((t) => t.text === "{REF}");
1054
- var val3 = texts7.find((t) => t.text === "{VAL}");
1176
+ var texts8 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1177
+ var ref3 = texts8.find((t) => t.text === "{REF}");
1178
+ var val3 = texts8.find((t) => t.text === "{VAL}");
1055
1179
  val3.x = -0.4;
1056
1180
  ref3.x = 0.35;
1057
1181
  var crystal_vert_default = rotatedSymbol3;
@@ -1158,11 +1282,11 @@ var dc_ammeter_default = {
1158
1282
  };
1159
1283
 
1160
1284
  // symbols/dc_ammeter_horz.ts
1161
- var { paths: paths7, texts: texts8, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_ammeter_default;
1285
+ var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dc_ammeter_default;
1162
1286
  var dc_ammeter_horz_default = defineSymbol({
1163
1287
  primitives: [
1164
- ...Object.values(paths7),
1165
- ...Object.values(circles5),
1288
+ ...Object.values(paths8),
1289
+ ...Object.values(circles6),
1166
1290
  {
1167
1291
  type: "text",
1168
1292
  text: "{REF}",
@@ -1177,16 +1301,16 @@ var dc_ammeter_horz_default = defineSymbol({
1177
1301
  y: 0.35,
1178
1302
  anchor: "middle_top"
1179
1303
  },
1180
- { ...texts8.left1, anchor: "center", fontSize: 0.3 }
1304
+ { ...texts9.left1, anchor: "center", fontSize: 0.3 }
1181
1305
  ],
1182
1306
  ports: [
1183
- { ...refblocks7.left1, labels: ["1"] },
1307
+ { ...refblocks8.left1, labels: ["1"] },
1184
1308
  // TODO add more "standard" labels
1185
- { ...refblocks7.right1, labels: ["2"] }
1309
+ { ...refblocks8.right1, labels: ["2"] }
1186
1310
  // TODO add more "standard" labels
1187
1311
  ],
1188
- size: { width: bounds7.width, height: bounds7.height },
1189
- center: { x: bounds7.centerX, y: bounds7.centerY }
1312
+ size: { width: bounds8.width, height: bounds8.height },
1313
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1190
1314
  });
1191
1315
 
1192
1316
  // symbols/dc_ammeter_vert.ts
@@ -1332,11 +1456,11 @@ var dc_voltmeter_default = {
1332
1456
  };
1333
1457
 
1334
1458
  // symbols/dc_voltmeter_horz.ts
1335
- var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dc_voltmeter_default;
1459
+ var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = dc_voltmeter_default;
1336
1460
  var dc_voltmeter_horz_default = defineSymbol({
1337
1461
  primitives: [
1338
- ...Object.values(paths8),
1339
- ...Object.values(circles6),
1462
+ ...Object.values(paths9),
1463
+ ...Object.values(circles7),
1340
1464
  {
1341
1465
  type: "text",
1342
1466
  text: "{REF}",
@@ -1353,13 +1477,13 @@ var dc_voltmeter_horz_default = defineSymbol({
1353
1477
  }
1354
1478
  ],
1355
1479
  ports: [
1356
- { ...refblocks8.left1, labels: ["1"] },
1480
+ { ...refblocks9.left1, labels: ["1"] },
1357
1481
  // TODO add more "standard" labels
1358
- { ...refblocks8.right1, labels: ["2"] }
1482
+ { ...refblocks9.right1, labels: ["2"] }
1359
1483
  // TODO add more "standard" labels
1360
1484
  ],
1361
- size: { width: bounds8.width, height: bounds8.height },
1362
- center: { x: bounds8.centerX, y: bounds8.centerY }
1485
+ size: { width: bounds9.width, height: bounds9.height },
1486
+ center: { x: bounds9.centerX, y: bounds9.centerY }
1363
1487
  });
1364
1488
 
1365
1489
  // symbols/dc_voltmeter_vert.ts
@@ -1383,12 +1507,12 @@ var diac_default = {
1383
1507
  type: "path",
1384
1508
  points: [
1385
1509
  {
1386
- x: -0.5211797499999996,
1387
- y: 0.014620850000000019
1510
+ x: -0.5176700499999997,
1511
+ y: -0.03674505000000039
1388
1512
  },
1389
1513
  {
1390
- x: -0.11239775000000019,
1391
- y: 0.014620850000000019
1514
+ x: -0.10888805000000024,
1515
+ y: -0.03674505000000039
1392
1516
  }
1393
1517
  ],
1394
1518
  color: "primary",
@@ -1398,12 +1522,12 @@ var diac_default = {
1398
1522
  type: "path",
1399
1523
  points: [
1400
1524
  {
1401
- x: 0.09960874999999936,
1402
- y: 0.014620850000000019
1525
+ x: 0.1031184499999993,
1526
+ y: -0.03674505000000039
1403
1527
  },
1404
1528
  {
1405
- x: 0.5211797499999995,
1406
- y: 0.014620850000000019
1529
+ x: 0.5246894499999994,
1530
+ y: -0.03674505000000039
1407
1531
  }
1408
1532
  ],
1409
1533
  color: "primary",
@@ -1413,12 +1537,12 @@ var diac_default = {
1413
1537
  type: "path",
1414
1538
  points: [
1415
1539
  {
1416
- x: -0.09694955000000016,
1417
- y: 0.20257224999999934
1540
+ x: -0.09343985000000021,
1541
+ y: 0.15120634999999893
1418
1542
  },
1419
1543
  {
1420
- x: -0.09660955000000016,
1421
- y: -0.20197465000000037
1544
+ x: -0.0930998500000002,
1545
+ y: -0.2533405500000008
1422
1546
  }
1423
1547
  ],
1424
1548
  color: "primary",
@@ -1428,12 +1552,12 @@ var diac_default = {
1428
1552
  type: "path",
1429
1553
  points: [
1430
1554
  {
1431
- x: 0.08168064999999913,
1432
- y: 0.20139974999999954
1555
+ x: 0.08519034999999908,
1556
+ y: 0.15003384999999914
1433
1557
  },
1434
1558
  {
1435
- x: 0.08202064999999914,
1436
- y: -0.20314715000000017
1559
+ x: 0.08553034999999909,
1560
+ y: -0.2545130500000006
1437
1561
  }
1438
1562
  ],
1439
1563
  color: "primary",
@@ -1443,20 +1567,20 @@ var diac_default = {
1443
1567
  type: "path",
1444
1568
  points: [
1445
1569
  {
1446
- x: -0.08666725000000008,
1447
- y: 4314499999999999e-19
1570
+ x: -0.08315755000000014,
1571
+ y: -0.05093445000000041
1448
1572
  },
1449
1573
  {
1450
- x: -0.08766725000000042,
1451
- y: 0.20314715000000017
1574
+ x: -0.08415755000000047,
1575
+ y: 0.15178124999999976
1452
1576
  },
1453
1577
  {
1454
- x: 0.08302554999999989,
1455
- y: 0.10741255000000005
1578
+ x: 0.08653524999999984,
1579
+ y: 0.05604664999999964
1456
1580
  },
1457
1581
  {
1458
- x: -0.0847714500000003,
1459
- y: -11124999999978513e-20
1582
+ x: -0.08126175000000035,
1583
+ y: -0.051477150000000194
1460
1584
  }
1461
1585
  ],
1462
1586
  color: "primary",
@@ -1466,20 +1590,20 @@ var diac_default = {
1466
1590
  type: "path",
1467
1591
  points: [
1468
1592
  {
1469
- x: 0.07310254999999932,
1470
- y: -0.20028855000000045
1593
+ x: 0.07661224999999927,
1594
+ y: -0.25165445000000086
1471
1595
  },
1472
1596
  {
1473
- x: 0.07410254999999988,
1474
- y: 0.002427049999999431
1597
+ x: 0.07761224999999983,
1598
+ y: -0.04893885000000098
1475
1599
  },
1476
1600
  {
1477
- x: -0.09659025000000065,
1478
- y: -0.09330755000000068
1601
+ x: -0.0930805500000007,
1602
+ y: -0.1446734500000011
1479
1603
  },
1480
1604
  {
1481
- x: 0.07120674999999954,
1482
- y: -0.2008312500000009
1605
+ x: 0.07471644999999949,
1606
+ y: -0.2521971500000013
1483
1607
  }
1484
1608
  ],
1485
1609
  color: "primary",
@@ -1490,41 +1614,41 @@ var diac_default = {
1490
1614
  top1: {
1491
1615
  type: "text",
1492
1616
  text: "{REF}",
1493
- x: 0,
1494
- y: -0.4604702499999994
1617
+ x: -0.17328624999999964,
1618
+ y: -0.41183614999999985
1495
1619
  },
1496
1620
  bottom1: {
1497
1621
  type: "text",
1498
1622
  text: "{VAL}",
1499
- x: 0,
1500
- y: 0.4732020500000005
1623
+ x: -0.03022294999999975,
1624
+ y: 0.4218361500000001
1501
1625
  }
1502
1626
  },
1503
1627
  refblocks: {
1504
1628
  left1: {
1505
- x: -0.5449081499999999,
1506
- y: 0.015473850000000011
1629
+ x: -0.54139845,
1630
+ y: -0.0358920500000004
1507
1631
  },
1508
1632
  right1: {
1509
- x: 0.5378887499999996,
1510
- y: 0.014477450000000447
1633
+ x: 0.5413984499999995,
1634
+ y: -0.03688844999999996
1511
1635
  }
1512
1636
  },
1513
1637
  bounds: {
1514
- minX: -0.5211797499999996,
1515
- maxX: 0.5211797499999995,
1516
- minY: -0.20314715000000017,
1517
- maxY: 0.20314715000000017,
1518
- width: 1.042359499999999,
1519
- height: 1,
1520
- centerX: -5551115123125783e-32,
1521
- centerY: 0
1638
+ minX: -0.569556891,
1639
+ maxX: 0.5695568909999995,
1640
+ minY: -0.5118361499999998,
1641
+ maxY: 0.4218361500000001,
1642
+ width: 1.1391137819999995,
1643
+ height: 0.5836722999999999,
1644
+ centerX: -2220446049250313e-31,
1645
+ centerY: -0.04499999999999987
1522
1646
  },
1523
1647
  circles: {
1524
1648
  path1: {
1525
1649
  type: "circle",
1526
- x: -0.0072723500000002606,
1527
- y: 0.007492750000000159,
1650
+ x: -0.0037626500000003116,
1651
+ y: -0.04387315000000025,
1528
1652
  radius: 0.28854213,
1529
1653
  color: "primary",
1530
1654
  fill: false
@@ -1533,31 +1657,31 @@ var diac_default = {
1533
1657
  };
1534
1658
 
1535
1659
  // symbols/diac_horz.ts
1536
- var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = diac_default;
1660
+ var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10, circles: circles8 } = diac_default;
1537
1661
  var diac_horz_default = defineSymbol({
1538
1662
  primitives: [
1539
- ...Object.values(paths9),
1540
- ...Object.values(circles7),
1541
- { ...texts10.top1, anchor: "middle_bottom" },
1542
- { ...texts10.bottom1, anchor: "middle_top" }
1663
+ ...Object.values(paths10),
1664
+ ...Object.values(circles8),
1665
+ { ...texts11.top1, anchor: "middle_bottom" },
1666
+ { ...texts11.bottom1, anchor: "middle_top" }
1543
1667
  ],
1544
1668
  ports: [
1545
- { ...refblocks9.left1, labels: ["1"] },
1669
+ { ...refblocks10.left1, labels: ["1"] },
1546
1670
  // TODO add more "standard" labels
1547
- { ...refblocks9.right1, labels: ["2"] }
1671
+ { ...refblocks10.right1, labels: ["2"] }
1548
1672
  // TODO add more "standard" labels
1549
1673
  ],
1550
- size: { width: bounds9.width, height: bounds9.height },
1551
- center: { x: bounds9.centerX, y: bounds9.centerY }
1674
+ size: { width: bounds10.width, height: bounds10.height },
1675
+ center: { x: bounds10.centerX, y: bounds10.centerY }
1552
1676
  });
1553
1677
 
1554
1678
  // symbols/diac_vert.ts
1555
1679
  var rotatedSymbol6 = rotateSymbol(diac_horz_default);
1556
- var texts11 = rotatedSymbol6.primitives.filter(
1680
+ var texts12 = rotatedSymbol6.primitives.filter(
1557
1681
  (primitive) => primitive.type === "text"
1558
1682
  );
1559
- var ref4 = texts11.find((text) => text.text === "{REF}");
1560
- var val4 = texts11.find((text) => text.text === "{VAL}");
1683
+ var ref4 = texts12.find((text) => text.text === "{REF}");
1684
+ var val4 = texts12.find((text) => text.text === "{VAL}");
1561
1685
  ref4.y = 0;
1562
1686
  val4.y = 0;
1563
1687
  var diac_vert_default = rotatedSymbol6;
@@ -1569,12 +1693,12 @@ var diode_default = {
1569
1693
  type: "path",
1570
1694
  points: [
1571
1695
  {
1572
- x: 0.1413337499999998,
1573
- y: 0
1696
+ x: 0.14458890000000002,
1697
+ y: -0.03903629999999936
1574
1698
  },
1575
1699
  {
1576
- x: -0.12324954999999971,
1577
- y: 0.13229169999999968
1700
+ x: -0.1199943999999995,
1701
+ y: 0.09325540000000032
1578
1702
  }
1579
1703
  ],
1580
1704
  color: "primary",
@@ -1584,12 +1708,12 @@ var diode_default = {
1584
1708
  type: "path",
1585
1709
  points: [
1586
1710
  {
1587
- x: -0.12324954999999971,
1588
- y: -0.13229170000000323
1711
+ x: -0.1199943999999995,
1712
+ y: -0.1713280000000026
1589
1713
  },
1590
1714
  {
1591
- x: 0.1413337499999998,
1592
- y: 0
1715
+ x: 0.14458890000000002,
1716
+ y: -0.03903629999999936
1593
1717
  }
1594
1718
  ],
1595
1719
  color: "primary",
@@ -1599,12 +1723,12 @@ var diode_default = {
1599
1723
  type: "path",
1600
1724
  points: [
1601
1725
  {
1602
- x: -0.12324954999999971,
1603
- y: 0.13229169999999613
1726
+ x: -0.1199943999999995,
1727
+ y: 0.09325539999999677
1604
1728
  },
1605
1729
  {
1606
- x: -0.12324954999999971,
1607
- y: -0.13229170000000323
1730
+ x: -0.1199943999999995,
1731
+ y: -0.1713280000000026
1608
1732
  }
1609
1733
  ],
1610
1734
  color: "primary",
@@ -1614,12 +1738,12 @@ var diode_default = {
1614
1738
  type: "path",
1615
1739
  points: [
1616
1740
  {
1617
- x: 0.1413337499999998,
1618
- y: -0.13229170000000323
1741
+ x: 0.14458890000000002,
1742
+ y: -0.1713280000000026
1619
1743
  },
1620
1744
  {
1621
- x: 0.1413337499999998,
1622
- y: 0.13229169999999613
1745
+ x: 0.14458890000000002,
1746
+ y: 0.09325539999999677
1623
1747
  }
1624
1748
  ],
1625
1749
  color: "primary",
@@ -1629,12 +1753,12 @@ var diode_default = {
1629
1753
  type: "path",
1630
1754
  points: [
1631
1755
  {
1632
- x: -0.12545424999999977,
1633
- y: 0
1756
+ x: -0.12219909999999956,
1757
+ y: -0.03903629999999936
1634
1758
  },
1635
1759
  {
1636
- x: -0.5201245499999998,
1637
- y: 0
1760
+ x: -0.5168693999999996,
1761
+ y: -0.03903629999999936
1638
1762
  }
1639
1763
  ],
1640
1764
  color: "primary",
@@ -1644,12 +1768,42 @@ var diode_default = {
1644
1768
  type: "path",
1645
1769
  points: [
1646
1770
  {
1647
- x: 0.5201245499999998,
1648
- y: 8519999999734296e-20
1771
+ x: 0.5233797,
1772
+ y: -0.038951100000002015
1649
1773
  },
1650
1774
  {
1651
- x: 0.1464164499999998,
1652
- y: 8519999999734296e-20
1775
+ x: 0.14967160000000002,
1776
+ y: -0.038951100000002015
1777
+ }
1778
+ ],
1779
+ color: "primary",
1780
+ fill: false
1781
+ },
1782
+ "path43-5": {
1783
+ type: "path",
1784
+ points: [
1785
+ {
1786
+ x: 0.19156529999999972,
1787
+ y: 0.09340209999999871
1788
+ },
1789
+ {
1790
+ x: 0.14591529999999908,
1791
+ y: 0.0937620999999993
1792
+ }
1793
+ ],
1794
+ color: "primary",
1795
+ fill: false
1796
+ },
1797
+ "path43-5-2": {
1798
+ type: "path",
1799
+ points: [
1800
+ {
1801
+ x: 0.19233440000000046,
1802
+ y: 0.1405493999999976
1803
+ },
1804
+ {
1805
+ x: 0.19197439999999988,
1806
+ y: 0.09489939999999919
1653
1807
  }
1654
1808
  ],
1655
1809
  color: "primary",
@@ -1660,54 +1814,55 @@ var diode_default = {
1660
1814
  top1: {
1661
1815
  type: "text",
1662
1816
  text: "{REF}",
1663
- x: -0.008280249999999878,
1664
- y: -0.22980899999999949
1817
+ x: -0.0050250999999996715,
1818
+ y: -0.26884529999999884
1665
1819
  },
1666
1820
  bottom1: {
1667
1821
  type: "text",
1668
1822
  text: "{VAL}",
1669
- x: -0.0033669500000002017,
1670
- y: 0.22788159999999977
1823
+ x: -11179999999999524e-20,
1824
+ y: 0.2788453000000004
1671
1825
  }
1672
1826
  },
1673
1827
  refblocks: {
1674
1828
  left1: {
1675
- x: -0.5224022500000003,
1676
- y: -8844000000003405e-19
1829
+ x: -0.5191471000000001,
1830
+ y: -0.0399206999999997
1677
1831
  },
1678
1832
  right1: {
1679
- x: 0.5158919499999999,
1680
- y: 14019999999703714e-20
1833
+ x: 0.5191471000000001,
1834
+ y: -0.03889610000000232
1681
1835
  }
1682
1836
  },
1683
1837
  bounds: {
1684
- minX: -0.5201245499999998,
1685
- maxX: 0.5201245499999998,
1686
- minY: -0.13229170000000323,
1687
- maxY: 0.13229169999999968,
1688
- width: 1.0402490999999996,
1689
- height: 0.2645834000000029,
1838
+ minX: -0.5473055410000001,
1839
+ maxX: 0.5473055410000001,
1840
+ minY: -0.3688452999999988,
1841
+ maxY: 0.2788453000000004,
1842
+ width: 1.0946110820000001,
1843
+ height: 0.29769059999999925,
1690
1844
  centerX: 0,
1691
- centerY: -17763568394002505e-31
1692
- }
1845
+ centerY: -0.04499999999999921
1846
+ },
1847
+ circles: {}
1693
1848
  };
1694
1849
 
1695
1850
  // symbols/diode_horz.ts
1696
- var { paths: paths10, texts: texts12, bounds: bounds10, refblocks: refblocks10 } = diode_default;
1851
+ var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11 } = diode_default;
1697
1852
  var diode_horz_default = defineSymbol({
1698
1853
  primitives: [
1699
- ...Object.values(paths10),
1700
- { ...texts12.top1, anchor: "middle_bottom" },
1701
- { ...texts12.bottom1, anchor: "middle_top" }
1854
+ ...Object.values(paths11),
1855
+ { ...texts13.top1, anchor: "middle_bottom" },
1856
+ { ...texts13.bottom1, anchor: "middle_top" }
1702
1857
  ],
1703
1858
  ports: [
1704
- { ...refblocks10.left1, labels: ["1"] },
1859
+ { ...refblocks11.left1, labels: ["1"] },
1705
1860
  // TODO add more "standard" labels
1706
- { ...refblocks10.right1, labels: ["2"] }
1861
+ { ...refblocks11.right1, labels: ["2"] }
1707
1862
  // TODO add more "standard" labels
1708
1863
  ],
1709
- size: { width: bounds10.width, height: bounds10.height },
1710
- center: { x: bounds10.centerX, y: bounds10.centerY }
1864
+ size: { width: bounds11.width, height: bounds11.height },
1865
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1711
1866
  });
1712
1867
 
1713
1868
  // symbols/diode_vert.ts
@@ -1829,11 +1984,11 @@ var filled_diode_default = {
1829
1984
  };
1830
1985
 
1831
1986
  // symbols/filled_diode_horz.ts
1832
- var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11, circles: circles8 } = filled_diode_default;
1987
+ var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles9 } = filled_diode_default;
1833
1988
  var filled_diode_horz_default = defineSymbol({
1834
1989
  primitives: [
1835
- ...Object.values(paths11),
1836
- ...Object.values(circles8),
1990
+ ...Object.values(paths12),
1991
+ ...Object.values(circles9),
1837
1992
  {
1838
1993
  type: "text",
1839
1994
  text: "{REF}",
@@ -1850,13 +2005,13 @@ var filled_diode_horz_default = defineSymbol({
1850
2005
  }
1851
2006
  ],
1852
2007
  ports: [
1853
- { ...refblocks11.left1, labels: ["1"] },
2008
+ { ...refblocks12.left1, labels: ["1"] },
1854
2009
  // TODO add more "standard" labels
1855
- { ...refblocks11.right1, labels: ["2"] }
2010
+ { ...refblocks12.right1, labels: ["2"] }
1856
2011
  // TODO add more "standard" labels
1857
2012
  ],
1858
- size: { width: bounds11.width, height: bounds11.height },
1859
- center: { x: bounds11.centerX, y: bounds11.centerY }
2013
+ size: { width: bounds12.width, height: bounds12.height },
2014
+ center: { x: bounds12.centerX, y: bounds12.centerY }
1860
2015
  });
1861
2016
 
1862
2017
  // symbols/filled_diode_vert.ts
@@ -1869,12 +2024,12 @@ var fuse_default = {
1869
2024
  type: "path",
1870
2025
  points: [
1871
2026
  {
1872
- x: -0.529167000000001,
1873
- y: 0
2027
+ x: -0.5283037500000001,
2028
+ y: -0.03141365000000107
1874
2029
  },
1875
2030
  {
1876
- x: 0.5291669999999993,
1877
- y: 0
2031
+ x: 0.5300302500000003,
2032
+ y: -0.03141365000000107
1878
2033
  }
1879
2034
  ],
1880
2035
  color: "primary",
@@ -1884,28 +2039,28 @@ var fuse_default = {
1884
2039
  type: "path",
1885
2040
  points: [
1886
2041
  {
1887
- x: 1999999998503199e-21,
1888
- y: -0.13229169999999968
2042
+ x: 8652499999994845e-19,
2043
+ y: -0.16370535000000075
1889
2044
  },
1890
2045
  {
1891
- x: 0.2645849999999985,
1892
- y: -0.13229169999999968
2046
+ x: 0.2654482499999995,
2047
+ y: -0.16370535000000075
1893
2048
  },
1894
2049
  {
1895
- x: 0.2645849999999985,
1896
- y: 0.13229169999999968
2050
+ x: 0.2654482499999995,
2051
+ y: 0.10087804999999861
1897
2052
  },
1898
2053
  {
1899
- x: -0.26458200000000076,
1900
- y: 0.13229169999999968
2054
+ x: -0.2637187499999998,
2055
+ y: 0.10087804999999861
1901
2056
  },
1902
2057
  {
1903
- x: -0.26458200000000076,
1904
- y: -0.13229169999999968
2058
+ x: -0.2637187499999998,
2059
+ y: -0.16370535000000075
1905
2060
  },
1906
2061
  {
1907
- x: 1999999998503199e-21,
1908
- y: -0.13229169999999968
2062
+ x: 8652499999994845e-19,
2063
+ y: -0.16370535000000075
1909
2064
  }
1910
2065
  ],
1911
2066
  color: "primary",
@@ -1916,44 +2071,45 @@ var fuse_default = {
1916
2071
  top1: {
1917
2072
  type: "text",
1918
2073
  text: "{REF}",
1919
- x: -0.00912720000000089,
1920
- y: -0.1995035999999999
2074
+ x: -0.008263949999999909,
2075
+ y: -0.23091725000000096
1921
2076
  },
1922
2077
  bottom1: {
1923
2078
  type: "text",
1924
2079
  text: "{VAL}",
1925
- x: -0.17251720000000148,
1926
- y: 0.27233090000000004
2080
+ x: -0.1716539500000005,
2081
+ y: 0.24091724999999897
1927
2082
  }
1928
2083
  },
1929
2084
  refblocks: {
1930
2085
  left1: {
1931
- x: -0.5354181000000011,
1932
- y: -0.0030468999999992974
2086
+ x: -0.5345548500000001,
2087
+ y: -0.03446055000000037
1933
2088
  },
1934
2089
  right1: {
1935
- x: 0.5336915999999992,
1936
- y: 0.0011575000000014768
2090
+ x: 0.5345548500000001,
2091
+ y: -0.030256149999999593
1937
2092
  }
1938
2093
  },
1939
2094
  bounds: {
1940
- minX: -0.529167000000001,
1941
- maxX: 0.5291669999999993,
1942
- minY: -0.13229169999999968,
1943
- maxY: 0.13229169999999968,
1944
- width: 1.0583340000000003,
1945
- height: 0.26458339999999936,
1946
- centerX: -8881784197001252e-31,
1947
- centerY: 0
1948
- }
2095
+ minX: -0.5627132910000001,
2096
+ maxX: 0.5627132910000001,
2097
+ minY: -0.33091725000000094,
2098
+ maxY: 0.24091724999999897,
2099
+ width: 1.1254265820000002,
2100
+ height: 0.22183449999999993,
2101
+ centerX: 0,
2102
+ centerY: -0.045000000000000984
2103
+ },
2104
+ circles: {}
1949
2105
  };
1950
2106
 
1951
2107
  // symbols/fuse_horz.ts
1952
- var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = fuse_default;
2108
+ var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13 } = fuse_default;
1953
2109
  var fuse_horz_default = defineSymbol({
1954
2110
  primitives: [
1955
- ...Object.values(paths12),
1956
- { ...texts14.top1, anchor: "middle_bottom" },
2111
+ ...Object.values(paths13),
2112
+ { ...texts15.top1, anchor: "middle_bottom" },
1957
2113
  {
1958
2114
  type: "text",
1959
2115
  text: "{VAL}",
@@ -1963,13 +2119,13 @@ var fuse_horz_default = defineSymbol({
1963
2119
  }
1964
2120
  ],
1965
2121
  ports: [
1966
- { ...refblocks12.left1, labels: ["1"] },
2122
+ { ...refblocks13.left1, labels: ["1"] },
1967
2123
  // TODO add more "standard" labels
1968
- { ...refblocks12.right1, labels: ["2"] }
2124
+ { ...refblocks13.right1, labels: ["2"] }
1969
2125
  // TODO add more "standard" labels
1970
2126
  ],
1971
- size: { width: bounds12.width, height: bounds12.height },
1972
- center: { x: bounds12.centerX, y: bounds12.centerY }
2127
+ size: { width: bounds13.width, height: bounds13.height },
2128
+ center: { x: bounds13.centerX, y: bounds13.centerY }
1973
2129
  });
1974
2130
 
1975
2131
  // symbols/fuse_vert.ts
@@ -2093,12 +2249,12 @@ var gunn_diode_default = {
2093
2249
  };
2094
2250
 
2095
2251
  // symbols/gunn_diode_horz.ts
2096
- var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = gunn_diode_default;
2252
+ var { paths: paths14, texts: texts16, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = gunn_diode_default;
2097
2253
  var gunn_diode_horz_default = defineSymbol({
2098
2254
  primitives: [
2099
- ...Object.values(paths13),
2100
- ...Object.values(circles9),
2101
- { ...texts15.top1, anchor: "middle_left" },
2255
+ ...Object.values(paths14),
2256
+ ...Object.values(circles10),
2257
+ { ...texts16.top1, anchor: "middle_left" },
2102
2258
  {
2103
2259
  type: "text",
2104
2260
  text: "{VAL}",
@@ -2108,20 +2264,20 @@ var gunn_diode_horz_default = defineSymbol({
2108
2264
  // { ...texts.bottom1, anchor: "middle_left" },
2109
2265
  ],
2110
2266
  ports: [
2111
- { ...refblocks13.left1, labels: ["1"] },
2267
+ { ...refblocks14.left1, labels: ["1"] },
2112
2268
  // TODO add more "standard" labels
2113
- { ...refblocks13.right1, labels: ["2"] }
2269
+ { ...refblocks14.right1, labels: ["2"] }
2114
2270
  // TODO add more "standard" labels
2115
2271
  ],
2116
- size: { width: bounds13.width, height: bounds13.height },
2117
- center: { x: bounds13.centerX, y: bounds13.centerY }
2272
+ size: { width: bounds14.width, height: bounds14.height },
2273
+ center: { x: bounds14.centerX, y: bounds14.centerY }
2118
2274
  });
2119
2275
 
2120
2276
  // symbols/gunn_diode_vert.ts
2121
2277
  var rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
2122
- var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2123
- var ref5 = texts16.find((t) => t.text === "{REF}");
2124
- var val5 = texts16.find((t) => t.text === "{VAL}");
2278
+ var texts17 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2279
+ var ref5 = texts17.find((t) => t.text === "{REF}");
2280
+ var val5 = texts17.find((t) => t.text === "{VAL}");
2125
2281
  ref5.x = 0.25;
2126
2282
  ref5.y = -0.045;
2127
2283
  val5.x = -0.55;
@@ -2307,11 +2463,11 @@ var igbt_transistor_default = {
2307
2463
  };
2308
2464
 
2309
2465
  // symbols/igbt_transistor_horz.ts
2310
- var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = igbt_transistor_default;
2466
+ var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles11 } = igbt_transistor_default;
2311
2467
  var igbt_transistor_horz_default = defineSymbol({
2312
2468
  primitives: [
2313
- ...Object.values(paths14),
2314
- ...Object.values(circles10),
2469
+ ...Object.values(paths15),
2470
+ ...Object.values(circles11),
2315
2471
  {
2316
2472
  type: "text",
2317
2473
  text: "{REF}",
@@ -2328,15 +2484,15 @@ var igbt_transistor_horz_default = defineSymbol({
2328
2484
  }
2329
2485
  ],
2330
2486
  ports: [
2331
- { ...refblocks14.top1, labels: ["1"] },
2487
+ { ...refblocks15.top1, labels: ["1"] },
2332
2488
  // TODO add more "standard" labels
2333
- { ...refblocks14.bottom1, labels: ["2"] },
2489
+ { ...refblocks15.bottom1, labels: ["2"] },
2334
2490
  // TODO add more "standard" labels
2335
- { ...refblocks14.left1, labels: ["3"] }
2491
+ { ...refblocks15.left1, labels: ["3"] }
2336
2492
  // TODO add more "standard" labels
2337
2493
  ],
2338
- size: { width: bounds14.width, height: bounds14.height },
2339
- center: { x: bounds14.centerX + 0.06, y: bounds14.centerY }
2494
+ size: { width: bounds15.width, height: bounds15.height },
2495
+ center: { x: bounds15.centerX + 0.06, y: bounds15.centerY }
2340
2496
  });
2341
2497
 
2342
2498
  // symbols/igbt_transistor_vert.ts
@@ -2594,28 +2750,28 @@ var laser_diode_default = {
2594
2750
  };
2595
2751
 
2596
2752
  // symbols/laser_diode_horz.ts
2597
- var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles11 } = laser_diode_default;
2753
+ var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16, circles: circles12 } = laser_diode_default;
2598
2754
  var laser_diode_horz_default = defineSymbol({
2599
2755
  primitives: [
2600
- ...Object.values(paths15),
2601
- ...Object.values(circles11),
2602
- { ...texts18.top1, anchor: "middle_left" },
2603
- { ...texts18.bottom1, anchor: "middle_bottom" }
2756
+ ...Object.values(paths16),
2757
+ ...Object.values(circles12),
2758
+ { ...texts19.top1, anchor: "middle_left" },
2759
+ { ...texts19.bottom1, anchor: "middle_bottom" }
2604
2760
  ],
2605
2761
  ports: [
2606
- { ...refblocks15.left1, labels: ["1"] },
2762
+ { ...refblocks16.left1, labels: ["1"] },
2607
2763
  // TODO add more "standard" labels
2608
- { ...refblocks15.right1, labels: ["2"] }
2764
+ { ...refblocks16.right1, labels: ["2"] }
2609
2765
  // TODO add more "standard" labels
2610
2766
  ],
2611
- size: { width: bounds15.width, height: bounds15.height },
2612
- center: { x: bounds15.centerX, y: bounds15.centerY }
2767
+ size: { width: bounds16.width, height: bounds16.height },
2768
+ center: { x: bounds16.centerX, y: bounds16.centerY }
2613
2769
  });
2614
2770
 
2615
2771
  // symbols/laser_diode_vert.ts
2616
2772
  var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
2617
- var texts19 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2618
- var ref7 = texts19.find((t) => t.text === "{VAL}");
2773
+ var texts20 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2774
+ var ref7 = texts20.find((t) => t.text === "{VAL}");
2619
2775
  ref7.x = -0.52;
2620
2776
  ref7.anchor = "middle_right";
2621
2777
  var laser_diode_vert_default = rotatedSymbol8;
@@ -2627,12 +2783,12 @@ var led_default = {
2627
2783
  type: "path",
2628
2784
  points: [
2629
2785
  {
2630
- x: 0.13537969999999966,
2631
- y: 0.09743664999999524
2786
+ x: 0.13585750000000063,
2787
+ y: 0.003696399999999045
2632
2788
  },
2633
2789
  {
2634
- x: -0.1292036000000003,
2635
- y: 0.22972834999999847
2790
+ x: -0.12872579999999934,
2791
+ y: 0.13598810000000228
2636
2792
  }
2637
2793
  ],
2638
2794
  color: "primary",
@@ -2642,12 +2798,12 @@ var led_default = {
2642
2798
  type: "path",
2643
2799
  points: [
2644
2800
  {
2645
- x: 0.12715889999999996,
2646
- y: 0.09766044999999579
2801
+ x: 0.12763670000000094,
2802
+ y: 0.003920199999999596
2647
2803
  },
2648
2804
  {
2649
- x: 0.5260786,
2650
- y: 0.09766044999999579
2805
+ x: 0.5265564000000009,
2806
+ y: 0.003920199999999596
2651
2807
  }
2652
2808
  ],
2653
2809
  color: "primary",
@@ -2657,12 +2813,12 @@ var led_default = {
2657
2813
  type: "path",
2658
2814
  points: [
2659
2815
  {
2660
- x: -0.1292036000000003,
2661
- y: -0.03485505000000444
2816
+ x: -0.12872579999999934,
2817
+ y: -0.12859530000000063
2662
2818
  },
2663
2819
  {
2664
- x: 0.13537969999999966,
2665
- y: 0.09743664999999524
2820
+ x: 0.13585750000000063,
2821
+ y: 0.003696399999999045
2666
2822
  }
2667
2823
  ],
2668
2824
  color: "primary",
@@ -2672,12 +2828,12 @@ var led_default = {
2672
2828
  type: "path",
2673
2829
  points: [
2674
2830
  {
2675
- x: -0.1292036000000003,
2676
- y: 0.22972834999999847
2831
+ x: -0.12872579999999934,
2832
+ y: 0.13598810000000228
2677
2833
  },
2678
2834
  {
2679
- x: -0.1292036000000003,
2680
- y: -0.03485505000000444
2835
+ x: -0.12872579999999934,
2836
+ y: -0.12859530000000063
2681
2837
  }
2682
2838
  ],
2683
2839
  color: "primary",
@@ -2687,12 +2843,12 @@ var led_default = {
2687
2843
  type: "path",
2688
2844
  points: [
2689
2845
  {
2690
- x: 0.13537969999999966,
2691
- y: -0.03485505000000444
2846
+ x: 0.13585750000000063,
2847
+ y: -0.12859530000000063
2692
2848
  },
2693
2849
  {
2694
- x: 0.13537969999999966,
2695
- y: 0.22972834999999847
2850
+ x: 0.13585750000000063,
2851
+ y: 0.13598810000000228
2696
2852
  }
2697
2853
  ],
2698
2854
  color: "primary",
@@ -2702,12 +2858,12 @@ var led_default = {
2702
2858
  type: "path",
2703
2859
  points: [
2704
2860
  {
2705
- x: -0.13124740000000035,
2706
- y: 0.09743664999999524
2861
+ x: -0.13076959999999938,
2862
+ y: 0.003696399999999045
2707
2863
  },
2708
2864
  {
2709
- x: -0.5260786000000004,
2710
- y: 0.09743664999999524
2865
+ x: -0.5256007999999994,
2866
+ y: 0.003696399999999045
2711
2867
  }
2712
2868
  ],
2713
2869
  color: "primary",
@@ -2717,16 +2873,16 @@ var led_default = {
2717
2873
  type: "path",
2718
2874
  points: [
2719
2875
  {
2720
- x: -0.15622170000000057,
2721
- y: -0.19171255000000187
2876
+ x: -0.1557438999999996,
2877
+ y: -0.28545279999999806
2722
2878
  },
2723
2879
  {
2724
- x: -0.25356400000000034,
2725
- y: -0.20859175000000363
2880
+ x: -0.2530861999999994,
2881
+ y: -0.3023319999999998
2726
2882
  },
2727
2883
  {
2728
- x: -0.2192612000000005,
2729
- y: -0.11582895000000448
2884
+ x: -0.21878339999999952,
2885
+ y: -0.20956920000000068
2730
2886
  }
2731
2887
  ],
2732
2888
  color: "primary",
@@ -2736,20 +2892,20 @@ var led_default = {
2736
2892
  type: "path",
2737
2893
  points: [
2738
2894
  {
2739
- x: -0.08048230000000034,
2740
- y: -0.07216775000000197
2895
+ x: -0.08000449999999937,
2896
+ y: -0.16590799999999817
2741
2897
  },
2742
2898
  {
2743
- x: -0.09250580000000008,
2744
- y: -0.0811007500000045
2899
+ x: -0.09202799999999911,
2900
+ y: -0.1748410000000007
2745
2901
  },
2746
2902
  {
2747
- x: -0.21426230000000057,
2748
- y: -0.17155655000000536
2903
+ x: -0.2137844999999996,
2904
+ y: -0.26529680000000155
2749
2905
  },
2750
2906
  {
2751
- x: -0.21489230000000026,
2752
- y: -0.17250655000000492
2907
+ x: -0.2144144999999993,
2908
+ y: -0.2662468000000011
2753
2909
  }
2754
2910
  ],
2755
2911
  color: "primary",
@@ -2759,16 +2915,16 @@ var led_default = {
2759
2915
  type: "path",
2760
2916
  points: [
2761
2917
  {
2762
- x: 0.021244599999999725,
2763
- y: -0.21284915000000026
2918
+ x: 0.021722400000000697,
2919
+ y: -0.30658939999999646
2764
2920
  },
2765
2921
  {
2766
- x: -0.07609770000000049,
2767
- y: -0.22972835000000202
2922
+ x: -0.07561989999999952,
2923
+ y: -0.3234685999999982
2768
2924
  },
2769
2925
  {
2770
- x: -0.04179490000000019,
2771
- y: -0.13696555000000288
2926
+ x: -0.04131709999999922,
2927
+ y: -0.23070579999999907
2772
2928
  }
2773
2929
  ],
2774
2930
  color: "primary",
@@ -2778,20 +2934,20 @@ var led_default = {
2778
2934
  type: "path",
2779
2935
  points: [
2780
2936
  {
2781
- x: 0.09698399999999996,
2782
- y: -0.09330435000000037
2937
+ x: 0.09746180000000093,
2938
+ y: -0.18704459999999656
2783
2939
  },
2784
2940
  {
2785
- x: 0.08496049999999977,
2786
- y: -0.10223735000000289
2941
+ x: 0.08543830000000074,
2942
+ y: -0.19597759999999909
2787
2943
  },
2788
2944
  {
2789
- x: -0.03679600000000027,
2790
- y: -0.19269315000000375
2945
+ x: -0.0363181999999993,
2946
+ y: -0.28643339999999995
2791
2947
  },
2792
2948
  {
2793
- x: -0.0374260000000004,
2794
- y: -0.19364315000000332
2949
+ x: -0.03694819999999943,
2950
+ y: -0.2873833999999995
2795
2951
  }
2796
2952
  ],
2797
2953
  color: "primary",
@@ -2802,52 +2958,53 @@ var led_default = {
2802
2958
  bottom1: {
2803
2959
  type: "text",
2804
2960
  text: "{VAL}",
2805
- x: -0.13003950000000042,
2806
- y: 0.3072088499999944
2961
+ x: -0.009561699999999451,
2962
+ y: 0.3234685999999982
2807
2963
  },
2808
2964
  right1: {
2809
2965
  type: "text",
2810
2966
  text: "{REF}",
2811
- x: 0.15,
2812
- y: -0.1
2967
+ x: 0.31464070000000044,
2968
+ y: -0.22386570000000106
2813
2969
  }
2814
2970
  },
2815
2971
  refblocks: {
2816
2972
  left1: {
2817
- x: -0.5366871000000006,
2818
- y: 0.09817314999999738
2973
+ x: -0.5362092999999997,
2974
+ y: 0.004432900000001183
2819
2975
  },
2820
2976
  right1: {
2821
- x: 0.5357314999999994,
2822
- y: 0.09862664999999993
2977
+ x: 0.5362093000000003,
2978
+ y: 0.004886400000003732
2823
2979
  }
2824
2980
  },
2825
2981
  bounds: {
2826
- minX: -0.5260786000000004,
2827
- maxX: 0.5260786,
2828
- minY: -0.22972835000000202,
2829
- maxY: 0.22972834999999847,
2830
- width: 1.0521572000000003,
2831
- height: 0.4594567000000005,
2832
- centerX: -2220446049250313e-31,
2833
- centerY: -17763568394002505e-31
2834
- }
2982
+ minX: -0.5643677409999996,
2983
+ maxX: 0.5643677410000003,
2984
+ minY: -0.32386570000000103,
2985
+ maxY: 0.3234685999999982,
2986
+ width: 1.128735482,
2987
+ height: 0.2973342999999993,
2988
+ centerX: 33306690738754696e-32,
2989
+ centerY: -19855000000140732e-20
2990
+ },
2991
+ circles: {}
2835
2992
  };
2836
2993
 
2837
2994
  // symbols/led_horz.ts
2838
- var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = led_default;
2995
+ var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = led_default;
2839
2996
  var led_horz_default = defineSymbol({
2840
2997
  primitives: [
2841
- ...Object.values(paths16),
2842
- { ...texts20.bottom1, anchor: "middle_right" },
2843
- { ...texts20.right1, anchor: "middle_left" }
2998
+ ...Object.values(paths17),
2999
+ { ...texts21.bottom1, anchor: "middle_right" },
3000
+ { ...texts21.right1, anchor: "middle_left" }
2844
3001
  ],
2845
3002
  ports: [
2846
- { ...refblocks16.left1, labels: ["1", "anode", "pos"] },
2847
- { ...refblocks16.right1, labels: ["2", "cathode", "neg"] }
3003
+ { ...refblocks17.left1, labels: ["1", "anode", "pos"] },
3004
+ { ...refblocks17.right1, labels: ["2", "cathode", "neg"] }
2848
3005
  ],
2849
- size: { width: bounds16.width, height: bounds16.height },
2850
- center: { x: bounds16.centerX, y: bounds16.centerY + 0.1 }
3006
+ size: { width: bounds17.width, height: bounds17.height },
3007
+ center: { x: bounds17.centerX, y: bounds17.centerY + 0.1 }
2851
3008
  });
2852
3009
 
2853
3010
  // symbols/led_vert.ts
@@ -2873,12 +3030,12 @@ var mosfet_depletion_normally_on_default = {
2873
3030
  type: "path",
2874
3031
  points: [
2875
3032
  {
2876
- x: 0.39687494999999995,
2877
- y: -0.13228999999999935
3033
+ x: 0.3793021704999999,
3034
+ y: -0.13154093999999894
2878
3035
  },
2879
3036
  {
2880
- x: 0.5291666500000005,
2881
- y: 0.13229300000000066
3037
+ x: 0.5115938705000005,
3038
+ y: 0.13304206000000107
2882
3039
  }
2883
3040
  ],
2884
3041
  color: "primary",
@@ -2888,12 +3045,12 @@ var mosfet_depletion_normally_on_default = {
2888
3045
  type: "path",
2889
3046
  points: [
2890
3047
  {
2891
- x: 0.26458325000000027,
2892
- y: 0.13229300000000066
3048
+ x: 0.24701047050000025,
3049
+ y: 0.13304206000000107
2893
3050
  },
2894
3051
  {
2895
- x: 0.39687494999999995,
2896
- y: -0.13228999999999935
3052
+ x: 0.3793021704999999,
3053
+ y: -0.13154093999999894
2897
3054
  }
2898
3055
  ],
2899
3056
  color: "primary",
@@ -2903,12 +3060,12 @@ var mosfet_depletion_normally_on_default = {
2903
3060
  type: "path",
2904
3061
  points: [
2905
3062
  {
2906
- x: 0.5291666500000005,
2907
- y: 0.13229300000000066
3063
+ x: 0.5115938705000005,
3064
+ y: 0.13304206000000107
2908
3065
  },
2909
3066
  {
2910
- x: 0.26458325000000027,
2911
- y: 0.13229300000000066
3067
+ x: 0.24701047050000025,
3068
+ y: 0.13304206000000107
2912
3069
  }
2913
3070
  ],
2914
3071
  color: "primary",
@@ -2918,12 +3075,12 @@ var mosfet_depletion_normally_on_default = {
2918
3075
  type: "path",
2919
3076
  points: [
2920
3077
  {
2921
- x: 0.26458325000000027,
2922
- y: -0.13228999999999935
3078
+ x: 0.24701047050000025,
3079
+ y: -0.13154093999999894
2923
3080
  },
2924
3081
  {
2925
- x: 0.5291666500000005,
2926
- y: -0.13228999999999935
3082
+ x: 0.5115938705000005,
3083
+ y: -0.13154093999999894
2927
3084
  }
2928
3085
  ],
2929
3086
  color: "primary",
@@ -2933,12 +3090,12 @@ var mosfet_depletion_normally_on_default = {
2933
3090
  type: "path",
2934
3091
  points: [
2935
3092
  {
2936
- x: 0.13229165000000087,
2937
- y: 0.39687499999999964
3093
+ x: 0.11471887050000085,
3094
+ y: 0.39762406000000006
2938
3095
  },
2939
3096
  {
2940
- x: 0.39687494999999995,
2941
- y: 0.39687499999999964
3097
+ x: 0.3793021704999999,
3098
+ y: 0.39762406000000006
2942
3099
  }
2943
3100
  ],
2944
3101
  color: "primary",
@@ -2948,12 +3105,12 @@ var mosfet_depletion_normally_on_default = {
2948
3105
  type: "path",
2949
3106
  points: [
2950
3107
  {
2951
- x: 0.39687494999999995,
2952
- y: -0.3968740000000004
3108
+ x: 0.3793021704999999,
3109
+ y: -0.39612494
2953
3110
  },
2954
3111
  {
2955
- x: 0.13229165000000087,
2956
- y: -0.3968740000000004
3112
+ x: 0.11471887050000085,
3113
+ y: -0.39612494
2957
3114
  }
2958
3115
  ],
2959
3116
  color: "primary",
@@ -2963,12 +3120,12 @@ var mosfet_depletion_normally_on_default = {
2963
3120
  type: "path",
2964
3121
  points: [
2965
3122
  {
2966
- x: 0.13229165000000087,
2967
- y: -0.529166
3123
+ x: 0.11471887050000085,
3124
+ y: -0.5284169399999996
2968
3125
  },
2969
3126
  {
2970
- x: 0.13229165000000087,
2971
- y: -0.1852090000000004
3127
+ x: 0.11471887050000085,
3128
+ y: -0.18445994
2972
3129
  }
2973
3130
  ],
2974
3131
  color: "primary",
@@ -2978,12 +3135,12 @@ var mosfet_depletion_normally_on_default = {
2978
3135
  type: "path",
2979
3136
  points: [
2980
3137
  {
2981
- x: 0.13229165000000087,
2982
- y: 0.529166
3138
+ x: 0.11471887050000085,
3139
+ y: 0.5299150600000004
2983
3140
  },
2984
3141
  {
2985
- x: 0.13229165000000087,
2986
- y: -9999999992515995e-22
3142
+ x: 0.11471887050000085,
3143
+ y: 7480600000011606e-19
2987
3144
  }
2988
3145
  ],
2989
3146
  color: "primary",
@@ -2993,12 +3150,12 @@ var mosfet_depletion_normally_on_default = {
2993
3150
  type: "path",
2994
3151
  points: [
2995
3152
  {
2996
- x: 0.39687494999999995,
2997
- y: 0.39687563000000026
3153
+ x: 0.3793021704999999,
3154
+ y: 0.39762469000000067
2998
3155
  },
2999
3156
  {
3000
- x: 0.39687494999999995,
3001
- y: -0.3968746999999997
3157
+ x: 0.3793021704999999,
3158
+ y: -0.3961256399999993
3002
3159
  }
3003
3160
  ],
3004
3161
  color: "primary",
@@ -3008,12 +3165,12 @@ var mosfet_depletion_normally_on_default = {
3008
3165
  type: "path",
3009
3166
  points: [
3010
3167
  {
3011
- x: -0.13229164999999998,
3012
- y: -0.2645850000000003
3168
+ x: -0.1498644295,
3169
+ y: -0.2638359399999999
3013
3170
  },
3014
3171
  {
3015
- x: -0.13229164999999998,
3016
- y: 0.26458099999999973
3172
+ x: -0.1498644295,
3173
+ y: 0.26533006000000015
3017
3174
  }
3018
3175
  ],
3019
3176
  color: "primary",
@@ -3023,12 +3180,12 @@ var mosfet_depletion_normally_on_default = {
3023
3180
  type: "path",
3024
3181
  points: [
3025
3182
  {
3026
- x: -0.21166664999999885,
3027
- y: 0.264581999999999
3183
+ x: -0.22923942949999887,
3184
+ y: 0.2653310599999994
3028
3185
  },
3029
3186
  {
3030
- x: -0.21166664999999885,
3031
- y: -0.26458399999999926
3187
+ x: -0.22923942949999887,
3188
+ y: -0.26383493999999885
3032
3189
  }
3033
3190
  ],
3034
3191
  color: "primary",
@@ -3038,12 +3195,12 @@ var mosfet_depletion_normally_on_default = {
3038
3195
  type: "path",
3039
3196
  points: [
3040
3197
  {
3041
- x: -0.5291666499999996,
3042
- y: 0.26458099999999973
3198
+ x: -0.5467394294999997,
3199
+ y: 0.26533006000000015
3043
3200
  },
3044
3201
  {
3045
- x: -0.21166664999999885,
3046
- y: 0.264583
3202
+ x: -0.22923942949999887,
3203
+ y: 0.2653320600000004
3047
3204
  }
3048
3205
  ],
3049
3206
  color: "primary",
@@ -3053,12 +3210,12 @@ var mosfet_depletion_normally_on_default = {
3053
3210
  type: "path",
3054
3211
  points: [
3055
3212
  {
3056
- x: -0.13229164999999998,
3057
- y: 0.18520600000000087
3213
+ x: -0.1498644295,
3214
+ y: 0.18595506000000128
3058
3215
  },
3059
3216
  {
3060
- x: 0.13229175000000026,
3061
- y: 0.18520600000000087
3217
+ x: 0.11471897050000024,
3218
+ y: 0.18595506000000128
3062
3219
  }
3063
3220
  ],
3064
3221
  color: "primary",
@@ -3068,12 +3225,12 @@ var mosfet_depletion_normally_on_default = {
3068
3225
  type: "path",
3069
3226
  points: [
3070
3227
  {
3071
- x: -0.13229164999999998,
3072
- y: -0.18520999999999965
3228
+ x: -0.1498644295,
3229
+ y: -0.18446093999999924
3073
3230
  },
3074
3231
  {
3075
- x: 0.13229175000000026,
3076
- y: -0.18520999999999965
3232
+ x: 0.11471897050000024,
3233
+ y: -0.18446093999999924
3077
3234
  }
3078
3235
  ],
3079
3236
  color: "primary",
@@ -3083,12 +3240,12 @@ var mosfet_depletion_normally_on_default = {
3083
3240
  type: "path",
3084
3241
  points: [
3085
3242
  {
3086
- x: -0.05291665000000023,
3087
- y: -9999999992515995e-22
3243
+ x: -0.07048942950000026,
3244
+ y: 7480600000011606e-19
3088
3245
  },
3089
3246
  {
3090
- x: 0.13229165000000087,
3091
- y: -9999999992515995e-22
3247
+ x: 0.11471887050000085,
3248
+ y: 7480600000011606e-19
3092
3249
  }
3093
3250
  ],
3094
3251
  color: "primary",
@@ -3099,60 +3256,61 @@ var mosfet_depletion_normally_on_default = {
3099
3256
  right1: {
3100
3257
  type: "text",
3101
3258
  text: "{REF}",
3102
- x: 0.5827374500000007,
3103
- y: -0.20929270999999972
3259
+ x: 0.5651646705000006,
3260
+ y: -0.2085436499999993
3104
3261
  },
3105
3262
  right2: {
3106
3263
  type: "text",
3107
3264
  text: "{VAL}",
3108
- x: 0.58412285,
3109
- y: -0.021192649999999702
3265
+ x: 0.5665500705,
3266
+ y: -0.02044358999999929
3110
3267
  }
3111
3268
  },
3112
3269
  refblocks: {
3113
3270
  top1: {
3114
- x: 0.13275345000000005,
3115
- y: -0.5440228900000008
3271
+ x: 0.11518067050000003,
3272
+ y: -0.5432738300000004
3116
3273
  },
3117
3274
  bottom1: {
3118
- x: 0.13239525000000096,
3119
- y: 0.54252477
3275
+ x: 0.11482247050000094,
3276
+ y: 0.5432738300000004
3120
3277
  },
3121
3278
  left1: {
3122
- x: -0.5308188500000002,
3123
- y: 0.26564980000000027
3279
+ x: -0.5483916295000002,
3280
+ y: 0.2663988600000007
3124
3281
  }
3125
3282
  },
3126
3283
  bounds: {
3127
- minX: -0.5291666499999996,
3128
- maxX: 0.5291666500000005,
3129
- minY: -0.529166,
3130
- maxY: 0.529166,
3131
- width: 1.0583333000000001,
3132
- height: 1.058332,
3133
- centerX: 4440892098500626e-31,
3284
+ minX: -0.5765500705000002,
3285
+ maxX: 0.6665500704999999,
3286
+ minY: -0.5714322710000004,
3287
+ maxY: 0.5714322710000004,
3288
+ width: 1.2431001410000002,
3289
+ height: 0.7928645420000008,
3290
+ centerX: 0.04499999999999987,
3134
3291
  centerY: 0
3135
- }
3292
+ },
3293
+ circles: {}
3136
3294
  };
3137
3295
 
3138
3296
  // symbols/mosfet_depletion_normally_on_horz.ts
3139
- var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = mosfet_depletion_normally_on_default;
3297
+ var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18 } = mosfet_depletion_normally_on_default;
3140
3298
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
3141
3299
  primitives: [
3142
- ...Object.values(paths17),
3143
- { ...texts21.right1, anchor: "middle_left" },
3144
- { ...texts21.right2, anchor: "middle_left" }
3300
+ ...Object.values(paths18),
3301
+ { ...texts22.right1, anchor: "middle_left" },
3302
+ { ...texts22.right2, anchor: "middle_left" }
3145
3303
  ],
3146
3304
  ports: [
3147
- { ...refblocks17.top1, labels: ["1"] },
3305
+ { ...refblocks18.top1, labels: ["1"] },
3148
3306
  // TODO add more "standard" labels
3149
- { ...refblocks17.bottom1, labels: ["2"] },
3307
+ { ...refblocks18.bottom1, labels: ["2"] },
3150
3308
  // TODO add more "standard" labels
3151
- { ...refblocks17.left1, labels: ["3"] }
3309
+ { ...refblocks18.left1, labels: ["3"] }
3152
3310
  // TODO add more "standard" labels
3153
3311
  ],
3154
- size: { width: bounds17.width + 0.4, height: bounds17.height },
3155
- center: { x: bounds17.centerX + 0.2, y: bounds17.centerY }
3312
+ size: { width: bounds18.width + 0.4, height: bounds18.height },
3313
+ center: { x: bounds18.centerX + 0.2, y: bounds18.centerY }
3156
3314
  });
3157
3315
 
3158
3316
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -3778,20 +3936,20 @@ var mushroom_head_normally_open_momentary_default = {
3778
3936
  };
3779
3937
 
3780
3938
  // symbols/mushroom_head_normally_open_momentary_horz.ts
3781
- var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = mushroom_head_normally_open_momentary_default;
3939
+ var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = mushroom_head_normally_open_momentary_default;
3782
3940
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
3783
3941
  primitives: [
3784
- ...Object.values(paths18),
3785
- ...Object.values(circles12),
3786
- { ...texts22.top1, anchor: "middle_bottom", x: 0 },
3787
- { ...texts22.bottom1, anchor: "middle_top", x: 0 }
3942
+ ...Object.values(paths19),
3943
+ ...Object.values(circles13),
3944
+ { ...texts23.top1, anchor: "middle_bottom", x: 0 },
3945
+ { ...texts23.bottom1, anchor: "middle_top", x: 0 }
3788
3946
  ],
3789
3947
  ports: [
3790
- { ...refblocks18.left1, labels: ["1"] },
3791
- { ...refblocks18.right1, labels: ["2"] }
3948
+ { ...refblocks19.left1, labels: ["1"] },
3949
+ { ...refblocks19.right1, labels: ["2"] }
3792
3950
  ],
3793
- size: { width: bounds18.width, height: bounds18.height },
3794
- center: { x: bounds18.centerX + 6e-3, y: bounds18.centerY + 0.06 }
3951
+ size: { width: bounds19.width, height: bounds19.height },
3952
+ center: { x: bounds19.centerX + 6e-3, y: bounds19.centerY + 0.06 }
3795
3953
  });
3796
3954
 
3797
3955
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -4004,34 +4162,34 @@ var n_channel_d_mosfet_transistor_default = {
4004
4162
  };
4005
4163
 
4006
4164
  // symbols/n_channel_d_mosfet_transistor_horz.ts
4007
- var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = n_channel_d_mosfet_transistor_default;
4165
+ var { paths: paths20, texts: texts24, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = n_channel_d_mosfet_transistor_default;
4008
4166
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
4009
4167
  primitives: [
4010
- ...Object.values(paths19),
4011
- ...Object.values(circles13),
4012
- { ...texts23.top1, anchor: "middle_right", x: 0 },
4013
- { ...texts23.bottom1, anchor: "middle_right", x: 0 }
4168
+ ...Object.values(paths20),
4169
+ ...Object.values(circles14),
4170
+ { ...texts24.top1, anchor: "middle_right", x: 0 },
4171
+ { ...texts24.bottom1, anchor: "middle_right", x: 0 }
4014
4172
  ],
4015
4173
  ports: [
4016
- { ...refblocks19.top1, labels: ["1", "drain"] },
4174
+ { ...refblocks20.top1, labels: ["1", "drain"] },
4017
4175
  // TODO add more "standard" labels
4018
- { ...refblocks19.bottom1, labels: ["2", "source"] },
4176
+ { ...refblocks20.bottom1, labels: ["2", "source"] },
4019
4177
  // TODO add more "standard" labels
4020
- { ...refblocks19.left1, labels: ["3", "gate"] }
4178
+ { ...refblocks20.left1, labels: ["3", "gate"] }
4021
4179
  // TODO add more "standard" labels
4022
4180
  ],
4023
- size: { width: bounds19.width, height: bounds19.height },
4024
- center: { x: bounds19.centerX, y: bounds19.centerY }
4181
+ size: { width: bounds20.width, height: bounds20.height },
4182
+ center: { x: bounds20.centerX, y: bounds20.centerY }
4025
4183
  });
4026
4184
 
4027
4185
  // symbols/n_channel_d_mosfet_transistor_vert.ts
4028
4186
  var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
4029
- var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
4030
- var val10 = texts24.find((t) => t.text === "{VAL}");
4187
+ var texts25 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
4188
+ var val10 = texts25.find((t) => t.text === "{VAL}");
4031
4189
  val10.x = -0.35;
4032
4190
  val10.y = 0;
4033
4191
  val10.anchor = "middle_right";
4034
- var ref11 = texts24.find((t) => t.text === "{REF}");
4192
+ var ref11 = texts25.find((t) => t.text === "{REF}");
4035
4193
  ref11.y = 0;
4036
4194
  ref11.x = 0.35;
4037
4195
  ref11.anchor = "middle_left";
@@ -4261,34 +4419,34 @@ var n_channel_e_mosfet_transistor_default = {
4261
4419
  };
4262
4420
 
4263
4421
  // symbols/n_channel_e_mosfet_transistor_horz.ts
4264
- var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = n_channel_e_mosfet_transistor_default;
4422
+ var { paths: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = n_channel_e_mosfet_transistor_default;
4265
4423
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
4266
4424
  primitives: [
4267
- ...Object.values(paths20),
4268
- ...Object.values(circles14),
4269
- { ...texts25.top1, anchor: "middle_right", x: 0 },
4270
- { ...texts25.bottom1, anchor: "middle_right", x: 0 }
4425
+ ...Object.values(paths21),
4426
+ ...Object.values(circles15),
4427
+ { ...texts26.top1, anchor: "middle_right", x: 0 },
4428
+ { ...texts26.bottom1, anchor: "middle_right", x: 0 }
4271
4429
  ],
4272
4430
  ports: [
4273
- { ...refblocks20.top1, labels: ["1", "drain"] },
4431
+ { ...refblocks21.top1, labels: ["1", "drain"] },
4274
4432
  // TODO add more "standard" labels
4275
- { ...refblocks20.bottom1, labels: ["2", "source"] },
4433
+ { ...refblocks21.bottom1, labels: ["2", "source"] },
4276
4434
  // TODO add more "standard" labels
4277
- { ...refblocks20.left1, labels: ["3", "gate"] }
4435
+ { ...refblocks21.left1, labels: ["3", "gate"] }
4278
4436
  // TODO add more "standard" labels
4279
4437
  ],
4280
- size: { width: bounds20.width, height: bounds20.height },
4281
- center: { x: bounds20.centerX, y: bounds20.centerY }
4438
+ size: { width: bounds21.width, height: bounds21.height },
4439
+ center: { x: bounds21.centerX, y: bounds21.centerY }
4282
4440
  });
4283
4441
 
4284
4442
  // symbols/n_channel_e_mosfet_transistor_vert.ts
4285
4443
  var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
4286
- var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4287
- var val11 = texts26.find((t) => t.text === "{VAL}");
4444
+ var texts27 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4445
+ var val11 = texts27.find((t) => t.text === "{VAL}");
4288
4446
  val11.x = -0.35;
4289
4447
  val11.y = 0;
4290
4448
  val11.anchor = "middle_right";
4291
- var ref12 = texts26.find((t) => t.text === "{REF}");
4449
+ var ref12 = texts27.find((t) => t.text === "{REF}");
4292
4450
  ref12.y = 0;
4293
4451
  ref12.x = 0.35;
4294
4452
  ref12.anchor = "middle_left";
@@ -4458,34 +4616,34 @@ var njfet_transistor_default = {
4458
4616
  };
4459
4617
 
4460
4618
  // symbols/njfet_transistor_horz.ts
4461
- var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = njfet_transistor_default;
4619
+ var { paths: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = njfet_transistor_default;
4462
4620
  var njfet_transistor_horz_default = defineSymbol({
4463
4621
  primitives: [
4464
- ...Object.values(paths21),
4465
- ...Object.values(circles15),
4466
- { ...texts27.top1, anchor: "middle_right", x: 0 },
4467
- { ...texts27.bottom1, anchor: "middle_right", x: 0 }
4622
+ ...Object.values(paths22),
4623
+ ...Object.values(circles16),
4624
+ { ...texts28.top1, anchor: "middle_right", x: 0 },
4625
+ { ...texts28.bottom1, anchor: "middle_right", x: 0 }
4468
4626
  ],
4469
4627
  ports: [
4470
- { ...refblocks21.top1, labels: ["1", "drain"] },
4628
+ { ...refblocks22.top1, labels: ["1", "drain"] },
4471
4629
  // TODO add more "standard" labels
4472
- { ...refblocks21.bottom1, labels: ["2", "source"] },
4630
+ { ...refblocks22.bottom1, labels: ["2", "source"] },
4473
4631
  // TODO add more "standard" labels
4474
- { ...refblocks21.left1, labels: ["3", "gate"] }
4632
+ { ...refblocks22.left1, labels: ["3", "gate"] }
4475
4633
  // TODO add more "standard" labels
4476
4634
  ],
4477
- size: { width: bounds21.width, height: bounds21.height },
4478
- center: { x: bounds21.centerX, y: bounds21.centerY }
4635
+ size: { width: bounds22.width, height: bounds22.height },
4636
+ center: { x: bounds22.centerX, y: bounds22.centerY }
4479
4637
  });
4480
4638
 
4481
4639
  // symbols/njfet_transistor_vert.ts
4482
4640
  var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
4483
- var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4484
- var val12 = texts28.find((t) => t.text === "{VAL}");
4641
+ var texts29 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4642
+ var val12 = texts29.find((t) => t.text === "{VAL}");
4485
4643
  val12.x = -0.35;
4486
4644
  val12.y = 0;
4487
4645
  val12.anchor = "middle_right";
4488
- var ref13 = texts28.find((t) => t.text === "{REF}");
4646
+ var ref13 = texts29.find((t) => t.text === "{REF}");
4489
4647
  ref13.y = 0;
4490
4648
  ref13.x = 0.35;
4491
4649
  ref13.anchor = "middle_left";
@@ -4655,11 +4813,11 @@ var npn_bipolar_transistor_default = {
4655
4813
  };
4656
4814
 
4657
4815
  // symbols/npn_bipolar_transistor_horz.ts
4658
- var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = npn_bipolar_transistor_default;
4816
+ var { paths: paths23, texts: texts30, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = npn_bipolar_transistor_default;
4659
4817
  var npn_bipolar_transistor_horz_default = defineSymbol({
4660
4818
  primitives: [
4661
- ...Object.values(paths22),
4662
- ...Object.values(circles16),
4819
+ ...Object.values(paths23),
4820
+ ...Object.values(circles17),
4663
4821
  {
4664
4822
  type: "text",
4665
4823
  text: "{REF}",
@@ -4676,18 +4834,18 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
4676
4834
  }
4677
4835
  ],
4678
4836
  ports: [
4679
- { ...refblocks22.top1, labels: ["1", "collector"] },
4680
- { ...refblocks22.bottom1, labels: ["2", "emitter"] },
4681
- { ...refblocks22.left1, labels: ["3", "base"] }
4837
+ { ...refblocks23.top1, labels: ["1", "collector"] },
4838
+ { ...refblocks23.bottom1, labels: ["2", "emitter"] },
4839
+ { ...refblocks23.left1, labels: ["3", "base"] }
4682
4840
  ],
4683
- size: { width: bounds22.width, height: bounds22.height },
4684
- center: { x: bounds22.centerX, y: bounds22.centerY }
4841
+ size: { width: bounds23.width, height: bounds23.height },
4842
+ center: { x: bounds23.centerX, y: bounds23.centerY }
4685
4843
  });
4686
4844
 
4687
4845
  // symbols/npn_bipolar_transistor_vert.ts
4688
4846
  var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
4689
- var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4690
- var ref14 = texts30.find((t) => t.text === "{REF}");
4847
+ var texts31 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4848
+ var ref14 = texts31.find((t) => t.text === "{REF}");
4691
4849
  ref14.anchor = "middle_left";
4692
4850
  var npn_bipolar_transistor_vert_default = rotatedSymbol12;
4693
4851
 
@@ -4885,34 +5043,34 @@ var p_channel_d_mosfet_transistor_default = {
4885
5043
  };
4886
5044
 
4887
5045
  // symbols/p_channel_d_mosfet_transistor_horz.ts
4888
- var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = p_channel_d_mosfet_transistor_default;
5046
+ var { paths: paths24, texts: texts32, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = p_channel_d_mosfet_transistor_default;
4889
5047
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
4890
5048
  primitives: [
4891
- ...Object.values(paths23),
4892
- ...Object.values(circles17),
4893
- { ...texts31.top1, anchor: "middle_right", x: 0 },
4894
- { ...texts31.bottom1, anchor: "middle_right", x: 0 }
5049
+ ...Object.values(paths24),
5050
+ ...Object.values(circles18),
5051
+ { ...texts32.top1, anchor: "middle_right", x: 0 },
5052
+ { ...texts32.bottom1, anchor: "middle_right", x: 0 }
4895
5053
  ],
4896
5054
  ports: [
4897
- { ...refblocks23.top1, labels: ["1", "drain"] },
5055
+ { ...refblocks24.top1, labels: ["1", "drain"] },
4898
5056
  // TODO add more "standard" labels
4899
- { ...refblocks23.bottom1, labels: ["2", "source"] },
5057
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
4900
5058
  // TODO add more "standard" labels
4901
- { ...refblocks23.left1, labels: ["3", "gate"] }
5059
+ { ...refblocks24.left1, labels: ["3", "gate"] }
4902
5060
  // TODO add more "standard" labels
4903
5061
  ],
4904
- size: { width: bounds23.width, height: bounds23.height },
4905
- center: { x: bounds23.centerX, y: bounds23.centerY }
5062
+ size: { width: bounds24.width, height: bounds24.height },
5063
+ center: { x: bounds24.centerX, y: bounds24.centerY }
4906
5064
  });
4907
5065
 
4908
5066
  // symbols/p_channel_d_mosfet_transistor_vert.ts
4909
5067
  var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
4910
- var texts32 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
4911
- var val13 = texts32.find((t) => t.text === "{VAL}");
5068
+ var texts33 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
5069
+ var val13 = texts33.find((t) => t.text === "{VAL}");
4912
5070
  val13.x = -0.35;
4913
5071
  val13.y = 0;
4914
5072
  val13.anchor = "middle_right";
4915
- var ref15 = texts32.find((t) => t.text === "{REF}");
5073
+ var ref15 = texts33.find((t) => t.text === "{REF}");
4916
5074
  ref15.y = 0;
4917
5075
  ref15.x = 0.35;
4918
5076
  ref15.anchor = "middle_left";
@@ -5142,34 +5300,34 @@ var p_channel_e_mosfet_transistor_default = {
5142
5300
  };
5143
5301
 
5144
5302
  // symbols/p_channel_e_mosfet_transistor_horz.ts
5145
- var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = p_channel_e_mosfet_transistor_default;
5303
+ var { paths: paths25, texts: texts34, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = p_channel_e_mosfet_transistor_default;
5146
5304
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
5147
5305
  primitives: [
5148
- ...Object.values(paths24),
5149
- ...Object.values(circles18),
5150
- { ...texts33.top1, anchor: "middle_right", x: 0 },
5151
- { ...texts33.bottom1, anchor: "middle_right", x: 0 }
5306
+ ...Object.values(paths25),
5307
+ ...Object.values(circles19),
5308
+ { ...texts34.top1, anchor: "middle_right", x: 0 },
5309
+ { ...texts34.bottom1, anchor: "middle_right", x: 0 }
5152
5310
  ],
5153
5311
  ports: [
5154
- { ...refblocks24.top1, labels: ["1", "drain"] },
5312
+ { ...refblocks25.top1, labels: ["1", "drain"] },
5155
5313
  // TODO add more "standard" labels
5156
- { ...refblocks24.bottom1, labels: ["2", "source"] },
5314
+ { ...refblocks25.bottom1, labels: ["2", "source"] },
5157
5315
  // TODO add more "standard" labels
5158
- { ...refblocks24.left1, labels: ["3", "gate"] }
5316
+ { ...refblocks25.left1, labels: ["3", "gate"] }
5159
5317
  // TODO add more "standard" labels
5160
5318
  ],
5161
- size: { width: bounds24.width, height: bounds24.height },
5162
- center: { x: bounds24.centerX, y: bounds24.centerY }
5319
+ size: { width: bounds25.width, height: bounds25.height },
5320
+ center: { x: bounds25.centerX, y: bounds25.centerY }
5163
5321
  });
5164
5322
 
5165
5323
  // symbols/p_channel_e_mosfet_transistor_vert.ts
5166
5324
  var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
5167
- var texts34 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
5168
- var val14 = texts34.find((t) => t.text === "{VAL}");
5325
+ var texts35 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
5326
+ var val14 = texts35.find((t) => t.text === "{VAL}");
5169
5327
  val14.x = -0.35;
5170
5328
  val14.y = 0;
5171
5329
  val14.anchor = "middle_right";
5172
- var ref16 = texts34.find((t) => t.text === "{REF}");
5330
+ var ref16 = texts35.find((t) => t.text === "{REF}");
5173
5331
  ref16.y = 0;
5174
5332
  ref16.x = 0.35;
5175
5333
  ref16.anchor = "middle_left";
@@ -5400,11 +5558,11 @@ var photodiode_default = {
5400
5558
  };
5401
5559
 
5402
5560
  // symbols/photodiode_horz.ts
5403
- var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = photodiode_default;
5561
+ var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = photodiode_default;
5404
5562
  var photodiode_horz_default = defineSymbol({
5405
5563
  primitives: [
5406
- ...Object.values(paths25),
5407
- ...Object.values(circles19),
5564
+ ...Object.values(paths26),
5565
+ ...Object.values(circles20),
5408
5566
  {
5409
5567
  type: "text",
5410
5568
  text: "{REF}",
@@ -5421,19 +5579,19 @@ var photodiode_horz_default = defineSymbol({
5421
5579
  }
5422
5580
  ],
5423
5581
  ports: [
5424
- { ...refblocks25.left1, labels: ["1"] },
5582
+ { ...refblocks26.left1, labels: ["1"] },
5425
5583
  // TODO add more "standard" labels
5426
- { ...refblocks25.right1, labels: ["2"] }
5584
+ { ...refblocks26.right1, labels: ["2"] }
5427
5585
  // TODO add more "standard" labels
5428
5586
  ],
5429
- size: { width: bounds25.width, height: bounds25.height },
5430
- center: { x: bounds25.centerX, y: bounds25.centerY }
5587
+ size: { width: bounds26.width, height: bounds26.height },
5588
+ center: { x: bounds26.centerX, y: bounds26.centerY }
5431
5589
  });
5432
5590
 
5433
5591
  // symbols/photodiode_vert.ts
5434
5592
  var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
5435
- var texts36 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5436
- var ref17 = texts36.find((t) => t.text === "{REF}");
5593
+ var texts37 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5594
+ var ref17 = texts37.find((t) => t.text === "{REF}");
5437
5595
  ref17.y = 0;
5438
5596
  ref17.anchor = "middle_left";
5439
5597
  var photodiode_vert_default = rotatedSymbol15;
@@ -5602,34 +5760,34 @@ var pjfet_transistor_default = {
5602
5760
  };
5603
5761
 
5604
5762
  // symbols/pjfet_transistor_horz.ts
5605
- var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = pjfet_transistor_default;
5763
+ var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = pjfet_transistor_default;
5606
5764
  var pjfet_transistor_horz_default = defineSymbol({
5607
5765
  primitives: [
5608
- ...Object.values(paths26),
5609
- ...Object.values(circles20),
5610
- { ...texts37.top1, anchor: "middle_right", x: 0 },
5611
- { ...texts37.bottom1, anchor: "middle_right" }
5766
+ ...Object.values(paths27),
5767
+ ...Object.values(circles21),
5768
+ { ...texts38.top1, anchor: "middle_right", x: 0 },
5769
+ { ...texts38.bottom1, anchor: "middle_right" }
5612
5770
  ],
5613
5771
  ports: [
5614
- { ...refblocks26.top1, labels: ["1", "drain"] },
5772
+ { ...refblocks27.top1, labels: ["1", "drain"] },
5615
5773
  // TODO add more "standard" labels
5616
- { ...refblocks26.bottom1, labels: ["2", "source"] },
5774
+ { ...refblocks27.bottom1, labels: ["2", "source"] },
5617
5775
  // TODO add more "standard" labels
5618
- { ...refblocks26.left1, labels: ["3", "gate"] }
5776
+ { ...refblocks27.left1, labels: ["3", "gate"] }
5619
5777
  // TODO add more "standard" labels
5620
5778
  ],
5621
- size: { width: bounds26.width, height: bounds26.height },
5622
- center: { x: bounds26.centerX, y: bounds26.centerY }
5779
+ size: { width: bounds27.width, height: bounds27.height },
5780
+ center: { x: bounds27.centerX, y: bounds27.centerY }
5623
5781
  });
5624
5782
 
5625
5783
  // symbols/pjfet_transistor_vert.ts
5626
5784
  var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
5627
- var texts38 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
5628
- var val15 = texts38.find((t) => t.text === "{VAL}");
5785
+ var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
5786
+ var val15 = texts39.find((t) => t.text === "{VAL}");
5629
5787
  val15.x = -0.35;
5630
5788
  val15.y = 0;
5631
5789
  val15.anchor = "middle_right";
5632
- var ref18 = texts38.find((t) => t.text === "{REF}");
5790
+ var ref18 = texts39.find((t) => t.text === "{REF}");
5633
5791
  ref18.y = 0;
5634
5792
  ref18.x = 0.35;
5635
5793
  ref18.anchor = "middle_left";
@@ -5799,11 +5957,11 @@ var pnp_bipolar_transistor_default = {
5799
5957
  };
5800
5958
 
5801
5959
  // symbols/pnp_bipolar_transistor_horz.ts
5802
- var { paths: paths27, texts: texts39, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = pnp_bipolar_transistor_default;
5960
+ var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = pnp_bipolar_transistor_default;
5803
5961
  var pnp_bipolar_transistor_horz_default = defineSymbol({
5804
5962
  primitives: [
5805
- ...Object.values(paths27),
5806
- ...Object.values(circles21),
5963
+ ...Object.values(paths28),
5964
+ ...Object.values(circles22),
5807
5965
  {
5808
5966
  type: "text",
5809
5967
  text: "{REF}",
@@ -5820,18 +5978,18 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
5820
5978
  }
5821
5979
  ],
5822
5980
  ports: [
5823
- { ...refblocks27.top1, labels: ["1", "collector"] },
5824
- { ...refblocks27.bottom1, labels: ["2", "emitter"] },
5825
- { ...refblocks27.left1, labels: ["3", "base"] }
5981
+ { ...refblocks28.top1, labels: ["1", "collector"] },
5982
+ { ...refblocks28.bottom1, labels: ["2", "emitter"] },
5983
+ { ...refblocks28.left1, labels: ["3", "base"] }
5826
5984
  ],
5827
- size: { width: bounds27.width, height: bounds27.height },
5828
- center: { x: bounds27.centerX, y: bounds27.centerY }
5985
+ size: { width: bounds28.width, height: bounds28.height },
5986
+ center: { x: bounds28.centerX, y: bounds28.centerY }
5829
5987
  });
5830
5988
 
5831
5989
  // symbols/pnp_bipolar_transistor_vert.ts
5832
5990
  var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
5833
- var texts40 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
5834
- var ref19 = texts40.find((t) => t.text === "{REF}");
5991
+ var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
5992
+ var ref19 = texts41.find((t) => t.text === "{REF}");
5835
5993
  ref19.anchor = "middle_left";
5836
5994
  var pnp_bipolar_transistor_vert_default = rotatedSymbol17;
5837
5995
 
@@ -5842,12 +6000,12 @@ var potentiometer_default = {
5842
6000
  type: "path",
5843
6001
  points: [
5844
6002
  {
5845
- x: -0.5291669499999998,
5846
- y: 0.14345965000000027
6003
+ x: -0.5274831500000005,
6004
+ y: -0.03018695000000049
5847
6005
  },
5848
6006
  {
5849
- x: -0.2645836500000003,
5850
- y: 0.14345965000000027
6007
+ x: -0.30105415000000013,
6008
+ y: -0.03018695000000049
5851
6009
  }
5852
6010
  ],
5853
6011
  color: "primary",
@@ -5857,77 +6015,46 @@ var potentiometer_default = {
5857
6015
  type: "path",
5858
6016
  points: [
5859
6017
  {
5860
- x: 0.26458334999999944,
5861
- y: 0.14345965000000027
6018
+ x: 0.2932119499999999,
6019
+ y: -0.03018695000000049
5862
6020
  },
5863
6021
  {
5864
- x: 0.5291669499999998,
5865
- y: 0.14345965000000027
6022
+ x: 0.5339524499999997,
6023
+ y: -0.03018695000000049
5866
6024
  }
5867
6025
  ],
5868
6026
  color: "primary",
5869
6027
  fill: false
5870
6028
  },
5871
- path13: {
6029
+ "path11-5-5": {
5872
6030
  type: "path",
5873
6031
  points: [
5874
6032
  {
5875
- x: 12499999997306332e-22,
5876
- y: 0.01116785000000009
5877
- },
5878
- {
5879
- x: 0.26458424999999997,
5880
- y: 0.01116785000000009
6033
+ x: 0.09765764999999949,
6034
+ y: -0.12845085000000034
5881
6035
  },
5882
6036
  {
5883
- x: 0.26458424999999997,
5884
- y: 0.2757512500000001
6037
+ x: -0.0011297500000011507,
6038
+ y: 0.06303624999999946
5885
6039
  },
5886
6040
  {
5887
- x: -0.26458274999999953,
5888
- y: 0.2757512500000001
5889
- },
5890
- {
5891
- x: -0.26458274999999953,
5892
- y: 0.01116785000000009
5893
- },
5894
- {
5895
- x: 12500000010629009e-22,
5896
- y: 0.01116785000000009
6041
+ x: -0.10778645000000164,
6042
+ y: -0.12845085000000034
5897
6043
  }
5898
6044
  ],
5899
6045
  color: "primary",
5900
6046
  fill: false
5901
6047
  },
5902
- path15: {
5903
- type: "path",
5904
- points: [
5905
- {
5906
- x: 0.06517084999999967,
5907
- y: -0.10588935
5908
- },
5909
- {
5910
- x: -0.06529785000000032,
5911
- y: -0.10588935
5912
- },
5913
- {
5914
- x: -6345000000052003e-20,
5915
- y: 0.00700125000000007
5916
- }
5917
- ],
5918
- color: "primary",
5919
- fill: true
5920
- },
5921
- path17: {
6048
+ path2: {
5922
6049
  type: "path",
5923
6050
  points: [
5924
6051
  {
5925
- x: 25875000000041837e-20,
5926
- y: -0.2757512500000001
6052
+ x: -0.12123945000000003,
6053
+ y: 0.14031524999999934
5927
6054
  },
5928
6055
  {
5929
- x: 25875000000041837e-20,
5930
- y: -0.060545250000000106
6056
+ x: 0.11950104999999955,
6057
+ y: 0.14031524999999934
5931
6058
  }
5932
6059
  ],
5933
6060
  color: "primary",
@@ -5935,57 +6062,67 @@ var potentiometer_default = {
5935
6062
  }
5936
6063
  },
5937
6064
  texts: {
5938
- bottom1: {
6065
+ top1: {
5939
6066
  type: "text",
5940
- text: "{VAL}",
5941
- x: -0.007583050000000924,
5942
- y: 0.4315381500000006
6067
+ text: "{REF}",
6068
+ x: -0.17328624999999942,
6069
+ y: -0.39216264999999995
5943
6070
  },
5944
- right1: {
6071
+ bottom1: {
5945
6072
  type: "text",
5946
- text: "{REF}",
5947
- x: 0.12478014999999942,
5948
- y: -0.09260654999999884
6073
+ text: "{VAL}",
6074
+ x: -0.00661455000000033,
6075
+ y: 0.40216264999999995
5949
6076
  }
5950
6077
  },
5951
6078
  refblocks: {
5952
6079
  left1: {
5953
- x: -0.5449899500000002,
5954
- y: 0.1443124500000008
6080
+ x: -0.5413984499999998,
6081
+ y: -0.029334149999999948
5955
6082
  },
5956
6083
  right1: {
5957
- x: 0.5378069499999996,
5958
- y: 0.14331605000000103
6084
+ x: 0.54139845,
6085
+ y: -0.030330549999999734
5959
6086
  }
5960
6087
  },
5961
- bounds: {
5962
- minX: -0.5291669499999998,
5963
- maxX: 0.5291669499999998,
5964
- minY: -0.2757512500000001,
5965
- maxY: 0.2757512500000001,
5966
- width: 1.0583338999999996,
5967
- height: 0.5515025000000002,
5968
- centerX: 0,
5969
- centerY: 0
6088
+ bounds: {
6089
+ minX: -0.5695568909999997,
6090
+ maxX: 0.569556891,
6091
+ minY: -0.4921626499999999,
6092
+ maxY: 0.40216264999999995,
6093
+ width: 1.1391137819999997,
6094
+ height: 0.5443252999999999,
6095
+ centerX: 11102230246251565e-32,
6096
+ centerY: -0.044999999999999984
6097
+ },
6098
+ circles: {
6099
+ path1: {
6100
+ type: "circle",
6101
+ x: -0.0037626500000000895,
6102
+ y: -0.03731525000000002,
6103
+ radius: 0.28854213,
6104
+ color: "primary",
6105
+ fill: false
6106
+ }
5970
6107
  }
5971
6108
  };
5972
6109
 
5973
6110
  // symbols/potentiometer_horz.ts
5974
- var { paths: paths28, texts: texts41, bounds: bounds28, refblocks: refblocks28 } = potentiometer_default;
6111
+ var { paths: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = potentiometer_default;
5975
6112
  var potentiometer_horz_default = defineSymbol({
5976
6113
  primitives: [
5977
- ...Object.values(paths28),
5978
- { ...texts41.bottom1, y: 0.35, anchor: "middle_top" },
5979
- { ...texts41.right1, anchor: "middle_left" }
6114
+ ...Object.values(paths29),
6115
+ { ...texts42.bottom1, y: 0.35, anchor: "middle_top" },
6116
+ { ...texts42.top1, anchor: "middle_left" }
5980
6117
  ],
5981
6118
  ports: [
5982
- { ...refblocks28.left1, labels: ["1"] },
6119
+ { ...refblocks29.left1, labels: ["1"] },
5983
6120
  // TODO add more "standard" labels
5984
- { ...refblocks28.right1, labels: ["2"] }
6121
+ { ...refblocks29.right1, labels: ["2"] }
5985
6122
  // TODO add more "standard" labels
5986
6123
  ],
5987
- size: { width: bounds28.width + 0.05, height: bounds28.height },
5988
- center: { x: bounds28.centerX, y: bounds28.centerY }
6124
+ size: { width: bounds29.width + 0.05, height: bounds29.height },
6125
+ center: { x: bounds29.centerX, y: bounds29.centerY }
5989
6126
  });
5990
6127
 
5991
6128
  // symbols/potentiometer_vert.ts
@@ -5999,11 +6136,11 @@ var potentiometer2_default = {
5999
6136
  type: "path",
6000
6137
  points: [
6001
6138
  {
6002
- x: -0.5291669499999998,
6139
+ x: -0.53224045,
6003
6140
  y: 8545000000008685e-19
6004
6141
  },
6005
6142
  {
6006
- x: -0.26458365000000006,
6143
+ x: -0.26765715000000023,
6007
6144
  y: 8545000000008685e-19
6008
6145
  }
6009
6146
  ],
@@ -6014,11 +6151,11 @@ var potentiometer2_default = {
6014
6151
  type: "path",
6015
6152
  points: [
6016
6153
  {
6017
- x: 0.26458334999999966,
6154
+ x: 0.2615098499999995,
6018
6155
  y: 8545000000008685e-19
6019
6156
  },
6020
6157
  {
6021
- x: 0.5291669499999996,
6158
+ x: 0.5260934499999994,
6022
6159
  y: 8545000000008685e-19
6023
6160
  }
6024
6161
  ],
@@ -6029,27 +6166,27 @@ var potentiometer2_default = {
6029
6166
  type: "path",
6030
6167
  points: [
6031
6168
  {
6032
- x: 12499999995085886e-22,
6169
+ x: -0.0030722500000006647,
6033
6170
  y: -0.1314371999999988
6034
6171
  },
6035
6172
  {
6036
- x: 0.26458424999999997,
6173
+ x: 0.2615107499999998,
6037
6174
  y: -0.1314371999999988
6038
6175
  },
6039
6176
  {
6040
- x: 0.26458424999999997,
6177
+ x: 0.2615107499999998,
6041
6178
  y: 0.13314619999999877
6042
6179
  },
6043
6180
  {
6044
- x: -0.26458274999999976,
6181
+ x: -0.26765624999999993,
6045
6182
  y: 0.13314619999999877
6046
6183
  },
6047
6184
  {
6048
- x: -0.26458274999999976,
6185
+ x: -0.26765624999999993,
6049
6186
  y: -0.1314371999999988
6050
6187
  },
6051
6188
  {
6052
- x: 12500000012849455e-22,
6189
+ x: -0.0030722499999988884,
6053
6190
  y: -0.1314371999999988
6054
6191
  }
6055
6192
  ],
@@ -6060,15 +6197,15 @@ var potentiometer2_default = {
6060
6197
  type: "path",
6061
6198
  points: [
6062
6199
  {
6063
- x: 0.28137284999999945,
6200
+ x: 0.2782993499999993,
6064
6201
  y: 0.2822274
6065
6202
  },
6066
6203
  {
6067
- x: 0.17906194999999903,
6204
+ x: 0.17598844999999885,
6068
6205
  y: 0.25486950000000164
6069
6206
  },
6070
6207
  {
6071
- x: 0.2540149499999984,
6208
+ x: 0.25094144999999823,
6072
6209
  y: 0.1799165000000027
6073
6210
  }
6074
6211
  ],
@@ -6079,15 +6216,15 @@ var potentiometer2_default = {
6079
6216
  type: "path",
6080
6217
  points: [
6081
6218
  {
6082
- x: 0.29134274999999965,
6219
+ x: 0.2882692499999995,
6083
6220
  y: 0.2921307000000013
6084
6221
  },
6085
6222
  {
6086
- x: 0.2577490499999997,
6223
+ x: 0.25467554999999953,
6087
6224
  y: 0.16634940000000142
6088
6225
  },
6089
6226
  {
6090
- x: 0.16536614999999966,
6227
+ x: 0.16229264999999948,
6091
6228
  y: 0.25853690000000284
6092
6229
  }
6093
6230
  ],
@@ -6098,11 +6235,11 @@ var potentiometer2_default = {
6098
6235
  type: "path",
6099
6236
  points: [
6100
6237
  {
6101
- x: -0.29551765000000074,
6238
+ x: -0.2985911500000009,
6102
6239
  y: -0.2921307000000013
6103
6240
  },
6104
6241
  {
6105
- x: 0.23295514999999956,
6242
+ x: 0.22988164999999938,
6106
6243
  y: 0.2328032000000011
6107
6244
  }
6108
6245
  ],
@@ -6114,54 +6251,55 @@ var potentiometer2_default = {
6114
6251
  top1: {
6115
6252
  type: "text",
6116
6253
  text: "{REF}",
6117
- x: -0.02811516999999933,
6118
- y: -0.2509376800000009
6254
+ x: 0.055041669999999154,
6255
+ y: -0.2009376800000009
6119
6256
  },
6120
6257
  bottom1: {
6121
6258
  type: "text",
6122
6259
  text: "{VAL}",
6123
- x: 0,
6124
- y: 0.25857531999999983
6260
+ x: -0.10019643000000089,
6261
+ y: 0.27857531999999985
6125
6262
  }
6126
6263
  },
6127
6264
  refblocks: {
6128
6265
  left1: {
6129
- x: -0.5316179500000004,
6266
+ x: -0.5346914500000006,
6130
6267
  y: 0.0013439000000019519
6131
6268
  },
6132
6269
  right1: {
6133
- x: 0.5377649500000006,
6270
+ x: 0.5346914500000004,
6134
6271
  y: 0.001956599999999753
6135
6272
  }
6136
6273
  },
6137
6274
  bounds: {
6138
- minX: -0.5291669499999998,
6139
- maxX: 0.5291669499999996,
6140
- minY: -0.2921307000000013,
6275
+ minX: -0.5628498910000006,
6276
+ maxX: 0.5628498910000004,
6277
+ minY: -0.3009376800000009,
6141
6278
  maxY: 0.2921307000000013,
6142
- width: 1.0583338999999994,
6143
- height: 0.5842614000000026,
6279
+ width: 1.125699782000001,
6280
+ height: 0.2430683800000022,
6144
6281
  centerX: -11102230246251565e-32,
6145
- centerY: 0
6146
- }
6282
+ centerY: -0.004403489999999788
6283
+ },
6284
+ circles: {}
6147
6285
  };
6148
6286
 
6149
6287
  // symbols/potentiometer2_horz.ts
6150
- var { paths: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = potentiometer2_default;
6288
+ var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30 } = potentiometer2_default;
6151
6289
  var potentiometer2_horz_default = defineSymbol({
6152
6290
  primitives: [
6153
- ...Object.values(paths29),
6154
- { ...texts42.bottom1, anchor: "middle_right" },
6155
- { ...texts42.top1, anchor: "middle_left" }
6291
+ ...Object.values(paths30),
6292
+ { ...texts43.bottom1, anchor: "middle_right" },
6293
+ { ...texts43.top1, anchor: "middle_left" }
6156
6294
  ],
6157
6295
  ports: [
6158
- { ...refblocks29.left1, labels: ["1"] },
6296
+ { ...refblocks30.left1, labels: ["1"] },
6159
6297
  // TODO add more "standard" labels
6160
- { ...refblocks29.right1, labels: ["2"] }
6298
+ { ...refblocks30.right1, labels: ["2"] }
6161
6299
  // TODO add more "standard" labels
6162
6300
  ],
6163
- size: { width: bounds29.width, height: bounds29.height },
6164
- center: { x: bounds29.centerX, y: bounds29.centerY }
6301
+ size: { width: bounds30.width, height: bounds30.height },
6302
+ center: { x: bounds30.centerX, y: bounds30.centerY }
6165
6303
  });
6166
6304
 
6167
6305
  // symbols/potentiometer2_vert.ts
@@ -6254,11 +6392,11 @@ var power_factor_meter_default = {
6254
6392
  };
6255
6393
 
6256
6394
  // symbols/power_factor_meter_horz.ts
6257
- var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles22 } = power_factor_meter_default;
6395
+ var { paths: paths31, texts: texts44, bounds: bounds31, refblocks: refblocks31, circles: circles23 } = power_factor_meter_default;
6258
6396
  var power_factor_meter_horz_default = defineSymbol({
6259
6397
  primitives: [
6260
- ...Object.values(paths30),
6261
- ...Object.values(circles22),
6398
+ ...Object.values(paths31),
6399
+ ...Object.values(circles23),
6262
6400
  // { ...texts.top1, anchor: "middle_left" },
6263
6401
  {
6264
6402
  type: "text",
@@ -6285,21 +6423,21 @@ var power_factor_meter_horz_default = defineSymbol({
6285
6423
  }
6286
6424
  ],
6287
6425
  ports: [
6288
- { ...refblocks30.left1, labels: ["1"] },
6426
+ { ...refblocks31.left1, labels: ["1"] },
6289
6427
  // TODO add more "standard" labels
6290
- { ...refblocks30.right1, labels: ["2"] }
6428
+ { ...refblocks31.right1, labels: ["2"] }
6291
6429
  // TODO add more "standard" labels
6292
6430
  ],
6293
- size: { width: bounds30.width, height: bounds30.height },
6294
- center: { x: bounds30.centerX, y: bounds30.centerY }
6431
+ size: { width: bounds31.width, height: bounds31.height },
6432
+ center: { x: bounds31.centerX, y: bounds31.centerY }
6295
6433
  });
6296
6434
 
6297
6435
  // symbols/power_factor_meter_vert.ts
6298
6436
  var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
6299
- var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
6300
- var ref20 = texts44.find((t) => t.text === "{REF}");
6301
- var val16 = texts44.find((t) => t.text === "{VAL}");
6302
- var text_cos = texts44.find((t) => t.text === "COS \u03C6");
6437
+ var texts45 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
6438
+ var ref20 = texts45.find((t) => t.text === "{REF}");
6439
+ var val16 = texts45.find((t) => t.text === "{VAL}");
6440
+ var text_cos = texts45.find((t) => t.text === "COS \u03C6");
6303
6441
  ref20.x = 0.35;
6304
6442
  ref20.y = 0;
6305
6443
  val16.x = -0.6;
@@ -6315,12 +6453,12 @@ var push_button_normally_closed_momentary_default = {
6315
6453
  type: "path",
6316
6454
  points: [
6317
6455
  {
6318
- x: 0.00978914999999958,
6319
- y: -0.06036500000000089
6456
+ x: 0.010157449999999457,
6457
+ y: -0.07203999999999766
6320
6458
  },
6321
6459
  {
6322
- x: 0.00978914999999958,
6323
- y: 0.05484799999999801
6460
+ x: 0.010157449999999457,
6461
+ y: 0.04317300000000124
6324
6462
  }
6325
6463
  ],
6326
6464
  color: "primary",
@@ -6330,12 +6468,12 @@ var push_button_normally_closed_momentary_default = {
6330
6468
  type: "path",
6331
6469
  points: [
6332
6470
  {
6333
- x: -0.4877753500000006,
6334
- y: 0.036569000000000074
6471
+ x: -0.48740705000000073,
6472
+ y: 0.024894000000003302
6335
6473
  },
6336
6474
  {
6337
- x: -0.17346905000000135,
6338
- y: 0.036569000000000074
6475
+ x: -0.17310075000000147,
6476
+ y: 0.024894000000003302
6339
6477
  }
6340
6478
  ],
6341
6479
  color: "primary",
@@ -6345,12 +6483,12 @@ var push_button_normally_closed_momentary_default = {
6345
6483
  type: "path",
6346
6484
  points: [
6347
6485
  {
6348
- x: -0.1755235500000003,
6349
- y: 0.060364999999999114
6486
+ x: -0.17515525000000043,
6487
+ y: 0.04869000000000234
6350
6488
  },
6351
6489
  {
6352
- x: 0.19505664999999972,
6353
- y: 0.060364999999999114
6490
+ x: 0.1954249499999996,
6491
+ y: 0.04869000000000234
6354
6492
  }
6355
6493
  ],
6356
6494
  color: "primary",
@@ -6360,12 +6498,12 @@ var push_button_normally_closed_momentary_default = {
6360
6498
  type: "path",
6361
6499
  points: [
6362
6500
  {
6363
- x: 0.19513044999999973,
6364
- y: 0.0361799999999981
6501
+ x: 0.1954987499999996,
6502
+ y: 0.02450500000000133
6365
6503
  },
6366
6504
  {
6367
- x: 0.4877753499999997,
6368
- y: 0.0361799999999981
6505
+ x: 0.4881436499999996,
6506
+ y: 0.02450500000000133
6369
6507
  }
6370
6508
  ],
6371
6509
  color: "primary",
@@ -6376,54 +6514,55 @@ var push_button_normally_closed_momentary_default = {
6376
6514
  top1: {
6377
6515
  type: "text",
6378
6516
  text: "{REF}",
6379
- x: 0,
6380
- y: -0.24084600000000123
6517
+ x: 0.009807749999999338,
6518
+ y: -0.252520999999998
6381
6519
  },
6382
6520
  bottom1: {
6383
6521
  type: "text",
6384
6522
  text: "{VAL}",
6385
- x: 0,
6386
- y: 0.2741959999999981
6523
+ x: -0.157175650000001,
6524
+ y: 0.26252100000000134
6387
6525
  }
6388
6526
  },
6389
6527
  refblocks: {
6390
6528
  left1: {
6391
- x: -0.4721668500000007,
6392
- y: 0.03654200000000074
6529
+ x: -0.4717985500000008,
6530
+ y: 0.02486700000000397
6393
6531
  },
6394
6532
  right1: {
6395
- x: 0.47143025000000005,
6396
- y: 0.036566999999999794
6533
+ x: 0.4717985499999999,
6534
+ y: 0.024892000000003023
6397
6535
  }
6398
6536
  },
6399
6537
  bounds: {
6400
- minX: -0.4877753500000006,
6401
- maxX: 0.4877753499999997,
6402
- minY: -0.06036500000000089,
6403
- maxY: 0.060364999999999114,
6404
- width: 0.9755507000000003,
6405
- height: 0.12073,
6538
+ minX: -0.4999569910000008,
6539
+ maxX: 0.4999569909999999,
6540
+ minY: -0.352520999999998,
6541
+ maxY: 0.26252100000000134,
6542
+ width: 0.9999139820000007,
6543
+ height: 0.26504199999999933,
6406
6544
  centerX: -4440892098500626e-31,
6407
- centerY: -8881784197001252e-31
6408
- }
6545
+ centerY: -0.04499999999999832
6546
+ },
6547
+ circles: {}
6409
6548
  };
6410
6549
 
6411
6550
  // symbols/push_button_normally_closed_momentary_horz.ts
6412
- var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31 } = push_button_normally_closed_momentary_default;
6551
+ var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = push_button_normally_closed_momentary_default;
6413
6552
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
6414
6553
  primitives: [
6415
- ...Object.values(paths31),
6416
- { ...texts45.top1, anchor: "middle_bottom" },
6417
- { ...texts45.bottom1, anchor: "middle_top" }
6554
+ ...Object.values(paths32),
6555
+ { ...texts46.top1, anchor: "middle_bottom" },
6556
+ { ...texts46.bottom1, anchor: "middle_top" }
6418
6557
  ],
6419
6558
  ports: [
6420
- { ...refblocks31.left1, labels: ["1"] },
6559
+ { ...refblocks32.left1, labels: ["1"] },
6421
6560
  // TODO add more "standard" labels
6422
- { ...refblocks31.right1, labels: ["2"] }
6561
+ { ...refblocks32.right1, labels: ["2"] }
6423
6562
  // TODO add more "standard" labels
6424
6563
  ],
6425
- size: { width: bounds31.width, height: bounds31.height },
6426
- center: { x: bounds31.centerX, y: bounds31.centerY }
6564
+ size: { width: bounds32.width, height: bounds32.height },
6565
+ center: { x: bounds32.centerX, y: bounds32.centerY }
6427
6566
  });
6428
6567
 
6429
6568
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -6449,12 +6588,12 @@ var push_button_normally_open_momentary_default = {
6449
6588
  type: "path",
6450
6589
  points: [
6451
6590
  {
6452
- x: 0.005593950000001513,
6453
- y: -0.1021504999999987
6591
+ x: 0.005962250000000502,
6592
+ y: -0.14781649999999757
6454
6593
  },
6455
6594
  {
6456
- x: 0.005593950000001513,
6457
- y: 0.014242499999999936
6595
+ x: 0.005962250000000502,
6596
+ y: -0.03142349999999894
6458
6597
  }
6459
6598
  ],
6460
6599
  color: "primary",
@@ -6464,12 +6603,12 @@ var push_button_normally_open_momentary_default = {
6464
6603
  type: "path",
6465
6604
  points: [
6466
6605
  {
6467
- x: -0.4877753499999997,
6468
- y: 0.10215050000000225
6606
+ x: -0.48740705000000073,
6607
+ y: 0.05648450000000338
6469
6608
  },
6470
6609
  {
6471
- x: -0.17346904999999957,
6472
- y: 0.10215050000000225
6610
+ x: -0.17310075000000058,
6611
+ y: 0.05648450000000338
6473
6612
  }
6474
6613
  ],
6475
6614
  color: "primary",
@@ -6479,12 +6618,12 @@ var push_button_normally_open_momentary_default = {
6479
6618
  type: "path",
6480
6619
  points: [
6481
6620
  {
6482
- x: -0.16045524999999916,
6483
- y: 0.019816500000001014
6621
+ x: -0.16008695000000017,
6622
+ y: -0.02584949999999786
6484
6623
  },
6485
6624
  {
6486
- x: 0.17160265000000052,
6487
- y: 0.019816500000001014
6625
+ x: 0.1719709499999995,
6626
+ y: -0.02584949999999786
6488
6627
  }
6489
6628
  ],
6490
6629
  color: "primary",
@@ -6494,12 +6633,12 @@ var push_button_normally_open_momentary_default = {
6494
6633
  type: "path",
6495
6634
  points: [
6496
6635
  {
6497
- x: 0.19513045000000062,
6498
- y: 0.10176150000000028
6636
+ x: 0.1954987499999996,
6637
+ y: 0.05609550000000141
6499
6638
  },
6500
6639
  {
6501
- x: 0.4877753500000006,
6502
- y: 0.10176150000000028
6640
+ x: 0.4881436499999996,
6641
+ y: 0.05609550000000141
6503
6642
  }
6504
6643
  ],
6505
6644
  color: "primary",
@@ -6510,54 +6649,55 @@ var push_button_normally_open_momentary_default = {
6510
6649
  top1: {
6511
6650
  type: "text",
6512
6651
  text: "{REF}",
6513
- x: 0,
6514
- y: -0.17395249999999862
6652
+ x: 0.006701050000000208,
6653
+ y: -0.2196184999999975
6515
6654
  },
6516
6655
  bottom1: {
6517
6656
  type: "text",
6518
6657
  text: "{VAL}",
6519
- x: 0,
6520
- y: 0.2752844999999997
6658
+ x: -0.16130964999999975,
6659
+ y: 0.22961850000000084
6521
6660
  }
6522
6661
  },
6523
6662
  refblocks: {
6524
6663
  left1: {
6525
- x: -0.4721668499999989,
6526
- y: 0.10212350000000114
6664
+ x: -0.4717985499999999,
6665
+ y: 0.05645750000000227
6527
6666
  },
6528
6667
  right1: {
6529
- x: 0.47143025000000094,
6530
- y: 0.1021485000000002
6668
+ x: 0.4717985499999999,
6669
+ y: 0.05648250000000132
6531
6670
  }
6532
6671
  },
6533
6672
  bounds: {
6534
- minX: -0.4877753499999997,
6535
- maxX: 0.4877753500000006,
6536
- minY: -0.1021504999999987,
6537
- maxY: 0.10215050000000225,
6538
- width: 0.9755507000000003,
6539
- height: 0.20430100000000095,
6540
- centerX: 4440892098500626e-31,
6541
- centerY: 17763568394002505e-31
6542
- }
6673
+ minX: -0.4999569909999999,
6674
+ maxX: 0.4999569909999999,
6675
+ minY: -0.3196184999999975,
6676
+ maxY: 0.22961850000000084,
6677
+ width: 0.9999139819999998,
6678
+ height: 0.19923699999999833,
6679
+ centerX: 0,
6680
+ centerY: -0.04499999999999832
6681
+ },
6682
+ circles: {}
6543
6683
  };
6544
6684
 
6545
6685
  // symbols/push_button_normally_open_momentary_horz.ts
6546
- var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = push_button_normally_open_momentary_default;
6686
+ var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33 } = push_button_normally_open_momentary_default;
6547
6687
  var push_button_normally_open_momentary_horz_default = defineSymbol({
6548
6688
  primitives: [
6549
- ...Object.values(paths32),
6550
- { ...texts46.top1, anchor: "middle_bottom" },
6551
- { ...texts46.bottom1, anchor: "middle_top" }
6689
+ ...Object.values(paths33),
6690
+ { ...texts47.top1, anchor: "middle_bottom" },
6691
+ { ...texts47.bottom1, anchor: "middle_top" }
6552
6692
  ],
6553
6693
  ports: [
6554
- { ...refblocks32.left1, labels: ["1"] },
6694
+ { ...refblocks33.left1, labels: ["1"] },
6555
6695
  // TODO add more "standard" labels
6556
- { ...refblocks32.right1, labels: ["2"] }
6696
+ { ...refblocks33.right1, labels: ["2"] }
6557
6697
  // TODO add more "standard" labels
6558
6698
  ],
6559
- size: { width: bounds32.width, height: bounds32.height },
6560
- center: { x: bounds32.centerX, y: bounds32.centerY }
6699
+ size: { width: bounds33.width, height: bounds33.height },
6700
+ center: { x: bounds33.centerX, y: bounds33.centerY }
6561
6701
  });
6562
6702
 
6563
6703
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -6922,11 +7062,11 @@ var resonator_default = {
6922
7062
  };
6923
7063
 
6924
7064
  // symbols/resonator_horz.ts
6925
- var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = resonator_default;
7065
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = resonator_default;
6926
7066
  var resonator_horz_default = defineSymbol({
6927
7067
  primitives: [
6928
- ...Object.values(paths33),
6929
- ...Object.values(circles23),
7068
+ ...Object.values(paths34),
7069
+ ...Object.values(circles24),
6930
7070
  // { ...texts.top1, anchor: "middle_left" },
6931
7071
  // { ...texts.bottom1, anchor: "middle_left" },
6932
7072
  {
@@ -6945,15 +7085,15 @@ var resonator_horz_default = defineSymbol({
6945
7085
  }
6946
7086
  ],
6947
7087
  ports: [
6948
- { ...refblocks33.left1, labels: ["1"] },
7088
+ { ...refblocks34.left1, labels: ["1"] },
6949
7089
  // TODO add more "standard" labels
6950
- { ...refblocks33.right1, labels: ["2"] },
7090
+ { ...refblocks34.right1, labels: ["2"] },
6951
7091
  // TODO add more "standard" labels
6952
- { ...refblocks33.right2, labels: ["3"] }
7092
+ { ...refblocks34.right2, labels: ["3"] }
6953
7093
  // TODO add more "standard" labels
6954
7094
  ],
6955
- size: { width: bounds33.width, height: bounds33.height },
6956
- center: { x: bounds33.centerX, y: bounds33.centerY }
7095
+ size: { width: bounds34.width, height: bounds34.height },
7096
+ center: { x: bounds34.centerX, y: bounds34.centerY }
6957
7097
  });
6958
7098
 
6959
7099
  // symbols/resonator_vert.ts
@@ -7151,22 +7291,22 @@ var schottky_diode_default = {
7151
7291
  };
7152
7292
 
7153
7293
  // symbols/schottky_diode_horz.ts
7154
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = schottky_diode_default;
7294
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = schottky_diode_default;
7155
7295
  var schottky_diode_horz_default = defineSymbol({
7156
7296
  primitives: [
7157
- ...Object.values(paths34),
7158
- ...Object.values(circles24),
7159
- { ...texts48.top1, anchor: "middle_bottom" },
7160
- { ...texts48.bottom1, anchor: "middle_top" }
7297
+ ...Object.values(paths35),
7298
+ ...Object.values(circles25),
7299
+ { ...texts49.top1, anchor: "middle_bottom" },
7300
+ { ...texts49.bottom1, anchor: "middle_top" }
7161
7301
  ],
7162
7302
  ports: [
7163
- { ...refblocks34.left1, labels: ["1"] },
7303
+ { ...refblocks35.left1, labels: ["1"] },
7164
7304
  // TODO add more "standard" labels
7165
- { ...refblocks34.right1, labels: ["2"] }
7305
+ { ...refblocks35.right1, labels: ["2"] }
7166
7306
  // TODO add more "standard" labels
7167
7307
  ],
7168
- size: { width: bounds34.width, height: bounds34.height },
7169
- center: { x: bounds34.centerX, y: bounds34.centerY }
7308
+ size: { width: bounds35.width, height: bounds35.height },
7309
+ center: { x: bounds35.centerX, y: bounds35.centerY }
7170
7310
  });
7171
7311
 
7172
7312
  // symbols/schottky_diode_vert.ts
@@ -7325,32 +7465,32 @@ var silicon_controlled_rectifier_default = {
7325
7465
  };
7326
7466
 
7327
7467
  // symbols/silicon_controlled_rectifier_horz.ts
7328
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = silicon_controlled_rectifier_default;
7468
+ var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = silicon_controlled_rectifier_default;
7329
7469
  var silicon_controlled_rectifier_horz_default = defineSymbol({
7330
7470
  primitives: [
7331
- ...Object.values(paths35),
7332
- ...Object.values(circles25),
7333
- { ...texts49.top1, anchor: "middle_left" },
7334
- { ...texts49.bottom1, anchor: "middle_top" }
7471
+ ...Object.values(paths36),
7472
+ ...Object.values(circles26),
7473
+ { ...texts50.top1, anchor: "middle_left" },
7474
+ { ...texts50.bottom1, anchor: "middle_top" }
7335
7475
  ],
7336
7476
  ports: [
7337
- { ...refblocks35.left1, labels: ["1"] },
7477
+ { ...refblocks36.left1, labels: ["1"] },
7338
7478
  // TODO add more "standard" labels
7339
- { ...refblocks35.right1, labels: ["2"] },
7479
+ { ...refblocks36.right1, labels: ["2"] },
7340
7480
  // TODO add more "standard" labels
7341
- { ...refblocks35.bottom1, labels: ["3"] }
7481
+ { ...refblocks36.bottom1, labels: ["3"] }
7342
7482
  // TODO add more "standard" labels
7343
7483
  ],
7344
- size: { width: bounds35.width, height: bounds35.height },
7345
- center: { x: bounds35.centerX, y: bounds35.centerY }
7484
+ size: { width: bounds36.width, height: bounds36.height },
7485
+ center: { x: bounds36.centerX, y: bounds36.centerY }
7346
7486
  });
7347
7487
 
7348
7488
  // symbols/silicon_controlled_rectifier_vert.ts
7349
7489
  var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
7350
- var texts50 = rotatedSymbol19.primitives.filter(
7490
+ var texts51 = rotatedSymbol19.primitives.filter(
7351
7491
  (primitive) => primitive.type === "text"
7352
7492
  );
7353
- var ref24 = texts50.find((text) => text.text === "{REF}");
7493
+ var ref24 = texts51.find((text) => text.text === "{REF}");
7354
7494
  ref24.y = 0;
7355
7495
  ref24.anchor = "middle_left";
7356
7496
  var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
@@ -7429,8 +7569,8 @@ var SPDT_switch_default = {
7429
7569
  bottom1: {
7430
7570
  type: "text",
7431
7571
  text: "{VAL}",
7432
- x: -0.17853294999999947,
7433
- y: 0.28216264999999996
7572
+ x: -0.011861250000000378,
7573
+ y: 0.40216264999999995
7434
7574
  }
7435
7575
  },
7436
7576
  refblocks: {
@@ -7464,8 +7604,8 @@ var SPDT_switch_default = {
7464
7604
  maxX: 0.3964321909999995,
7465
7605
  minY: -0.4921626499999999,
7466
7606
  maxY: 0.40216264999999995,
7467
- width: 1,
7468
- height: 1,
7607
+ width: 0.792864381999999,
7608
+ height: 0.5443252999999999,
7469
7609
  centerX: 0,
7470
7610
  centerY: -0.044999999999999984
7471
7611
  },
@@ -7473,34 +7613,34 @@ var SPDT_switch_default = {
7473
7613
  };
7474
7614
 
7475
7615
  // symbols/SPDT_switch_horz.ts
7476
- var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = SPDT_switch_default;
7616
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = SPDT_switch_default;
7477
7617
  var SPDT_switch_horz_default = defineSymbol({
7478
7618
  primitives: [
7479
- ...Object.values(paths36),
7480
- ...Object.values(circles26),
7481
- { ...texts51.top1, anchor: "middle_bottom", x: -0.01 },
7482
- { ...texts51.bottom1, anchor: "middle_top", x: -0.01 }
7619
+ ...Object.values(paths37),
7620
+ ...Object.values(circles27),
7621
+ { ...texts52.top1, anchor: "middle_bottom", x: -0.01 },
7622
+ { ...texts52.bottom1, anchor: "middle_top", x: -0.01 }
7483
7623
  ],
7484
7624
  ports: [
7485
- { ...refblocks36.left1, labels: ["1"] },
7625
+ { ...refblocks37.left1, labels: ["1"] },
7486
7626
  // TODO add more "standard" labels
7487
- { ...refblocks36.right1, labels: ["3"] },
7627
+ { ...refblocks37.right1, labels: ["3"] },
7488
7628
  // TODO add more "standard" labels
7489
- { ...refblocks36.right2, labels: ["2"] }
7629
+ { ...refblocks37.right2, labels: ["2"] }
7490
7630
  // TODO add more "standard" labels
7491
7631
  ],
7492
- size: { width: bounds36.width, height: bounds36.height },
7493
- center: { x: bounds36.centerX, y: bounds36.centerY }
7632
+ size: { width: bounds37.width, height: bounds37.height },
7633
+ center: { x: bounds37.centerX, y: bounds37.centerY }
7494
7634
  });
7495
7635
 
7496
7636
  // symbols/SPDT_switch_vert.ts
7497
7637
  var rotatedSymbol20 = rotateSymbol(SPDT_switch_horz_default);
7498
- var texts52 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
7499
- var val20 = texts52.find((t) => t.text === "{VAL}");
7638
+ var texts53 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
7639
+ var val20 = texts53.find((t) => t.text === "{VAL}");
7500
7640
  val20.anchor = "middle_right";
7501
7641
  val20.x = -0.3;
7502
7642
  val20.y = 0;
7503
- var ref25 = texts52.find((t) => t.text === "{REF}");
7643
+ var ref25 = texts53.find((t) => t.text === "{REF}");
7504
7644
  ref25.anchor = "middle_left";
7505
7645
  ref25.x = 0.3;
7506
7646
  ref25.y = 0;
@@ -7601,32 +7741,32 @@ var SPST_switch_default = {
7601
7741
  };
7602
7742
 
7603
7743
  // symbols/SPST_switch_horz.ts
7604
- var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = SPST_switch_default;
7744
+ var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = SPST_switch_default;
7605
7745
  var SPST_switch_horz_default = defineSymbol({
7606
7746
  primitives: [
7607
- ...Object.values(paths37),
7608
- ...Object.values(circles27),
7609
- { ...texts53.top1, anchor: "middle_bottom", x: 0 },
7610
- { ...texts53.bottom1, anchor: "middle_top", x: 0 }
7747
+ ...Object.values(paths38),
7748
+ ...Object.values(circles28),
7749
+ { ...texts54.top1, anchor: "middle_bottom", x: 0 },
7750
+ { ...texts54.bottom1, anchor: "middle_top", x: 0 }
7611
7751
  ],
7612
7752
  ports: [
7613
- { ...refblocks37.left1, labels: ["1"] },
7753
+ { ...refblocks38.left1, labels: ["1"] },
7614
7754
  // TODO add more "standard" labels
7615
- { ...refblocks37.right1, labels: ["2"] }
7755
+ { ...refblocks38.right1, labels: ["2"] }
7616
7756
  // TODO add more "standard" labels
7617
7757
  ],
7618
- size: { width: bounds37.width, height: bounds37.height },
7619
- center: { x: bounds37.centerX, y: bounds37.centerY }
7758
+ size: { width: bounds38.width, height: bounds38.height },
7759
+ center: { x: bounds38.centerX, y: bounds38.centerY }
7620
7760
  });
7621
7761
 
7622
7762
  // symbols/SPST_switch_vert.ts
7623
7763
  var rotatedSymbol21 = rotateSymbol(SPST_switch_horz_default);
7624
- var texts54 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
7625
- var val21 = texts54.find((t) => t.text === "{VAL}");
7764
+ var texts55 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
7765
+ var val21 = texts55.find((t) => t.text === "{VAL}");
7626
7766
  val21.anchor = "middle_right";
7627
7767
  val21.x = -0.3;
7628
7768
  val21.y = 0;
7629
- var ref26 = texts54.find((t) => t.text === "{REF}");
7769
+ var ref26 = texts55.find((t) => t.text === "{REF}");
7630
7770
  ref26.anchor = "middle_left";
7631
7771
  ref26.x = 0.3;
7632
7772
  ref26.y = 0;
@@ -7794,11 +7934,11 @@ var step_recovery_diode_default = {
7794
7934
  };
7795
7935
 
7796
7936
  // symbols/step_recovery_diode_horz.ts
7797
- var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = step_recovery_diode_default;
7937
+ var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = step_recovery_diode_default;
7798
7938
  var step_recovery_diode_horz_default = defineSymbol({
7799
7939
  primitives: [
7800
- ...Object.values(paths38),
7801
- ...Object.values(circles28),
7940
+ ...Object.values(paths39),
7941
+ ...Object.values(circles29),
7802
7942
  // { ...texts.top1, anchor: "middle_left" },
7803
7943
  // { ...texts.bottom1, anchor: "middle_left" },
7804
7944
  {
@@ -7817,13 +7957,13 @@ var step_recovery_diode_horz_default = defineSymbol({
7817
7957
  }
7818
7958
  ],
7819
7959
  ports: [
7820
- { ...refblocks38.left1, labels: ["1"] },
7960
+ { ...refblocks39.left1, labels: ["1"] },
7821
7961
  // TODO add more "standard" labels
7822
- { ...refblocks38.right1, labels: ["2"] }
7962
+ { ...refblocks39.right1, labels: ["2"] }
7823
7963
  // TODO add more "standard" labels
7824
7964
  ],
7825
- size: { width: bounds38.width, height: bounds38.height },
7826
- center: { x: bounds38.centerX, y: bounds38.centerY }
7965
+ size: { width: bounds39.width, height: bounds39.height },
7966
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7827
7967
  });
7828
7968
 
7829
7969
  // symbols/step_recovery_diode_vert.ts
@@ -7836,12 +7976,12 @@ var triac_default = {
7836
7976
  type: "path",
7837
7977
  points: [
7838
7978
  {
7839
- x: -0.5211797499999996,
7840
- y: -0.06283009999999978
7979
+ x: -0.5176700499999997,
7980
+ y: -0.03674505000000039
7841
7981
  },
7842
7982
  {
7843
- x: -0.11239775000000019,
7844
- y: -0.06283009999999978
7983
+ x: -0.10888805000000024,
7984
+ y: -0.03674505000000039
7845
7985
  }
7846
7986
  ],
7847
7987
  color: "primary",
@@ -7851,12 +7991,12 @@ var triac_default = {
7851
7991
  type: "path",
7852
7992
  points: [
7853
7993
  {
7854
- x: 0.09960874999999936,
7855
- y: -0.06283009999999978
7994
+ x: 0.1031184499999993,
7995
+ y: -0.03674505000000039
7856
7996
  },
7857
7997
  {
7858
- x: 0.5211797499999995,
7859
- y: -0.06283009999999978
7998
+ x: 0.5246894499999994,
7999
+ y: -0.03674505000000039
7860
8000
  }
7861
8001
  ],
7862
8002
  color: "primary",
@@ -7866,12 +8006,12 @@ var triac_default = {
7866
8006
  type: "path",
7867
8007
  points: [
7868
8008
  {
7869
- x: -0.09694955000000016,
7870
- y: 0.12512129999999955
8009
+ x: -0.09343985000000021,
8010
+ y: 0.15120634999999893
7871
8011
  },
7872
8012
  {
7873
- x: -0.09660955000000016,
7874
- y: -0.27942560000000016
8013
+ x: -0.0930998500000002,
8014
+ y: -0.2533405500000008
7875
8015
  }
7876
8016
  ],
7877
8017
  color: "primary",
@@ -7881,12 +8021,12 @@ var triac_default = {
7881
8021
  type: "path",
7882
8022
  points: [
7883
8023
  {
7884
- x: 0.08168064999999913,
7885
- y: 0.12394879999999975
8024
+ x: 0.08519034999999908,
8025
+ y: 0.15003384999999914
7886
8026
  },
7887
8027
  {
7888
- x: 0.08202064999999914,
7889
- y: -0.28059809999999996
8028
+ x: 0.08553034999999909,
8029
+ y: -0.2545130500000006
7890
8030
  }
7891
8031
  ],
7892
8032
  color: "primary",
@@ -7896,20 +8036,20 @@ var triac_default = {
7896
8036
  type: "path",
7897
8037
  points: [
7898
8038
  {
7899
- x: -0.08666725000000008,
7900
- y: -0.0770194999999998
8039
+ x: -0.08315755000000014,
8040
+ y: -0.05093445000000041
7901
8041
  },
7902
8042
  {
7903
- x: -0.08766725000000042,
7904
- y: 0.12569620000000037
8043
+ x: -0.08415755000000047,
8044
+ y: 0.15178124999999976
7905
8045
  },
7906
8046
  {
7907
- x: 0.08302554999999989,
7908
- y: 0.029961600000000255
8047
+ x: 0.08653524999999984,
8048
+ y: 0.05604664999999964
7909
8049
  },
7910
8050
  {
7911
- x: -0.0847714500000003,
7912
- y: -0.07756219999999958
8051
+ x: -0.08126175000000035,
8052
+ y: -0.051477150000000194
7913
8053
  }
7914
8054
  ],
7915
8055
  color: "primary",
@@ -7919,20 +8059,20 @@ var triac_default = {
7919
8059
  type: "path",
7920
8060
  points: [
7921
8061
  {
7922
- x: 0.07310254999999932,
7923
- y: -0.27773950000000025
8062
+ x: 0.07661224999999927,
8063
+ y: -0.25165445000000086
7924
8064
  },
7925
8065
  {
7926
- x: 0.07410254999999988,
7927
- y: -0.07502390000000037
8066
+ x: 0.07761224999999983,
8067
+ y: -0.04893885000000098
7928
8068
  },
7929
8069
  {
7930
- x: -0.09659025000000065,
7931
- y: -0.17075850000000048
8070
+ x: -0.0930805500000007,
8071
+ y: -0.1446734500000011
7932
8072
  },
7933
8073
  {
7934
- x: 0.07120674999999954,
7935
- y: -0.2782822000000007
8074
+ x: 0.07471644999999949,
8075
+ y: -0.2521971500000013
7936
8076
  }
7937
8077
  ],
7938
8078
  color: "primary",
@@ -7942,12 +8082,12 @@ var triac_default = {
7942
8082
  type: "path",
7943
8083
  points: [
7944
8084
  {
7945
- x: 0.08650115000000014,
7946
- y: 0.03856369999999987
8085
+ x: 0.09001085000000009,
8086
+ y: 0.06464874999999926
7947
8087
  },
7948
8088
  {
7949
- x: 0.26729024999999984,
7950
- y: 0.15002969999999993
8089
+ x: 0.2707999499999998,
8090
+ y: 0.17611474999999932
7951
8091
  }
7952
8092
  ],
7953
8093
  color: "primary",
@@ -7957,12 +8097,12 @@ var triac_default = {
7957
8097
  type: "path",
7958
8098
  points: [
7959
8099
  {
7960
- x: 0.2694016499999996,
7961
- y: 0.15483390000000008
8100
+ x: 0.27291134999999955,
8101
+ y: 0.18091894999999947
7962
8102
  },
7963
8103
  {
7964
- x: 0.2677306499999994,
7965
- y: 0.28059809999999996
8104
+ x: 0.27124034999999935,
8105
+ y: 0.30668314999999935
7966
8106
  }
7967
8107
  ],
7968
8108
  color: "primary",
@@ -7973,45 +8113,45 @@ var triac_default = {
7973
8113
  top1: {
7974
8114
  type: "text",
7975
8115
  text: "{REF}",
7976
- x: -0.1767959499999996,
7977
- y: -0.4779211999999992
8116
+ x: -0.17328624999999964,
8117
+ y: -0.41183614999999985
7978
8118
  },
7979
8119
  bottom1: {
7980
8120
  type: "text",
7981
8121
  text: "{VAL}",
7982
- x: -0.0337326499999997,
7983
- y: 0.3957511000000007
8122
+ x: -0.03022294999999975,
8123
+ y: 0.4218361500000001
7984
8124
  }
7985
8125
  },
7986
8126
  refblocks: {
7987
8127
  bottom1: {
7988
- x: 0.2687293500000003,
7989
- y: 0.2877112000000006
8128
+ x: 0.27223905000000026,
8129
+ y: 0.31379625
7990
8130
  },
7991
8131
  left1: {
7992
- x: -0.5449081499999999,
7993
- y: -0.061977099999999785
8132
+ x: -0.54139845,
8133
+ y: -0.0358920500000004
7994
8134
  },
7995
8135
  right1: {
7996
- x: 0.5378887499999996,
7997
- y: -0.06297349999999935
8136
+ x: 0.5413984499999995,
8137
+ y: -0.03688844999999996
7998
8138
  }
7999
8139
  },
8000
8140
  bounds: {
8001
- minX: -0.5211797499999996,
8002
- maxX: 0.5211797499999995,
8003
- minY: -0.28059809999999996,
8004
- maxY: 0.28059809999999996,
8005
- width: 1.042359499999999,
8006
- height: 1,
8007
- centerX: -5551115123125783e-32,
8008
- centerY: 0
8141
+ minX: -0.569556891,
8142
+ maxX: 0.5695568909999995,
8143
+ minY: -0.5118361499999998,
8144
+ maxY: 0.4218361500000001,
8145
+ width: 1.1391137819999995,
8146
+ height: 0.5836722999999999,
8147
+ centerX: -2220446049250313e-31,
8148
+ centerY: -0.04499999999999987
8009
8149
  },
8010
8150
  circles: {
8011
8151
  path1: {
8012
8152
  type: "circle",
8013
- x: -0.0072723500000002606,
8014
- y: -0.06995819999999964,
8153
+ x: -0.0037626500000003116,
8154
+ y: -0.04387315000000025,
8015
8155
  radius: 0.28854213,
8016
8156
  color: "primary",
8017
8157
  fill: false
@@ -8020,33 +8160,33 @@ var triac_default = {
8020
8160
  };
8021
8161
 
8022
8162
  // symbols/triac_horz.ts
8023
- var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = triac_default;
8163
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = triac_default;
8024
8164
  var triac_horz_default = defineSymbol({
8025
8165
  primitives: [
8026
- ...Object.values(paths39),
8027
- ...Object.values(circles29),
8028
- { ...texts56.top1, anchor: "middle_left" },
8029
- { ...texts56.bottom1, anchor: "middle_top" }
8166
+ ...Object.values(paths40),
8167
+ ...Object.values(circles30),
8168
+ { ...texts57.top1, anchor: "middle_left" },
8169
+ { ...texts57.bottom1, anchor: "middle_top" }
8030
8170
  ],
8031
8171
  ports: [
8032
- { ...refblocks39.left1, labels: ["1"] },
8172
+ { ...refblocks40.left1, labels: ["1"] },
8033
8173
  // TODO add more "standard" labels
8034
- { ...refblocks39.right1, labels: ["2"] },
8174
+ { ...refblocks40.right1, labels: ["2"] },
8035
8175
  // TODO add more "standard" labels
8036
- { ...refblocks39.bottom1, labels: ["3"] }
8176
+ { ...refblocks40.bottom1, labels: ["3"] }
8037
8177
  // TODO add more "standard" labels
8038
8178
  ],
8039
- size: { width: bounds39.width, height: bounds39.height },
8040
- center: { x: bounds39.centerX, y: bounds39.centerY }
8179
+ size: { width: bounds40.width, height: bounds40.height },
8180
+ center: { x: bounds40.centerX, y: bounds40.centerY }
8041
8181
  });
8042
8182
 
8043
8183
  // symbols/triac_vert.ts
8044
8184
  var rotatedSymbol22 = rotateSymbol(triac_horz_default);
8045
- var texts57 = rotatedSymbol22.primitives.filter(
8185
+ var texts58 = rotatedSymbol22.primitives.filter(
8046
8186
  (primitive) => primitive.type === "text"
8047
8187
  );
8048
- var ref27 = texts57.find((text) => text.text === "{REF}");
8049
- var val22 = texts57.find((text) => text.text === "{VAL}");
8188
+ var ref27 = texts58.find((text) => text.text === "{REF}");
8189
+ var val22 = texts58.find((text) => text.text === "{VAL}");
8050
8190
  ref27.y = 0;
8051
8191
  val22.y = 0;
8052
8192
  var triac_vert_default = rotatedSymbol22;
@@ -8213,22 +8353,22 @@ var tunnel_diode_default = {
8213
8353
  };
8214
8354
 
8215
8355
  // symbols/tunnel_diode_horz.ts
8216
- var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = tunnel_diode_default;
8356
+ var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = tunnel_diode_default;
8217
8357
  var tunnel_diode_horz_default = defineSymbol({
8218
8358
  primitives: [
8219
- ...Object.values(paths40),
8220
- ...Object.values(circles30),
8221
- { ...texts58.top1, anchor: "middle_bottom" },
8222
- { ...texts58.bottom1, anchor: "middle_top" }
8359
+ ...Object.values(paths41),
8360
+ ...Object.values(circles31),
8361
+ { ...texts59.top1, anchor: "middle_bottom" },
8362
+ { ...texts59.bottom1, anchor: "middle_top" }
8223
8363
  ],
8224
8364
  ports: [
8225
- { ...refblocks40.left1, labels: ["1"] },
8365
+ { ...refblocks41.left1, labels: ["1"] },
8226
8366
  // TODO add more "standard" labels
8227
- { ...refblocks40.right1, labels: ["2"] }
8367
+ { ...refblocks41.right1, labels: ["2"] }
8228
8368
  // TODO add more "standard" labels
8229
8369
  ],
8230
- size: { width: bounds40.width, height: bounds40.height },
8231
- center: { x: bounds40.centerX, y: bounds40.centerY }
8370
+ size: { width: bounds41.width, height: bounds41.height },
8371
+ center: { x: bounds41.centerX, y: bounds41.centerY }
8232
8372
  });
8233
8373
 
8234
8374
  // symbols/tunnel_diode_vert.ts
@@ -8250,12 +8390,12 @@ var unijunction_transistor_default = {
8250
8390
  type: "path",
8251
8391
  points: [
8252
8392
  {
8253
- x: -0.28028125000000026,
8254
- y: -0.18363744999999976
8393
+ x: -0.3274461945,
8394
+ y: -0.20527883627037657
8255
8395
  },
8256
8396
  {
8257
- x: 0.026079749999999402,
8258
- y: 0.01407124999999998
8397
+ x: -0.021085194500000348,
8398
+ y: -0.007570136270376837
8259
8399
  }
8260
8400
  ],
8261
8401
  color: "primary",
@@ -8265,12 +8405,12 @@ var unijunction_transistor_default = {
8265
8405
  type: "path",
8266
8406
  points: [
8267
8407
  {
8268
- x: 0.28028125000000004,
8269
- y: -0.10352595000000009
8408
+ x: 0.2331163055000003,
8409
+ y: -0.1251673362703769
8270
8410
  },
8271
8411
  {
8272
- x: 0.27922824999999984,
8273
- y: -0.35434414999999997
8412
+ x: 0.2320633055000001,
8413
+ y: -0.3759855362703768
8274
8414
  }
8275
8415
  ],
8276
8416
  color: "primary",
@@ -8280,12 +8420,12 @@ var unijunction_transistor_default = {
8280
8420
  type: "path",
8281
8421
  points: [
8282
8422
  {
8283
- x: 0.27938104999999913,
8284
- y: 0.10352595000000031
8423
+ x: 0.23221610549999938,
8424
+ y: 0.0818845637296235
8285
8425
  },
8286
8426
  {
8287
- x: 0.27832804999999894,
8288
- y: 0.35434414999999997
8427
+ x: 0.2311631054999992,
8428
+ y: 0.33270276372962315
8289
8429
  }
8290
8430
  ],
8291
8431
  color: "primary",
@@ -8295,12 +8435,12 @@ var unijunction_transistor_default = {
8295
8435
  type: "path",
8296
8436
  points: [
8297
8437
  {
8298
- x: 0.03390104999999988,
8299
- y: 0.20084214999999972
8438
+ x: -0.013263894499999873,
8439
+ y: 0.1792007637296229
8300
8440
  },
8301
8441
  {
8302
- x: 0.034241049999999884,
8303
- y: -0.20370475
8442
+ x: -0.012923894499999866,
8443
+ y: -0.2253461362703768
8304
8444
  }
8305
8445
  ],
8306
8446
  color: "primary",
@@ -8310,12 +8450,12 @@ var unijunction_transistor_default = {
8310
8450
  type: "path",
8311
8451
  points: [
8312
8452
  {
8313
- x: 0.2793946500000004,
8314
- y: -0.0988287499999998
8453
+ x: 0.23222970550000066,
8454
+ y: -0.12047013627037662
8315
8455
  },
8316
8456
  {
8317
- x: 0.035857850000000635,
8318
- y: -0.09831875000000001
8457
+ x: -0.011307094499999115,
8458
+ y: -0.11996013627037683
8319
8459
  }
8320
8460
  ],
8321
8461
  color: "primary",
@@ -8325,20 +8465,20 @@ var unijunction_transistor_default = {
8325
8465
  type: "path",
8326
8466
  points: [
8327
8467
  {
8328
- x: -0.06526925000000006,
8329
- y: -0.10971855000000019
8468
+ x: -0.1124341944999998,
8469
+ y: -0.131359936270377
8330
8470
  },
8331
8471
  {
8332
- x: -0.12276784999999979,
8333
- y: -0.017362650000000368
8472
+ x: -0.16993279449999954,
8473
+ y: -0.039004036270377185
8334
8474
  },
8335
8475
  {
8336
- x: -0.011061549999999531,
8337
- y: -0.010478650000000256
8476
+ x: -0.05822649449999928,
8477
+ y: -0.03212003627037707
8338
8478
  },
8339
8479
  {
8340
- x: -0.06417395000000004,
8341
- y: -0.10940415000000026
8480
+ x: -0.11133889449999979,
8481
+ y: -0.13104553627037707
8342
8482
  }
8343
8483
  ],
8344
8484
  color: "primary",
@@ -8348,12 +8488,12 @@ var unijunction_transistor_default = {
8348
8488
  type: "path",
8349
8489
  points: [
8350
8490
  {
8351
- x: 0.2794681499999996,
8352
- y: 0.10493455000000007
8491
+ x: 0.23230320549999983,
8492
+ y: 0.08329316372962325
8353
8493
  },
8354
8494
  {
8355
- x: 0.035931349999999806,
8356
- y: 0.10064755000000014
8495
+ x: -0.011233594499999944,
8496
+ y: 0.07900616372962332
8357
8497
  }
8358
8498
  ],
8359
8499
  color: "primary",
@@ -8364,45 +8504,45 @@ var unijunction_transistor_default = {
8364
8504
  top1: {
8365
8505
  type: "text",
8366
8506
  text: "{REF}",
8367
- x: -0.1482464500000007,
8368
- y: -0.36744674999999916
8507
+ x: -0.19541139450000045,
8508
+ y: -0.389088136270376
8369
8509
  },
8370
8510
  bottom1: {
8371
8511
  type: "text",
8372
8512
  text: "{VAL}",
8373
- x: 0.044801550000000384,
8374
- y: 0.44524095000000097
8513
+ x: -0.031363394499999364,
8514
+ y: 0.42359956372962415
8375
8515
  }
8376
8516
  },
8377
8517
  refblocks: {
8378
8518
  top1: {
8379
- x: 0.27890874490352635,
8380
- y: -0.37379973645924736
8519
+ x: 0.2317438004035266,
8520
+ y: -0.3954411227296242
8381
8521
  },
8382
8522
  bottom1: {
8383
- x: 0.27800811130820335,
8384
- y: 0.37379961987673127
8523
+ x: 0.2308431668082036,
8524
+ y: 0.35215823360635445
8385
8525
  },
8386
8526
  left1: {
8387
- x: -0.2933948500000001,
8388
- y: -0.1934820499999994
8527
+ x: -0.34055979449999985,
8528
+ y: -0.21512343627037622
8389
8529
  }
8390
8530
  },
8391
8531
  bounds: {
8392
- minX: -0.28028125000000026,
8393
- maxX: 0.28028125000000004,
8394
- minY: -0.35434414999999997,
8395
- maxY: 0.35434414999999997,
8396
- width: 1,
8397
- height: 1,
8398
- centerX: -11102230246251565e-32,
8399
- centerY: 0
8532
+ minX: -0.3687182354999998,
8533
+ maxX: 0.3687182354999999,
8534
+ minY: -0.48908813627037595,
8535
+ maxY: 0.42359956372962415,
8536
+ width: 0.7374364709999996,
8537
+ height: 0.5626877000000001,
8538
+ centerX: 27755575615628914e-33,
8539
+ centerY: -0.0327442862703759
8400
8540
  },
8401
8541
  circles: {
8402
8542
  path1: {
8403
8543
  type: "circle",
8404
- x: 0.12734104999999962,
8405
- y: 0.014895050000000465,
8544
+ x: 0.08017610549999987,
8545
+ y: -0.006746336270376352,
8406
8546
  radius: 0.28854213,
8407
8547
  color: "primary",
8408
8548
  fill: false
@@ -8411,34 +8551,34 @@ var unijunction_transistor_default = {
8411
8551
  };
8412
8552
 
8413
8553
  // symbols/unijunction_transistor_horz.ts
8414
- var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = unijunction_transistor_default;
8554
+ var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = unijunction_transistor_default;
8415
8555
  var unijunction_transistor_horz_default = defineSymbol({
8416
8556
  primitives: [
8417
- ...Object.values(paths41),
8418
- ...Object.values(circles31),
8419
- { ...texts59.top1, anchor: "middle_left" },
8420
- { ...texts59.bottom1, anchor: "middle_right" }
8557
+ ...Object.values(paths42),
8558
+ ...Object.values(circles32),
8559
+ { ...texts60.top1, anchor: "middle_left" },
8560
+ { ...texts60.bottom1, anchor: "middle_right" }
8421
8561
  ],
8422
8562
  ports: [
8423
- { ...refblocks41.top1, labels: ["1"] },
8563
+ { ...refblocks42.top1, labels: ["1"] },
8424
8564
  // TODO add more "standard" labels
8425
- { ...refblocks41.bottom1, labels: ["2"] },
8565
+ { ...refblocks42.bottom1, labels: ["2"] },
8426
8566
  // TODO add more "standard" labels
8427
- { ...refblocks41.left1, labels: ["3"] }
8567
+ { ...refblocks42.left1, labels: ["3"] }
8428
8568
  // TODO add more "standard" labels
8429
8569
  ],
8430
- size: { width: bounds41.width, height: bounds41.height },
8431
- center: { x: bounds41.centerX, y: bounds41.centerY }
8570
+ size: { width: bounds42.width, height: bounds42.height },
8571
+ center: { x: bounds42.centerX, y: bounds42.centerY }
8432
8572
  });
8433
8573
 
8434
8574
  // symbols/unijunction_transistor_vert.ts
8435
8575
  var rotatedSymbol23 = rotateSymbol(unijunction_transistor_horz_default);
8436
- var texts60 = rotatedSymbol23.primitives.filter(
8576
+ var texts61 = rotatedSymbol23.primitives.filter(
8437
8577
  (primitive) => primitive.type === "text"
8438
8578
  );
8439
- var ref29 = texts60.find((text) => text.text === "{REF}");
8579
+ var ref29 = texts61.find((text) => text.text === "{REF}");
8440
8580
  ref29.y = 0.1;
8441
- var val24 = texts60.find((text) => text.text === "{VAL}");
8581
+ var val24 = texts61.find((text) => text.text === "{VAL}");
8442
8582
  val24.y = 0.1;
8443
8583
  val24.x = -0.4;
8444
8584
  var unijunction_transistor_vert_default = rotatedSymbol23;
@@ -8530,33 +8670,33 @@ var var_meter_default = {
8530
8670
  };
8531
8671
 
8532
8672
  // symbols/var_meter_horz.ts
8533
- var { paths: paths42, texts: texts61, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = var_meter_default;
8673
+ var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = var_meter_default;
8534
8674
  var var_meter_horz_default = defineSymbol({
8535
8675
  primitives: [
8536
- ...Object.values(paths42),
8537
- ...Object.values(circles32),
8676
+ ...Object.values(paths43),
8677
+ ...Object.values(circles33),
8538
8678
  {
8539
- ...texts61.top1,
8679
+ ...texts62.top1,
8540
8680
  x: 0,
8541
8681
  y: -0.3594553499999995,
8542
8682
  anchor: "middle_bottom"
8543
8683
  },
8544
8684
  {
8545
- ...texts61.bottom1,
8685
+ ...texts62.bottom1,
8546
8686
  x: 0,
8547
8687
  y: 0.35,
8548
8688
  anchor: "middle_top"
8549
8689
  },
8550
- { ...texts61.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
8690
+ { ...texts62.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
8551
8691
  ],
8552
8692
  ports: [
8553
- { ...refblocks42.left1, labels: ["1"] },
8693
+ { ...refblocks43.left1, labels: ["1"] },
8554
8694
  // TODO add more "standard" labels
8555
- { ...refblocks42.right1, labels: ["2"] }
8695
+ { ...refblocks43.right1, labels: ["2"] }
8556
8696
  // TODO add more "standard" labels
8557
8697
  ],
8558
- size: { width: bounds42.width, height: bounds42.height },
8559
- center: { x: bounds42.centerX, y: bounds42.centerY }
8698
+ size: { width: bounds43.width, height: bounds43.height },
8699
+ center: { x: bounds43.centerX, y: bounds43.centerY }
8560
8700
  });
8561
8701
 
8562
8702
  // symbols/var_meter_vert.ts
@@ -8709,22 +8849,22 @@ var varactor_diode_default = {
8709
8849
  };
8710
8850
 
8711
8851
  // symbols/varactor_diode_horz.ts
8712
- var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = varactor_diode_default;
8852
+ var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = varactor_diode_default;
8713
8853
  var varactor_diode_horz_default = defineSymbol({
8714
8854
  primitives: [
8715
- ...Object.values(paths43),
8716
- ...Object.values(circles33),
8717
- { ...texts62.top1, anchor: "middle_bottom" },
8718
- { ...texts62.bottom1, anchor: "middle_top" }
8855
+ ...Object.values(paths44),
8856
+ ...Object.values(circles34),
8857
+ { ...texts63.top1, anchor: "middle_bottom" },
8858
+ { ...texts63.bottom1, anchor: "middle_top" }
8719
8859
  ],
8720
8860
  ports: [
8721
- { ...refblocks43.left1, labels: ["1"] },
8861
+ { ...refblocks44.left1, labels: ["1"] },
8722
8862
  // TODO add more "standard" labels
8723
- { ...refblocks43.right1, labels: ["2"] }
8863
+ { ...refblocks44.right1, labels: ["2"] }
8724
8864
  // TODO add more "standard" labels
8725
8865
  ],
8726
- size: { width: bounds43.width, height: bounds43.height },
8727
- center: { x: bounds43.centerX, y: bounds43.centerY }
8866
+ size: { width: bounds44.width, height: bounds44.height },
8867
+ center: { x: bounds44.centerX, y: bounds44.centerY }
8728
8868
  });
8729
8869
 
8730
8870
  // symbols/varactor_diode_vert.ts
@@ -8746,12 +8886,12 @@ var varistor_default = {
8746
8886
  type: "path",
8747
8887
  points: [
8748
8888
  {
8749
- x: -0.5291668,
8750
- y: 0
8889
+ x: -0.5245830500000004,
8890
+ y: 34089999999764586e-20
8751
8891
  },
8752
8892
  {
8753
- x: -0.2645835000000005,
8754
- y: 0
8893
+ x: -0.25999975000000086,
8894
+ y: 34089999999764586e-20
8755
8895
  }
8756
8896
  ],
8757
8897
  color: "primary",
@@ -8761,12 +8901,12 @@ var varistor_default = {
8761
8901
  type: "path",
8762
8902
  points: [
8763
8903
  {
8764
- x: 0.2645835000000005,
8765
- y: 0
8904
+ x: 0.2691672500000002,
8905
+ y: 34089999999764586e-20
8766
8906
  },
8767
8907
  {
8768
- x: 0.5291668,
8769
- y: 0
8908
+ x: 0.5337505499999997,
8909
+ y: 34089999999764586e-20
8770
8910
  }
8771
8911
  ],
8772
8912
  color: "primary",
@@ -8776,12 +8916,12 @@ var varistor_default = {
8776
8916
  type: "path",
8777
8917
  points: [
8778
8918
  {
8779
- x: 0.2645835000000005,
8780
- y: 0.23812500000000192
8919
+ x: 0.2691672500000002,
8920
+ y: 0.23846589999999956
8781
8921
  },
8782
8922
  {
8783
- x: -0.2645834999999992,
8784
- y: -0.23812500000000014
8923
+ x: -0.25999974999999953,
8924
+ y: -0.2377841000000025
8785
8925
  }
8786
8926
  ],
8787
8927
  color: "primary",
@@ -8791,12 +8931,12 @@ var varistor_default = {
8791
8931
  type: "path",
8792
8932
  points: [
8793
8933
  {
8794
- x: 0.3704165000000006,
8795
- y: 0.23812500000000192
8934
+ x: 0.37500025000000026,
8935
+ y: 0.23846589999999956
8796
8936
  },
8797
8937
  {
8798
- x: 0.2645835000000005,
8799
- y: 0.23812500000000192
8938
+ x: 0.2691672500000002,
8939
+ y: 0.23846589999999956
8800
8940
  }
8801
8941
  ],
8802
8942
  color: "primary",
@@ -8806,28 +8946,28 @@ var varistor_default = {
8806
8946
  type: "path",
8807
8947
  points: [
8808
8948
  {
8809
- x: 1400000000817414e-21,
8810
- y: -0.13229179999999907
8949
+ x: 0.004585150000000482,
8950
+ y: -0.13195090000000143
8811
8951
  },
8812
8952
  {
8813
- x: 0.2645844000000013,
8814
- y: -0.13229179999999907
8953
+ x: 0.26916815000000094,
8954
+ y: -0.13195090000000143
8815
8955
  },
8816
8956
  {
8817
- x: 0.2645844000000013,
8818
- y: 0.13229160000000206
8957
+ x: 0.26916815000000094,
8958
+ y: 0.1326324999999997
8819
8959
  },
8820
8960
  {
8821
- x: -0.26458259999999845,
8822
- y: 0.13229160000000206
8961
+ x: -0.2599988499999988,
8962
+ y: 0.1326324999999997
8823
8963
  },
8824
8964
  {
8825
- x: -0.26458259999999845,
8826
- y: -0.13229179999999907
8965
+ x: -0.2599988499999988,
8966
+ y: -0.13195090000000143
8827
8967
  },
8828
8968
  {
8829
- x: 14000000021496817e-22,
8830
- y: -0.13229179999999907
8969
+ x: 0.004585150000001814,
8970
+ y: -0.13195090000000143
8831
8971
  }
8832
8972
  ],
8833
8973
  color: "primary",
@@ -8838,59 +8978,60 @@ var varistor_default = {
8838
8978
  top1: {
8839
8979
  type: "text",
8840
8980
  text: "{REF}",
8841
- x: 0,
8842
- y: -0.2470063999999983
8981
+ x: -0.05849044999999986,
8982
+ y: -0.24666550000000065
8843
8983
  },
8844
8984
  bottom1: {
8845
8985
  type: "text",
8846
8986
  text: "{VAL}",
8847
- x: 0,
8848
- y: 0.256324600000001
8987
+ x: 0.008507150000000685,
8988
+ y: 0.25666549999999866
8849
8989
  }
8850
8990
  },
8851
8991
  refblocks: {
8852
8992
  left1: {
8853
- x: -0.5438152999999999,
8854
- y: 0.0016897000000017925
8993
+ x: -0.5392315500000002,
8994
+ y: 0.0020305999999994384
8855
8995
  },
8856
8996
  right1: {
8857
- x: 0.5346478000000006,
8858
- y: -6806999999984242e-19
8997
+ x: 0.5392315500000002,
8998
+ y: -33980000000077837e-20
8859
8999
  }
8860
9000
  },
8861
9001
  bounds: {
8862
- minX: -0.5291668,
8863
- maxX: 0.5291668,
8864
- minY: -0.23812500000000014,
8865
- maxY: 0.23812500000000192,
8866
- width: 1.0583336,
8867
- height: 0.47625000000000206,
9002
+ minX: -0.5673899910000002,
9003
+ maxX: 0.5673899910000002,
9004
+ minY: -0.3466655000000006,
9005
+ maxY: 0.25666549999999866,
9006
+ width: 1.1347799820000004,
9007
+ height: 0.2533309999999993,
8868
9008
  centerX: 0,
8869
- centerY: 8881784197001252e-31
8870
- }
9009
+ centerY: -0.045000000000000984
9010
+ },
9011
+ circles: {}
8871
9012
  };
8872
9013
 
8873
9014
  // symbols/varistor_horz.ts
8874
- var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44 } = varistor_default;
9015
+ var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45 } = varistor_default;
8875
9016
  var varistor_horz_default = defineSymbol({
8876
9017
  primitives: [
8877
- ...Object.values(paths44),
8878
- { ...texts63.top1, anchor: "middle_left" },
8879
- { ...texts63.bottom1, anchor: "middle_right" }
9018
+ ...Object.values(paths45),
9019
+ { ...texts64.top1, anchor: "middle_left" },
9020
+ { ...texts64.bottom1, anchor: "middle_right" }
8880
9021
  ],
8881
9022
  ports: [
8882
9023
  {
8883
- ...refblocks44.left1,
9024
+ ...refblocks45.left1,
8884
9025
  labels: ["1", "-"]
8885
9026
  },
8886
9027
  {
8887
- ...refblocks44.right1,
9028
+ ...refblocks45.right1,
8888
9029
  labels: ["2", "+"]
8889
9030
  }
8890
9031
  ],
8891
- size: { width: bounds44.width, height: bounds44.height },
9032
+ size: { width: bounds45.width, height: bounds45.height },
8892
9033
  //{ width: 1, height: 0.24 },
8893
- center: { x: bounds44.centerX, y: bounds44.centerY }
9034
+ center: { x: bounds45.centerX, y: bounds45.centerY }
8894
9035
  });
8895
9036
 
8896
9037
  // symbols/varistor_vert.ts
@@ -8996,11 +9137,11 @@ var volt_meter_default = {
8996
9137
  };
8997
9138
 
8998
9139
  // symbols/volt_meter_horz.ts
8999
- var { paths: paths45, texts: texts64, bounds: bounds45, circles: circles34, refblocks: refblocks45 } = volt_meter_default;
9140
+ var { paths: paths46, texts: texts65, bounds: bounds46, circles: circles35, refblocks: refblocks46 } = volt_meter_default;
9000
9141
  var volt_meter_horz_default = defineSymbol({
9001
9142
  primitives: [
9002
- ...Object.values(paths45),
9003
- ...Object.values(circles34),
9143
+ ...Object.values(paths46),
9144
+ ...Object.values(circles35),
9004
9145
  {
9005
9146
  type: "text",
9006
9147
  text: "{REF}",
@@ -9017,13 +9158,13 @@ var volt_meter_horz_default = defineSymbol({
9017
9158
  }
9018
9159
  ],
9019
9160
  ports: [
9020
- { ...refblocks45.left1, labels: ["1"] },
9161
+ { ...refblocks46.left1, labels: ["1"] },
9021
9162
  // TODO add more "standard" labels
9022
- { ...refblocks45.right1, labels: ["2"] }
9163
+ { ...refblocks46.right1, labels: ["2"] }
9023
9164
  // TODO add more "standard" labels
9024
9165
  ],
9025
- size: { width: bounds45.width, height: bounds45.height },
9026
- center: { x: bounds45.centerX, y: bounds45.centerY }
9166
+ size: { width: bounds46.width, height: bounds46.height },
9167
+ center: { x: bounds46.centerX, y: bounds46.centerY }
9027
9168
  });
9028
9169
 
9029
9170
  // symbols/volt_meter_vert.ts
@@ -9176,22 +9317,22 @@ var zener_diode_default = {
9176
9317
  };
9177
9318
 
9178
9319
  // symbols/zener_diode_horz.ts
9179
- var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles35 } = zener_diode_default;
9320
+ var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47, circles: circles36 } = zener_diode_default;
9180
9321
  var zener_diode_horz_default = defineSymbol({
9181
9322
  primitives: [
9182
- ...Object.values(paths46),
9183
- ...Object.values(circles35),
9184
- { ...texts65.top1, anchor: "middle_bottom" },
9185
- { ...texts65.bottom1, anchor: "middle_top" }
9323
+ ...Object.values(paths47),
9324
+ ...Object.values(circles36),
9325
+ { ...texts66.top1, anchor: "middle_bottom" },
9326
+ { ...texts66.bottom1, anchor: "middle_top" }
9186
9327
  ],
9187
9328
  ports: [
9188
- { ...refblocks46.left1, labels: ["1"] },
9329
+ { ...refblocks47.left1, labels: ["1"] },
9189
9330
  // TODO add more "standard" labels
9190
- { ...refblocks46.right1, labels: ["2"] }
9331
+ { ...refblocks47.right1, labels: ["2"] }
9191
9332
  // TODO add more "standard" labels
9192
9333
  ],
9193
- size: { width: bounds46.width, height: bounds46.height },
9194
- center: { x: bounds46.centerX, y: bounds46.centerY }
9334
+ size: { width: bounds47.width, height: bounds47.height },
9335
+ center: { x: bounds47.centerX, y: bounds47.centerY }
9195
9336
  });
9196
9337
 
9197
9338
  // symbols/zener_diode_vert.ts
@@ -9212,6 +9353,8 @@ var symbols_index_default = {
9212
9353
  "ac_voltmeter_vert": ac_voltmeter_vert_default,
9213
9354
  "avalanche_diode_horz": avalanche_diode_horz_default,
9214
9355
  "avalanche_diode_vert": avalanche_diode_vert_default,
9356
+ "battery_horz": battery_horz_default,
9357
+ "battery_vert": battery_vert_default,
9215
9358
  "boxresistor_horz": boxresistor_horz_default,
9216
9359
  "boxresistor_vert": boxresistor_vert_default,
9217
9360
  "capacitor_horz": capacitor_horz_default,