schematic-symbols 0.0.46 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +568 -219
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/igbt_transistor_horz.ts +33 -0
- package/symbols/igbt_transistor_vert.ts +21 -0
- package/symbols/var_meter_horz.ts +30 -0
- package/symbols/var_meter_vert.ts +4 -0
package/dist/index.js
CHANGED
@@ -1310,6 +1310,232 @@ var fuse_horz_default = defineSymbol({
|
|
1310
1310
|
// symbols/fuse_vert.ts
|
1311
1311
|
var fuse_vert_default = rotateSymbol(fuse_horz_default);
|
1312
1312
|
|
1313
|
+
// assets/generated/igbt_transistor.json
|
1314
|
+
var igbt_transistor_default = {
|
1315
|
+
paths: {
|
1316
|
+
path11: {
|
1317
|
+
type: "path",
|
1318
|
+
points: [
|
1319
|
+
{
|
1320
|
+
x: -0.33466555000000053,
|
1321
|
+
y: -0.0037939000000000167
|
1322
|
+
},
|
1323
|
+
{
|
1324
|
+
x: 0.04390385000000019,
|
1325
|
+
y: -0.0011709000000001968
|
1326
|
+
}
|
1327
|
+
],
|
1328
|
+
color: "primary",
|
1329
|
+
fill: false
|
1330
|
+
},
|
1331
|
+
path40: {
|
1332
|
+
type: "path",
|
1333
|
+
points: [
|
1334
|
+
{
|
1335
|
+
x: 0.12457955000000065,
|
1336
|
+
y: -0.19306540000000028
|
1337
|
+
},
|
1338
|
+
{
|
1339
|
+
x: 0.123649550000001,
|
1340
|
+
y: 0.1750840999999994
|
1341
|
+
}
|
1342
|
+
],
|
1343
|
+
color: "primary",
|
1344
|
+
fill: false
|
1345
|
+
},
|
1346
|
+
path42: {
|
1347
|
+
type: "path",
|
1348
|
+
points: [
|
1349
|
+
{
|
1350
|
+
x: 0.06045334999999952,
|
1351
|
+
y: 0.1174366
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
x: 0.06045334999999952,
|
1355
|
+
y: -0.14714680000000002
|
1356
|
+
}
|
1357
|
+
],
|
1358
|
+
color: "primary",
|
1359
|
+
fill: false
|
1360
|
+
},
|
1361
|
+
path12: {
|
1362
|
+
type: "path",
|
1363
|
+
points: [
|
1364
|
+
{
|
1365
|
+
x: 0.33417885,
|
1366
|
+
y: 0.2434666000000001
|
1367
|
+
},
|
1368
|
+
{
|
1369
|
+
x: 0.33357884999999987,
|
1370
|
+
y: 0.5397975000000004
|
1371
|
+
}
|
1372
|
+
],
|
1373
|
+
color: "primary",
|
1374
|
+
fill: false
|
1375
|
+
},
|
1376
|
+
"path12-1": {
|
1377
|
+
type: "path",
|
1378
|
+
points: [
|
1379
|
+
{
|
1380
|
+
x: 0.3346655500000004,
|
1381
|
+
y: -0.5397975000000003
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
x: 0.33406555000000027,
|
1385
|
+
y: -0.2706031000000002
|
1386
|
+
}
|
1387
|
+
],
|
1388
|
+
color: "primary",
|
1389
|
+
fill: false
|
1390
|
+
},
|
1391
|
+
path15: {
|
1392
|
+
type: "path",
|
1393
|
+
points: [
|
1394
|
+
{
|
1395
|
+
x: 0.2236118499999995,
|
1396
|
+
y: 0.21260169999999978
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
x: 0.32845994999999917,
|
1400
|
+
y: 0.22765899999999983
|
1401
|
+
},
|
1402
|
+
{
|
1403
|
+
x: 0.2828999499999987,
|
1404
|
+
y: 0.13876569999999977
|
1405
|
+
}
|
1406
|
+
],
|
1407
|
+
color: "primary",
|
1408
|
+
fill: true
|
1409
|
+
},
|
1410
|
+
path17: {
|
1411
|
+
type: "path",
|
1412
|
+
points: [
|
1413
|
+
{
|
1414
|
+
x: 0.12747495000000053,
|
1415
|
+
y: 0.08265219999999984
|
1416
|
+
},
|
1417
|
+
{
|
1418
|
+
x: 0.2829977500000005,
|
1419
|
+
y: 0.19494979999999984
|
1420
|
+
}
|
1421
|
+
],
|
1422
|
+
color: "primary",
|
1423
|
+
fill: false
|
1424
|
+
},
|
1425
|
+
path2: {
|
1426
|
+
type: "path",
|
1427
|
+
points: [
|
1428
|
+
{
|
1429
|
+
x: 0.1246791499999993,
|
1430
|
+
y: -0.11535130000000038
|
1431
|
+
},
|
1432
|
+
{
|
1433
|
+
x: 0.3341235499999988,
|
1434
|
+
y: -0.2634207000000004
|
1435
|
+
}
|
1436
|
+
],
|
1437
|
+
color: "primary",
|
1438
|
+
fill: false
|
1439
|
+
}
|
1440
|
+
},
|
1441
|
+
texts: {
|
1442
|
+
top1: {
|
1443
|
+
type: "text",
|
1444
|
+
text: "{REF}",
|
1445
|
+
x: -0.10113134999999929,
|
1446
|
+
y: -0.3683925999999993
|
1447
|
+
},
|
1448
|
+
bottom1: {
|
1449
|
+
type: "text",
|
1450
|
+
text: "{VAL}",
|
1451
|
+
x: 0.08975225000000009,
|
1452
|
+
y: 0.4174267000000007
|
1453
|
+
}
|
1454
|
+
},
|
1455
|
+
refblocks: {
|
1456
|
+
top1: {
|
1457
|
+
x: 0.3348183499999997,
|
1458
|
+
y: -0.5593924999999992
|
1459
|
+
},
|
1460
|
+
bottom1: {
|
1461
|
+
x: 0.3327607500000005,
|
1462
|
+
y: 0.5538097000000006
|
1463
|
+
},
|
1464
|
+
left1: {
|
1465
|
+
x: -0.34858084999999983,
|
1466
|
+
y: -0.0029410999999994747
|
1467
|
+
}
|
1468
|
+
},
|
1469
|
+
bounds: {
|
1470
|
+
minX: -0.33466555000000053,
|
1471
|
+
maxX: 0.3346655500000004,
|
1472
|
+
minY: -0.5397975000000003,
|
1473
|
+
maxY: 0.5397975000000004,
|
1474
|
+
width: 1,
|
1475
|
+
height: 1.0795950000000007,
|
1476
|
+
centerX: -5551115123125783e-32,
|
1477
|
+
centerY: 5551115123125783e-32
|
1478
|
+
},
|
1479
|
+
circles: {
|
1480
|
+
path1: {
|
1481
|
+
type: "circle",
|
1482
|
+
x: 0.18905494999999983,
|
1483
|
+
y: -0.010922199999999549,
|
1484
|
+
radius: 0.28854213,
|
1485
|
+
color: "primary",
|
1486
|
+
fill: false
|
1487
|
+
}
|
1488
|
+
}
|
1489
|
+
};
|
1490
|
+
|
1491
|
+
// symbols/igbt_transistor_horz.ts
|
1492
|
+
var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles5 } = igbt_transistor_default;
|
1493
|
+
var igbt_transistor_horz_default = defineSymbol({
|
1494
|
+
primitives: [
|
1495
|
+
...Object.values(paths9),
|
1496
|
+
...Object.values(circles5),
|
1497
|
+
{
|
1498
|
+
type: "text",
|
1499
|
+
text: "{REF}",
|
1500
|
+
x: 0,
|
1501
|
+
y: -0.4,
|
1502
|
+
anchor: "middle_right"
|
1503
|
+
},
|
1504
|
+
{
|
1505
|
+
type: "text",
|
1506
|
+
text: "{VAL}",
|
1507
|
+
x: 0,
|
1508
|
+
y: 0.4,
|
1509
|
+
anchor: "middle_right"
|
1510
|
+
}
|
1511
|
+
],
|
1512
|
+
ports: [
|
1513
|
+
{ ...refblocks9.top1, labels: ["1"] },
|
1514
|
+
// TODO add more "standard" labels
|
1515
|
+
{ ...refblocks9.bottom1, labels: ["2"] },
|
1516
|
+
// TODO add more "standard" labels
|
1517
|
+
{ ...refblocks9.left1, labels: ["3"] }
|
1518
|
+
// TODO add more "standard" labels
|
1519
|
+
],
|
1520
|
+
size: { width: bounds9.width, height: bounds9.height },
|
1521
|
+
center: { x: bounds9.centerX + 0.06, y: bounds9.centerY }
|
1522
|
+
});
|
1523
|
+
|
1524
|
+
// symbols/igbt_transistor_vert.ts
|
1525
|
+
var rotated2 = rotateSymbol(igbt_transistor_horz_default);
|
1526
|
+
var ref2 = rotated2.primitives.find(
|
1527
|
+
(p) => p.type === "text" && p.text === "{REF}"
|
1528
|
+
);
|
1529
|
+
var val2 = rotated2.primitives.find(
|
1530
|
+
(p) => p.type === "text" && p.text === "{VAL}"
|
1531
|
+
);
|
1532
|
+
ref2.anchor = "middle_left";
|
1533
|
+
val2.anchor = "middle_right";
|
1534
|
+
ref2.x = 0.45;
|
1535
|
+
ref2.y += 0.065;
|
1536
|
+
val2.y += 0.065;
|
1537
|
+
var igbt_transistor_vert_default = rotated2;
|
1538
|
+
|
1313
1539
|
// assets/generated/led.json
|
1314
1540
|
var led_default = {
|
1315
1541
|
paths: {
|
@@ -1525,36 +1751,36 @@ var led_default = {
|
|
1525
1751
|
};
|
1526
1752
|
|
1527
1753
|
// symbols/led_horz.ts
|
1528
|
-
var { paths:
|
1754
|
+
var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10 } = led_default;
|
1529
1755
|
var led_horz_default = defineSymbol({
|
1530
1756
|
primitives: [
|
1531
|
-
...Object.values(
|
1532
|
-
{ ...
|
1533
|
-
{ ...
|
1757
|
+
...Object.values(paths10),
|
1758
|
+
{ ...texts9.bottom1, anchor: "middle_right" },
|
1759
|
+
{ ...texts9.right1, anchor: "middle_left" }
|
1534
1760
|
],
|
1535
1761
|
ports: [
|
1536
|
-
{ ...
|
1537
|
-
{ ...
|
1762
|
+
{ ...refblocks10.left1, labels: ["1", "anode", "pos"] },
|
1763
|
+
{ ...refblocks10.right1, labels: ["2", "cathode", "neg"] }
|
1538
1764
|
],
|
1539
|
-
size: { width:
|
1540
|
-
center: { x:
|
1765
|
+
size: { width: bounds10.width, height: bounds10.height },
|
1766
|
+
center: { x: bounds10.centerX, y: bounds10.centerY + 0.1 }
|
1541
1767
|
});
|
1542
1768
|
|
1543
1769
|
// symbols/led_vert.ts
|
1544
|
-
var
|
1545
|
-
var
|
1770
|
+
var rotated3 = rotateSymbol(led_horz_default);
|
1771
|
+
var ref3 = rotated3.primitives.find(
|
1546
1772
|
(p) => p.type === "text" && p.text === "{REF}"
|
1547
1773
|
);
|
1548
|
-
var
|
1774
|
+
var val3 = rotated3.primitives.find(
|
1549
1775
|
(p) => p.type === "text" && p.text === "{VAL}"
|
1550
1776
|
);
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
var led_vert_default =
|
1777
|
+
ref3.anchor = "middle_left";
|
1778
|
+
val3.anchor = "middle_right";
|
1779
|
+
ref3.x += 0.1;
|
1780
|
+
ref3.y += 0.017;
|
1781
|
+
val3.y = ref3.y;
|
1782
|
+
val3.x = -0.3;
|
1783
|
+
var led_vert_default = rotated3;
|
1558
1784
|
|
1559
1785
|
// assets/generated/mosfet_depletion_normally_on.json
|
1560
1786
|
var mosfet_depletion_normally_on_default = {
|
@@ -1826,38 +2052,38 @@ var mosfet_depletion_normally_on_default = {
|
|
1826
2052
|
};
|
1827
2053
|
|
1828
2054
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
1829
|
-
var { paths:
|
2055
|
+
var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11 } = mosfet_depletion_normally_on_default;
|
1830
2056
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
1831
2057
|
primitives: [
|
1832
|
-
...Object.values(
|
1833
|
-
{ ...
|
1834
|
-
{ ...
|
2058
|
+
...Object.values(paths11),
|
2059
|
+
{ ...texts10.right1, anchor: "middle_left" },
|
2060
|
+
{ ...texts10.right2, anchor: "middle_left" }
|
1835
2061
|
],
|
1836
2062
|
ports: [
|
1837
|
-
{ ...
|
2063
|
+
{ ...refblocks11.top1, labels: ["1"] },
|
1838
2064
|
// TODO add more "standard" labels
|
1839
|
-
{ ...
|
2065
|
+
{ ...refblocks11.bottom1, labels: ["2"] },
|
1840
2066
|
// TODO add more "standard" labels
|
1841
|
-
{ ...
|
2067
|
+
{ ...refblocks11.left1, labels: ["3"] }
|
1842
2068
|
// TODO add more "standard" labels
|
1843
2069
|
],
|
1844
|
-
size: { width:
|
1845
|
-
center: { x:
|
2070
|
+
size: { width: bounds11.width + 0.4, height: bounds11.height },
|
2071
|
+
center: { x: bounds11.centerX + 0.2, y: bounds11.centerY }
|
1846
2072
|
});
|
1847
2073
|
|
1848
2074
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
1849
|
-
var
|
1850
|
-
var
|
2075
|
+
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
2076
|
+
var ref4 = rotated4.primitives.find(
|
1851
2077
|
(p) => p.type === "text" && p.text === "{REF}"
|
1852
2078
|
);
|
1853
|
-
var
|
2079
|
+
var val4 = rotated4.primitives.find(
|
1854
2080
|
(p) => p.type === "text" && p.text === "{VAL}"
|
1855
2081
|
);
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
var mosfet_depletion_normally_on_vert_default =
|
2082
|
+
ref4.anchor = "middle_top";
|
2083
|
+
val4.anchor = "middle_top";
|
2084
|
+
ref4.x = val4.x;
|
2085
|
+
val4.y += 0.15;
|
2086
|
+
var mosfet_depletion_normally_on_vert_default = rotated4;
|
1861
2087
|
|
1862
2088
|
// assets/generated/photodiode.json
|
1863
2089
|
var photodiode_default = {
|
@@ -2084,11 +2310,11 @@ var photodiode_default = {
|
|
2084
2310
|
};
|
2085
2311
|
|
2086
2312
|
// symbols/photodiode_horz.ts
|
2087
|
-
var { paths:
|
2313
|
+
var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles6 } = photodiode_default;
|
2088
2314
|
var photodiode_horz_default = defineSymbol({
|
2089
2315
|
primitives: [
|
2090
|
-
...Object.values(
|
2091
|
-
...Object.values(
|
2316
|
+
...Object.values(paths12),
|
2317
|
+
...Object.values(circles6),
|
2092
2318
|
{
|
2093
2319
|
type: "text",
|
2094
2320
|
text: "{REF}",
|
@@ -2105,21 +2331,21 @@ var photodiode_horz_default = defineSymbol({
|
|
2105
2331
|
}
|
2106
2332
|
],
|
2107
2333
|
ports: [
|
2108
|
-
{ ...
|
2334
|
+
{ ...refblocks12.left1, labels: ["1"] },
|
2109
2335
|
// TODO add more "standard" labels
|
2110
|
-
{ ...
|
2336
|
+
{ ...refblocks12.right1, labels: ["2"] }
|
2111
2337
|
// TODO add more "standard" labels
|
2112
2338
|
],
|
2113
|
-
size: { width:
|
2114
|
-
center: { x:
|
2339
|
+
size: { width: bounds12.width, height: bounds12.height },
|
2340
|
+
center: { x: bounds12.centerX, y: bounds12.centerY }
|
2115
2341
|
});
|
2116
2342
|
|
2117
2343
|
// symbols/photodiode_vert.ts
|
2118
2344
|
var rotatedSymbol4 = rotateSymbol(photodiode_horz_default);
|
2119
|
-
var
|
2120
|
-
var
|
2121
|
-
|
2122
|
-
|
2345
|
+
var texts12 = rotatedSymbol4.primitives.filter((p) => p.type === "text");
|
2346
|
+
var ref5 = texts12.find((t) => t.text === "{REF}");
|
2347
|
+
ref5.y = 0;
|
2348
|
+
ref5.anchor = "middle_left";
|
2123
2349
|
var photodiode_vert_default = rotatedSymbol4;
|
2124
2350
|
|
2125
2351
|
// assets/generated/potentiometer.json
|
@@ -2258,26 +2484,26 @@ var potentiometer_default = {
|
|
2258
2484
|
};
|
2259
2485
|
|
2260
2486
|
// symbols/potentiometer_horz.ts
|
2261
|
-
var { paths:
|
2487
|
+
var { paths: paths13, texts: texts13, bounds: bounds13, refblocks: refblocks13 } = potentiometer_default;
|
2262
2488
|
var potentiometer_horz_default = defineSymbol({
|
2263
2489
|
primitives: [
|
2264
|
-
...Object.values(
|
2265
|
-
{ ...
|
2266
|
-
{ ...
|
2490
|
+
...Object.values(paths13),
|
2491
|
+
{ ...texts13.bottom1, y: 0.35, anchor: "middle_top" },
|
2492
|
+
{ ...texts13.right1, anchor: "middle_left" }
|
2267
2493
|
],
|
2268
2494
|
ports: [
|
2269
|
-
{ ...
|
2495
|
+
{ ...refblocks13.left1, labels: ["1"] },
|
2270
2496
|
// TODO add more "standard" labels
|
2271
|
-
{ ...
|
2497
|
+
{ ...refblocks13.right1, labels: ["2"] }
|
2272
2498
|
// TODO add more "standard" labels
|
2273
2499
|
],
|
2274
|
-
size: { width:
|
2275
|
-
center: { x:
|
2500
|
+
size: { width: bounds13.width + 0.05, height: bounds13.height },
|
2501
|
+
center: { x: bounds13.centerX, y: bounds13.centerY }
|
2276
2502
|
});
|
2277
2503
|
|
2278
2504
|
// symbols/potentiometer_vert.ts
|
2279
|
-
var
|
2280
|
-
var potentiometer_vert_default =
|
2505
|
+
var rotated5 = rotateSymbol(potentiometer_horz_default);
|
2506
|
+
var potentiometer_vert_default = rotated5;
|
2281
2507
|
|
2282
2508
|
// assets/generated/potentiometer2.json
|
2283
2509
|
var potentiometer2_default = {
|
@@ -2434,21 +2660,21 @@ var potentiometer2_default = {
|
|
2434
2660
|
};
|
2435
2661
|
|
2436
2662
|
// symbols/potentiometer2_horz.ts
|
2437
|
-
var { paths:
|
2663
|
+
var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14 } = potentiometer2_default;
|
2438
2664
|
var potentiometer2_horz_default = defineSymbol({
|
2439
2665
|
primitives: [
|
2440
|
-
...Object.values(
|
2441
|
-
{ ...
|
2442
|
-
{ ...
|
2666
|
+
...Object.values(paths14),
|
2667
|
+
{ ...texts14.bottom1, anchor: "middle_right" },
|
2668
|
+
{ ...texts14.top1, anchor: "middle_left" }
|
2443
2669
|
],
|
2444
2670
|
ports: [
|
2445
|
-
{ ...
|
2671
|
+
{ ...refblocks14.left1, labels: ["1"] },
|
2446
2672
|
// TODO add more "standard" labels
|
2447
|
-
{ ...
|
2673
|
+
{ ...refblocks14.right1, labels: ["2"] }
|
2448
2674
|
// TODO add more "standard" labels
|
2449
2675
|
],
|
2450
|
-
size: { width:
|
2451
|
-
center: { x:
|
2676
|
+
size: { width: bounds14.width, height: bounds14.height },
|
2677
|
+
center: { x: bounds14.centerX, y: bounds14.centerY }
|
2452
2678
|
});
|
2453
2679
|
|
2454
2680
|
// symbols/potentiometer2_vert.ts
|
@@ -2541,11 +2767,11 @@ var power_factor_meter_default = {
|
|
2541
2767
|
};
|
2542
2768
|
|
2543
2769
|
// symbols/power_factor_meter_horz.ts
|
2544
|
-
var { paths:
|
2770
|
+
var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15, circles: circles7 } = power_factor_meter_default;
|
2545
2771
|
var power_factor_meter_horz_default = defineSymbol({
|
2546
2772
|
primitives: [
|
2547
|
-
...Object.values(
|
2548
|
-
...Object.values(
|
2773
|
+
...Object.values(paths15),
|
2774
|
+
...Object.values(circles7),
|
2549
2775
|
// { ...texts.top1, anchor: "middle_left" },
|
2550
2776
|
{
|
2551
2777
|
type: "text",
|
@@ -2572,25 +2798,25 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
2572
2798
|
}
|
2573
2799
|
],
|
2574
2800
|
ports: [
|
2575
|
-
{ ...
|
2801
|
+
{ ...refblocks15.left1, labels: ["1"] },
|
2576
2802
|
// TODO add more "standard" labels
|
2577
|
-
{ ...
|
2803
|
+
{ ...refblocks15.right1, labels: ["2"] }
|
2578
2804
|
// TODO add more "standard" labels
|
2579
2805
|
],
|
2580
|
-
size: { width:
|
2581
|
-
center: { x:
|
2806
|
+
size: { width: bounds15.width, height: bounds15.height },
|
2807
|
+
center: { x: bounds15.centerX, y: bounds15.centerY }
|
2582
2808
|
});
|
2583
2809
|
|
2584
2810
|
// symbols/power_factor_meter_vert.ts
|
2585
2811
|
var rotatedSymbol5 = rotateSymbol(power_factor_meter_horz_default);
|
2586
|
-
var
|
2587
|
-
var
|
2588
|
-
var
|
2589
|
-
var text_cos =
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2812
|
+
var texts16 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
|
2813
|
+
var ref6 = texts16.find((t) => t.text === "{REF}");
|
2814
|
+
var val5 = texts16.find((t) => t.text === "{VAL}");
|
2815
|
+
var text_cos = texts16.find((t) => t.text === "COS \u03C6");
|
2816
|
+
ref6.x = 0.35;
|
2817
|
+
ref6.y = 0;
|
2818
|
+
val5.x = -0.6;
|
2819
|
+
val5.y = 0;
|
2594
2820
|
text_cos.x = -0.1;
|
2595
2821
|
text_cos.y = 0;
|
2596
2822
|
var power_factor_meter_vert_default = rotatedSymbol5;
|
@@ -2696,38 +2922,38 @@ var push_button_normally_closed_momentary_default = {
|
|
2696
2922
|
};
|
2697
2923
|
|
2698
2924
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
2699
|
-
var { paths:
|
2925
|
+
var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16 } = push_button_normally_closed_momentary_default;
|
2700
2926
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
2701
2927
|
primitives: [
|
2702
|
-
...Object.values(
|
2703
|
-
{ ...
|
2704
|
-
{ ...
|
2928
|
+
...Object.values(paths16),
|
2929
|
+
{ ...texts17.top1, anchor: "middle_bottom" },
|
2930
|
+
{ ...texts17.bottom1, anchor: "middle_top" }
|
2705
2931
|
],
|
2706
2932
|
ports: [
|
2707
|
-
{ ...
|
2933
|
+
{ ...refblocks16.left1, labels: ["1"] },
|
2708
2934
|
// TODO add more "standard" labels
|
2709
|
-
{ ...
|
2935
|
+
{ ...refblocks16.right1, labels: ["2"] }
|
2710
2936
|
// TODO add more "standard" labels
|
2711
2937
|
],
|
2712
|
-
size: { width:
|
2713
|
-
center: { x:
|
2938
|
+
size: { width: bounds16.width, height: bounds16.height },
|
2939
|
+
center: { x: bounds16.centerX, y: bounds16.centerY }
|
2714
2940
|
});
|
2715
2941
|
|
2716
2942
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
2717
|
-
var
|
2718
|
-
var
|
2943
|
+
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
2944
|
+
var ref7 = rotated6.primitives.find(
|
2719
2945
|
(p) => p.type === "text" && p.text === "{REF}"
|
2720
2946
|
);
|
2721
|
-
var
|
2947
|
+
var val6 = rotated6.primitives.find(
|
2722
2948
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2723
2949
|
);
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
var push_button_normally_closed_momentary_vert_default =
|
2950
|
+
ref7.anchor = "middle_left";
|
2951
|
+
val6.anchor = "middle_right";
|
2952
|
+
ref7.x = ref7.x - 0.03;
|
2953
|
+
ref7.y = ref7.y;
|
2954
|
+
val6.x = val6.x;
|
2955
|
+
val6.y = 0;
|
2956
|
+
var push_button_normally_closed_momentary_vert_default = rotated6;
|
2731
2957
|
|
2732
2958
|
// assets/generated/push_button_normally_open_momentary.json
|
2733
2959
|
var push_button_normally_open_momentary_default = {
|
@@ -2830,38 +3056,38 @@ var push_button_normally_open_momentary_default = {
|
|
2830
3056
|
};
|
2831
3057
|
|
2832
3058
|
// symbols/push_button_normally_open_momentary_horz.ts
|
2833
|
-
var { paths:
|
3059
|
+
var { paths: paths17, texts: texts18, bounds: bounds17, refblocks: refblocks17 } = push_button_normally_open_momentary_default;
|
2834
3060
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
2835
3061
|
primitives: [
|
2836
|
-
...Object.values(
|
2837
|
-
{ ...
|
2838
|
-
{ ...
|
3062
|
+
...Object.values(paths17),
|
3063
|
+
{ ...texts18.top1, anchor: "middle_bottom" },
|
3064
|
+
{ ...texts18.bottom1, anchor: "middle_top" }
|
2839
3065
|
],
|
2840
3066
|
ports: [
|
2841
|
-
{ ...
|
3067
|
+
{ ...refblocks17.left1, labels: ["1"] },
|
2842
3068
|
// TODO add more "standard" labels
|
2843
|
-
{ ...
|
3069
|
+
{ ...refblocks17.right1, labels: ["2"] }
|
2844
3070
|
// TODO add more "standard" labels
|
2845
3071
|
],
|
2846
|
-
size: { width:
|
2847
|
-
center: { x:
|
3072
|
+
size: { width: bounds17.width, height: bounds17.height },
|
3073
|
+
center: { x: bounds17.centerX, y: bounds17.centerY }
|
2848
3074
|
});
|
2849
3075
|
|
2850
3076
|
// symbols/push_button_normally_open_momentary_vert.ts
|
2851
|
-
var
|
2852
|
-
var
|
3077
|
+
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
3078
|
+
var ref8 = rotated7.primitives.find(
|
2853
3079
|
(p) => p.type === "text" && p.text === "{REF}"
|
2854
3080
|
);
|
2855
|
-
var
|
3081
|
+
var val7 = rotated7.primitives.find(
|
2856
3082
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2857
3083
|
);
|
2858
|
-
|
2859
|
-
|
2860
|
-
|
2861
|
-
|
2862
|
-
|
2863
|
-
|
2864
|
-
var push_button_normally_open_momentary_vert_default =
|
3084
|
+
ref8.anchor = "middle_left";
|
3085
|
+
val7.anchor = "middle_right";
|
3086
|
+
ref8.x = ref8.x + 0.1;
|
3087
|
+
ref8.y = ref8.y;
|
3088
|
+
val7.x = val7.x;
|
3089
|
+
val7.y = 0;
|
3090
|
+
var push_button_normally_open_momentary_vert_default = rotated7;
|
2865
3091
|
|
2866
3092
|
// assets/generated/schottky_diode.json
|
2867
3093
|
var schottky_diode_default = {
|
@@ -3055,35 +3281,35 @@ var schottky_diode_default = {
|
|
3055
3281
|
};
|
3056
3282
|
|
3057
3283
|
// symbols/schottky_diode_horz.ts
|
3058
|
-
var { paths:
|
3284
|
+
var { paths: paths18, texts: texts19, bounds: bounds18, refblocks: refblocks18, circles: circles8 } = schottky_diode_default;
|
3059
3285
|
var schottky_diode_horz_default = defineSymbol({
|
3060
3286
|
primitives: [
|
3061
|
-
...Object.values(
|
3062
|
-
...Object.values(
|
3063
|
-
{ ...
|
3064
|
-
{ ...
|
3287
|
+
...Object.values(paths18),
|
3288
|
+
...Object.values(circles8),
|
3289
|
+
{ ...texts19.top1, anchor: "middle_bottom" },
|
3290
|
+
{ ...texts19.bottom1, anchor: "middle_top" }
|
3065
3291
|
],
|
3066
3292
|
ports: [
|
3067
|
-
{ ...
|
3293
|
+
{ ...refblocks18.left1, labels: ["1"] },
|
3068
3294
|
// TODO add more "standard" labels
|
3069
|
-
{ ...
|
3295
|
+
{ ...refblocks18.right1, labels: ["2"] }
|
3070
3296
|
// TODO add more "standard" labels
|
3071
3297
|
],
|
3072
|
-
size: { width:
|
3073
|
-
center: { x:
|
3298
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3299
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3074
3300
|
});
|
3075
3301
|
|
3076
3302
|
// symbols/schottky_diode_vert.ts
|
3077
|
-
var
|
3078
|
-
var
|
3303
|
+
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
3304
|
+
var ref9 = rotated8.primitives.find(
|
3079
3305
|
(p) => p.type === "text" && p.text === "{REF}"
|
3080
3306
|
);
|
3081
|
-
var
|
3307
|
+
var val8 = rotated8.primitives.find(
|
3082
3308
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3083
3309
|
);
|
3084
|
-
|
3085
|
-
|
3086
|
-
var schottky_diode_vert_default =
|
3310
|
+
ref9.anchor = "middle_left";
|
3311
|
+
val8.anchor = "middle_right";
|
3312
|
+
var schottky_diode_vert_default = rotated8;
|
3087
3313
|
|
3088
3314
|
// assets/generated/silicon_controlled_rectifier.json
|
3089
3315
|
var silicon_controlled_rectifier_default = {
|
@@ -3229,34 +3455,34 @@ var silicon_controlled_rectifier_default = {
|
|
3229
3455
|
};
|
3230
3456
|
|
3231
3457
|
// symbols/silicon_controlled_rectifier_horz.ts
|
3232
|
-
var { paths:
|
3458
|
+
var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles9 } = silicon_controlled_rectifier_default;
|
3233
3459
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
3234
3460
|
primitives: [
|
3235
|
-
...Object.values(
|
3236
|
-
...Object.values(
|
3237
|
-
{ ...
|
3238
|
-
{ ...
|
3461
|
+
...Object.values(paths19),
|
3462
|
+
...Object.values(circles9),
|
3463
|
+
{ ...texts20.top1, anchor: "middle_left" },
|
3464
|
+
{ ...texts20.bottom1, anchor: "middle_top" }
|
3239
3465
|
],
|
3240
3466
|
ports: [
|
3241
|
-
{ ...
|
3467
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
3242
3468
|
// TODO add more "standard" labels
|
3243
|
-
{ ...
|
3469
|
+
{ ...refblocks19.right1, labels: ["2"] },
|
3244
3470
|
// TODO add more "standard" labels
|
3245
|
-
{ ...
|
3471
|
+
{ ...refblocks19.right2, labels: ["3"] }
|
3246
3472
|
// TODO add more "standard" labels
|
3247
3473
|
],
|
3248
|
-
size: { width:
|
3249
|
-
center: { x:
|
3474
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3475
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3250
3476
|
});
|
3251
3477
|
|
3252
3478
|
// symbols/silicon_controlled_rectifier_vert.ts
|
3253
3479
|
var rotatedSymbol6 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
3254
|
-
var
|
3480
|
+
var texts21 = rotatedSymbol6.primitives.filter(
|
3255
3481
|
(primitive) => primitive.type === "text"
|
3256
3482
|
);
|
3257
|
-
var
|
3258
|
-
|
3259
|
-
|
3483
|
+
var ref10 = texts21.find((text) => text.text === "{REF}");
|
3484
|
+
ref10.y = 0;
|
3485
|
+
ref10.anchor = "middle_left";
|
3260
3486
|
var silicon_controlled_rectifier_vert_default = rotatedSymbol6;
|
3261
3487
|
|
3262
3488
|
// assets/generated/triac.json
|
@@ -3450,35 +3676,35 @@ var triac_default = {
|
|
3450
3676
|
};
|
3451
3677
|
|
3452
3678
|
// symbols/triac_horz.ts
|
3453
|
-
var { paths:
|
3679
|
+
var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles10 } = triac_default;
|
3454
3680
|
var triac_horz_default = defineSymbol({
|
3455
3681
|
primitives: [
|
3456
|
-
...Object.values(
|
3457
|
-
...Object.values(
|
3458
|
-
{ ...
|
3459
|
-
{ ...
|
3682
|
+
...Object.values(paths20),
|
3683
|
+
...Object.values(circles10),
|
3684
|
+
{ ...texts22.top1, anchor: "middle_left" },
|
3685
|
+
{ ...texts22.bottom1, anchor: "middle_top" }
|
3460
3686
|
],
|
3461
3687
|
ports: [
|
3462
|
-
{ ...
|
3688
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3463
3689
|
// TODO add more "standard" labels
|
3464
|
-
{ ...
|
3690
|
+
{ ...refblocks20.right1, labels: ["2"] },
|
3465
3691
|
// TODO add more "standard" labels
|
3466
|
-
{ ...
|
3692
|
+
{ ...refblocks20.bottom1, labels: ["3"] }
|
3467
3693
|
// TODO add more "standard" labels
|
3468
3694
|
],
|
3469
|
-
size: { width:
|
3470
|
-
center: { x:
|
3695
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3696
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3471
3697
|
});
|
3472
3698
|
|
3473
3699
|
// symbols/triac_vert.ts
|
3474
3700
|
var rotatedSymbol7 = rotateSymbol(triac_horz_default);
|
3475
|
-
var
|
3701
|
+
var texts23 = rotatedSymbol7.primitives.filter(
|
3476
3702
|
(primitive) => primitive.type === "text"
|
3477
3703
|
);
|
3478
|
-
var
|
3479
|
-
var
|
3480
|
-
|
3481
|
-
|
3704
|
+
var ref11 = texts23.find((text) => text.text === "{REF}");
|
3705
|
+
var val9 = texts23.find((text) => text.text === "{VAL}");
|
3706
|
+
ref11.y = 0;
|
3707
|
+
val9.y = 0;
|
3482
3708
|
var triac_vert_default = rotatedSymbol7;
|
3483
3709
|
|
3484
3710
|
// assets/generated/tunnel_diode.json
|
@@ -3643,35 +3869,154 @@ var tunnel_diode_default = {
|
|
3643
3869
|
};
|
3644
3870
|
|
3645
3871
|
// symbols/tunnel_diode_horz.ts
|
3646
|
-
var { paths:
|
3872
|
+
var { paths: paths21, texts: texts24, bounds: bounds21, refblocks: refblocks21, circles: circles11 } = tunnel_diode_default;
|
3647
3873
|
var tunnel_diode_horz_default = defineSymbol({
|
3648
3874
|
primitives: [
|
3649
|
-
...Object.values(
|
3650
|
-
...Object.values(
|
3651
|
-
{ ...
|
3652
|
-
{ ...
|
3875
|
+
...Object.values(paths21),
|
3876
|
+
...Object.values(circles11),
|
3877
|
+
{ ...texts24.top1, anchor: "middle_bottom" },
|
3878
|
+
{ ...texts24.bottom1, anchor: "middle_top" }
|
3653
3879
|
],
|
3654
3880
|
ports: [
|
3655
|
-
{ ...
|
3881
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3656
3882
|
// TODO add more "standard" labels
|
3657
|
-
{ ...
|
3883
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3658
3884
|
// TODO add more "standard" labels
|
3659
3885
|
],
|
3660
|
-
size: { width:
|
3661
|
-
center: { x:
|
3886
|
+
size: { width: bounds21.width, height: bounds21.height },
|
3887
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3662
3888
|
});
|
3663
3889
|
|
3664
3890
|
// symbols/tunnel_diode_vert.ts
|
3665
|
-
var
|
3666
|
-
var
|
3891
|
+
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
3892
|
+
var ref12 = rotated9.primitives.find(
|
3667
3893
|
(p) => p.type === "text" && p.text === "{REF}"
|
3668
3894
|
);
|
3669
|
-
var
|
3895
|
+
var val10 = rotated9.primitives.find(
|
3670
3896
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3671
3897
|
);
|
3672
|
-
|
3673
|
-
|
3674
|
-
var tunnel_diode_vert_default =
|
3898
|
+
ref12.anchor = "middle_left";
|
3899
|
+
val10.anchor = "middle_right";
|
3900
|
+
var tunnel_diode_vert_default = rotated9;
|
3901
|
+
|
3902
|
+
// assets/generated/var_meter.json
|
3903
|
+
var var_meter_default = {
|
3904
|
+
paths: {
|
3905
|
+
path11: {
|
3906
|
+
type: "path",
|
3907
|
+
points: [
|
3908
|
+
{
|
3909
|
+
x: -0.5307178,
|
3910
|
+
y: 0
|
3911
|
+
},
|
3912
|
+
{
|
3913
|
+
x: -0.3042887999999997,
|
3914
|
+
y: 0
|
3915
|
+
}
|
3916
|
+
],
|
3917
|
+
color: "primary",
|
3918
|
+
fill: false
|
3919
|
+
},
|
3920
|
+
path12: {
|
3921
|
+
type: "path",
|
3922
|
+
points: [
|
3923
|
+
{
|
3924
|
+
x: 0.2899773000000003,
|
3925
|
+
y: 0
|
3926
|
+
},
|
3927
|
+
{
|
3928
|
+
x: 0.5307178000000001,
|
3929
|
+
y: 0
|
3930
|
+
}
|
3931
|
+
],
|
3932
|
+
color: "primary",
|
3933
|
+
fill: false
|
3934
|
+
}
|
3935
|
+
},
|
3936
|
+
texts: {
|
3937
|
+
top1: {
|
3938
|
+
type: "text",
|
3939
|
+
text: "{REF}",
|
3940
|
+
x: -0.17652089999999898,
|
3941
|
+
y: -0.36197569999999946
|
3942
|
+
},
|
3943
|
+
bottom1: {
|
3944
|
+
type: "text",
|
3945
|
+
text: "{VAL}",
|
3946
|
+
x: -0.009849199999999891,
|
3947
|
+
y: 0.43234960000000044
|
3948
|
+
},
|
3949
|
+
left1: {
|
3950
|
+
type: "text",
|
3951
|
+
text: "Var",
|
3952
|
+
x: -0.19436529999999896,
|
3953
|
+
y: 0.07249430000000023
|
3954
|
+
}
|
3955
|
+
},
|
3956
|
+
refblocks: {
|
3957
|
+
left1: {
|
3958
|
+
x: -0.5446330999999993,
|
3959
|
+
y: 852800000000542e-18
|
3960
|
+
},
|
3961
|
+
right1: {
|
3962
|
+
x: 0.5381638000000004,
|
3963
|
+
y: -14359999999924433e-20
|
3964
|
+
}
|
3965
|
+
},
|
3966
|
+
bounds: {
|
3967
|
+
minX: -0.5307178,
|
3968
|
+
maxX: 0.5307178000000001,
|
3969
|
+
minY: 0,
|
3970
|
+
maxY: 0,
|
3971
|
+
width: 1.0614356000000003,
|
3972
|
+
height: 1,
|
3973
|
+
centerX: 5551115123125783e-32,
|
3974
|
+
centerY: 0
|
3975
|
+
},
|
3976
|
+
circles: {
|
3977
|
+
path1: {
|
3978
|
+
type: "circle",
|
3979
|
+
x: -0.006997299999999651,
|
3980
|
+
y: -0.007128299999999532,
|
3981
|
+
radius: 0.28854213,
|
3982
|
+
color: "primary",
|
3983
|
+
fill: false
|
3984
|
+
}
|
3985
|
+
}
|
3986
|
+
};
|
3987
|
+
|
3988
|
+
// symbols/var_meter_horz.ts
|
3989
|
+
var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles: circles12 } = var_meter_default;
|
3990
|
+
var var_meter_horz_default = defineSymbol({
|
3991
|
+
primitives: [
|
3992
|
+
...Object.values(paths22),
|
3993
|
+
...Object.values(circles12),
|
3994
|
+
{
|
3995
|
+
...texts25.top1,
|
3996
|
+
x: 0,
|
3997
|
+
y: -0.3594553499999995,
|
3998
|
+
anchor: "middle_bottom"
|
3999
|
+
},
|
4000
|
+
{
|
4001
|
+
...texts25.bottom1,
|
4002
|
+
x: 0,
|
4003
|
+
y: 0.35,
|
4004
|
+
anchor: "middle_top"
|
4005
|
+
},
|
4006
|
+
{ ...texts25.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
4007
|
+
],
|
4008
|
+
ports: [
|
4009
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4010
|
+
// TODO add more "standard" labels
|
4011
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4012
|
+
// TODO add more "standard" labels
|
4013
|
+
],
|
4014
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4015
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4016
|
+
});
|
4017
|
+
|
4018
|
+
// symbols/var_meter_vert.ts
|
4019
|
+
var var_meter_vert_default = rotateSymbol(var_meter_horz_default);
|
3675
4020
|
|
3676
4021
|
// assets/generated/varactor_diode.json
|
3677
4022
|
var varactor_diode_default = {
|
@@ -3820,35 +4165,35 @@ var varactor_diode_default = {
|
|
3820
4165
|
};
|
3821
4166
|
|
3822
4167
|
// symbols/varactor_diode_horz.ts
|
3823
|
-
var { paths:
|
4168
|
+
var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = varactor_diode_default;
|
3824
4169
|
var varactor_diode_horz_default = defineSymbol({
|
3825
4170
|
primitives: [
|
3826
|
-
...Object.values(
|
3827
|
-
...Object.values(
|
3828
|
-
{ ...
|
3829
|
-
{ ...
|
4171
|
+
...Object.values(paths23),
|
4172
|
+
...Object.values(circles13),
|
4173
|
+
{ ...texts26.top1, anchor: "middle_bottom" },
|
4174
|
+
{ ...texts26.bottom1, anchor: "middle_top" }
|
3830
4175
|
],
|
3831
4176
|
ports: [
|
3832
|
-
{ ...
|
4177
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
3833
4178
|
// TODO add more "standard" labels
|
3834
|
-
{ ...
|
4179
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
3835
4180
|
// TODO add more "standard" labels
|
3836
4181
|
],
|
3837
|
-
size: { width:
|
3838
|
-
center: { x:
|
4182
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4183
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
3839
4184
|
});
|
3840
4185
|
|
3841
4186
|
// symbols/varactor_diode_vert.ts
|
3842
|
-
var
|
3843
|
-
var
|
4187
|
+
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
4188
|
+
var ref13 = rotated10.primitives.find(
|
3844
4189
|
(p) => p.type === "text" && p.text === "{REF}"
|
3845
4190
|
);
|
3846
|
-
var
|
4191
|
+
var val11 = rotated10.primitives.find(
|
3847
4192
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3848
4193
|
);
|
3849
|
-
|
3850
|
-
|
3851
|
-
var varactor_diode_vert_default =
|
4194
|
+
ref13.anchor = "middle_left";
|
4195
|
+
val11.anchor = "middle_right";
|
4196
|
+
var varactor_diode_vert_default = rotated10;
|
3852
4197
|
|
3853
4198
|
// assets/generated/varistor.json
|
3854
4199
|
var varistor_default = {
|
@@ -3982,26 +4327,26 @@ var varistor_default = {
|
|
3982
4327
|
};
|
3983
4328
|
|
3984
4329
|
// symbols/varistor_horz.ts
|
3985
|
-
var { paths:
|
4330
|
+
var { paths: paths24, texts: texts27, bounds: bounds24, refblocks: refblocks24 } = varistor_default;
|
3986
4331
|
var varistor_horz_default = defineSymbol({
|
3987
4332
|
primitives: [
|
3988
|
-
...Object.values(
|
3989
|
-
{ ...
|
3990
|
-
{ ...
|
4333
|
+
...Object.values(paths24),
|
4334
|
+
{ ...texts27.top1, anchor: "middle_left" },
|
4335
|
+
{ ...texts27.bottom1, anchor: "middle_right" }
|
3991
4336
|
],
|
3992
4337
|
ports: [
|
3993
4338
|
{
|
3994
|
-
...
|
4339
|
+
...refblocks24.left1,
|
3995
4340
|
labels: ["1", "-"]
|
3996
4341
|
},
|
3997
4342
|
{
|
3998
|
-
...
|
4343
|
+
...refblocks24.right1,
|
3999
4344
|
labels: ["2", "+"]
|
4000
4345
|
}
|
4001
4346
|
],
|
4002
|
-
size: { width:
|
4347
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4003
4348
|
//{ width: 1, height: 0.24 },
|
4004
|
-
center: { x:
|
4349
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4005
4350
|
});
|
4006
4351
|
|
4007
4352
|
// symbols/varistor_vert.ts
|
@@ -4107,11 +4452,11 @@ var volt_meter_default = {
|
|
4107
4452
|
};
|
4108
4453
|
|
4109
4454
|
// symbols/volt_meter_horz.ts
|
4110
|
-
var { paths:
|
4455
|
+
var { paths: paths25, texts: texts28, bounds: bounds25, circles: circles14, refblocks: refblocks25 } = volt_meter_default;
|
4111
4456
|
var volt_meter_horz_default = defineSymbol({
|
4112
4457
|
primitives: [
|
4113
|
-
...Object.values(
|
4114
|
-
...Object.values(
|
4458
|
+
...Object.values(paths25),
|
4459
|
+
...Object.values(circles14),
|
4115
4460
|
{
|
4116
4461
|
type: "text",
|
4117
4462
|
text: "{REF}",
|
@@ -4128,13 +4473,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
4128
4473
|
}
|
4129
4474
|
],
|
4130
4475
|
ports: [
|
4131
|
-
{ ...
|
4476
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4132
4477
|
// TODO add more "standard" labels
|
4133
|
-
{ ...
|
4478
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4134
4479
|
// TODO add more "standard" labels
|
4135
4480
|
],
|
4136
|
-
size: { width:
|
4137
|
-
center: { x:
|
4481
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4482
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4138
4483
|
});
|
4139
4484
|
|
4140
4485
|
// symbols/volt_meter_vert.ts
|
@@ -4287,35 +4632,35 @@ var zener_diode_default = {
|
|
4287
4632
|
};
|
4288
4633
|
|
4289
4634
|
// symbols/zener_diode_horz.ts
|
4290
|
-
var { paths:
|
4635
|
+
var { paths: paths26, texts: texts29, bounds: bounds26, refblocks: refblocks26, circles: circles15 } = zener_diode_default;
|
4291
4636
|
var zener_diode_horz_default = defineSymbol({
|
4292
4637
|
primitives: [
|
4293
|
-
...Object.values(
|
4294
|
-
...Object.values(
|
4295
|
-
{ ...
|
4296
|
-
{ ...
|
4638
|
+
...Object.values(paths26),
|
4639
|
+
...Object.values(circles15),
|
4640
|
+
{ ...texts29.top1, anchor: "middle_bottom" },
|
4641
|
+
{ ...texts29.bottom1, anchor: "middle_top" }
|
4297
4642
|
],
|
4298
4643
|
ports: [
|
4299
|
-
{ ...
|
4644
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4300
4645
|
// TODO add more "standard" labels
|
4301
|
-
{ ...
|
4646
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4302
4647
|
// TODO add more "standard" labels
|
4303
4648
|
],
|
4304
|
-
size: { width:
|
4305
|
-
center: { x:
|
4649
|
+
size: { width: bounds26.width, height: bounds26.height },
|
4650
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4306
4651
|
});
|
4307
4652
|
|
4308
4653
|
// symbols/zener_diode_vert.ts
|
4309
|
-
var
|
4310
|
-
var
|
4654
|
+
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
4655
|
+
var ref14 = rotated11.primitives.find(
|
4311
4656
|
(p) => p.type === "text" && p.text === "{REF}"
|
4312
4657
|
);
|
4313
|
-
var
|
4658
|
+
var val12 = rotated11.primitives.find(
|
4314
4659
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4315
4660
|
);
|
4316
|
-
|
4317
|
-
|
4318
|
-
var zener_diode_vert_default =
|
4661
|
+
ref14.anchor = "middle_left";
|
4662
|
+
val12.anchor = "middle_right";
|
4663
|
+
var zener_diode_vert_default = rotated11;
|
4319
4664
|
|
4320
4665
|
// generated/symbols-index.ts
|
4321
4666
|
var symbols_index_default = {
|
@@ -4335,6 +4680,8 @@ var symbols_index_default = {
|
|
4335
4680
|
"diode_vert": diode_vert_default,
|
4336
4681
|
"fuse_horz": fuse_horz_default,
|
4337
4682
|
"fuse_vert": fuse_vert_default,
|
4683
|
+
"igbt_transistor_horz": igbt_transistor_horz_default,
|
4684
|
+
"igbt_transistor_vert": igbt_transistor_vert_default,
|
4338
4685
|
"led_horz": led_horz_default,
|
4339
4686
|
"led_vert": led_vert_default,
|
4340
4687
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|
@@ -4359,6 +4706,8 @@ var symbols_index_default = {
|
|
4359
4706
|
"triac_vert": triac_vert_default,
|
4360
4707
|
"tunnel_diode_horz": tunnel_diode_horz_default,
|
4361
4708
|
"tunnel_diode_vert": tunnel_diode_vert_default,
|
4709
|
+
"var_meter_horz": var_meter_horz_default,
|
4710
|
+
"var_meter_vert": var_meter_vert_default,
|
4362
4711
|
"varactor_diode_horz": varactor_diode_horz_default,
|
4363
4712
|
"varactor_diode_vert": varactor_diode_vert_default,
|
4364
4713
|
"varistor_horz": varistor_horz_default,
|