schematic-symbols 0.0.69 → 0.0.71
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +585 -306
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/SPST_switch_horz.ts +20 -0
- package/symbols/SPST_switch_vert.ts +20 -0
- package/symbols/filled_diode_horz.ts +32 -0
- package/symbols/filled_diode_vert.ts +4 -0
package/dist/index.js
CHANGED
@@ -1713,6 +1713,155 @@ var diode_horz_default = defineSymbol({
|
|
1713
1713
|
// symbols/diode_vert.ts
|
1714
1714
|
var diode_vert_default = rotateSymbol(diode_horz_default);
|
1715
1715
|
|
1716
|
+
// assets/generated/filled_diode.json
|
1717
|
+
var filled_diode_default = {
|
1718
|
+
paths: {
|
1719
|
+
path11: {
|
1720
|
+
type: "path",
|
1721
|
+
points: [
|
1722
|
+
{
|
1723
|
+
x: -0.5464958295000011,
|
1724
|
+
y: -0.03674480953641934
|
1725
|
+
},
|
1726
|
+
{
|
1727
|
+
x: -0.22498262950000125,
|
1728
|
+
y: -0.03674480953641934
|
1729
|
+
}
|
1730
|
+
],
|
1731
|
+
color: "primary",
|
1732
|
+
fill: false
|
1733
|
+
},
|
1734
|
+
path12: {
|
1735
|
+
type: "path",
|
1736
|
+
points: [
|
1737
|
+
{
|
1738
|
+
x: 0.13950697049999894,
|
1739
|
+
y: -0.04461410953641942
|
1740
|
+
},
|
1741
|
+
{
|
1742
|
+
x: 0.45879767049999964,
|
1743
|
+
y: -0.04461410953641942
|
1744
|
+
}
|
1745
|
+
],
|
1746
|
+
color: "primary",
|
1747
|
+
fill: false
|
1748
|
+
},
|
1749
|
+
"path12-6": {
|
1750
|
+
type: "path",
|
1751
|
+
points: [
|
1752
|
+
{
|
1753
|
+
x: 0.1346534705000002,
|
1754
|
+
y: 0.1570013904635803
|
1755
|
+
},
|
1756
|
+
{
|
1757
|
+
x: 0.13354747050000015,
|
1758
|
+
y: -0.24621560953641985
|
1759
|
+
}
|
1760
|
+
],
|
1761
|
+
color: "primary",
|
1762
|
+
fill: false
|
1763
|
+
},
|
1764
|
+
"path11-0-9": {
|
1765
|
+
type: "path",
|
1766
|
+
points: [
|
1767
|
+
{
|
1768
|
+
x: -0.2177038295000011,
|
1769
|
+
y: -0.26567520953641943
|
1770
|
+
},
|
1771
|
+
{
|
1772
|
+
x: -0.2197708295000007,
|
1773
|
+
y: 0.15700869046358035
|
1774
|
+
},
|
1775
|
+
{
|
1776
|
+
x: 0.13282137049999876,
|
1777
|
+
y: -0.0426085095364197
|
1778
|
+
},
|
1779
|
+
{
|
1780
|
+
x: -0.21378932950000062,
|
1781
|
+
y: -0.2668066095364201
|
1782
|
+
}
|
1783
|
+
],
|
1784
|
+
color: "primary",
|
1785
|
+
fill: true
|
1786
|
+
}
|
1787
|
+
},
|
1788
|
+
texts: {
|
1789
|
+
top1: {
|
1790
|
+
type: "text",
|
1791
|
+
text: "{REF}",
|
1792
|
+
x: -0.2435859295000009,
|
1793
|
+
y: -0.3777354095364187
|
1794
|
+
},
|
1795
|
+
bottom1: {
|
1796
|
+
type: "text",
|
1797
|
+
text: "{VAL}",
|
1798
|
+
x: -0.07353149016142102,
|
1799
|
+
y: 0.3877354095364185
|
1800
|
+
},
|
1801
|
+
right1: {
|
1802
|
+
type: "text",
|
1803
|
+
text: "",
|
1804
|
+
x: 0.5834896704999997,
|
1805
|
+
y: 0.3364777904635812
|
1806
|
+
}
|
1807
|
+
},
|
1808
|
+
refblocks: {
|
1809
|
+
left1: {
|
1810
|
+
x: -0.5653312295,
|
1811
|
+
y: -0.0358920095364188
|
1812
|
+
},
|
1813
|
+
right1: {
|
1814
|
+
x: 0.47024967049999944,
|
1815
|
+
y: -0.044757709536418666
|
1816
|
+
}
|
1817
|
+
},
|
1818
|
+
bounds: {
|
1819
|
+
minX: -0.5934896705,
|
1820
|
+
maxX: 0.6834896704999996,
|
1821
|
+
minY: -0.4777354095364187,
|
1822
|
+
maxY: 0.3877354095364185,
|
1823
|
+
width: 1.2769793409999997,
|
1824
|
+
height: 1,
|
1825
|
+
centerX: 0.04499999999999982,
|
1826
|
+
centerY: -0.045000000000000095
|
1827
|
+
},
|
1828
|
+
circles: {}
|
1829
|
+
};
|
1830
|
+
|
1831
|
+
// symbols/filled_diode_horz.ts
|
1832
|
+
var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11, circles: circles8 } = filled_diode_default;
|
1833
|
+
var filled_diode_horz_default = defineSymbol({
|
1834
|
+
primitives: [
|
1835
|
+
...Object.values(paths11),
|
1836
|
+
...Object.values(circles8),
|
1837
|
+
{
|
1838
|
+
type: "text",
|
1839
|
+
text: "{REF}",
|
1840
|
+
x: -0.1,
|
1841
|
+
y: -0.38,
|
1842
|
+
anchor: "middle_bottom"
|
1843
|
+
},
|
1844
|
+
{
|
1845
|
+
type: "text",
|
1846
|
+
text: "{VAL}",
|
1847
|
+
x: -0.1,
|
1848
|
+
y: 0.28,
|
1849
|
+
anchor: "middle_top"
|
1850
|
+
}
|
1851
|
+
],
|
1852
|
+
ports: [
|
1853
|
+
{ ...refblocks11.left1, labels: ["1"] },
|
1854
|
+
// TODO add more "standard" labels
|
1855
|
+
{ ...refblocks11.right1, labels: ["2"] }
|
1856
|
+
// TODO add more "standard" labels
|
1857
|
+
],
|
1858
|
+
size: { width: bounds11.width, height: bounds11.height },
|
1859
|
+
center: { x: bounds11.centerX, y: bounds11.centerY }
|
1860
|
+
});
|
1861
|
+
|
1862
|
+
// symbols/filled_diode_vert.ts
|
1863
|
+
var filled_diode_vert_default = rotateSymbol(filled_diode_horz_default);
|
1864
|
+
|
1716
1865
|
// assets/generated/fuse.json
|
1717
1866
|
var fuse_default = {
|
1718
1867
|
paths: {
|
@@ -1800,11 +1949,11 @@ var fuse_default = {
|
|
1800
1949
|
};
|
1801
1950
|
|
1802
1951
|
// symbols/fuse_horz.ts
|
1803
|
-
var { paths:
|
1952
|
+
var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = fuse_default;
|
1804
1953
|
var fuse_horz_default = defineSymbol({
|
1805
1954
|
primitives: [
|
1806
|
-
...Object.values(
|
1807
|
-
{ ...
|
1955
|
+
...Object.values(paths12),
|
1956
|
+
{ ...texts14.top1, anchor: "middle_bottom" },
|
1808
1957
|
{
|
1809
1958
|
type: "text",
|
1810
1959
|
text: "{VAL}",
|
@@ -1814,13 +1963,13 @@ var fuse_horz_default = defineSymbol({
|
|
1814
1963
|
}
|
1815
1964
|
],
|
1816
1965
|
ports: [
|
1817
|
-
{ ...
|
1966
|
+
{ ...refblocks12.left1, labels: ["1"] },
|
1818
1967
|
// TODO add more "standard" labels
|
1819
|
-
{ ...
|
1968
|
+
{ ...refblocks12.right1, labels: ["2"] }
|
1820
1969
|
// TODO add more "standard" labels
|
1821
1970
|
],
|
1822
|
-
size: { width:
|
1823
|
-
center: { x:
|
1971
|
+
size: { width: bounds12.width, height: bounds12.height },
|
1972
|
+
center: { x: bounds12.centerX, y: bounds12.centerY }
|
1824
1973
|
});
|
1825
1974
|
|
1826
1975
|
// symbols/fuse_vert.ts
|
@@ -1944,12 +2093,12 @@ var gunn_diode_default = {
|
|
1944
2093
|
};
|
1945
2094
|
|
1946
2095
|
// symbols/gunn_diode_horz.ts
|
1947
|
-
var { paths:
|
2096
|
+
var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = gunn_diode_default;
|
1948
2097
|
var gunn_diode_horz_default = defineSymbol({
|
1949
2098
|
primitives: [
|
1950
|
-
...Object.values(
|
1951
|
-
...Object.values(
|
1952
|
-
{ ...
|
2099
|
+
...Object.values(paths13),
|
2100
|
+
...Object.values(circles9),
|
2101
|
+
{ ...texts15.top1, anchor: "middle_left" },
|
1953
2102
|
{
|
1954
2103
|
type: "text",
|
1955
2104
|
text: "{VAL}",
|
@@ -1959,20 +2108,20 @@ var gunn_diode_horz_default = defineSymbol({
|
|
1959
2108
|
// { ...texts.bottom1, anchor: "middle_left" },
|
1960
2109
|
],
|
1961
2110
|
ports: [
|
1962
|
-
{ ...
|
2111
|
+
{ ...refblocks13.left1, labels: ["1"] },
|
1963
2112
|
// TODO add more "standard" labels
|
1964
|
-
{ ...
|
2113
|
+
{ ...refblocks13.right1, labels: ["2"] }
|
1965
2114
|
// TODO add more "standard" labels
|
1966
2115
|
],
|
1967
|
-
size: { width:
|
1968
|
-
center: { x:
|
2116
|
+
size: { width: bounds13.width, height: bounds13.height },
|
2117
|
+
center: { x: bounds13.centerX, y: bounds13.centerY }
|
1969
2118
|
});
|
1970
2119
|
|
1971
2120
|
// symbols/gunn_diode_vert.ts
|
1972
2121
|
var rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
|
1973
|
-
var
|
1974
|
-
var ref5 =
|
1975
|
-
var val5 =
|
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}");
|
1976
2125
|
ref5.x = 0.25;
|
1977
2126
|
ref5.y = -0.045;
|
1978
2127
|
val5.x = -0.55;
|
@@ -2158,11 +2307,11 @@ var igbt_transistor_default = {
|
|
2158
2307
|
};
|
2159
2308
|
|
2160
2309
|
// symbols/igbt_transistor_horz.ts
|
2161
|
-
var { paths:
|
2310
|
+
var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = igbt_transistor_default;
|
2162
2311
|
var igbt_transistor_horz_default = defineSymbol({
|
2163
2312
|
primitives: [
|
2164
|
-
...Object.values(
|
2165
|
-
...Object.values(
|
2313
|
+
...Object.values(paths14),
|
2314
|
+
...Object.values(circles10),
|
2166
2315
|
{
|
2167
2316
|
type: "text",
|
2168
2317
|
text: "{REF}",
|
@@ -2179,15 +2328,15 @@ var igbt_transistor_horz_default = defineSymbol({
|
|
2179
2328
|
}
|
2180
2329
|
],
|
2181
2330
|
ports: [
|
2182
|
-
{ ...
|
2331
|
+
{ ...refblocks14.top1, labels: ["1"] },
|
2183
2332
|
// TODO add more "standard" labels
|
2184
|
-
{ ...
|
2333
|
+
{ ...refblocks14.bottom1, labels: ["2"] },
|
2185
2334
|
// TODO add more "standard" labels
|
2186
|
-
{ ...
|
2335
|
+
{ ...refblocks14.left1, labels: ["3"] }
|
2187
2336
|
// TODO add more "standard" labels
|
2188
2337
|
],
|
2189
|
-
size: { width:
|
2190
|
-
center: { x:
|
2338
|
+
size: { width: bounds14.width, height: bounds14.height },
|
2339
|
+
center: { x: bounds14.centerX + 0.06, y: bounds14.centerY }
|
2191
2340
|
});
|
2192
2341
|
|
2193
2342
|
// symbols/igbt_transistor_vert.ts
|
@@ -2445,28 +2594,28 @@ var laser_diode_default = {
|
|
2445
2594
|
};
|
2446
2595
|
|
2447
2596
|
// symbols/laser_diode_horz.ts
|
2448
|
-
var { paths:
|
2597
|
+
var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles11 } = laser_diode_default;
|
2449
2598
|
var laser_diode_horz_default = defineSymbol({
|
2450
2599
|
primitives: [
|
2451
|
-
...Object.values(
|
2452
|
-
...Object.values(
|
2453
|
-
{ ...
|
2454
|
-
{ ...
|
2600
|
+
...Object.values(paths15),
|
2601
|
+
...Object.values(circles11),
|
2602
|
+
{ ...texts18.top1, anchor: "middle_left" },
|
2603
|
+
{ ...texts18.bottom1, anchor: "middle_bottom" }
|
2455
2604
|
],
|
2456
2605
|
ports: [
|
2457
|
-
{ ...
|
2606
|
+
{ ...refblocks15.left1, labels: ["1"] },
|
2458
2607
|
// TODO add more "standard" labels
|
2459
|
-
{ ...
|
2608
|
+
{ ...refblocks15.right1, labels: ["2"] }
|
2460
2609
|
// TODO add more "standard" labels
|
2461
2610
|
],
|
2462
|
-
size: { width:
|
2463
|
-
center: { x:
|
2611
|
+
size: { width: bounds15.width, height: bounds15.height },
|
2612
|
+
center: { x: bounds15.centerX, y: bounds15.centerY }
|
2464
2613
|
});
|
2465
2614
|
|
2466
2615
|
// symbols/laser_diode_vert.ts
|
2467
2616
|
var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
|
2468
|
-
var
|
2469
|
-
var ref7 =
|
2617
|
+
var texts19 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
|
2618
|
+
var ref7 = texts19.find((t) => t.text === "{VAL}");
|
2470
2619
|
ref7.x = -0.52;
|
2471
2620
|
ref7.anchor = "middle_right";
|
2472
2621
|
var laser_diode_vert_default = rotatedSymbol8;
|
@@ -2686,19 +2835,19 @@ var led_default = {
|
|
2686
2835
|
};
|
2687
2836
|
|
2688
2837
|
// symbols/led_horz.ts
|
2689
|
-
var { paths:
|
2838
|
+
var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = led_default;
|
2690
2839
|
var led_horz_default = defineSymbol({
|
2691
2840
|
primitives: [
|
2692
|
-
...Object.values(
|
2693
|
-
{ ...
|
2694
|
-
{ ...
|
2841
|
+
...Object.values(paths16),
|
2842
|
+
{ ...texts20.bottom1, anchor: "middle_right" },
|
2843
|
+
{ ...texts20.right1, anchor: "middle_left" }
|
2695
2844
|
],
|
2696
2845
|
ports: [
|
2697
|
-
{ ...
|
2698
|
-
{ ...
|
2846
|
+
{ ...refblocks16.left1, labels: ["1", "anode", "pos"] },
|
2847
|
+
{ ...refblocks16.right1, labels: ["2", "cathode", "neg"] }
|
2699
2848
|
],
|
2700
|
-
size: { width:
|
2701
|
-
center: { x:
|
2849
|
+
size: { width: bounds16.width, height: bounds16.height },
|
2850
|
+
center: { x: bounds16.centerX, y: bounds16.centerY + 0.1 }
|
2702
2851
|
});
|
2703
2852
|
|
2704
2853
|
// symbols/led_vert.ts
|
@@ -2987,23 +3136,23 @@ var mosfet_depletion_normally_on_default = {
|
|
2987
3136
|
};
|
2988
3137
|
|
2989
3138
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
2990
|
-
var { paths:
|
3139
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = mosfet_depletion_normally_on_default;
|
2991
3140
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
2992
3141
|
primitives: [
|
2993
|
-
...Object.values(
|
2994
|
-
{ ...
|
2995
|
-
{ ...
|
3142
|
+
...Object.values(paths17),
|
3143
|
+
{ ...texts21.right1, anchor: "middle_left" },
|
3144
|
+
{ ...texts21.right2, anchor: "middle_left" }
|
2996
3145
|
],
|
2997
3146
|
ports: [
|
2998
|
-
{ ...
|
3147
|
+
{ ...refblocks17.top1, labels: ["1"] },
|
2999
3148
|
// TODO add more "standard" labels
|
3000
|
-
{ ...
|
3149
|
+
{ ...refblocks17.bottom1, labels: ["2"] },
|
3001
3150
|
// TODO add more "standard" labels
|
3002
|
-
{ ...
|
3151
|
+
{ ...refblocks17.left1, labels: ["3"] }
|
3003
3152
|
// TODO add more "standard" labels
|
3004
3153
|
],
|
3005
|
-
size: { width:
|
3006
|
-
center: { x:
|
3154
|
+
size: { width: bounds17.width + 0.4, height: bounds17.height },
|
3155
|
+
center: { x: bounds17.centerX + 0.2, y: bounds17.centerY }
|
3007
3156
|
});
|
3008
3157
|
|
3009
3158
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
@@ -3214,34 +3363,34 @@ var n_channel_d_mosfet_transistor_default = {
|
|
3214
3363
|
};
|
3215
3364
|
|
3216
3365
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
3217
|
-
var { paths:
|
3366
|
+
var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = n_channel_d_mosfet_transistor_default;
|
3218
3367
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
3219
3368
|
primitives: [
|
3220
|
-
...Object.values(
|
3221
|
-
...Object.values(
|
3222
|
-
{ ...
|
3223
|
-
{ ...
|
3369
|
+
...Object.values(paths18),
|
3370
|
+
...Object.values(circles12),
|
3371
|
+
{ ...texts22.top1, anchor: "middle_right", x: 0 },
|
3372
|
+
{ ...texts22.bottom1, anchor: "middle_right", x: 0 }
|
3224
3373
|
],
|
3225
3374
|
ports: [
|
3226
|
-
{ ...
|
3375
|
+
{ ...refblocks18.top1, labels: ["1", "drain"] },
|
3227
3376
|
// TODO add more "standard" labels
|
3228
|
-
{ ...
|
3377
|
+
{ ...refblocks18.bottom1, labels: ["2", "source"] },
|
3229
3378
|
// TODO add more "standard" labels
|
3230
|
-
{ ...
|
3379
|
+
{ ...refblocks18.left1, labels: ["3", "gate"] }
|
3231
3380
|
// TODO add more "standard" labels
|
3232
3381
|
],
|
3233
|
-
size: { width:
|
3234
|
-
center: { x:
|
3382
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3383
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3235
3384
|
});
|
3236
3385
|
|
3237
3386
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
3238
3387
|
var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
3239
|
-
var
|
3240
|
-
var val9 =
|
3388
|
+
var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
3389
|
+
var val9 = texts23.find((t) => t.text === "{VAL}");
|
3241
3390
|
val9.x = -0.35;
|
3242
3391
|
val9.y = 0;
|
3243
3392
|
val9.anchor = "middle_right";
|
3244
|
-
var ref10 =
|
3393
|
+
var ref10 = texts23.find((t) => t.text === "{REF}");
|
3245
3394
|
ref10.y = 0;
|
3246
3395
|
ref10.x = 0.35;
|
3247
3396
|
ref10.anchor = "middle_left";
|
@@ -3411,34 +3560,34 @@ var njfet_transistor_default = {
|
|
3411
3560
|
};
|
3412
3561
|
|
3413
3562
|
// symbols/njfet_transistor_horz.ts
|
3414
|
-
var { paths:
|
3563
|
+
var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = njfet_transistor_default;
|
3415
3564
|
var njfet_transistor_horz_default = defineSymbol({
|
3416
3565
|
primitives: [
|
3417
|
-
...Object.values(
|
3418
|
-
...Object.values(
|
3419
|
-
{ ...
|
3420
|
-
{ ...
|
3566
|
+
...Object.values(paths19),
|
3567
|
+
...Object.values(circles13),
|
3568
|
+
{ ...texts24.top1, anchor: "middle_right", x: 0 },
|
3569
|
+
{ ...texts24.bottom1, anchor: "middle_right", x: 0 }
|
3421
3570
|
],
|
3422
3571
|
ports: [
|
3423
|
-
{ ...
|
3572
|
+
{ ...refblocks19.top1, labels: ["1", "drain"] },
|
3424
3573
|
// TODO add more "standard" labels
|
3425
|
-
{ ...
|
3574
|
+
{ ...refblocks19.bottom1, labels: ["2", "source"] },
|
3426
3575
|
// TODO add more "standard" labels
|
3427
|
-
{ ...
|
3576
|
+
{ ...refblocks19.left1, labels: ["3", "gate"] }
|
3428
3577
|
// TODO add more "standard" labels
|
3429
3578
|
],
|
3430
|
-
size: { width:
|
3431
|
-
center: { x:
|
3579
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3580
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3432
3581
|
});
|
3433
3582
|
|
3434
3583
|
// symbols/njfet_transistor_vert.ts
|
3435
3584
|
var rotatedSymbol10 = rotateSymbol(njfet_transistor_horz_default);
|
3436
|
-
var
|
3437
|
-
var val10 =
|
3585
|
+
var texts25 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3586
|
+
var val10 = texts25.find((t) => t.text === "{VAL}");
|
3438
3587
|
val10.x = -0.35;
|
3439
3588
|
val10.y = 0;
|
3440
3589
|
val10.anchor = "middle_right";
|
3441
|
-
var ref11 =
|
3590
|
+
var ref11 = texts25.find((t) => t.text === "{REF}");
|
3442
3591
|
ref11.y = 0;
|
3443
3592
|
ref11.x = 0.35;
|
3444
3593
|
ref11.anchor = "middle_left";
|
@@ -3638,34 +3787,34 @@ var p_channel_d_mosfet_transistor_default = {
|
|
3638
3787
|
};
|
3639
3788
|
|
3640
3789
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
3641
|
-
var { paths:
|
3790
|
+
var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = p_channel_d_mosfet_transistor_default;
|
3642
3791
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
3643
3792
|
primitives: [
|
3644
|
-
...Object.values(
|
3645
|
-
...Object.values(
|
3646
|
-
{ ...
|
3647
|
-
{ ...
|
3793
|
+
...Object.values(paths20),
|
3794
|
+
...Object.values(circles14),
|
3795
|
+
{ ...texts26.top1, anchor: "middle_right", x: 0 },
|
3796
|
+
{ ...texts26.bottom1, anchor: "middle_right", x: 0 }
|
3648
3797
|
],
|
3649
3798
|
ports: [
|
3650
|
-
{ ...
|
3799
|
+
{ ...refblocks20.top1, labels: ["1", "drain"] },
|
3651
3800
|
// TODO add more "standard" labels
|
3652
|
-
{ ...
|
3801
|
+
{ ...refblocks20.bottom1, labels: ["2", "source"] },
|
3653
3802
|
// TODO add more "standard" labels
|
3654
|
-
{ ...
|
3803
|
+
{ ...refblocks20.left1, labels: ["3", "gate"] }
|
3655
3804
|
// TODO add more "standard" labels
|
3656
3805
|
],
|
3657
|
-
size: { width:
|
3658
|
-
center: { x:
|
3806
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3807
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3659
3808
|
});
|
3660
3809
|
|
3661
3810
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
3662
3811
|
var rotatedSymbol11 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
3663
|
-
var
|
3664
|
-
var val11 =
|
3812
|
+
var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3813
|
+
var val11 = texts27.find((t) => t.text === "{VAL}");
|
3665
3814
|
val11.x = -0.35;
|
3666
3815
|
val11.y = 0;
|
3667
3816
|
val11.anchor = "middle_right";
|
3668
|
-
var ref12 =
|
3817
|
+
var ref12 = texts27.find((t) => t.text === "{REF}");
|
3669
3818
|
ref12.y = 0;
|
3670
3819
|
ref12.x = 0.35;
|
3671
3820
|
ref12.anchor = "middle_left";
|
@@ -3895,34 +4044,34 @@ var p_channel_e_mosfet_transistor_default = {
|
|
3895
4044
|
};
|
3896
4045
|
|
3897
4046
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
3898
|
-
var { paths:
|
4047
|
+
var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = p_channel_e_mosfet_transistor_default;
|
3899
4048
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
3900
4049
|
primitives: [
|
3901
|
-
...Object.values(
|
3902
|
-
...Object.values(
|
3903
|
-
{ ...
|
3904
|
-
{ ...
|
4050
|
+
...Object.values(paths21),
|
4051
|
+
...Object.values(circles15),
|
4052
|
+
{ ...texts28.top1, anchor: "middle_right", x: 0 },
|
4053
|
+
{ ...texts28.bottom1, anchor: "middle_right", x: 0 }
|
3905
4054
|
],
|
3906
4055
|
ports: [
|
3907
|
-
{ ...
|
4056
|
+
{ ...refblocks21.top1, labels: ["1", "drain"] },
|
3908
4057
|
// TODO add more "standard" labels
|
3909
|
-
{ ...
|
4058
|
+
{ ...refblocks21.bottom1, labels: ["2", "source"] },
|
3910
4059
|
// TODO add more "standard" labels
|
3911
|
-
{ ...
|
4060
|
+
{ ...refblocks21.left1, labels: ["3", "gate"] }
|
3912
4061
|
// TODO add more "standard" labels
|
3913
4062
|
],
|
3914
|
-
size: { width:
|
3915
|
-
center: { x:
|
4063
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4064
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3916
4065
|
});
|
3917
4066
|
|
3918
4067
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
3919
4068
|
var rotatedSymbol12 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
3920
|
-
var
|
3921
|
-
var val12 =
|
4069
|
+
var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
4070
|
+
var val12 = texts29.find((t) => t.text === "{VAL}");
|
3922
4071
|
val12.x = -0.35;
|
3923
4072
|
val12.y = 0;
|
3924
4073
|
val12.anchor = "middle_right";
|
3925
|
-
var ref13 =
|
4074
|
+
var ref13 = texts29.find((t) => t.text === "{REF}");
|
3926
4075
|
ref13.y = 0;
|
3927
4076
|
ref13.x = 0.35;
|
3928
4077
|
ref13.anchor = "middle_left";
|
@@ -4153,11 +4302,11 @@ var photodiode_default = {
|
|
4153
4302
|
};
|
4154
4303
|
|
4155
4304
|
// symbols/photodiode_horz.ts
|
4156
|
-
var { paths:
|
4305
|
+
var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = photodiode_default;
|
4157
4306
|
var photodiode_horz_default = defineSymbol({
|
4158
4307
|
primitives: [
|
4159
|
-
...Object.values(
|
4160
|
-
...Object.values(
|
4308
|
+
...Object.values(paths22),
|
4309
|
+
...Object.values(circles16),
|
4161
4310
|
{
|
4162
4311
|
type: "text",
|
4163
4312
|
text: "{REF}",
|
@@ -4174,19 +4323,19 @@ var photodiode_horz_default = defineSymbol({
|
|
4174
4323
|
}
|
4175
4324
|
],
|
4176
4325
|
ports: [
|
4177
|
-
{ ...
|
4326
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4178
4327
|
// TODO add more "standard" labels
|
4179
|
-
{ ...
|
4328
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4180
4329
|
// TODO add more "standard" labels
|
4181
4330
|
],
|
4182
|
-
size: { width:
|
4183
|
-
center: { x:
|
4331
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4332
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4184
4333
|
});
|
4185
4334
|
|
4186
4335
|
// symbols/photodiode_vert.ts
|
4187
4336
|
var rotatedSymbol13 = rotateSymbol(photodiode_horz_default);
|
4188
|
-
var
|
4189
|
-
var ref14 =
|
4337
|
+
var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
4338
|
+
var ref14 = texts31.find((t) => t.text === "{REF}");
|
4190
4339
|
ref14.y = 0;
|
4191
4340
|
ref14.anchor = "middle_left";
|
4192
4341
|
var photodiode_vert_default = rotatedSymbol13;
|
@@ -4355,34 +4504,34 @@ var pjfet_transistor_default = {
|
|
4355
4504
|
};
|
4356
4505
|
|
4357
4506
|
// symbols/pjfet_transistor_horz.ts
|
4358
|
-
var { paths:
|
4507
|
+
var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = pjfet_transistor_default;
|
4359
4508
|
var pjfet_transistor_horz_default = defineSymbol({
|
4360
4509
|
primitives: [
|
4361
|
-
...Object.values(
|
4362
|
-
...Object.values(
|
4363
|
-
{ ...
|
4364
|
-
{ ...
|
4510
|
+
...Object.values(paths23),
|
4511
|
+
...Object.values(circles17),
|
4512
|
+
{ ...texts32.top1, anchor: "middle_right", x: 0 },
|
4513
|
+
{ ...texts32.bottom1, anchor: "middle_right" }
|
4365
4514
|
],
|
4366
4515
|
ports: [
|
4367
|
-
{ ...
|
4516
|
+
{ ...refblocks23.top1, labels: ["1", "drain"] },
|
4368
4517
|
// TODO add more "standard" labels
|
4369
|
-
{ ...
|
4518
|
+
{ ...refblocks23.bottom1, labels: ["2", "source"] },
|
4370
4519
|
// TODO add more "standard" labels
|
4371
|
-
{ ...
|
4520
|
+
{ ...refblocks23.left1, labels: ["3", "gate"] }
|
4372
4521
|
// TODO add more "standard" labels
|
4373
4522
|
],
|
4374
|
-
size: { width:
|
4375
|
-
center: { x:
|
4523
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4524
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4376
4525
|
});
|
4377
4526
|
|
4378
4527
|
// symbols/pjfet_transistor_vert.ts
|
4379
4528
|
var rotatedSymbol14 = rotateSymbol(pjfet_transistor_horz_default);
|
4380
|
-
var
|
4381
|
-
var val13 =
|
4529
|
+
var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
4530
|
+
var val13 = texts33.find((t) => t.text === "{VAL}");
|
4382
4531
|
val13.x = -0.35;
|
4383
4532
|
val13.y = 0;
|
4384
4533
|
val13.anchor = "middle_right";
|
4385
|
-
var ref15 =
|
4534
|
+
var ref15 = texts33.find((t) => t.text === "{REF}");
|
4386
4535
|
ref15.y = 0;
|
4387
4536
|
ref15.x = 0.35;
|
4388
4537
|
ref15.anchor = "middle_left";
|
@@ -4524,21 +4673,21 @@ var potentiometer_default = {
|
|
4524
4673
|
};
|
4525
4674
|
|
4526
4675
|
// symbols/potentiometer_horz.ts
|
4527
|
-
var { paths:
|
4676
|
+
var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24 } = potentiometer_default;
|
4528
4677
|
var potentiometer_horz_default = defineSymbol({
|
4529
4678
|
primitives: [
|
4530
|
-
...Object.values(
|
4531
|
-
{ ...
|
4532
|
-
{ ...
|
4679
|
+
...Object.values(paths24),
|
4680
|
+
{ ...texts34.bottom1, y: 0.35, anchor: "middle_top" },
|
4681
|
+
{ ...texts34.right1, anchor: "middle_left" }
|
4533
4682
|
],
|
4534
4683
|
ports: [
|
4535
|
-
{ ...
|
4684
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4536
4685
|
// TODO add more "standard" labels
|
4537
|
-
{ ...
|
4686
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4538
4687
|
// TODO add more "standard" labels
|
4539
4688
|
],
|
4540
|
-
size: { width:
|
4541
|
-
center: { x:
|
4689
|
+
size: { width: bounds24.width + 0.05, height: bounds24.height },
|
4690
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4542
4691
|
});
|
4543
4692
|
|
4544
4693
|
// symbols/potentiometer_vert.ts
|
@@ -4700,21 +4849,21 @@ var potentiometer2_default = {
|
|
4700
4849
|
};
|
4701
4850
|
|
4702
4851
|
// symbols/potentiometer2_horz.ts
|
4703
|
-
var { paths:
|
4852
|
+
var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25 } = potentiometer2_default;
|
4704
4853
|
var potentiometer2_horz_default = defineSymbol({
|
4705
4854
|
primitives: [
|
4706
|
-
...Object.values(
|
4707
|
-
{ ...
|
4708
|
-
{ ...
|
4855
|
+
...Object.values(paths25),
|
4856
|
+
{ ...texts35.bottom1, anchor: "middle_right" },
|
4857
|
+
{ ...texts35.top1, anchor: "middle_left" }
|
4709
4858
|
],
|
4710
4859
|
ports: [
|
4711
|
-
{ ...
|
4860
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4712
4861
|
// TODO add more "standard" labels
|
4713
|
-
{ ...
|
4862
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4714
4863
|
// TODO add more "standard" labels
|
4715
4864
|
],
|
4716
|
-
size: { width:
|
4717
|
-
center: { x:
|
4865
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4866
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4718
4867
|
});
|
4719
4868
|
|
4720
4869
|
// symbols/potentiometer2_vert.ts
|
@@ -4807,11 +4956,11 @@ var power_factor_meter_default = {
|
|
4807
4956
|
};
|
4808
4957
|
|
4809
4958
|
// symbols/power_factor_meter_horz.ts
|
4810
|
-
var { paths:
|
4959
|
+
var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26, circles: circles18 } = power_factor_meter_default;
|
4811
4960
|
var power_factor_meter_horz_default = defineSymbol({
|
4812
4961
|
primitives: [
|
4813
|
-
...Object.values(
|
4814
|
-
...Object.values(
|
4962
|
+
...Object.values(paths26),
|
4963
|
+
...Object.values(circles18),
|
4815
4964
|
// { ...texts.top1, anchor: "middle_left" },
|
4816
4965
|
{
|
4817
4966
|
type: "text",
|
@@ -4838,21 +4987,21 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
4838
4987
|
}
|
4839
4988
|
],
|
4840
4989
|
ports: [
|
4841
|
-
{ ...
|
4990
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4842
4991
|
// TODO add more "standard" labels
|
4843
|
-
{ ...
|
4992
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4844
4993
|
// TODO add more "standard" labels
|
4845
4994
|
],
|
4846
|
-
size: { width:
|
4847
|
-
center: { x:
|
4995
|
+
size: { width: bounds26.width, height: bounds26.height },
|
4996
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4848
4997
|
});
|
4849
4998
|
|
4850
4999
|
// symbols/power_factor_meter_vert.ts
|
4851
5000
|
var rotatedSymbol15 = rotateSymbol(power_factor_meter_horz_default);
|
4852
|
-
var
|
4853
|
-
var ref16 =
|
4854
|
-
var val14 =
|
4855
|
-
var text_cos =
|
5001
|
+
var texts37 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
5002
|
+
var ref16 = texts37.find((t) => t.text === "{REF}");
|
5003
|
+
var val14 = texts37.find((t) => t.text === "{VAL}");
|
5004
|
+
var text_cos = texts37.find((t) => t.text === "COS \u03C6");
|
4856
5005
|
ref16.x = 0.35;
|
4857
5006
|
ref16.y = 0;
|
4858
5007
|
val14.x = -0.6;
|
@@ -4962,21 +5111,21 @@ var push_button_normally_closed_momentary_default = {
|
|
4962
5111
|
};
|
4963
5112
|
|
4964
5113
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
4965
|
-
var { paths:
|
5114
|
+
var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27 } = push_button_normally_closed_momentary_default;
|
4966
5115
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
4967
5116
|
primitives: [
|
4968
|
-
...Object.values(
|
4969
|
-
{ ...
|
4970
|
-
{ ...
|
5117
|
+
...Object.values(paths27),
|
5118
|
+
{ ...texts38.top1, anchor: "middle_bottom" },
|
5119
|
+
{ ...texts38.bottom1, anchor: "middle_top" }
|
4971
5120
|
],
|
4972
5121
|
ports: [
|
4973
|
-
{ ...
|
5122
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
4974
5123
|
// TODO add more "standard" labels
|
4975
|
-
{ ...
|
5124
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
4976
5125
|
// TODO add more "standard" labels
|
4977
5126
|
],
|
4978
|
-
size: { width:
|
4979
|
-
center: { x:
|
5127
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5128
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
4980
5129
|
});
|
4981
5130
|
|
4982
5131
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
@@ -5096,21 +5245,21 @@ var push_button_normally_open_momentary_default = {
|
|
5096
5245
|
};
|
5097
5246
|
|
5098
5247
|
// symbols/push_button_normally_open_momentary_horz.ts
|
5099
|
-
var { paths:
|
5248
|
+
var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28 } = push_button_normally_open_momentary_default;
|
5100
5249
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
5101
5250
|
primitives: [
|
5102
|
-
...Object.values(
|
5103
|
-
{ ...
|
5104
|
-
{ ...
|
5251
|
+
...Object.values(paths28),
|
5252
|
+
{ ...texts39.top1, anchor: "middle_bottom" },
|
5253
|
+
{ ...texts39.bottom1, anchor: "middle_top" }
|
5105
5254
|
],
|
5106
5255
|
ports: [
|
5107
|
-
{ ...
|
5256
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5108
5257
|
// TODO add more "standard" labels
|
5109
|
-
{ ...
|
5258
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5110
5259
|
// TODO add more "standard" labels
|
5111
5260
|
],
|
5112
|
-
size: { width:
|
5113
|
-
center: { x:
|
5261
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5262
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5114
5263
|
});
|
5115
5264
|
|
5116
5265
|
// symbols/push_button_normally_open_momentary_vert.ts
|
@@ -5475,11 +5624,11 @@ var resonator_default = {
|
|
5475
5624
|
};
|
5476
5625
|
|
5477
5626
|
// symbols/resonator_horz.ts
|
5478
|
-
var { paths:
|
5627
|
+
var { paths: paths29, texts: texts40, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = resonator_default;
|
5479
5628
|
var resonator_horz_default = defineSymbol({
|
5480
5629
|
primitives: [
|
5481
|
-
...Object.values(
|
5482
|
-
...Object.values(
|
5630
|
+
...Object.values(paths29),
|
5631
|
+
...Object.values(circles19),
|
5483
5632
|
// { ...texts.top1, anchor: "middle_left" },
|
5484
5633
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5485
5634
|
{
|
@@ -5498,15 +5647,15 @@ var resonator_horz_default = defineSymbol({
|
|
5498
5647
|
}
|
5499
5648
|
],
|
5500
5649
|
ports: [
|
5501
|
-
{ ...
|
5650
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5502
5651
|
// TODO add more "standard" labels
|
5503
|
-
{ ...
|
5652
|
+
{ ...refblocks29.right1, labels: ["2"] },
|
5504
5653
|
// TODO add more "standard" labels
|
5505
|
-
{ ...
|
5654
|
+
{ ...refblocks29.right2, labels: ["3"] }
|
5506
5655
|
// TODO add more "standard" labels
|
5507
5656
|
],
|
5508
|
-
size: { width:
|
5509
|
-
center: { x:
|
5657
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5658
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5510
5659
|
});
|
5511
5660
|
|
5512
5661
|
// symbols/resonator_vert.ts
|
@@ -5704,22 +5853,22 @@ var schottky_diode_default = {
|
|
5704
5853
|
};
|
5705
5854
|
|
5706
5855
|
// symbols/schottky_diode_horz.ts
|
5707
|
-
var { paths:
|
5856
|
+
var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = schottky_diode_default;
|
5708
5857
|
var schottky_diode_horz_default = defineSymbol({
|
5709
5858
|
primitives: [
|
5710
|
-
...Object.values(
|
5711
|
-
...Object.values(
|
5712
|
-
{ ...
|
5713
|
-
{ ...
|
5859
|
+
...Object.values(paths30),
|
5860
|
+
...Object.values(circles20),
|
5861
|
+
{ ...texts41.top1, anchor: "middle_bottom" },
|
5862
|
+
{ ...texts41.bottom1, anchor: "middle_top" }
|
5714
5863
|
],
|
5715
5864
|
ports: [
|
5716
|
-
{ ...
|
5865
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5717
5866
|
// TODO add more "standard" labels
|
5718
|
-
{ ...
|
5867
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
5719
5868
|
// TODO add more "standard" labels
|
5720
5869
|
],
|
5721
|
-
size: { width:
|
5722
|
-
center: { x:
|
5870
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5871
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5723
5872
|
});
|
5724
5873
|
|
5725
5874
|
// symbols/schottky_diode_vert.ts
|
@@ -5878,36 +6027,162 @@ var silicon_controlled_rectifier_default = {
|
|
5878
6027
|
};
|
5879
6028
|
|
5880
6029
|
// symbols/silicon_controlled_rectifier_horz.ts
|
5881
|
-
var { paths:
|
6030
|
+
var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = silicon_controlled_rectifier_default;
|
5882
6031
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
5883
6032
|
primitives: [
|
5884
|
-
...Object.values(
|
5885
|
-
...Object.values(
|
5886
|
-
{ ...
|
5887
|
-
{ ...
|
6033
|
+
...Object.values(paths31),
|
6034
|
+
...Object.values(circles21),
|
6035
|
+
{ ...texts42.top1, anchor: "middle_left" },
|
6036
|
+
{ ...texts42.bottom1, anchor: "middle_top" }
|
5888
6037
|
],
|
5889
6038
|
ports: [
|
5890
|
-
{ ...
|
6039
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5891
6040
|
// TODO add more "standard" labels
|
5892
|
-
{ ...
|
6041
|
+
{ ...refblocks31.right1, labels: ["2"] },
|
5893
6042
|
// TODO add more "standard" labels
|
5894
|
-
{ ...
|
6043
|
+
{ ...refblocks31.bottom1, labels: ["3"] }
|
5895
6044
|
// TODO add more "standard" labels
|
5896
6045
|
],
|
5897
|
-
size: { width:
|
5898
|
-
center: { x:
|
6046
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6047
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5899
6048
|
});
|
5900
6049
|
|
5901
6050
|
// symbols/silicon_controlled_rectifier_vert.ts
|
5902
6051
|
var rotatedSymbol16 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
5903
|
-
var
|
6052
|
+
var texts43 = rotatedSymbol16.primitives.filter(
|
5904
6053
|
(primitive) => primitive.type === "text"
|
5905
6054
|
);
|
5906
|
-
var ref20 =
|
6055
|
+
var ref20 = texts43.find((text) => text.text === "{REF}");
|
5907
6056
|
ref20.y = 0;
|
5908
6057
|
ref20.anchor = "middle_left";
|
5909
6058
|
var silicon_controlled_rectifier_vert_default = rotatedSymbol16;
|
5910
6059
|
|
6060
|
+
// assets/generated/SPST_switch.json
|
6061
|
+
var SPST_switch_default = {
|
6062
|
+
paths: {
|
6063
|
+
path11: {
|
6064
|
+
type: "path",
|
6065
|
+
points: [
|
6066
|
+
{
|
6067
|
+
x: -0.3622273500000006,
|
6068
|
+
y: -0.029865150000000895
|
6069
|
+
},
|
6070
|
+
{
|
6071
|
+
x: -0.13579835000000018,
|
6072
|
+
y: -0.029865150000000895
|
6073
|
+
}
|
6074
|
+
],
|
6075
|
+
color: "primary",
|
6076
|
+
fill: false
|
6077
|
+
},
|
6078
|
+
"path11-0": {
|
6079
|
+
type: "path",
|
6080
|
+
points: [
|
6081
|
+
{
|
6082
|
+
x: -0.12010005000000046,
|
6083
|
+
y: -0.02833465000000035
|
6084
|
+
},
|
6085
|
+
{
|
6086
|
+
x: 0.10307834999999987,
|
6087
|
+
y: -0.16802405000000076
|
6088
|
+
}
|
6089
|
+
],
|
6090
|
+
color: "primary",
|
6091
|
+
fill: false
|
6092
|
+
},
|
6093
|
+
path12: {
|
6094
|
+
type: "path",
|
6095
|
+
points: [
|
6096
|
+
{
|
6097
|
+
x: 0.12795584999999932,
|
6098
|
+
y: -0.029865150000000895
|
6099
|
+
},
|
6100
|
+
{
|
6101
|
+
x: 0.3686967499999996,
|
6102
|
+
y: -0.029865150000000895
|
6103
|
+
}
|
6104
|
+
],
|
6105
|
+
color: "primary",
|
6106
|
+
fill: false
|
6107
|
+
}
|
6108
|
+
},
|
6109
|
+
texts: {
|
6110
|
+
top1: {
|
6111
|
+
type: "text",
|
6112
|
+
text: "{REF}",
|
6113
|
+
x: -0.1864019499999996,
|
6114
|
+
y: -0.39216264999999995
|
6115
|
+
},
|
6116
|
+
bottom1: {
|
6117
|
+
type: "text",
|
6118
|
+
text: "{VAL}",
|
6119
|
+
x: -0.019730250000000504,
|
6120
|
+
y: 0.40216264999999995
|
6121
|
+
}
|
6122
|
+
},
|
6123
|
+
refblocks: {
|
6124
|
+
left1: {
|
6125
|
+
x: -0.37614274999999964,
|
6126
|
+
y: -0.02901224999999985
|
6127
|
+
},
|
6128
|
+
left2: {
|
6129
|
+
x: -0.12356015000000009,
|
6130
|
+
y: -0.025075450000000332
|
6131
|
+
},
|
6132
|
+
right1: {
|
6133
|
+
x: 0.37614274999999964,
|
6134
|
+
y: -0.030008650000000303
|
6135
|
+
},
|
6136
|
+
right2: {
|
6137
|
+
x: 0.11531695000000042,
|
6138
|
+
y: -0.025075450000000332
|
6139
|
+
}
|
6140
|
+
},
|
6141
|
+
bounds: {
|
6142
|
+
minX: -0.4043011909999996,
|
6143
|
+
maxX: 0.4043011909999996,
|
6144
|
+
minY: -0.4921626499999999,
|
6145
|
+
maxY: 0.40216264999999995,
|
6146
|
+
width: 1,
|
6147
|
+
height: 1,
|
6148
|
+
centerX: 0,
|
6149
|
+
centerY: -0.044999999999999984
|
6150
|
+
},
|
6151
|
+
circles: {}
|
6152
|
+
};
|
6153
|
+
|
6154
|
+
// symbols/SPST_switch_horz.ts
|
6155
|
+
var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = SPST_switch_default;
|
6156
|
+
var SPST_switch_horz_default = defineSymbol({
|
6157
|
+
primitives: [
|
6158
|
+
...Object.values(paths32),
|
6159
|
+
...Object.values(circles22),
|
6160
|
+
{ ...texts44.top1, anchor: "middle_bottom", x: 0 },
|
6161
|
+
{ ...texts44.bottom1, anchor: "middle_top", x: 0 }
|
6162
|
+
],
|
6163
|
+
ports: [
|
6164
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6165
|
+
// TODO add more "standard" labels
|
6166
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6167
|
+
// TODO add more "standard" labels
|
6168
|
+
],
|
6169
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6170
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6171
|
+
});
|
6172
|
+
|
6173
|
+
// symbols/SPST_switch_vert.ts
|
6174
|
+
var rotatedSymbol17 = rotateSymbol(SPST_switch_horz_default);
|
6175
|
+
var texts45 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
6176
|
+
var val18 = texts45.find((t) => t.text === "{VAL}");
|
6177
|
+
val18.anchor = "middle_right";
|
6178
|
+
val18.x = -0.3;
|
6179
|
+
val18.y = 0;
|
6180
|
+
var ref21 = texts45.find((t) => t.text === "{REF}");
|
6181
|
+
ref21.anchor = "middle_left";
|
6182
|
+
ref21.x = 0.3;
|
6183
|
+
ref21.y = 0;
|
6184
|
+
var SPST_switch_vert_default = rotatedSymbol17;
|
6185
|
+
|
5911
6186
|
// assets/generated/step_recovery_diode.json
|
5912
6187
|
var step_recovery_diode_default = {
|
5913
6188
|
paths: {
|
@@ -6070,11 +6345,11 @@ var step_recovery_diode_default = {
|
|
6070
6345
|
};
|
6071
6346
|
|
6072
6347
|
// symbols/step_recovery_diode_horz.ts
|
6073
|
-
var { paths:
|
6348
|
+
var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = step_recovery_diode_default;
|
6074
6349
|
var step_recovery_diode_horz_default = defineSymbol({
|
6075
6350
|
primitives: [
|
6076
|
-
...Object.values(
|
6077
|
-
...Object.values(
|
6351
|
+
...Object.values(paths33),
|
6352
|
+
...Object.values(circles23),
|
6078
6353
|
// { ...texts.top1, anchor: "middle_left" },
|
6079
6354
|
// { ...texts.bottom1, anchor: "middle_left" },
|
6080
6355
|
{
|
@@ -6093,13 +6368,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
6093
6368
|
}
|
6094
6369
|
],
|
6095
6370
|
ports: [
|
6096
|
-
{ ...
|
6371
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6097
6372
|
// TODO add more "standard" labels
|
6098
|
-
{ ...
|
6373
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6099
6374
|
// TODO add more "standard" labels
|
6100
6375
|
],
|
6101
|
-
size: { width:
|
6102
|
-
center: { x:
|
6376
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6377
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6103
6378
|
});
|
6104
6379
|
|
6105
6380
|
// symbols/step_recovery_diode_vert.ts
|
@@ -6296,36 +6571,36 @@ var triac_default = {
|
|
6296
6571
|
};
|
6297
6572
|
|
6298
6573
|
// symbols/triac_horz.ts
|
6299
|
-
var { paths:
|
6574
|
+
var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = triac_default;
|
6300
6575
|
var triac_horz_default = defineSymbol({
|
6301
6576
|
primitives: [
|
6302
|
-
...Object.values(
|
6303
|
-
...Object.values(
|
6304
|
-
{ ...
|
6305
|
-
{ ...
|
6577
|
+
...Object.values(paths34),
|
6578
|
+
...Object.values(circles24),
|
6579
|
+
{ ...texts47.top1, anchor: "middle_left" },
|
6580
|
+
{ ...texts47.bottom1, anchor: "middle_top" }
|
6306
6581
|
],
|
6307
6582
|
ports: [
|
6308
|
-
{ ...
|
6583
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6309
6584
|
// TODO add more "standard" labels
|
6310
|
-
{ ...
|
6585
|
+
{ ...refblocks34.right1, labels: ["2"] },
|
6311
6586
|
// TODO add more "standard" labels
|
6312
|
-
{ ...
|
6587
|
+
{ ...refblocks34.bottom1, labels: ["3"] }
|
6313
6588
|
// TODO add more "standard" labels
|
6314
6589
|
],
|
6315
|
-
size: { width:
|
6316
|
-
center: { x:
|
6590
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6591
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6317
6592
|
});
|
6318
6593
|
|
6319
6594
|
// symbols/triac_vert.ts
|
6320
|
-
var
|
6321
|
-
var
|
6595
|
+
var rotatedSymbol18 = rotateSymbol(triac_horz_default);
|
6596
|
+
var texts48 = rotatedSymbol18.primitives.filter(
|
6322
6597
|
(primitive) => primitive.type === "text"
|
6323
6598
|
);
|
6324
|
-
var
|
6325
|
-
var
|
6326
|
-
|
6327
|
-
|
6328
|
-
var triac_vert_default =
|
6599
|
+
var ref22 = texts48.find((text) => text.text === "{REF}");
|
6600
|
+
var val19 = texts48.find((text) => text.text === "{VAL}");
|
6601
|
+
ref22.y = 0;
|
6602
|
+
val19.y = 0;
|
6603
|
+
var triac_vert_default = rotatedSymbol18;
|
6329
6604
|
|
6330
6605
|
// assets/generated/tunnel_diode.json
|
6331
6606
|
var tunnel_diode_default = {
|
@@ -6489,34 +6764,34 @@ var tunnel_diode_default = {
|
|
6489
6764
|
};
|
6490
6765
|
|
6491
6766
|
// symbols/tunnel_diode_horz.ts
|
6492
|
-
var { paths:
|
6767
|
+
var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = tunnel_diode_default;
|
6493
6768
|
var tunnel_diode_horz_default = defineSymbol({
|
6494
6769
|
primitives: [
|
6495
|
-
...Object.values(
|
6496
|
-
...Object.values(
|
6497
|
-
{ ...
|
6498
|
-
{ ...
|
6770
|
+
...Object.values(paths35),
|
6771
|
+
...Object.values(circles25),
|
6772
|
+
{ ...texts49.top1, anchor: "middle_bottom" },
|
6773
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
6499
6774
|
],
|
6500
6775
|
ports: [
|
6501
|
-
{ ...
|
6776
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6502
6777
|
// TODO add more "standard" labels
|
6503
|
-
{ ...
|
6778
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6504
6779
|
// TODO add more "standard" labels
|
6505
6780
|
],
|
6506
|
-
size: { width:
|
6507
|
-
center: { x:
|
6781
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6782
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6508
6783
|
});
|
6509
6784
|
|
6510
6785
|
// symbols/tunnel_diode_vert.ts
|
6511
6786
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
6512
|
-
var
|
6787
|
+
var ref23 = rotated9.primitives.find(
|
6513
6788
|
(p) => p.type === "text" && p.text === "{REF}"
|
6514
6789
|
);
|
6515
|
-
var
|
6790
|
+
var val20 = rotated9.primitives.find(
|
6516
6791
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6517
6792
|
);
|
6518
|
-
|
6519
|
-
|
6793
|
+
ref23.anchor = "middle_left";
|
6794
|
+
val20.anchor = "middle_right";
|
6520
6795
|
var tunnel_diode_vert_default = rotated9;
|
6521
6796
|
|
6522
6797
|
// assets/generated/unijunction_transistor.json
|
@@ -6687,37 +6962,37 @@ var unijunction_transistor_default = {
|
|
6687
6962
|
};
|
6688
6963
|
|
6689
6964
|
// symbols/unijunction_transistor_horz.ts
|
6690
|
-
var { paths:
|
6965
|
+
var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = unijunction_transistor_default;
|
6691
6966
|
var unijunction_transistor_horz_default = defineSymbol({
|
6692
6967
|
primitives: [
|
6693
|
-
...Object.values(
|
6694
|
-
...Object.values(
|
6695
|
-
{ ...
|
6696
|
-
{ ...
|
6968
|
+
...Object.values(paths36),
|
6969
|
+
...Object.values(circles26),
|
6970
|
+
{ ...texts50.top1, anchor: "middle_left" },
|
6971
|
+
{ ...texts50.bottom1, anchor: "middle_right" }
|
6697
6972
|
],
|
6698
6973
|
ports: [
|
6699
|
-
{ ...
|
6974
|
+
{ ...refblocks36.top1, labels: ["1"] },
|
6700
6975
|
// TODO add more "standard" labels
|
6701
|
-
{ ...
|
6976
|
+
{ ...refblocks36.bottom1, labels: ["2"] },
|
6702
6977
|
// TODO add more "standard" labels
|
6703
|
-
{ ...
|
6978
|
+
{ ...refblocks36.left1, labels: ["3"] }
|
6704
6979
|
// TODO add more "standard" labels
|
6705
6980
|
],
|
6706
|
-
size: { width:
|
6707
|
-
center: { x:
|
6981
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6982
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6708
6983
|
});
|
6709
6984
|
|
6710
6985
|
// symbols/unijunction_transistor_vert.ts
|
6711
|
-
var
|
6712
|
-
var
|
6986
|
+
var rotatedSymbol19 = rotateSymbol(unijunction_transistor_horz_default);
|
6987
|
+
var texts51 = rotatedSymbol19.primitives.filter(
|
6713
6988
|
(primitive) => primitive.type === "text"
|
6714
6989
|
);
|
6715
|
-
var
|
6716
|
-
|
6717
|
-
var
|
6718
|
-
|
6719
|
-
|
6720
|
-
var unijunction_transistor_vert_default =
|
6990
|
+
var ref24 = texts51.find((text) => text.text === "{REF}");
|
6991
|
+
ref24.y = 0.1;
|
6992
|
+
var val21 = texts51.find((text) => text.text === "{VAL}");
|
6993
|
+
val21.y = 0.1;
|
6994
|
+
val21.x = -0.4;
|
6995
|
+
var unijunction_transistor_vert_default = rotatedSymbol19;
|
6721
6996
|
|
6722
6997
|
// assets/generated/var_meter.json
|
6723
6998
|
var var_meter_default = {
|
@@ -6806,33 +7081,33 @@ var var_meter_default = {
|
|
6806
7081
|
};
|
6807
7082
|
|
6808
7083
|
// symbols/var_meter_horz.ts
|
6809
|
-
var { paths:
|
7084
|
+
var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = var_meter_default;
|
6810
7085
|
var var_meter_horz_default = defineSymbol({
|
6811
7086
|
primitives: [
|
6812
|
-
...Object.values(
|
6813
|
-
...Object.values(
|
7087
|
+
...Object.values(paths37),
|
7088
|
+
...Object.values(circles27),
|
6814
7089
|
{
|
6815
|
-
...
|
7090
|
+
...texts52.top1,
|
6816
7091
|
x: 0,
|
6817
7092
|
y: -0.3594553499999995,
|
6818
7093
|
anchor: "middle_bottom"
|
6819
7094
|
},
|
6820
7095
|
{
|
6821
|
-
...
|
7096
|
+
...texts52.bottom1,
|
6822
7097
|
x: 0,
|
6823
7098
|
y: 0.35,
|
6824
7099
|
anchor: "middle_top"
|
6825
7100
|
},
|
6826
|
-
{ ...
|
7101
|
+
{ ...texts52.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
6827
7102
|
],
|
6828
7103
|
ports: [
|
6829
|
-
{ ...
|
7104
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
6830
7105
|
// TODO add more "standard" labels
|
6831
|
-
{ ...
|
7106
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
6832
7107
|
// TODO add more "standard" labels
|
6833
7108
|
],
|
6834
|
-
size: { width:
|
6835
|
-
center: { x:
|
7109
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7110
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6836
7111
|
});
|
6837
7112
|
|
6838
7113
|
// symbols/var_meter_vert.ts
|
@@ -6985,34 +7260,34 @@ var varactor_diode_default = {
|
|
6985
7260
|
};
|
6986
7261
|
|
6987
7262
|
// symbols/varactor_diode_horz.ts
|
6988
|
-
var { paths:
|
7263
|
+
var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = varactor_diode_default;
|
6989
7264
|
var varactor_diode_horz_default = defineSymbol({
|
6990
7265
|
primitives: [
|
6991
|
-
...Object.values(
|
6992
|
-
...Object.values(
|
6993
|
-
{ ...
|
6994
|
-
{ ...
|
7266
|
+
...Object.values(paths38),
|
7267
|
+
...Object.values(circles28),
|
7268
|
+
{ ...texts53.top1, anchor: "middle_bottom" },
|
7269
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
6995
7270
|
],
|
6996
7271
|
ports: [
|
6997
|
-
{ ...
|
7272
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
6998
7273
|
// TODO add more "standard" labels
|
6999
|
-
{ ...
|
7274
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
7000
7275
|
// TODO add more "standard" labels
|
7001
7276
|
],
|
7002
|
-
size: { width:
|
7003
|
-
center: { x:
|
7277
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7278
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7004
7279
|
});
|
7005
7280
|
|
7006
7281
|
// symbols/varactor_diode_vert.ts
|
7007
7282
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
7008
|
-
var
|
7283
|
+
var ref25 = rotated10.primitives.find(
|
7009
7284
|
(p) => p.type === "text" && p.text === "{REF}"
|
7010
7285
|
);
|
7011
|
-
var
|
7286
|
+
var val22 = rotated10.primitives.find(
|
7012
7287
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7013
7288
|
);
|
7014
|
-
|
7015
|
-
|
7289
|
+
ref25.anchor = "middle_left";
|
7290
|
+
val22.anchor = "middle_right";
|
7016
7291
|
var varactor_diode_vert_default = rotated10;
|
7017
7292
|
|
7018
7293
|
// assets/generated/varistor.json
|
@@ -7147,26 +7422,26 @@ var varistor_default = {
|
|
7147
7422
|
};
|
7148
7423
|
|
7149
7424
|
// symbols/varistor_horz.ts
|
7150
|
-
var { paths:
|
7425
|
+
var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39 } = varistor_default;
|
7151
7426
|
var varistor_horz_default = defineSymbol({
|
7152
7427
|
primitives: [
|
7153
|
-
...Object.values(
|
7154
|
-
{ ...
|
7155
|
-
{ ...
|
7428
|
+
...Object.values(paths39),
|
7429
|
+
{ ...texts54.top1, anchor: "middle_left" },
|
7430
|
+
{ ...texts54.bottom1, anchor: "middle_right" }
|
7156
7431
|
],
|
7157
7432
|
ports: [
|
7158
7433
|
{
|
7159
|
-
...
|
7434
|
+
...refblocks39.left1,
|
7160
7435
|
labels: ["1", "-"]
|
7161
7436
|
},
|
7162
7437
|
{
|
7163
|
-
...
|
7438
|
+
...refblocks39.right1,
|
7164
7439
|
labels: ["2", "+"]
|
7165
7440
|
}
|
7166
7441
|
],
|
7167
|
-
size: { width:
|
7442
|
+
size: { width: bounds39.width, height: bounds39.height },
|
7168
7443
|
//{ width: 1, height: 0.24 },
|
7169
|
-
center: { x:
|
7444
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7170
7445
|
});
|
7171
7446
|
|
7172
7447
|
// symbols/varistor_vert.ts
|
@@ -7272,11 +7547,11 @@ var volt_meter_default = {
|
|
7272
7547
|
};
|
7273
7548
|
|
7274
7549
|
// symbols/volt_meter_horz.ts
|
7275
|
-
var { paths:
|
7550
|
+
var { paths: paths40, texts: texts55, bounds: bounds40, circles: circles29, refblocks: refblocks40 } = volt_meter_default;
|
7276
7551
|
var volt_meter_horz_default = defineSymbol({
|
7277
7552
|
primitives: [
|
7278
|
-
...Object.values(
|
7279
|
-
...Object.values(
|
7553
|
+
...Object.values(paths40),
|
7554
|
+
...Object.values(circles29),
|
7280
7555
|
{
|
7281
7556
|
type: "text",
|
7282
7557
|
text: "{REF}",
|
@@ -7293,13 +7568,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
7293
7568
|
}
|
7294
7569
|
],
|
7295
7570
|
ports: [
|
7296
|
-
{ ...
|
7571
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
7297
7572
|
// TODO add more "standard" labels
|
7298
|
-
{ ...
|
7573
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
7299
7574
|
// TODO add more "standard" labels
|
7300
7575
|
],
|
7301
|
-
size: { width:
|
7302
|
-
center: { x:
|
7576
|
+
size: { width: bounds40.width, height: bounds40.height },
|
7577
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7303
7578
|
});
|
7304
7579
|
|
7305
7580
|
// symbols/volt_meter_vert.ts
|
@@ -7452,34 +7727,34 @@ var zener_diode_default = {
|
|
7452
7727
|
};
|
7453
7728
|
|
7454
7729
|
// symbols/zener_diode_horz.ts
|
7455
|
-
var { paths:
|
7730
|
+
var { paths: paths41, texts: texts56, bounds: bounds41, refblocks: refblocks41, circles: circles30 } = zener_diode_default;
|
7456
7731
|
var zener_diode_horz_default = defineSymbol({
|
7457
7732
|
primitives: [
|
7458
|
-
...Object.values(
|
7459
|
-
...Object.values(
|
7460
|
-
{ ...
|
7461
|
-
{ ...
|
7733
|
+
...Object.values(paths41),
|
7734
|
+
...Object.values(circles30),
|
7735
|
+
{ ...texts56.top1, anchor: "middle_bottom" },
|
7736
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
7462
7737
|
],
|
7463
7738
|
ports: [
|
7464
|
-
{ ...
|
7739
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
7465
7740
|
// TODO add more "standard" labels
|
7466
|
-
{ ...
|
7741
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
7467
7742
|
// TODO add more "standard" labels
|
7468
7743
|
],
|
7469
|
-
size: { width:
|
7470
|
-
center: { x:
|
7744
|
+
size: { width: bounds41.width, height: bounds41.height },
|
7745
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
7471
7746
|
});
|
7472
7747
|
|
7473
7748
|
// symbols/zener_diode_vert.ts
|
7474
7749
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
7475
|
-
var
|
7750
|
+
var ref26 = rotated11.primitives.find(
|
7476
7751
|
(p) => p.type === "text" && p.text === "{REF}"
|
7477
7752
|
);
|
7478
|
-
var
|
7753
|
+
var val23 = rotated11.primitives.find(
|
7479
7754
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7480
7755
|
);
|
7481
|
-
|
7482
|
-
|
7756
|
+
ref26.anchor = "middle_left";
|
7757
|
+
val23.anchor = "middle_right";
|
7483
7758
|
var zener_diode_vert_default = rotated11;
|
7484
7759
|
|
7485
7760
|
// generated/symbols-index.ts
|
@@ -7504,6 +7779,8 @@ var symbols_index_default = {
|
|
7504
7779
|
"diac_vert": diac_vert_default,
|
7505
7780
|
"diode_horz": diode_horz_default,
|
7506
7781
|
"diode_vert": diode_vert_default,
|
7782
|
+
"filled_diode_horz": filled_diode_horz_default,
|
7783
|
+
"filled_diode_vert": filled_diode_vert_default,
|
7507
7784
|
"fuse_horz": fuse_horz_default,
|
7508
7785
|
"fuse_vert": fuse_vert_default,
|
7509
7786
|
"gunn_diode_horz": gunn_diode_horz_default,
|
@@ -7544,6 +7821,8 @@ var symbols_index_default = {
|
|
7544
7821
|
"schottky_diode_vert": schottky_diode_vert_default,
|
7545
7822
|
"silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,
|
7546
7823
|
"silicon_controlled_rectifier_vert": silicon_controlled_rectifier_vert_default,
|
7824
|
+
"SPST_switch_horz": SPST_switch_horz_default,
|
7825
|
+
"SPST_switch_vert": SPST_switch_vert_default,
|
7547
7826
|
"step_recovery_diode_horz": step_recovery_diode_horz_default,
|
7548
7827
|
"step_recovery_diode_vert": step_recovery_diode_vert_default,
|
7549
7828
|
"triac_horz": triac_horz_default,
|