schematic-symbols 0.0.70 → 0.0.72
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 +704 -351
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/filled_diode_horz.ts +32 -0
- package/symbols/filled_diode_vert.ts +4 -0
- package/symbols/npn_bipolar_transistor_horz.ts +32 -0
- package/symbols/npn_bipolar_transistor_vert.ts +12 -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,39 +3560,239 @@ 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";
|
3445
3594
|
var njfet_transistor_vert_default = rotatedSymbol10;
|
3446
3595
|
|
3596
|
+
// assets/generated/npn_bipolar_transistor.json
|
3597
|
+
var npn_bipolar_transistor_default = {
|
3598
|
+
paths: {
|
3599
|
+
path11: {
|
3600
|
+
type: "path",
|
3601
|
+
points: [
|
3602
|
+
{
|
3603
|
+
x: -0.3850939444999988,
|
3604
|
+
y: 0.0036735999999999436
|
3605
|
+
},
|
3606
|
+
{
|
3607
|
+
x: 0.0587620555000008,
|
3608
|
+
y: 0.0062965999999997635
|
3609
|
+
}
|
3610
|
+
],
|
3611
|
+
color: "primary",
|
3612
|
+
fill: false
|
3613
|
+
},
|
3614
|
+
"path40-0": {
|
3615
|
+
type: "path",
|
3616
|
+
points: [
|
3617
|
+
{
|
3618
|
+
x: 0.07400475550000118,
|
3619
|
+
y: -0.2689528999999997
|
3620
|
+
},
|
3621
|
+
{
|
3622
|
+
x: 0.07335475550000092,
|
3623
|
+
y: 0.2789230000000007
|
3624
|
+
}
|
3625
|
+
],
|
3626
|
+
color: "primary",
|
3627
|
+
fill: false
|
3628
|
+
},
|
3629
|
+
"path40-0-5": {
|
3630
|
+
type: "path",
|
3631
|
+
points: [
|
3632
|
+
{
|
3633
|
+
x: 0.2754149555000005,
|
3634
|
+
y: -0.24180210000000013
|
3635
|
+
},
|
3636
|
+
{
|
3637
|
+
x: 0.07955815550000045,
|
3638
|
+
y: -0.10822479999999968
|
3639
|
+
}
|
3640
|
+
],
|
3641
|
+
color: "primary",
|
3642
|
+
fill: false
|
3643
|
+
},
|
3644
|
+
"path40-0-5-0": {
|
3645
|
+
type: "path",
|
3646
|
+
points: [
|
3647
|
+
{
|
3648
|
+
x: 0.2868554555000009,
|
3649
|
+
y: 0.24134789999999984
|
3650
|
+
},
|
3651
|
+
{
|
3652
|
+
x: 0.09194705550000082,
|
3653
|
+
y: 0.10807689999999992
|
3654
|
+
}
|
3655
|
+
],
|
3656
|
+
color: "primary",
|
3657
|
+
fill: false
|
3658
|
+
},
|
3659
|
+
"path12-1-5": {
|
3660
|
+
type: "path",
|
3661
|
+
points: [
|
3662
|
+
{
|
3663
|
+
x: 0.2851204555,
|
3664
|
+
y: -0.25311099999999964
|
3665
|
+
},
|
3666
|
+
{
|
3667
|
+
x: 0.2860204555000001,
|
3668
|
+
y: -0.5377640999999995
|
3669
|
+
}
|
3670
|
+
],
|
3671
|
+
color: "primary",
|
3672
|
+
fill: false
|
3673
|
+
},
|
3674
|
+
"path12-1-5-3": {
|
3675
|
+
type: "path",
|
3676
|
+
points: [
|
3677
|
+
{
|
3678
|
+
x: 0.2851204555,
|
3679
|
+
y: 0.5376890000000012
|
3680
|
+
},
|
3681
|
+
{
|
3682
|
+
x: 0.2860204555000001,
|
3683
|
+
y: 0.25303590000000065
|
3684
|
+
}
|
3685
|
+
],
|
3686
|
+
color: "primary",
|
3687
|
+
fill: false
|
3688
|
+
},
|
3689
|
+
path15: {
|
3690
|
+
type: "path",
|
3691
|
+
points: [
|
3692
|
+
{
|
3693
|
+
x: 0.1882816555000013,
|
3694
|
+
y: 0.10097660000000008
|
3695
|
+
},
|
3696
|
+
{
|
3697
|
+
x: 0.11555775550000158,
|
3698
|
+
y: 0.20483720000000027
|
3699
|
+
},
|
3700
|
+
{
|
3701
|
+
x: 0.22425775550000182,
|
3702
|
+
y: 0.20446720000000007
|
3703
|
+
}
|
3704
|
+
],
|
3705
|
+
color: "primary",
|
3706
|
+
fill: true
|
3707
|
+
}
|
3708
|
+
},
|
3709
|
+
texts: {
|
3710
|
+
top1: {
|
3711
|
+
type: "text",
|
3712
|
+
text: "{REF}",
|
3713
|
+
x: -0.22497334449999973,
|
3714
|
+
y: -0.3596647999999991
|
3715
|
+
},
|
3716
|
+
bottom1: {
|
3717
|
+
type: "text",
|
3718
|
+
text: "{VAL}",
|
3719
|
+
x: -0.0679100444999996,
|
3720
|
+
y: 0.4129789000000006
|
3721
|
+
}
|
3722
|
+
},
|
3723
|
+
refblocks: {
|
3724
|
+
top1: {
|
3725
|
+
x: 0.28556045550000064,
|
3726
|
+
y: -0.5519250999999994
|
3727
|
+
},
|
3728
|
+
bottom1: {
|
3729
|
+
x: 0.285560455500002,
|
3730
|
+
y: 0.5519250999999992
|
3731
|
+
},
|
3732
|
+
left1: {
|
3733
|
+
x: -0.3990097444999998,
|
3734
|
+
y: 0.004526300000000871
|
3735
|
+
}
|
3736
|
+
},
|
3737
|
+
bounds: {
|
3738
|
+
minX: -0.4271681854999998,
|
3739
|
+
maxX: 0.4271681855000001,
|
3740
|
+
minY: -0.5800835409999994,
|
3741
|
+
maxY: 0.5800835409999991,
|
3742
|
+
width: 1,
|
3743
|
+
height: 1.1601670819999985,
|
3744
|
+
centerX: 13877787807814457e-32,
|
3745
|
+
centerY: -11102230246251565e-32
|
3746
|
+
},
|
3747
|
+
circles: {
|
3748
|
+
"path1-0": {
|
3749
|
+
type: "circle",
|
3750
|
+
x: 0.13862605550000007,
|
3751
|
+
y: -0.003454799999999203,
|
3752
|
+
radius: 0.28854213,
|
3753
|
+
color: "primary",
|
3754
|
+
fill: false
|
3755
|
+
}
|
3756
|
+
}
|
3757
|
+
};
|
3758
|
+
|
3759
|
+
// symbols/npn_bipolar_transistor_horz.ts
|
3760
|
+
var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = npn_bipolar_transistor_default;
|
3761
|
+
var npn_bipolar_transistor_horz_default = defineSymbol({
|
3762
|
+
primitives: [
|
3763
|
+
...Object.values(paths20),
|
3764
|
+
...Object.values(circles14),
|
3765
|
+
{
|
3766
|
+
type: "text",
|
3767
|
+
text: "{REF}",
|
3768
|
+
x: -0.07,
|
3769
|
+
y: -0.3596647999999991,
|
3770
|
+
anchor: "middle_right"
|
3771
|
+
},
|
3772
|
+
{
|
3773
|
+
type: "text",
|
3774
|
+
text: "{VAL}",
|
3775
|
+
x: -0.0679100444999996,
|
3776
|
+
y: 0.4129789000000006,
|
3777
|
+
anchor: "middle_right"
|
3778
|
+
}
|
3779
|
+
],
|
3780
|
+
ports: [
|
3781
|
+
{ ...refblocks20.top1, labels: ["1", "collector"] },
|
3782
|
+
{ ...refblocks20.bottom1, labels: ["2", "emitter"] },
|
3783
|
+
{ ...refblocks20.left1, labels: ["3", "base"] }
|
3784
|
+
],
|
3785
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3786
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3787
|
+
});
|
3788
|
+
|
3789
|
+
// symbols/npn_bipolar_transistor_vert.ts
|
3790
|
+
var rotatedSymbol11 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
3791
|
+
var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3792
|
+
var ref12 = texts27.find((t) => t.text === "{REF}");
|
3793
|
+
ref12.anchor = "middle_left";
|
3794
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol11;
|
3795
|
+
|
3447
3796
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
3448
3797
|
var p_channel_d_mosfet_transistor_default = {
|
3449
3798
|
paths: {
|
@@ -3638,38 +3987,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
3638
3987
|
};
|
3639
3988
|
|
3640
3989
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
3641
|
-
var { paths:
|
3990
|
+
var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = p_channel_d_mosfet_transistor_default;
|
3642
3991
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
3643
3992
|
primitives: [
|
3644
|
-
...Object.values(
|
3645
|
-
...Object.values(
|
3646
|
-
{ ...
|
3647
|
-
{ ...
|
3993
|
+
...Object.values(paths21),
|
3994
|
+
...Object.values(circles15),
|
3995
|
+
{ ...texts28.top1, anchor: "middle_right", x: 0 },
|
3996
|
+
{ ...texts28.bottom1, anchor: "middle_right", x: 0 }
|
3648
3997
|
],
|
3649
3998
|
ports: [
|
3650
|
-
{ ...
|
3999
|
+
{ ...refblocks21.top1, labels: ["1", "drain"] },
|
3651
4000
|
// TODO add more "standard" labels
|
3652
|
-
{ ...
|
4001
|
+
{ ...refblocks21.bottom1, labels: ["2", "source"] },
|
3653
4002
|
// TODO add more "standard" labels
|
3654
|
-
{ ...
|
4003
|
+
{ ...refblocks21.left1, labels: ["3", "gate"] }
|
3655
4004
|
// TODO add more "standard" labels
|
3656
4005
|
],
|
3657
|
-
size: { width:
|
3658
|
-
center: { x:
|
4006
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4007
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3659
4008
|
});
|
3660
4009
|
|
3661
4010
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
3662
|
-
var
|
3663
|
-
var
|
3664
|
-
var val11 =
|
4011
|
+
var rotatedSymbol12 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
4012
|
+
var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
4013
|
+
var val11 = texts29.find((t) => t.text === "{VAL}");
|
3665
4014
|
val11.x = -0.35;
|
3666
4015
|
val11.y = 0;
|
3667
4016
|
val11.anchor = "middle_right";
|
3668
|
-
var
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
4017
|
+
var ref13 = texts29.find((t) => t.text === "{REF}");
|
4018
|
+
ref13.y = 0;
|
4019
|
+
ref13.x = 0.35;
|
4020
|
+
ref13.anchor = "middle_left";
|
4021
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
|
3673
4022
|
|
3674
4023
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
3675
4024
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -3895,38 +4244,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
3895
4244
|
};
|
3896
4245
|
|
3897
4246
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
3898
|
-
var { paths:
|
4247
|
+
var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = p_channel_e_mosfet_transistor_default;
|
3899
4248
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
3900
4249
|
primitives: [
|
3901
|
-
...Object.values(
|
3902
|
-
...Object.values(
|
3903
|
-
{ ...
|
3904
|
-
{ ...
|
4250
|
+
...Object.values(paths22),
|
4251
|
+
...Object.values(circles16),
|
4252
|
+
{ ...texts30.top1, anchor: "middle_right", x: 0 },
|
4253
|
+
{ ...texts30.bottom1, anchor: "middle_right", x: 0 }
|
3905
4254
|
],
|
3906
4255
|
ports: [
|
3907
|
-
{ ...
|
4256
|
+
{ ...refblocks22.top1, labels: ["1", "drain"] },
|
3908
4257
|
// TODO add more "standard" labels
|
3909
|
-
{ ...
|
4258
|
+
{ ...refblocks22.bottom1, labels: ["2", "source"] },
|
3910
4259
|
// TODO add more "standard" labels
|
3911
|
-
{ ...
|
4260
|
+
{ ...refblocks22.left1, labels: ["3", "gate"] }
|
3912
4261
|
// TODO add more "standard" labels
|
3913
4262
|
],
|
3914
|
-
size: { width:
|
3915
|
-
center: { x:
|
4263
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4264
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
3916
4265
|
});
|
3917
4266
|
|
3918
4267
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
3919
|
-
var
|
3920
|
-
var
|
3921
|
-
var val12 =
|
4268
|
+
var rotatedSymbol13 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
4269
|
+
var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
4270
|
+
var val12 = texts31.find((t) => t.text === "{VAL}");
|
3922
4271
|
val12.x = -0.35;
|
3923
4272
|
val12.y = 0;
|
3924
4273
|
val12.anchor = "middle_right";
|
3925
|
-
var
|
3926
|
-
|
3927
|
-
|
3928
|
-
|
3929
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
4274
|
+
var ref14 = texts31.find((t) => t.text === "{REF}");
|
4275
|
+
ref14.y = 0;
|
4276
|
+
ref14.x = 0.35;
|
4277
|
+
ref14.anchor = "middle_left";
|
4278
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
|
3930
4279
|
|
3931
4280
|
// assets/generated/photodiode.json
|
3932
4281
|
var photodiode_default = {
|
@@ -4153,11 +4502,11 @@ var photodiode_default = {
|
|
4153
4502
|
};
|
4154
4503
|
|
4155
4504
|
// symbols/photodiode_horz.ts
|
4156
|
-
var { paths:
|
4505
|
+
var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = photodiode_default;
|
4157
4506
|
var photodiode_horz_default = defineSymbol({
|
4158
4507
|
primitives: [
|
4159
|
-
...Object.values(
|
4160
|
-
...Object.values(
|
4508
|
+
...Object.values(paths23),
|
4509
|
+
...Object.values(circles17),
|
4161
4510
|
{
|
4162
4511
|
type: "text",
|
4163
4512
|
text: "{REF}",
|
@@ -4174,22 +4523,22 @@ var photodiode_horz_default = defineSymbol({
|
|
4174
4523
|
}
|
4175
4524
|
],
|
4176
4525
|
ports: [
|
4177
|
-
{ ...
|
4526
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4178
4527
|
// TODO add more "standard" labels
|
4179
|
-
{ ...
|
4528
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4180
4529
|
// TODO add more "standard" labels
|
4181
4530
|
],
|
4182
|
-
size: { width:
|
4183
|
-
center: { x:
|
4531
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4532
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4184
4533
|
});
|
4185
4534
|
|
4186
4535
|
// symbols/photodiode_vert.ts
|
4187
|
-
var
|
4188
|
-
var
|
4189
|
-
var
|
4190
|
-
|
4191
|
-
|
4192
|
-
var photodiode_vert_default =
|
4536
|
+
var rotatedSymbol14 = rotateSymbol(photodiode_horz_default);
|
4537
|
+
var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
4538
|
+
var ref15 = texts33.find((t) => t.text === "{REF}");
|
4539
|
+
ref15.y = 0;
|
4540
|
+
ref15.anchor = "middle_left";
|
4541
|
+
var photodiode_vert_default = rotatedSymbol14;
|
4193
4542
|
|
4194
4543
|
// assets/generated/pjfet_transistor.json
|
4195
4544
|
var pjfet_transistor_default = {
|
@@ -4355,38 +4704,38 @@ var pjfet_transistor_default = {
|
|
4355
4704
|
};
|
4356
4705
|
|
4357
4706
|
// symbols/pjfet_transistor_horz.ts
|
4358
|
-
var { paths:
|
4707
|
+
var { paths: paths24, texts: texts34, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = pjfet_transistor_default;
|
4359
4708
|
var pjfet_transistor_horz_default = defineSymbol({
|
4360
4709
|
primitives: [
|
4361
|
-
...Object.values(
|
4362
|
-
...Object.values(
|
4363
|
-
{ ...
|
4364
|
-
{ ...
|
4710
|
+
...Object.values(paths24),
|
4711
|
+
...Object.values(circles18),
|
4712
|
+
{ ...texts34.top1, anchor: "middle_right", x: 0 },
|
4713
|
+
{ ...texts34.bottom1, anchor: "middle_right" }
|
4365
4714
|
],
|
4366
4715
|
ports: [
|
4367
|
-
{ ...
|
4716
|
+
{ ...refblocks24.top1, labels: ["1", "drain"] },
|
4368
4717
|
// TODO add more "standard" labels
|
4369
|
-
{ ...
|
4718
|
+
{ ...refblocks24.bottom1, labels: ["2", "source"] },
|
4370
4719
|
// TODO add more "standard" labels
|
4371
|
-
{ ...
|
4720
|
+
{ ...refblocks24.left1, labels: ["3", "gate"] }
|
4372
4721
|
// TODO add more "standard" labels
|
4373
4722
|
],
|
4374
|
-
size: { width:
|
4375
|
-
center: { x:
|
4723
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4724
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4376
4725
|
});
|
4377
4726
|
|
4378
4727
|
// symbols/pjfet_transistor_vert.ts
|
4379
|
-
var
|
4380
|
-
var
|
4381
|
-
var val13 =
|
4728
|
+
var rotatedSymbol15 = rotateSymbol(pjfet_transistor_horz_default);
|
4729
|
+
var texts35 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
4730
|
+
var val13 = texts35.find((t) => t.text === "{VAL}");
|
4382
4731
|
val13.x = -0.35;
|
4383
4732
|
val13.y = 0;
|
4384
4733
|
val13.anchor = "middle_right";
|
4385
|
-
var
|
4386
|
-
|
4387
|
-
|
4388
|
-
|
4389
|
-
var pjfet_transistor_vert_default =
|
4734
|
+
var ref16 = texts35.find((t) => t.text === "{REF}");
|
4735
|
+
ref16.y = 0;
|
4736
|
+
ref16.x = 0.35;
|
4737
|
+
ref16.anchor = "middle_left";
|
4738
|
+
var pjfet_transistor_vert_default = rotatedSymbol15;
|
4390
4739
|
|
4391
4740
|
// assets/generated/potentiometer.json
|
4392
4741
|
var potentiometer_default = {
|
@@ -4524,21 +4873,21 @@ var potentiometer_default = {
|
|
4524
4873
|
};
|
4525
4874
|
|
4526
4875
|
// symbols/potentiometer_horz.ts
|
4527
|
-
var { paths:
|
4876
|
+
var { paths: paths25, texts: texts36, bounds: bounds25, refblocks: refblocks25 } = potentiometer_default;
|
4528
4877
|
var potentiometer_horz_default = defineSymbol({
|
4529
4878
|
primitives: [
|
4530
|
-
...Object.values(
|
4531
|
-
{ ...
|
4532
|
-
{ ...
|
4879
|
+
...Object.values(paths25),
|
4880
|
+
{ ...texts36.bottom1, y: 0.35, anchor: "middle_top" },
|
4881
|
+
{ ...texts36.right1, anchor: "middle_left" }
|
4533
4882
|
],
|
4534
4883
|
ports: [
|
4535
|
-
{ ...
|
4884
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4536
4885
|
// TODO add more "standard" labels
|
4537
|
-
{ ...
|
4886
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4538
4887
|
// TODO add more "standard" labels
|
4539
4888
|
],
|
4540
|
-
size: { width:
|
4541
|
-
center: { x:
|
4889
|
+
size: { width: bounds25.width + 0.05, height: bounds25.height },
|
4890
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4542
4891
|
});
|
4543
4892
|
|
4544
4893
|
// symbols/potentiometer_vert.ts
|
@@ -4700,21 +5049,21 @@ var potentiometer2_default = {
|
|
4700
5049
|
};
|
4701
5050
|
|
4702
5051
|
// symbols/potentiometer2_horz.ts
|
4703
|
-
var { paths:
|
5052
|
+
var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26 } = potentiometer2_default;
|
4704
5053
|
var potentiometer2_horz_default = defineSymbol({
|
4705
5054
|
primitives: [
|
4706
|
-
...Object.values(
|
4707
|
-
{ ...
|
4708
|
-
{ ...
|
5055
|
+
...Object.values(paths26),
|
5056
|
+
{ ...texts37.bottom1, anchor: "middle_right" },
|
5057
|
+
{ ...texts37.top1, anchor: "middle_left" }
|
4709
5058
|
],
|
4710
5059
|
ports: [
|
4711
|
-
{ ...
|
5060
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4712
5061
|
// TODO add more "standard" labels
|
4713
|
-
{ ...
|
5062
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4714
5063
|
// TODO add more "standard" labels
|
4715
5064
|
],
|
4716
|
-
size: { width:
|
4717
|
-
center: { x:
|
5065
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5066
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4718
5067
|
});
|
4719
5068
|
|
4720
5069
|
// symbols/potentiometer2_vert.ts
|
@@ -4807,11 +5156,11 @@ var power_factor_meter_default = {
|
|
4807
5156
|
};
|
4808
5157
|
|
4809
5158
|
// symbols/power_factor_meter_horz.ts
|
4810
|
-
var { paths:
|
5159
|
+
var { paths: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27, circles: circles19 } = power_factor_meter_default;
|
4811
5160
|
var power_factor_meter_horz_default = defineSymbol({
|
4812
5161
|
primitives: [
|
4813
|
-
...Object.values(
|
4814
|
-
...Object.values(
|
5162
|
+
...Object.values(paths27),
|
5163
|
+
...Object.values(circles19),
|
4815
5164
|
// { ...texts.top1, anchor: "middle_left" },
|
4816
5165
|
{
|
4817
5166
|
type: "text",
|
@@ -4838,28 +5187,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
4838
5187
|
}
|
4839
5188
|
],
|
4840
5189
|
ports: [
|
4841
|
-
{ ...
|
5190
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
4842
5191
|
// TODO add more "standard" labels
|
4843
|
-
{ ...
|
5192
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
4844
5193
|
// TODO add more "standard" labels
|
4845
5194
|
],
|
4846
|
-
size: { width:
|
4847
|
-
center: { x:
|
5195
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5196
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
4848
5197
|
});
|
4849
5198
|
|
4850
5199
|
// symbols/power_factor_meter_vert.ts
|
4851
|
-
var
|
4852
|
-
var
|
4853
|
-
var
|
4854
|
-
var val14 =
|
4855
|
-
var text_cos =
|
4856
|
-
|
4857
|
-
|
5200
|
+
var rotatedSymbol16 = rotateSymbol(power_factor_meter_horz_default);
|
5201
|
+
var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
5202
|
+
var ref17 = texts39.find((t) => t.text === "{REF}");
|
5203
|
+
var val14 = texts39.find((t) => t.text === "{VAL}");
|
5204
|
+
var text_cos = texts39.find((t) => t.text === "COS \u03C6");
|
5205
|
+
ref17.x = 0.35;
|
5206
|
+
ref17.y = 0;
|
4858
5207
|
val14.x = -0.6;
|
4859
5208
|
val14.y = 0;
|
4860
5209
|
text_cos.x = -0.1;
|
4861
5210
|
text_cos.y = 0;
|
4862
|
-
var power_factor_meter_vert_default =
|
5211
|
+
var power_factor_meter_vert_default = rotatedSymbol16;
|
4863
5212
|
|
4864
5213
|
// assets/generated/push_button_normally_closed_momentary.json
|
4865
5214
|
var push_button_normally_closed_momentary_default = {
|
@@ -4962,35 +5311,35 @@ var push_button_normally_closed_momentary_default = {
|
|
4962
5311
|
};
|
4963
5312
|
|
4964
5313
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
4965
|
-
var { paths:
|
5314
|
+
var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28 } = push_button_normally_closed_momentary_default;
|
4966
5315
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
4967
5316
|
primitives: [
|
4968
|
-
...Object.values(
|
4969
|
-
{ ...
|
4970
|
-
{ ...
|
5317
|
+
...Object.values(paths28),
|
5318
|
+
{ ...texts40.top1, anchor: "middle_bottom" },
|
5319
|
+
{ ...texts40.bottom1, anchor: "middle_top" }
|
4971
5320
|
],
|
4972
5321
|
ports: [
|
4973
|
-
{ ...
|
5322
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
4974
5323
|
// TODO add more "standard" labels
|
4975
|
-
{ ...
|
5324
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
4976
5325
|
// TODO add more "standard" labels
|
4977
5326
|
],
|
4978
|
-
size: { width:
|
4979
|
-
center: { x:
|
5327
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5328
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
4980
5329
|
});
|
4981
5330
|
|
4982
5331
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
4983
5332
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
4984
|
-
var
|
5333
|
+
var ref18 = rotated6.primitives.find(
|
4985
5334
|
(p) => p.type === "text" && p.text === "{REF}"
|
4986
5335
|
);
|
4987
5336
|
var val15 = rotated6.primitives.find(
|
4988
5337
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4989
5338
|
);
|
4990
|
-
|
5339
|
+
ref18.anchor = "middle_left";
|
4991
5340
|
val15.anchor = "middle_right";
|
4992
|
-
|
4993
|
-
|
5341
|
+
ref18.x = ref18.x - 0.03;
|
5342
|
+
ref18.y = ref18.y;
|
4994
5343
|
val15.x = val15.x;
|
4995
5344
|
val15.y = 0;
|
4996
5345
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
@@ -5096,35 +5445,35 @@ var push_button_normally_open_momentary_default = {
|
|
5096
5445
|
};
|
5097
5446
|
|
5098
5447
|
// symbols/push_button_normally_open_momentary_horz.ts
|
5099
|
-
var { paths:
|
5448
|
+
var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29 } = push_button_normally_open_momentary_default;
|
5100
5449
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
5101
5450
|
primitives: [
|
5102
|
-
...Object.values(
|
5103
|
-
{ ...
|
5104
|
-
{ ...
|
5451
|
+
...Object.values(paths29),
|
5452
|
+
{ ...texts41.top1, anchor: "middle_bottom" },
|
5453
|
+
{ ...texts41.bottom1, anchor: "middle_top" }
|
5105
5454
|
],
|
5106
5455
|
ports: [
|
5107
|
-
{ ...
|
5456
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5108
5457
|
// TODO add more "standard" labels
|
5109
|
-
{ ...
|
5458
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
5110
5459
|
// TODO add more "standard" labels
|
5111
5460
|
],
|
5112
|
-
size: { width:
|
5113
|
-
center: { x:
|
5461
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5462
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5114
5463
|
});
|
5115
5464
|
|
5116
5465
|
// symbols/push_button_normally_open_momentary_vert.ts
|
5117
5466
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
5118
|
-
var
|
5467
|
+
var ref19 = rotated7.primitives.find(
|
5119
5468
|
(p) => p.type === "text" && p.text === "{REF}"
|
5120
5469
|
);
|
5121
5470
|
var val16 = rotated7.primitives.find(
|
5122
5471
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5123
5472
|
);
|
5124
|
-
|
5473
|
+
ref19.anchor = "middle_left";
|
5125
5474
|
val16.anchor = "middle_right";
|
5126
|
-
|
5127
|
-
|
5475
|
+
ref19.x = ref19.x + 0.1;
|
5476
|
+
ref19.y = ref19.y;
|
5128
5477
|
val16.x = val16.x;
|
5129
5478
|
val16.y = 0;
|
5130
5479
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
@@ -5475,11 +5824,11 @@ var resonator_default = {
|
|
5475
5824
|
};
|
5476
5825
|
|
5477
5826
|
// symbols/resonator_horz.ts
|
5478
|
-
var { paths:
|
5827
|
+
var { paths: paths30, texts: texts42, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = resonator_default;
|
5479
5828
|
var resonator_horz_default = defineSymbol({
|
5480
5829
|
primitives: [
|
5481
|
-
...Object.values(
|
5482
|
-
...Object.values(
|
5830
|
+
...Object.values(paths30),
|
5831
|
+
...Object.values(circles20),
|
5483
5832
|
// { ...texts.top1, anchor: "middle_left" },
|
5484
5833
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5485
5834
|
{
|
@@ -5498,15 +5847,15 @@ var resonator_horz_default = defineSymbol({
|
|
5498
5847
|
}
|
5499
5848
|
],
|
5500
5849
|
ports: [
|
5501
|
-
{ ...
|
5850
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5502
5851
|
// TODO add more "standard" labels
|
5503
|
-
{ ...
|
5852
|
+
{ ...refblocks30.right1, labels: ["2"] },
|
5504
5853
|
// TODO add more "standard" labels
|
5505
|
-
{ ...
|
5854
|
+
{ ...refblocks30.right2, labels: ["3"] }
|
5506
5855
|
// TODO add more "standard" labels
|
5507
5856
|
],
|
5508
|
-
size: { width:
|
5509
|
-
center: { x:
|
5857
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5858
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5510
5859
|
});
|
5511
5860
|
|
5512
5861
|
// symbols/resonator_vert.ts
|
@@ -5704,33 +6053,33 @@ var schottky_diode_default = {
|
|
5704
6053
|
};
|
5705
6054
|
|
5706
6055
|
// symbols/schottky_diode_horz.ts
|
5707
|
-
var { paths:
|
6056
|
+
var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = schottky_diode_default;
|
5708
6057
|
var schottky_diode_horz_default = defineSymbol({
|
5709
6058
|
primitives: [
|
5710
|
-
...Object.values(
|
5711
|
-
...Object.values(
|
5712
|
-
{ ...
|
5713
|
-
{ ...
|
6059
|
+
...Object.values(paths31),
|
6060
|
+
...Object.values(circles21),
|
6061
|
+
{ ...texts43.top1, anchor: "middle_bottom" },
|
6062
|
+
{ ...texts43.bottom1, anchor: "middle_top" }
|
5714
6063
|
],
|
5715
6064
|
ports: [
|
5716
|
-
{ ...
|
6065
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5717
6066
|
// TODO add more "standard" labels
|
5718
|
-
{ ...
|
6067
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
5719
6068
|
// TODO add more "standard" labels
|
5720
6069
|
],
|
5721
|
-
size: { width:
|
5722
|
-
center: { x:
|
6070
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6071
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5723
6072
|
});
|
5724
6073
|
|
5725
6074
|
// symbols/schottky_diode_vert.ts
|
5726
6075
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
5727
|
-
var
|
6076
|
+
var ref20 = rotated8.primitives.find(
|
5728
6077
|
(p) => p.type === "text" && p.text === "{REF}"
|
5729
6078
|
);
|
5730
6079
|
var val17 = rotated8.primitives.find(
|
5731
6080
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5732
6081
|
);
|
5733
|
-
|
6082
|
+
ref20.anchor = "middle_left";
|
5734
6083
|
val17.anchor = "middle_right";
|
5735
6084
|
var schottky_diode_vert_default = rotated8;
|
5736
6085
|
|
@@ -5878,35 +6227,35 @@ var silicon_controlled_rectifier_default = {
|
|
5878
6227
|
};
|
5879
6228
|
|
5880
6229
|
// symbols/silicon_controlled_rectifier_horz.ts
|
5881
|
-
var { paths:
|
6230
|
+
var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = silicon_controlled_rectifier_default;
|
5882
6231
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
5883
6232
|
primitives: [
|
5884
|
-
...Object.values(
|
5885
|
-
...Object.values(
|
5886
|
-
{ ...
|
5887
|
-
{ ...
|
6233
|
+
...Object.values(paths32),
|
6234
|
+
...Object.values(circles22),
|
6235
|
+
{ ...texts44.top1, anchor: "middle_left" },
|
6236
|
+
{ ...texts44.bottom1, anchor: "middle_top" }
|
5888
6237
|
],
|
5889
6238
|
ports: [
|
5890
|
-
{ ...
|
6239
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
5891
6240
|
// TODO add more "standard" labels
|
5892
|
-
{ ...
|
6241
|
+
{ ...refblocks32.right1, labels: ["2"] },
|
5893
6242
|
// TODO add more "standard" labels
|
5894
|
-
{ ...
|
6243
|
+
{ ...refblocks32.bottom1, labels: ["3"] }
|
5895
6244
|
// TODO add more "standard" labels
|
5896
6245
|
],
|
5897
|
-
size: { width:
|
5898
|
-
center: { x:
|
6246
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6247
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5899
6248
|
});
|
5900
6249
|
|
5901
6250
|
// symbols/silicon_controlled_rectifier_vert.ts
|
5902
|
-
var
|
5903
|
-
var
|
6251
|
+
var rotatedSymbol17 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
6252
|
+
var texts45 = rotatedSymbol17.primitives.filter(
|
5904
6253
|
(primitive) => primitive.type === "text"
|
5905
6254
|
);
|
5906
|
-
var
|
5907
|
-
|
5908
|
-
|
5909
|
-
var silicon_controlled_rectifier_vert_default =
|
6255
|
+
var ref21 = texts45.find((text) => text.text === "{REF}");
|
6256
|
+
ref21.y = 0;
|
6257
|
+
ref21.anchor = "middle_left";
|
6258
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol17;
|
5910
6259
|
|
5911
6260
|
// assets/generated/SPST_switch.json
|
5912
6261
|
var SPST_switch_default = {
|
@@ -6003,36 +6352,36 @@ var SPST_switch_default = {
|
|
6003
6352
|
};
|
6004
6353
|
|
6005
6354
|
// symbols/SPST_switch_horz.ts
|
6006
|
-
var { paths:
|
6355
|
+
var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = SPST_switch_default;
|
6007
6356
|
var SPST_switch_horz_default = defineSymbol({
|
6008
6357
|
primitives: [
|
6009
|
-
...Object.values(
|
6010
|
-
...Object.values(
|
6011
|
-
{ ...
|
6012
|
-
{ ...
|
6358
|
+
...Object.values(paths33),
|
6359
|
+
...Object.values(circles23),
|
6360
|
+
{ ...texts46.top1, anchor: "middle_bottom", x: 0 },
|
6361
|
+
{ ...texts46.bottom1, anchor: "middle_top", x: 0 }
|
6013
6362
|
],
|
6014
6363
|
ports: [
|
6015
|
-
{ ...
|
6364
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6016
6365
|
// TODO add more "standard" labels
|
6017
|
-
{ ...
|
6366
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6018
6367
|
// TODO add more "standard" labels
|
6019
6368
|
],
|
6020
|
-
size: { width:
|
6021
|
-
center: { x:
|
6369
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6370
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6022
6371
|
});
|
6023
6372
|
|
6024
6373
|
// symbols/SPST_switch_vert.ts
|
6025
|
-
var
|
6026
|
-
var
|
6027
|
-
var val18 =
|
6374
|
+
var rotatedSymbol18 = rotateSymbol(SPST_switch_horz_default);
|
6375
|
+
var texts47 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
6376
|
+
var val18 = texts47.find((t) => t.text === "{VAL}");
|
6028
6377
|
val18.anchor = "middle_right";
|
6029
6378
|
val18.x = -0.3;
|
6030
6379
|
val18.y = 0;
|
6031
|
-
var
|
6032
|
-
|
6033
|
-
|
6034
|
-
|
6035
|
-
var SPST_switch_vert_default =
|
6380
|
+
var ref22 = texts47.find((t) => t.text === "{REF}");
|
6381
|
+
ref22.anchor = "middle_left";
|
6382
|
+
ref22.x = 0.3;
|
6383
|
+
ref22.y = 0;
|
6384
|
+
var SPST_switch_vert_default = rotatedSymbol18;
|
6036
6385
|
|
6037
6386
|
// assets/generated/step_recovery_diode.json
|
6038
6387
|
var step_recovery_diode_default = {
|
@@ -6196,11 +6545,11 @@ var step_recovery_diode_default = {
|
|
6196
6545
|
};
|
6197
6546
|
|
6198
6547
|
// symbols/step_recovery_diode_horz.ts
|
6199
|
-
var { paths:
|
6548
|
+
var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = step_recovery_diode_default;
|
6200
6549
|
var step_recovery_diode_horz_default = defineSymbol({
|
6201
6550
|
primitives: [
|
6202
|
-
...Object.values(
|
6203
|
-
...Object.values(
|
6551
|
+
...Object.values(paths34),
|
6552
|
+
...Object.values(circles24),
|
6204
6553
|
// { ...texts.top1, anchor: "middle_left" },
|
6205
6554
|
// { ...texts.bottom1, anchor: "middle_left" },
|
6206
6555
|
{
|
@@ -6219,13 +6568,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
6219
6568
|
}
|
6220
6569
|
],
|
6221
6570
|
ports: [
|
6222
|
-
{ ...
|
6571
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6223
6572
|
// TODO add more "standard" labels
|
6224
|
-
{ ...
|
6573
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6225
6574
|
// TODO add more "standard" labels
|
6226
6575
|
],
|
6227
|
-
size: { width:
|
6228
|
-
center: { x:
|
6576
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6577
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6229
6578
|
});
|
6230
6579
|
|
6231
6580
|
// symbols/step_recovery_diode_vert.ts
|
@@ -6422,36 +6771,36 @@ var triac_default = {
|
|
6422
6771
|
};
|
6423
6772
|
|
6424
6773
|
// symbols/triac_horz.ts
|
6425
|
-
var { paths:
|
6774
|
+
var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = triac_default;
|
6426
6775
|
var triac_horz_default = defineSymbol({
|
6427
6776
|
primitives: [
|
6428
|
-
...Object.values(
|
6429
|
-
...Object.values(
|
6430
|
-
{ ...
|
6431
|
-
{ ...
|
6777
|
+
...Object.values(paths35),
|
6778
|
+
...Object.values(circles25),
|
6779
|
+
{ ...texts49.top1, anchor: "middle_left" },
|
6780
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
6432
6781
|
],
|
6433
6782
|
ports: [
|
6434
|
-
{ ...
|
6783
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6435
6784
|
// TODO add more "standard" labels
|
6436
|
-
{ ...
|
6785
|
+
{ ...refblocks35.right1, labels: ["2"] },
|
6437
6786
|
// TODO add more "standard" labels
|
6438
|
-
{ ...
|
6787
|
+
{ ...refblocks35.bottom1, labels: ["3"] }
|
6439
6788
|
// TODO add more "standard" labels
|
6440
6789
|
],
|
6441
|
-
size: { width:
|
6442
|
-
center: { x:
|
6790
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6791
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6443
6792
|
});
|
6444
6793
|
|
6445
6794
|
// symbols/triac_vert.ts
|
6446
|
-
var
|
6447
|
-
var
|
6795
|
+
var rotatedSymbol19 = rotateSymbol(triac_horz_default);
|
6796
|
+
var texts50 = rotatedSymbol19.primitives.filter(
|
6448
6797
|
(primitive) => primitive.type === "text"
|
6449
6798
|
);
|
6450
|
-
var
|
6451
|
-
var val19 =
|
6452
|
-
|
6799
|
+
var ref23 = texts50.find((text) => text.text === "{REF}");
|
6800
|
+
var val19 = texts50.find((text) => text.text === "{VAL}");
|
6801
|
+
ref23.y = 0;
|
6453
6802
|
val19.y = 0;
|
6454
|
-
var triac_vert_default =
|
6803
|
+
var triac_vert_default = rotatedSymbol19;
|
6455
6804
|
|
6456
6805
|
// assets/generated/tunnel_diode.json
|
6457
6806
|
var tunnel_diode_default = {
|
@@ -6615,33 +6964,33 @@ var tunnel_diode_default = {
|
|
6615
6964
|
};
|
6616
6965
|
|
6617
6966
|
// symbols/tunnel_diode_horz.ts
|
6618
|
-
var { paths:
|
6967
|
+
var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = tunnel_diode_default;
|
6619
6968
|
var tunnel_diode_horz_default = defineSymbol({
|
6620
6969
|
primitives: [
|
6621
|
-
...Object.values(
|
6622
|
-
...Object.values(
|
6623
|
-
{ ...
|
6624
|
-
{ ...
|
6970
|
+
...Object.values(paths36),
|
6971
|
+
...Object.values(circles26),
|
6972
|
+
{ ...texts51.top1, anchor: "middle_bottom" },
|
6973
|
+
{ ...texts51.bottom1, anchor: "middle_top" }
|
6625
6974
|
],
|
6626
6975
|
ports: [
|
6627
|
-
{ ...
|
6976
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6628
6977
|
// TODO add more "standard" labels
|
6629
|
-
{ ...
|
6978
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6630
6979
|
// TODO add more "standard" labels
|
6631
6980
|
],
|
6632
|
-
size: { width:
|
6633
|
-
center: { x:
|
6981
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6982
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6634
6983
|
});
|
6635
6984
|
|
6636
6985
|
// symbols/tunnel_diode_vert.ts
|
6637
6986
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
6638
|
-
var
|
6987
|
+
var ref24 = rotated9.primitives.find(
|
6639
6988
|
(p) => p.type === "text" && p.text === "{REF}"
|
6640
6989
|
);
|
6641
6990
|
var val20 = rotated9.primitives.find(
|
6642
6991
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6643
6992
|
);
|
6644
|
-
|
6993
|
+
ref24.anchor = "middle_left";
|
6645
6994
|
val20.anchor = "middle_right";
|
6646
6995
|
var tunnel_diode_vert_default = rotated9;
|
6647
6996
|
|
@@ -6813,37 +7162,37 @@ var unijunction_transistor_default = {
|
|
6813
7162
|
};
|
6814
7163
|
|
6815
7164
|
// symbols/unijunction_transistor_horz.ts
|
6816
|
-
var { paths:
|
7165
|
+
var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = unijunction_transistor_default;
|
6817
7166
|
var unijunction_transistor_horz_default = defineSymbol({
|
6818
7167
|
primitives: [
|
6819
|
-
...Object.values(
|
6820
|
-
...Object.values(
|
6821
|
-
{ ...
|
6822
|
-
{ ...
|
7168
|
+
...Object.values(paths37),
|
7169
|
+
...Object.values(circles27),
|
7170
|
+
{ ...texts52.top1, anchor: "middle_left" },
|
7171
|
+
{ ...texts52.bottom1, anchor: "middle_right" }
|
6823
7172
|
],
|
6824
7173
|
ports: [
|
6825
|
-
{ ...
|
7174
|
+
{ ...refblocks37.top1, labels: ["1"] },
|
6826
7175
|
// TODO add more "standard" labels
|
6827
|
-
{ ...
|
7176
|
+
{ ...refblocks37.bottom1, labels: ["2"] },
|
6828
7177
|
// TODO add more "standard" labels
|
6829
|
-
{ ...
|
7178
|
+
{ ...refblocks37.left1, labels: ["3"] }
|
6830
7179
|
// TODO add more "standard" labels
|
6831
7180
|
],
|
6832
|
-
size: { width:
|
6833
|
-
center: { x:
|
7181
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7182
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6834
7183
|
});
|
6835
7184
|
|
6836
7185
|
// symbols/unijunction_transistor_vert.ts
|
6837
|
-
var
|
6838
|
-
var
|
7186
|
+
var rotatedSymbol20 = rotateSymbol(unijunction_transistor_horz_default);
|
7187
|
+
var texts53 = rotatedSymbol20.primitives.filter(
|
6839
7188
|
(primitive) => primitive.type === "text"
|
6840
7189
|
);
|
6841
|
-
var
|
6842
|
-
|
6843
|
-
var val21 =
|
7190
|
+
var ref25 = texts53.find((text) => text.text === "{REF}");
|
7191
|
+
ref25.y = 0.1;
|
7192
|
+
var val21 = texts53.find((text) => text.text === "{VAL}");
|
6844
7193
|
val21.y = 0.1;
|
6845
7194
|
val21.x = -0.4;
|
6846
|
-
var unijunction_transistor_vert_default =
|
7195
|
+
var unijunction_transistor_vert_default = rotatedSymbol20;
|
6847
7196
|
|
6848
7197
|
// assets/generated/var_meter.json
|
6849
7198
|
var var_meter_default = {
|
@@ -6932,33 +7281,33 @@ var var_meter_default = {
|
|
6932
7281
|
};
|
6933
7282
|
|
6934
7283
|
// symbols/var_meter_horz.ts
|
6935
|
-
var { paths:
|
7284
|
+
var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = var_meter_default;
|
6936
7285
|
var var_meter_horz_default = defineSymbol({
|
6937
7286
|
primitives: [
|
6938
|
-
...Object.values(
|
6939
|
-
...Object.values(
|
7287
|
+
...Object.values(paths38),
|
7288
|
+
...Object.values(circles28),
|
6940
7289
|
{
|
6941
|
-
...
|
7290
|
+
...texts54.top1,
|
6942
7291
|
x: 0,
|
6943
7292
|
y: -0.3594553499999995,
|
6944
7293
|
anchor: "middle_bottom"
|
6945
7294
|
},
|
6946
7295
|
{
|
6947
|
-
...
|
7296
|
+
...texts54.bottom1,
|
6948
7297
|
x: 0,
|
6949
7298
|
y: 0.35,
|
6950
7299
|
anchor: "middle_top"
|
6951
7300
|
},
|
6952
|
-
{ ...
|
7301
|
+
{ ...texts54.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
6953
7302
|
],
|
6954
7303
|
ports: [
|
6955
|
-
{ ...
|
7304
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
6956
7305
|
// TODO add more "standard" labels
|
6957
|
-
{ ...
|
7306
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
6958
7307
|
// TODO add more "standard" labels
|
6959
7308
|
],
|
6960
|
-
size: { width:
|
6961
|
-
center: { x:
|
7309
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7310
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
6962
7311
|
});
|
6963
7312
|
|
6964
7313
|
// symbols/var_meter_vert.ts
|
@@ -7111,33 +7460,33 @@ var varactor_diode_default = {
|
|
7111
7460
|
};
|
7112
7461
|
|
7113
7462
|
// symbols/varactor_diode_horz.ts
|
7114
|
-
var { paths:
|
7463
|
+
var { paths: paths39, texts: texts55, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = varactor_diode_default;
|
7115
7464
|
var varactor_diode_horz_default = defineSymbol({
|
7116
7465
|
primitives: [
|
7117
|
-
...Object.values(
|
7118
|
-
...Object.values(
|
7119
|
-
{ ...
|
7120
|
-
{ ...
|
7466
|
+
...Object.values(paths39),
|
7467
|
+
...Object.values(circles29),
|
7468
|
+
{ ...texts55.top1, anchor: "middle_bottom" },
|
7469
|
+
{ ...texts55.bottom1, anchor: "middle_top" }
|
7121
7470
|
],
|
7122
7471
|
ports: [
|
7123
|
-
{ ...
|
7472
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
7124
7473
|
// TODO add more "standard" labels
|
7125
|
-
{ ...
|
7474
|
+
{ ...refblocks39.right1, labels: ["2"] }
|
7126
7475
|
// TODO add more "standard" labels
|
7127
7476
|
],
|
7128
|
-
size: { width:
|
7129
|
-
center: { x:
|
7477
|
+
size: { width: bounds39.width, height: bounds39.height },
|
7478
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7130
7479
|
});
|
7131
7480
|
|
7132
7481
|
// symbols/varactor_diode_vert.ts
|
7133
7482
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
7134
|
-
var
|
7483
|
+
var ref26 = rotated10.primitives.find(
|
7135
7484
|
(p) => p.type === "text" && p.text === "{REF}"
|
7136
7485
|
);
|
7137
7486
|
var val22 = rotated10.primitives.find(
|
7138
7487
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7139
7488
|
);
|
7140
|
-
|
7489
|
+
ref26.anchor = "middle_left";
|
7141
7490
|
val22.anchor = "middle_right";
|
7142
7491
|
var varactor_diode_vert_default = rotated10;
|
7143
7492
|
|
@@ -7273,26 +7622,26 @@ var varistor_default = {
|
|
7273
7622
|
};
|
7274
7623
|
|
7275
7624
|
// symbols/varistor_horz.ts
|
7276
|
-
var { paths:
|
7625
|
+
var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40 } = varistor_default;
|
7277
7626
|
var varistor_horz_default = defineSymbol({
|
7278
7627
|
primitives: [
|
7279
|
-
...Object.values(
|
7280
|
-
{ ...
|
7281
|
-
{ ...
|
7628
|
+
...Object.values(paths40),
|
7629
|
+
{ ...texts56.top1, anchor: "middle_left" },
|
7630
|
+
{ ...texts56.bottom1, anchor: "middle_right" }
|
7282
7631
|
],
|
7283
7632
|
ports: [
|
7284
7633
|
{
|
7285
|
-
...
|
7634
|
+
...refblocks40.left1,
|
7286
7635
|
labels: ["1", "-"]
|
7287
7636
|
},
|
7288
7637
|
{
|
7289
|
-
...
|
7638
|
+
...refblocks40.right1,
|
7290
7639
|
labels: ["2", "+"]
|
7291
7640
|
}
|
7292
7641
|
],
|
7293
|
-
size: { width:
|
7642
|
+
size: { width: bounds40.width, height: bounds40.height },
|
7294
7643
|
//{ width: 1, height: 0.24 },
|
7295
|
-
center: { x:
|
7644
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7296
7645
|
});
|
7297
7646
|
|
7298
7647
|
// symbols/varistor_vert.ts
|
@@ -7398,11 +7747,11 @@ var volt_meter_default = {
|
|
7398
7747
|
};
|
7399
7748
|
|
7400
7749
|
// symbols/volt_meter_horz.ts
|
7401
|
-
var { paths:
|
7750
|
+
var { paths: paths41, texts: texts57, bounds: bounds41, circles: circles30, refblocks: refblocks41 } = volt_meter_default;
|
7402
7751
|
var volt_meter_horz_default = defineSymbol({
|
7403
7752
|
primitives: [
|
7404
|
-
...Object.values(
|
7405
|
-
...Object.values(
|
7753
|
+
...Object.values(paths41),
|
7754
|
+
...Object.values(circles30),
|
7406
7755
|
{
|
7407
7756
|
type: "text",
|
7408
7757
|
text: "{REF}",
|
@@ -7419,13 +7768,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
7419
7768
|
}
|
7420
7769
|
],
|
7421
7770
|
ports: [
|
7422
|
-
{ ...
|
7771
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
7423
7772
|
// TODO add more "standard" labels
|
7424
|
-
{ ...
|
7773
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
7425
7774
|
// TODO add more "standard" labels
|
7426
7775
|
],
|
7427
|
-
size: { width:
|
7428
|
-
center: { x:
|
7776
|
+
size: { width: bounds41.width, height: bounds41.height },
|
7777
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
7429
7778
|
});
|
7430
7779
|
|
7431
7780
|
// symbols/volt_meter_vert.ts
|
@@ -7578,33 +7927,33 @@ var zener_diode_default = {
|
|
7578
7927
|
};
|
7579
7928
|
|
7580
7929
|
// symbols/zener_diode_horz.ts
|
7581
|
-
var { paths:
|
7930
|
+
var { paths: paths42, texts: texts58, bounds: bounds42, refblocks: refblocks42, circles: circles31 } = zener_diode_default;
|
7582
7931
|
var zener_diode_horz_default = defineSymbol({
|
7583
7932
|
primitives: [
|
7584
|
-
...Object.values(
|
7585
|
-
...Object.values(
|
7586
|
-
{ ...
|
7587
|
-
{ ...
|
7933
|
+
...Object.values(paths42),
|
7934
|
+
...Object.values(circles31),
|
7935
|
+
{ ...texts58.top1, anchor: "middle_bottom" },
|
7936
|
+
{ ...texts58.bottom1, anchor: "middle_top" }
|
7588
7937
|
],
|
7589
7938
|
ports: [
|
7590
|
-
{ ...
|
7939
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
7591
7940
|
// TODO add more "standard" labels
|
7592
|
-
{ ...
|
7941
|
+
{ ...refblocks42.right1, labels: ["2"] }
|
7593
7942
|
// TODO add more "standard" labels
|
7594
7943
|
],
|
7595
|
-
size: { width:
|
7596
|
-
center: { x:
|
7944
|
+
size: { width: bounds42.width, height: bounds42.height },
|
7945
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
7597
7946
|
});
|
7598
7947
|
|
7599
7948
|
// symbols/zener_diode_vert.ts
|
7600
7949
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
7601
|
-
var
|
7950
|
+
var ref27 = rotated11.primitives.find(
|
7602
7951
|
(p) => p.type === "text" && p.text === "{REF}"
|
7603
7952
|
);
|
7604
7953
|
var val23 = rotated11.primitives.find(
|
7605
7954
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7606
7955
|
);
|
7607
|
-
|
7956
|
+
ref27.anchor = "middle_left";
|
7608
7957
|
val23.anchor = "middle_right";
|
7609
7958
|
var zener_diode_vert_default = rotated11;
|
7610
7959
|
|
@@ -7630,6 +7979,8 @@ var symbols_index_default = {
|
|
7630
7979
|
"diac_vert": diac_vert_default,
|
7631
7980
|
"diode_horz": diode_horz_default,
|
7632
7981
|
"diode_vert": diode_vert_default,
|
7982
|
+
"filled_diode_horz": filled_diode_horz_default,
|
7983
|
+
"filled_diode_vert": filled_diode_vert_default,
|
7633
7984
|
"fuse_horz": fuse_horz_default,
|
7634
7985
|
"fuse_vert": fuse_vert_default,
|
7635
7986
|
"gunn_diode_horz": gunn_diode_horz_default,
|
@@ -7646,6 +7997,8 @@ var symbols_index_default = {
|
|
7646
7997
|
"n_channel_d_mosfet_transistor_vert": n_channel_d_mosfet_transistor_vert_default,
|
7647
7998
|
"njfet_transistor_horz": njfet_transistor_horz_default,
|
7648
7999
|
"njfet_transistor_vert": njfet_transistor_vert_default,
|
8000
|
+
"npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
|
8001
|
+
"npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
|
7649
8002
|
"p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
|
7650
8003
|
"p_channel_d_mosfet_transistor_vert": p_channel_d_mosfet_transistor_vert_default,
|
7651
8004
|
"p_channel_e_mosfet_transistor_horz": p_channel_e_mosfet_transistor_horz_default,
|