schematic-symbols 0.0.39 → 0.0.41

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
@@ -726,6 +726,167 @@ var capacitor_horz_default = defineSymbol({
726
726
  // symbols/capacitor_vert.ts
727
727
  var capacitor_vert_default = rotateSymbol(capacitor_horz_default);
728
728
 
729
+ // assets/generated/dc_ammeter.json
730
+ var dc_ammeter_default = {
731
+ paths: {
732
+ path11: {
733
+ type: "path",
734
+ points: [
735
+ {
736
+ x: -0.5307178,
737
+ y: 0
738
+ },
739
+ {
740
+ x: -0.3042887999999997,
741
+ y: 0
742
+ }
743
+ ],
744
+ color: "primary",
745
+ fill: false
746
+ },
747
+ path12: {
748
+ type: "path",
749
+ points: [
750
+ {
751
+ x: 0.2899773000000003,
752
+ y: 0
753
+ },
754
+ {
755
+ x: 0.5307178000000001,
756
+ y: 0
757
+ }
758
+ ],
759
+ color: "primary",
760
+ fill: false
761
+ },
762
+ path2: {
763
+ type: "path",
764
+ points: [
765
+ {
766
+ x: -0.12447409999999959,
767
+ y: 0.0852510999999998
768
+ },
769
+ {
770
+ x: 0.11626639999999999,
771
+ y: 0.0852510999999998
772
+ }
773
+ ],
774
+ color: "primary",
775
+ fill: false
776
+ }
777
+ },
778
+ texts: {
779
+ top1: {
780
+ type: "text",
781
+ text: "{REF}",
782
+ x: -0.17652089999999898,
783
+ y: -0.4472267999999995
784
+ },
785
+ bottom1: {
786
+ type: "text",
787
+ text: "{VAL}",
788
+ x: -0.009849199999999891,
789
+ y: 0.3470985000000004
790
+ },
791
+ left1: {
792
+ type: "text",
793
+ text: "A",
794
+ x: 0,
795
+ y: -0.1
796
+ }
797
+ },
798
+ refblocks: {
799
+ left1: {
800
+ x: -0.5446330999999993,
801
+ y: 0
802
+ },
803
+ right1: {
804
+ x: 0.5381638000000004,
805
+ y: 0
806
+ }
807
+ },
808
+ bounds: {
809
+ minX: -0.5307178,
810
+ maxX: 0.5307178000000001,
811
+ minY: -0.08525110000000002,
812
+ maxY: 0.0852510999999998,
813
+ width: 1.0614356000000003,
814
+ height: 1,
815
+ centerX: 5551115123125783e-32,
816
+ centerY: -11102230246251565e-32
817
+ },
818
+ circles: {
819
+ path1: {
820
+ type: "circle",
821
+ x: 0,
822
+ y: 0,
823
+ radius: 0.28854213,
824
+ color: "primary",
825
+ fill: false
826
+ }
827
+ }
828
+ };
829
+
830
+ // symbols/dc_ammeter_horz.ts
831
+ var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = dc_ammeter_default;
832
+ var dc_ammeter_horz_default = defineSymbol({
833
+ primitives: [
834
+ ...Object.values(paths5),
835
+ ...Object.values(circles3),
836
+ {
837
+ type: "text",
838
+ text: "{REF}",
839
+ x: 0,
840
+ y: -0.3594553499999995,
841
+ anchor: "middle_bottom"
842
+ },
843
+ {
844
+ type: "text",
845
+ text: "{VAL}",
846
+ x: 0,
847
+ y: 0.35,
848
+ anchor: "middle_top"
849
+ },
850
+ { ...texts4.left1, anchor: "center", fontSize: 0.3 }
851
+ ],
852
+ ports: [
853
+ { ...refblocks5.left1, labels: ["1"] },
854
+ // TODO add more "standard" labels
855
+ { ...refblocks5.right1, labels: ["2"] }
856
+ // TODO add more "standard" labels
857
+ ],
858
+ size: { width: bounds5.width, height: bounds5.height },
859
+ center: { x: bounds5.centerX, y: bounds5.centerY }
860
+ });
861
+
862
+ // symbols/dc_ammeter_vert.ts
863
+ function isPathPrimitive(value) {
864
+ return typeof value === "object" && value !== null && value.type === "path" && Array.isArray(value.points) && typeof value.color === "string";
865
+ }
866
+ function isTextPrimitive(value) {
867
+ return typeof value === "object" && value !== null && value.type === "text" && typeof value.text === "string" && typeof value.x === "number" && typeof value.y === "number" && typeof value.anchor === "string";
868
+ }
869
+ var { 6: letter2, 2: underline, ...rest2 } = dc_ammeter_horz_default.primitives;
870
+ if (isPathPrimitive(underline)) {
871
+ underline.points.map((p) => {
872
+ p.y += 0.05;
873
+ });
874
+ }
875
+ if (isTextPrimitive(letter2)) {
876
+ letter2.y += 0.025;
877
+ }
878
+ function isPrimitive2(value) {
879
+ return typeof value === "object";
880
+ }
881
+ var rotatedSymbol2 = rotateSymbol({
882
+ ...dc_ammeter_horz_default,
883
+ primitives: Object.values(rest2).filter(isPrimitive2)
884
+ });
885
+ var dc_ammeter_vert_default = {
886
+ ...rotatedSymbol2,
887
+ primitives: [...rotatedSymbol2.primitives, letter2, underline]
888
+ };
889
+
729
890
  // assets/generated/dc_voltmeter.json
730
891
  var dc_voltmeter_default = {
731
892
  paths: {
@@ -841,11 +1002,11 @@ var dc_voltmeter_default = {
841
1002
  };
842
1003
 
843
1004
  // symbols/dc_voltmeter_horz.ts
844
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles3 } = dc_voltmeter_default;
1005
+ var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = dc_voltmeter_default;
845
1006
  var dc_voltmeter_horz_default = defineSymbol({
846
1007
  primitives: [
847
- ...Object.values(paths5),
848
- ...Object.values(circles3),
1008
+ ...Object.values(paths6),
1009
+ ...Object.values(circles4),
849
1010
  {
850
1011
  type: "text",
851
1012
  text: "{REF}",
@@ -862,27 +1023,27 @@ var dc_voltmeter_horz_default = defineSymbol({
862
1023
  }
863
1024
  ],
864
1025
  ports: [
865
- { ...refblocks5.left1, labels: ["1"] },
1026
+ { ...refblocks6.left1, labels: ["1"] },
866
1027
  // TODO add more "standard" labels
867
- { ...refblocks5.right1, labels: ["2"] }
1028
+ { ...refblocks6.right1, labels: ["2"] }
868
1029
  // TODO add more "standard" labels
869
1030
  ],
870
- size: { width: bounds5.width, height: bounds5.height },
871
- center: { x: bounds5.centerX, y: bounds5.centerY }
1031
+ size: { width: bounds6.width, height: bounds6.height },
1032
+ center: { x: bounds6.centerX, y: bounds6.centerY }
872
1033
  });
873
1034
 
874
1035
  // symbols/dc_voltmeter_vert.ts
875
- var { 2: letter2, 3: underline, ...rest2 } = dc_voltmeter_horz_default.primitives;
876
- function isPrimitive2(value) {
1036
+ var { 2: letter3, 3: underline2, ...rest3 } = dc_voltmeter_horz_default.primitives;
1037
+ function isPrimitive3(value) {
877
1038
  return typeof value === "object";
878
1039
  }
879
- var rotatedSymbol2 = rotateSymbol({
1040
+ var rotatedSymbol3 = rotateSymbol({
880
1041
  ...dc_voltmeter_horz_default,
881
- primitives: Object.values(rest2).filter(isPrimitive2)
1042
+ primitives: Object.values(rest3).filter(isPrimitive3)
882
1043
  });
883
1044
  var dc_voltmeter_vert_default = {
884
- ...rotatedSymbol2,
885
- primitives: [...rotatedSymbol2.primitives, letter2, underline]
1045
+ ...rotatedSymbol3,
1046
+ primitives: [...rotatedSymbol3.primitives, letter3, underline2]
886
1047
  };
887
1048
 
888
1049
  // assets/generated/diode.json
@@ -1016,21 +1177,21 @@ var diode_default = {
1016
1177
  };
1017
1178
 
1018
1179
  // symbols/diode_horz.ts
1019
- var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6 } = diode_default;
1180
+ var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7 } = diode_default;
1020
1181
  var diode_horz_default = defineSymbol({
1021
1182
  primitives: [
1022
- ...Object.values(paths6),
1023
- { ...texts5.top1, anchor: "middle_bottom" },
1024
- { ...texts5.bottom1, anchor: "middle_top" }
1183
+ ...Object.values(paths7),
1184
+ { ...texts6.top1, anchor: "middle_bottom" },
1185
+ { ...texts6.bottom1, anchor: "middle_top" }
1025
1186
  ],
1026
1187
  ports: [
1027
- { ...refblocks6.left1, labels: ["1"] },
1188
+ { ...refblocks7.left1, labels: ["1"] },
1028
1189
  // TODO add more "standard" labels
1029
- { ...refblocks6.right1, labels: ["2"] }
1190
+ { ...refblocks7.right1, labels: ["2"] }
1030
1191
  // TODO add more "standard" labels
1031
1192
  ],
1032
- size: { width: bounds6.width, height: bounds6.height },
1033
- center: { x: bounds6.centerX, y: bounds6.centerY }
1193
+ size: { width: bounds7.width, height: bounds7.height },
1194
+ center: { x: bounds7.centerX, y: bounds7.centerY }
1034
1195
  });
1035
1196
 
1036
1197
  // symbols/diode_vert.ts
@@ -1123,11 +1284,11 @@ var fuse_default = {
1123
1284
  };
1124
1285
 
1125
1286
  // symbols/fuse_horz.ts
1126
- var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7 } = fuse_default;
1287
+ var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8 } = fuse_default;
1127
1288
  var fuse_horz_default = defineSymbol({
1128
1289
  primitives: [
1129
- ...Object.values(paths7),
1130
- { ...texts6.top1, anchor: "middle_bottom" },
1290
+ ...Object.values(paths8),
1291
+ { ...texts7.top1, anchor: "middle_bottom" },
1131
1292
  {
1132
1293
  type: "text",
1133
1294
  text: "{VAL}",
@@ -1137,13 +1298,13 @@ var fuse_horz_default = defineSymbol({
1137
1298
  }
1138
1299
  ],
1139
1300
  ports: [
1140
- { ...refblocks7.left1, labels: ["1"] },
1301
+ { ...refblocks8.left1, labels: ["1"] },
1141
1302
  // TODO add more "standard" labels
1142
- { ...refblocks7.right1, labels: ["2"] }
1303
+ { ...refblocks8.right1, labels: ["2"] }
1143
1304
  // TODO add more "standard" labels
1144
1305
  ],
1145
- size: { width: bounds7.width, height: bounds7.height },
1146
- center: { x: bounds7.centerX, y: bounds7.centerY }
1306
+ size: { width: bounds8.width, height: bounds8.height },
1307
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1147
1308
  });
1148
1309
 
1149
1310
  // symbols/fuse_vert.ts
@@ -1364,19 +1525,19 @@ var led_default = {
1364
1525
  };
1365
1526
 
1366
1527
  // symbols/led_horz.ts
1367
- var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8 } = led_default;
1528
+ var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9 } = led_default;
1368
1529
  var led_horz_default = defineSymbol({
1369
1530
  primitives: [
1370
- ...Object.values(paths8),
1371
- { ...texts7.bottom1, anchor: "middle_right" },
1372
- { ...texts7.right1, anchor: "middle_left" }
1531
+ ...Object.values(paths9),
1532
+ { ...texts8.bottom1, anchor: "middle_right" },
1533
+ { ...texts8.right1, anchor: "middle_left" }
1373
1534
  ],
1374
1535
  ports: [
1375
- { ...refblocks8.left1, labels: ["1", "anode", "pos"] },
1376
- { ...refblocks8.right1, labels: ["2", "cathode", "neg"] }
1536
+ { ...refblocks9.left1, labels: ["1", "anode", "pos"] },
1537
+ { ...refblocks9.right1, labels: ["2", "cathode", "neg"] }
1377
1538
  ],
1378
- size: { width: bounds8.width, height: bounds8.height },
1379
- center: { x: bounds8.centerX, y: bounds8.centerY + 0.1 }
1539
+ size: { width: bounds9.width, height: bounds9.height },
1540
+ center: { x: bounds9.centerX, y: bounds9.centerY + 0.1 }
1380
1541
  });
1381
1542
 
1382
1543
  // symbols/led_vert.ts
@@ -1665,23 +1826,23 @@ var mosfet_depletion_normally_on_default = {
1665
1826
  };
1666
1827
 
1667
1828
  // symbols/mosfet_depletion_normally_on_horz.ts
1668
- var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9 } = mosfet_depletion_normally_on_default;
1829
+ var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10 } = mosfet_depletion_normally_on_default;
1669
1830
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
1670
1831
  primitives: [
1671
- ...Object.values(paths9),
1672
- { ...texts8.right1, anchor: "middle_left" },
1673
- { ...texts8.right2, anchor: "middle_left" }
1832
+ ...Object.values(paths10),
1833
+ { ...texts9.right1, anchor: "middle_left" },
1834
+ { ...texts9.right2, anchor: "middle_left" }
1674
1835
  ],
1675
1836
  ports: [
1676
- { ...refblocks9.top1, labels: ["1"] },
1837
+ { ...refblocks10.top1, labels: ["1"] },
1677
1838
  // TODO add more "standard" labels
1678
- { ...refblocks9.bottom1, labels: ["2"] },
1839
+ { ...refblocks10.bottom1, labels: ["2"] },
1679
1840
  // TODO add more "standard" labels
1680
- { ...refblocks9.left1, labels: ["3"] }
1841
+ { ...refblocks10.left1, labels: ["3"] }
1681
1842
  // TODO add more "standard" labels
1682
1843
  ],
1683
- size: { width: bounds9.width + 0.4, height: bounds9.height },
1684
- center: { x: bounds9.centerX + 0.2, y: bounds9.centerY }
1844
+ size: { width: bounds10.width + 0.4, height: bounds10.height },
1845
+ center: { x: bounds10.centerX + 0.2, y: bounds10.centerY }
1685
1846
  });
1686
1847
 
1687
1848
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -1923,11 +2084,11 @@ var photodiode_default = {
1923
2084
  };
1924
2085
 
1925
2086
  // symbols/photodiode_horz.ts
1926
- var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles4 } = photodiode_default;
2087
+ var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles5 } = photodiode_default;
1927
2088
  var photodiode_horz_default = defineSymbol({
1928
2089
  primitives: [
1929
- ...Object.values(paths10),
1930
- ...Object.values(circles4),
2090
+ ...Object.values(paths11),
2091
+ ...Object.values(circles5),
1931
2092
  {
1932
2093
  type: "text",
1933
2094
  text: "{REF}",
@@ -1944,22 +2105,22 @@ var photodiode_horz_default = defineSymbol({
1944
2105
  }
1945
2106
  ],
1946
2107
  ports: [
1947
- { ...refblocks10.left1, labels: ["1"] },
2108
+ { ...refblocks11.left1, labels: ["1"] },
1948
2109
  // TODO add more "standard" labels
1949
- { ...refblocks10.right1, labels: ["2"] }
2110
+ { ...refblocks11.right1, labels: ["2"] }
1950
2111
  // TODO add more "standard" labels
1951
2112
  ],
1952
- size: { width: bounds10.width, height: bounds10.height },
1953
- center: { x: bounds10.centerX, y: bounds10.centerY }
2113
+ size: { width: bounds11.width, height: bounds11.height },
2114
+ center: { x: bounds11.centerX, y: bounds11.centerY }
1954
2115
  });
1955
2116
 
1956
2117
  // symbols/photodiode_vert.ts
1957
- var rotatedSymbol3 = rotateSymbol(photodiode_horz_default);
1958
- var texts10 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
1959
- var ref4 = texts10.find((t) => t.text === "{REF}");
2118
+ var rotatedSymbol4 = rotateSymbol(photodiode_horz_default);
2119
+ var texts11 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
2120
+ var ref4 = texts11.find((t) => t.text === "{REF}");
1960
2121
  ref4.y = 0;
1961
2122
  ref4.anchor = "middle_left";
1962
- var photodiode_vert_default = rotatedSymbol3;
2123
+ var photodiode_vert_default = rotatedSymbol4;
1963
2124
 
1964
2125
  // assets/generated/potentiometer.json
1965
2126
  var potentiometer_default = {
@@ -2097,21 +2258,21 @@ var potentiometer_default = {
2097
2258
  };
2098
2259
 
2099
2260
  // symbols/potentiometer_horz.ts
2100
- var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11 } = potentiometer_default;
2261
+ var { paths: paths12, texts: texts12, bounds: bounds12, refblocks: refblocks12 } = potentiometer_default;
2101
2262
  var potentiometer_horz_default = defineSymbol({
2102
2263
  primitives: [
2103
- ...Object.values(paths11),
2104
- { ...texts11.bottom1, y: 0.35, anchor: "middle_top" },
2105
- { ...texts11.right1, anchor: "middle_left" }
2264
+ ...Object.values(paths12),
2265
+ { ...texts12.bottom1, y: 0.35, anchor: "middle_top" },
2266
+ { ...texts12.right1, anchor: "middle_left" }
2106
2267
  ],
2107
2268
  ports: [
2108
- { ...refblocks11.left1, labels: ["1"] },
2269
+ { ...refblocks12.left1, labels: ["1"] },
2109
2270
  // TODO add more "standard" labels
2110
- { ...refblocks11.right1, labels: ["2"] }
2271
+ { ...refblocks12.right1, labels: ["2"] }
2111
2272
  // TODO add more "standard" labels
2112
2273
  ],
2113
- size: { width: bounds11.width + 0.05, height: bounds11.height },
2114
- center: { x: bounds11.centerX, y: bounds11.centerY }
2274
+ size: { width: bounds12.width + 0.05, height: bounds12.height },
2275
+ center: { x: bounds12.centerX, y: bounds12.centerY }
2115
2276
  });
2116
2277
 
2117
2278
  // symbols/potentiometer_vert.ts
@@ -2273,21 +2434,21 @@ var potentiometer2_default = {
2273
2434
  };
2274
2435
 
2275
2436
  // symbols/potentiometer2_horz.ts
2276
- var { paths: paths12, texts: texts12, bounds: bounds12, refblocks: refblocks12 } = potentiometer2_default;
2437
+ var { paths: paths13, texts: texts13, bounds: bounds13, refblocks: refblocks13 } = potentiometer2_default;
2277
2438
  var potentiometer2_horz_default = defineSymbol({
2278
2439
  primitives: [
2279
- ...Object.values(paths12),
2280
- { ...texts12.bottom1, anchor: "middle_right" },
2281
- { ...texts12.top1, anchor: "middle_left" }
2440
+ ...Object.values(paths13),
2441
+ { ...texts13.bottom1, anchor: "middle_right" },
2442
+ { ...texts13.top1, anchor: "middle_left" }
2282
2443
  ],
2283
2444
  ports: [
2284
- { ...refblocks12.left1, labels: ["1"] },
2445
+ { ...refblocks13.left1, labels: ["1"] },
2285
2446
  // TODO add more "standard" labels
2286
- { ...refblocks12.right1, labels: ["2"] }
2447
+ { ...refblocks13.right1, labels: ["2"] }
2287
2448
  // TODO add more "standard" labels
2288
2449
  ],
2289
- size: { width: bounds12.width, height: bounds12.height },
2290
- center: { x: bounds12.centerX, y: bounds12.centerY }
2450
+ size: { width: bounds13.width, height: bounds13.height },
2451
+ center: { x: bounds13.centerX, y: bounds13.centerY }
2291
2452
  });
2292
2453
 
2293
2454
  // symbols/potentiometer2_vert.ts
@@ -2394,21 +2555,21 @@ var push_button_normally_closed_momentary_default = {
2394
2555
  };
2395
2556
 
2396
2557
  // symbols/push_button_normally_closed_momentary_horz.ts
2397
- var { paths: paths13, texts: texts13, bounds: bounds13, refblocks: refblocks13 } = push_button_normally_closed_momentary_default;
2558
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14 } = push_button_normally_closed_momentary_default;
2398
2559
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
2399
2560
  primitives: [
2400
- ...Object.values(paths13),
2401
- { ...texts13.top1, anchor: "middle_bottom" },
2402
- { ...texts13.bottom1, anchor: "middle_top" }
2561
+ ...Object.values(paths14),
2562
+ { ...texts14.top1, anchor: "middle_bottom" },
2563
+ { ...texts14.bottom1, anchor: "middle_top" }
2403
2564
  ],
2404
2565
  ports: [
2405
- { ...refblocks13.left1, labels: ["1"] },
2566
+ { ...refblocks14.left1, labels: ["1"] },
2406
2567
  // TODO add more "standard" labels
2407
- { ...refblocks13.right1, labels: ["2"] }
2568
+ { ...refblocks14.right1, labels: ["2"] }
2408
2569
  // TODO add more "standard" labels
2409
2570
  ],
2410
- size: { width: bounds13.width, height: bounds13.height },
2411
- center: { x: bounds13.centerX, y: bounds13.centerY }
2571
+ size: { width: bounds14.width, height: bounds14.height },
2572
+ center: { x: bounds14.centerX, y: bounds14.centerY }
2412
2573
  });
2413
2574
 
2414
2575
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -2528,21 +2689,21 @@ var push_button_normally_open_momentary_default = {
2528
2689
  };
2529
2690
 
2530
2691
  // symbols/push_button_normally_open_momentary_horz.ts
2531
- var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14 } = push_button_normally_open_momentary_default;
2692
+ var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15 } = push_button_normally_open_momentary_default;
2532
2693
  var push_button_normally_open_momentary_horz_default = defineSymbol({
2533
2694
  primitives: [
2534
- ...Object.values(paths14),
2535
- { ...texts14.top1, anchor: "middle_bottom" },
2536
- { ...texts14.bottom1, anchor: "middle_top" }
2695
+ ...Object.values(paths15),
2696
+ { ...texts15.top1, anchor: "middle_bottom" },
2697
+ { ...texts15.bottom1, anchor: "middle_top" }
2537
2698
  ],
2538
2699
  ports: [
2539
- { ...refblocks14.left1, labels: ["1"] },
2700
+ { ...refblocks15.left1, labels: ["1"] },
2540
2701
  // TODO add more "standard" labels
2541
- { ...refblocks14.right1, labels: ["2"] }
2702
+ { ...refblocks15.right1, labels: ["2"] }
2542
2703
  // TODO add more "standard" labels
2543
2704
  ],
2544
- size: { width: bounds14.width, height: bounds14.height },
2545
- center: { x: bounds14.centerX, y: bounds14.centerY }
2705
+ size: { width: bounds15.width, height: bounds15.height },
2706
+ center: { x: bounds15.centerX, y: bounds15.centerY }
2546
2707
  });
2547
2708
 
2548
2709
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -2753,22 +2914,22 @@ var schottky_diode_default = {
2753
2914
  };
2754
2915
 
2755
2916
  // symbols/schottky_diode_horz.ts
2756
- var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15, circles: circles5 } = schottky_diode_default;
2917
+ var { paths: paths16, texts: texts16, bounds: bounds16, refblocks: refblocks16, circles: circles6 } = schottky_diode_default;
2757
2918
  var schottky_diode_horz_default = defineSymbol({
2758
2919
  primitives: [
2759
- ...Object.values(paths15),
2760
- ...Object.values(circles5),
2761
- { ...texts15.top1, anchor: "middle_bottom" },
2762
- { ...texts15.bottom1, anchor: "middle_top" }
2920
+ ...Object.values(paths16),
2921
+ ...Object.values(circles6),
2922
+ { ...texts16.top1, anchor: "middle_bottom" },
2923
+ { ...texts16.bottom1, anchor: "middle_top" }
2763
2924
  ],
2764
2925
  ports: [
2765
- { ...refblocks15.left1, labels: ["1"] },
2926
+ { ...refblocks16.left1, labels: ["1"] },
2766
2927
  // TODO add more "standard" labels
2767
- { ...refblocks15.right1, labels: ["2"] }
2928
+ { ...refblocks16.right1, labels: ["2"] }
2768
2929
  // TODO add more "standard" labels
2769
2930
  ],
2770
- size: { width: bounds15.width, height: bounds15.height },
2771
- center: { x: bounds15.centerX, y: bounds15.centerY }
2931
+ size: { width: bounds16.width, height: bounds16.height },
2932
+ center: { x: bounds16.centerX, y: bounds16.centerY }
2772
2933
  });
2773
2934
 
2774
2935
  // symbols/schottky_diode_vert.ts
@@ -2945,22 +3106,22 @@ var tunnel_diode_default = {
2945
3106
  };
2946
3107
 
2947
3108
  // symbols/tunnel_diode_horz.ts
2948
- var { paths: paths16, texts: texts16, bounds: bounds16, refblocks: refblocks16, circles: circles6 } = tunnel_diode_default;
3109
+ var { paths: paths17, texts: texts17, bounds: bounds17, refblocks: refblocks17, circles: circles7 } = tunnel_diode_default;
2949
3110
  var tunnel_diode_horz_default = defineSymbol({
2950
3111
  primitives: [
2951
- ...Object.values(paths16),
2952
- ...Object.values(circles6),
2953
- { ...texts16.top1, anchor: "middle_bottom" },
2954
- { ...texts16.bottom1, anchor: "middle_top" }
3112
+ ...Object.values(paths17),
3113
+ ...Object.values(circles7),
3114
+ { ...texts17.top1, anchor: "middle_bottom" },
3115
+ { ...texts17.bottom1, anchor: "middle_top" }
2955
3116
  ],
2956
3117
  ports: [
2957
- { ...refblocks16.left1, labels: ["1"] },
3118
+ { ...refblocks17.left1, labels: ["1"] },
2958
3119
  // TODO add more "standard" labels
2959
- { ...refblocks16.right1, labels: ["2"] }
3120
+ { ...refblocks17.right1, labels: ["2"] }
2960
3121
  // TODO add more "standard" labels
2961
3122
  ],
2962
- size: { width: bounds16.width, height: bounds16.height },
2963
- center: { x: bounds16.centerX, y: bounds16.centerY }
3123
+ size: { width: bounds17.width, height: bounds17.height },
3124
+ center: { x: bounds17.centerX, y: bounds17.centerY }
2964
3125
  });
2965
3126
 
2966
3127
  // symbols/tunnel_diode_vert.ts
@@ -3122,22 +3283,22 @@ var varactor_diode_default = {
3122
3283
  };
3123
3284
 
3124
3285
  // symbols/varactor_diode_horz.ts
3125
- var { paths: paths17, texts: texts17, bounds: bounds17, refblocks: refblocks17, circles: circles7 } = varactor_diode_default;
3286
+ var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles8 } = varactor_diode_default;
3126
3287
  var varactor_diode_horz_default = defineSymbol({
3127
3288
  primitives: [
3128
- ...Object.values(paths17),
3129
- ...Object.values(circles7),
3130
- { ...texts17.top1, anchor: "middle_bottom" },
3131
- { ...texts17.bottom1, anchor: "middle_top" }
3289
+ ...Object.values(paths18),
3290
+ ...Object.values(circles8),
3291
+ { ...texts18.top1, anchor: "middle_bottom" },
3292
+ { ...texts18.bottom1, anchor: "middle_top" }
3132
3293
  ],
3133
3294
  ports: [
3134
- { ...refblocks17.left1, labels: ["1"] },
3295
+ { ...refblocks18.left1, labels: ["1"] },
3135
3296
  // TODO add more "standard" labels
3136
- { ...refblocks17.right1, labels: ["2"] }
3297
+ { ...refblocks18.right1, labels: ["2"] }
3137
3298
  // TODO add more "standard" labels
3138
3299
  ],
3139
- size: { width: bounds17.width, height: bounds17.height },
3140
- center: { x: bounds17.centerX, y: bounds17.centerY }
3300
+ size: { width: bounds18.width, height: bounds18.height },
3301
+ center: { x: bounds18.centerX, y: bounds18.centerY }
3141
3302
  });
3142
3303
 
3143
3304
  // symbols/varactor_diode_vert.ts
@@ -3284,26 +3445,26 @@ var varistor_default = {
3284
3445
  };
3285
3446
 
3286
3447
  // symbols/varistor_horz.ts
3287
- var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18 } = varistor_default;
3448
+ var { paths: paths19, texts: texts19, bounds: bounds19, refblocks: refblocks19 } = varistor_default;
3288
3449
  var varistor_horz_default = defineSymbol({
3289
3450
  primitives: [
3290
- ...Object.values(paths18),
3291
- { ...texts18.top1, anchor: "middle_left" },
3292
- { ...texts18.bottom1, anchor: "middle_right" }
3451
+ ...Object.values(paths19),
3452
+ { ...texts19.top1, anchor: "middle_left" },
3453
+ { ...texts19.bottom1, anchor: "middle_right" }
3293
3454
  ],
3294
3455
  ports: [
3295
3456
  {
3296
- ...refblocks18.left1,
3457
+ ...refblocks19.left1,
3297
3458
  labels: ["1", "-"]
3298
3459
  },
3299
3460
  {
3300
- ...refblocks18.right1,
3461
+ ...refblocks19.right1,
3301
3462
  labels: ["2", "+"]
3302
3463
  }
3303
3464
  ],
3304
- size: { width: bounds18.width, height: bounds18.height },
3465
+ size: { width: bounds19.width, height: bounds19.height },
3305
3466
  //{ width: 1, height: 0.24 },
3306
- center: { x: bounds18.centerX, y: bounds18.centerY }
3467
+ center: { x: bounds19.centerX, y: bounds19.centerY }
3307
3468
  });
3308
3469
 
3309
3470
  // symbols/varistor_vert.ts
@@ -3409,11 +3570,11 @@ var volt_meter_default = {
3409
3570
  };
3410
3571
 
3411
3572
  // symbols/volt_meter_horz.ts
3412
- var { paths: paths19, texts: texts19, bounds: bounds19, circles: circles8, refblocks: refblocks19 } = volt_meter_default;
3573
+ var { paths: paths20, texts: texts20, bounds: bounds20, circles: circles9, refblocks: refblocks20 } = volt_meter_default;
3413
3574
  var volt_meter_horz_default = defineSymbol({
3414
3575
  primitives: [
3415
- ...Object.values(paths19),
3416
- ...Object.values(circles8),
3576
+ ...Object.values(paths20),
3577
+ ...Object.values(circles9),
3417
3578
  {
3418
3579
  type: "text",
3419
3580
  text: "{REF}",
@@ -3430,13 +3591,13 @@ var volt_meter_horz_default = defineSymbol({
3430
3591
  }
3431
3592
  ],
3432
3593
  ports: [
3433
- { ...refblocks19.left1, labels: ["1"] },
3594
+ { ...refblocks20.left1, labels: ["1"] },
3434
3595
  // TODO add more "standard" labels
3435
- { ...refblocks19.right1, labels: ["2"] }
3596
+ { ...refblocks20.right1, labels: ["2"] }
3436
3597
  // TODO add more "standard" labels
3437
3598
  ],
3438
- size: { width: bounds19.width, height: bounds19.height },
3439
- center: { x: bounds19.centerX, y: bounds19.centerY }
3599
+ size: { width: bounds20.width, height: bounds20.height },
3600
+ center: { x: bounds20.centerX, y: bounds20.centerY }
3440
3601
  });
3441
3602
 
3442
3603
  // symbols/volt_meter_vert.ts
@@ -3589,22 +3750,22 @@ var zener_diode_default = {
3589
3750
  };
3590
3751
 
3591
3752
  // symbols/zener_diode_horz.ts
3592
- var { paths: paths20, texts: texts20, bounds: bounds20, refblocks: refblocks20, circles: circles9 } = zener_diode_default;
3753
+ var { paths: paths21, texts: texts21, bounds: bounds21, refblocks: refblocks21, circles: circles10 } = zener_diode_default;
3593
3754
  var zener_diode_horz_default = defineSymbol({
3594
3755
  primitives: [
3595
- ...Object.values(paths20),
3596
- ...Object.values(circles9),
3597
- { ...texts20.top1, anchor: "middle_bottom" },
3598
- { ...texts20.bottom1, anchor: "middle_top" }
3756
+ ...Object.values(paths21),
3757
+ ...Object.values(circles10),
3758
+ { ...texts21.top1, anchor: "middle_bottom" },
3759
+ { ...texts21.bottom1, anchor: "middle_top" }
3599
3760
  ],
3600
3761
  ports: [
3601
- { ...refblocks20.left1, labels: ["1"] },
3762
+ { ...refblocks21.left1, labels: ["1"] },
3602
3763
  // TODO add more "standard" labels
3603
- { ...refblocks20.right1, labels: ["2"] }
3764
+ { ...refblocks21.right1, labels: ["2"] }
3604
3765
  // TODO add more "standard" labels
3605
3766
  ],
3606
- size: { width: bounds20.width, height: bounds20.height },
3607
- center: { x: bounds20.centerX, y: bounds20.centerY }
3767
+ size: { width: bounds21.width, height: bounds21.height },
3768
+ center: { x: bounds21.centerX, y: bounds21.centerY }
3608
3769
  });
3609
3770
 
3610
3771
  // symbols/zener_diode_vert.ts
@@ -3629,6 +3790,8 @@ var symbols_index_default = {
3629
3790
  "boxresistor_vert": boxresistor_vert_default,
3630
3791
  "capacitor_horz": capacitor_horz_default,
3631
3792
  "capacitor_vert": capacitor_vert_default,
3793
+ "dc_ammeter_horz": dc_ammeter_horz_default,
3794
+ "dc_ammeter_vert": dc_ammeter_vert_default,
3632
3795
  "dc_voltmeter_horz": dc_voltmeter_horz_default,
3633
3796
  "dc_voltmeter_vert": dc_voltmeter_vert_default,
3634
3797
  "diode_horz": diode_horz_default,