schematic-symbols 0.0.79 → 0.0.80
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 +1074 -590
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/darlington_pair_transistor_horz.ts +21 -0
- package/symbols/darlington_pair_transistor_vert.ts +4 -0
- package/symbols/dpst_switch_horz.ts +22 -0
- package/symbols/dpst_switch_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -1180,6 +1180,295 @@ val3.x = -0.4;
|
|
1180
1180
|
ref3.x = 0.35;
|
1181
1181
|
var crystal_vert_default = rotatedSymbol3;
|
1182
1182
|
|
1183
|
+
// assets/generated/darlington_pair_transistor.json
|
1184
|
+
var darlington_pair_transistor_default = {
|
1185
|
+
paths: {
|
1186
|
+
path11: {
|
1187
|
+
type: "path",
|
1188
|
+
points: [
|
1189
|
+
{
|
1190
|
+
x: 1.9942486145,
|
1191
|
+
y: 1.6315233295000002
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
x: 2.0984258145,
|
1195
|
+
y: 1.6321433295000003
|
1196
|
+
}
|
1197
|
+
],
|
1198
|
+
color: "primary",
|
1199
|
+
fill: false
|
1200
|
+
},
|
1201
|
+
"path40-0": {
|
1202
|
+
type: "path",
|
1203
|
+
points: [
|
1204
|
+
{
|
1205
|
+
x: 2.1030704145000003,
|
1206
|
+
y: 1.4702420295
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
x: 2.1026604145,
|
1210
|
+
y: 1.7934203295
|
1211
|
+
}
|
1212
|
+
],
|
1213
|
+
color: "primary",
|
1214
|
+
fill: false
|
1215
|
+
},
|
1216
|
+
"path40-0-5": {
|
1217
|
+
type: "path",
|
1218
|
+
points: [
|
1219
|
+
{
|
1220
|
+
x: 2.2218770145,
|
1221
|
+
y: 1.4862575295
|
1222
|
+
},
|
1223
|
+
{
|
1224
|
+
x: 2.1063461145,
|
1225
|
+
y: 1.5650515295000003
|
1226
|
+
}
|
1227
|
+
],
|
1228
|
+
color: "primary",
|
1229
|
+
fill: false
|
1230
|
+
},
|
1231
|
+
"path40-0-5-0": {
|
1232
|
+
type: "path",
|
1233
|
+
points: [
|
1234
|
+
{
|
1235
|
+
x: 2.2286252145,
|
1236
|
+
y: 1.7712556295000002
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
x: 2.1136540145000002,
|
1240
|
+
y: 1.6926424295
|
1241
|
+
}
|
1242
|
+
],
|
1243
|
+
color: "primary",
|
1244
|
+
fill: false
|
1245
|
+
},
|
1246
|
+
"path12-1-5": {
|
1247
|
+
type: "path",
|
1248
|
+
points: [
|
1249
|
+
{
|
1250
|
+
x: 2.2273251145,
|
1251
|
+
y: 1.4841963295
|
1252
|
+
},
|
1253
|
+
{
|
1254
|
+
x: 2.2284101145,
|
1255
|
+
y: 1.1411599295000001
|
1256
|
+
}
|
1257
|
+
],
|
1258
|
+
color: "primary",
|
1259
|
+
fill: false
|
1260
|
+
},
|
1261
|
+
"path12-1-5-3": {
|
1262
|
+
type: "path",
|
1263
|
+
points: [
|
1264
|
+
{
|
1265
|
+
x: 2.2276017145,
|
1266
|
+
y: 1.9460598295
|
1267
|
+
},
|
1268
|
+
{
|
1269
|
+
x: 2.2281317145,
|
1270
|
+
y: 1.7781501295000002
|
1271
|
+
}
|
1272
|
+
],
|
1273
|
+
color: "primary",
|
1274
|
+
fill: false
|
1275
|
+
},
|
1276
|
+
"arrow-2": {
|
1277
|
+
type: "path",
|
1278
|
+
points: [
|
1279
|
+
{
|
1280
|
+
x: 2.1704797145,
|
1281
|
+
y: 1.6884541295000002
|
1282
|
+
},
|
1283
|
+
{
|
1284
|
+
x: 2.1275815145,
|
1285
|
+
y: 1.7497189295000002
|
1286
|
+
},
|
1287
|
+
{
|
1288
|
+
x: 2.1917009144999997,
|
1289
|
+
y: 1.7494989295000003
|
1290
|
+
},
|
1291
|
+
{
|
1292
|
+
x: 2.1704797145,
|
1293
|
+
y: 1.6884541295000002
|
1294
|
+
}
|
1295
|
+
],
|
1296
|
+
color: "primary",
|
1297
|
+
fill: true
|
1298
|
+
},
|
1299
|
+
path1: {
|
1300
|
+
type: "path",
|
1301
|
+
points: [
|
1302
|
+
{
|
1303
|
+
x: 1.5978828145000001,
|
1304
|
+
y: 1.4913252295000001
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
x: 1.8597023145000002,
|
1308
|
+
y: 1.4928722295
|
1309
|
+
}
|
1310
|
+
],
|
1311
|
+
color: "primary",
|
1312
|
+
fill: false
|
1313
|
+
},
|
1314
|
+
path2: {
|
1315
|
+
type: "path",
|
1316
|
+
points: [
|
1317
|
+
{
|
1318
|
+
x: 1.8686937145000002,
|
1319
|
+
y: 1.3305097295000001
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
x: 1.8682837145,
|
1323
|
+
y: 1.6536880295
|
1324
|
+
}
|
1325
|
+
],
|
1326
|
+
color: "primary",
|
1327
|
+
fill: false
|
1328
|
+
},
|
1329
|
+
path3: {
|
1330
|
+
type: "path",
|
1331
|
+
points: [
|
1332
|
+
{
|
1333
|
+
x: 1.9875004145000004,
|
1334
|
+
y: 1.3465253295000001
|
1335
|
+
},
|
1336
|
+
{
|
1337
|
+
x: 1.8719693145,
|
1338
|
+
y: 1.4253192295000001
|
1339
|
+
}
|
1340
|
+
],
|
1341
|
+
color: "primary",
|
1342
|
+
fill: false
|
1343
|
+
},
|
1344
|
+
path4: {
|
1345
|
+
type: "path",
|
1346
|
+
points: [
|
1347
|
+
{
|
1348
|
+
x: 1.9942486145,
|
1349
|
+
y: 1.6315233295000002
|
1350
|
+
},
|
1351
|
+
{
|
1352
|
+
x: 1.8792773145000001,
|
1353
|
+
y: 1.5529101295000003
|
1354
|
+
}
|
1355
|
+
],
|
1356
|
+
color: "primary",
|
1357
|
+
fill: false
|
1358
|
+
},
|
1359
|
+
"arrow-1": {
|
1360
|
+
type: "path",
|
1361
|
+
points: [
|
1362
|
+
{
|
1363
|
+
x: 1.9361028144999999,
|
1364
|
+
y: 1.5487218295000003
|
1365
|
+
},
|
1366
|
+
{
|
1367
|
+
x: 1.8932048145,
|
1368
|
+
y: 1.6099866295000003
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
x: 1.9573242144999998,
|
1372
|
+
y: 1.6097666295000004
|
1373
|
+
},
|
1374
|
+
{
|
1375
|
+
x: 1.9361028144999999,
|
1376
|
+
y: 1.5487218295000003
|
1377
|
+
}
|
1378
|
+
],
|
1379
|
+
color: "primary",
|
1380
|
+
fill: true
|
1381
|
+
},
|
1382
|
+
path9: {
|
1383
|
+
type: "path",
|
1384
|
+
points: [
|
1385
|
+
{
|
1386
|
+
x: 1.9943087144999998,
|
1387
|
+
y: 1.3432655295000002
|
1388
|
+
},
|
1389
|
+
{
|
1390
|
+
x: 2.2269582145,
|
1391
|
+
y: 1.3449695295000001
|
1392
|
+
}
|
1393
|
+
],
|
1394
|
+
color: "primary",
|
1395
|
+
fill: false
|
1396
|
+
}
|
1397
|
+
},
|
1398
|
+
texts: {
|
1399
|
+
bottom1: {
|
1400
|
+
type: "text",
|
1401
|
+
text: "{VAL}",
|
1402
|
+
x: 1.8,
|
1403
|
+
y: 1.8674276295000003
|
1404
|
+
},
|
1405
|
+
right1: {
|
1406
|
+
type: "text",
|
1407
|
+
text: "{REF}",
|
1408
|
+
x: 1.8,
|
1409
|
+
y: 1.177447295
|
1410
|
+
}
|
1411
|
+
},
|
1412
|
+
refblocks: {
|
1413
|
+
right1: {
|
1414
|
+
x: 2.2278680145,
|
1415
|
+
y: 1.1297132295
|
1416
|
+
},
|
1417
|
+
right2: {
|
1418
|
+
x: 1.5977076145000002,
|
1419
|
+
y: 1.4920988295000002
|
1420
|
+
},
|
1421
|
+
right3: {
|
1422
|
+
x: 2.2278617145000004,
|
1423
|
+
y: 1.9544573295000003
|
1424
|
+
}
|
1425
|
+
},
|
1426
|
+
bounds: {
|
1427
|
+
minX: 1.5810976555000003,
|
1428
|
+
maxX: 2.3461148445,
|
1429
|
+
minY: 1.0757447295,
|
1430
|
+
maxY: 1.9710672885000002,
|
1431
|
+
width: 1,
|
1432
|
+
height: 1,
|
1433
|
+
centerX: 1.9636062500000002,
|
1434
|
+
centerY: 1.5234060090000001
|
1435
|
+
},
|
1436
|
+
circles: {
|
1437
|
+
"path1-0": {
|
1438
|
+
type: "circle",
|
1439
|
+
x: 2.0463372145000003,
|
1440
|
+
y: 1.5256545295000001,
|
1441
|
+
radius: 0.29977763,
|
1442
|
+
color: "primary",
|
1443
|
+
fill: false
|
1444
|
+
}
|
1445
|
+
}
|
1446
|
+
};
|
1447
|
+
|
1448
|
+
// symbols/darlington_pair_transistor_horz.ts
|
1449
|
+
var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = darlington_pair_transistor_default;
|
1450
|
+
var darlington_pair_transistor_horz_default = defineSymbol({
|
1451
|
+
primitives: [
|
1452
|
+
...Object.values(paths8),
|
1453
|
+
...Object.values(circles6),
|
1454
|
+
{ ...texts9.bottom1, anchor: "middle_top" },
|
1455
|
+
{ ...texts9.right1, anchor: "middle_bottom" }
|
1456
|
+
],
|
1457
|
+
ports: [
|
1458
|
+
{ ...refblocks8.right1, labels: ["3"] },
|
1459
|
+
// TODO add more "standard" labels
|
1460
|
+
{ ...refblocks8.right2, labels: ["1"] },
|
1461
|
+
// TODO add more "standard" labels
|
1462
|
+
{ ...refblocks8.right3, labels: ["2"] }
|
1463
|
+
// TODO add more "standard" labels
|
1464
|
+
],
|
1465
|
+
size: { width: bounds8.width, height: bounds8.height },
|
1466
|
+
center: { x: bounds8.centerX, y: bounds8.centerY }
|
1467
|
+
});
|
1468
|
+
|
1469
|
+
// symbols/darlington_pair_transistor_vert.ts
|
1470
|
+
var darlington_pair_transistor_vert_default = rotateSymbol(darlington_pair_transistor_horz_default);
|
1471
|
+
|
1183
1472
|
// assets/generated/dc_ammeter.json
|
1184
1473
|
var dc_ammeter_default = {
|
1185
1474
|
paths: {
|
@@ -1282,11 +1571,11 @@ var dc_ammeter_default = {
|
|
1282
1571
|
};
|
1283
1572
|
|
1284
1573
|
// symbols/dc_ammeter_horz.ts
|
1285
|
-
var { paths:
|
1574
|
+
var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = dc_ammeter_default;
|
1286
1575
|
var dc_ammeter_horz_default = defineSymbol({
|
1287
1576
|
primitives: [
|
1288
|
-
...Object.values(
|
1289
|
-
...Object.values(
|
1577
|
+
...Object.values(paths9),
|
1578
|
+
...Object.values(circles7),
|
1290
1579
|
{
|
1291
1580
|
type: "text",
|
1292
1581
|
text: "{REF}",
|
@@ -1301,16 +1590,16 @@ var dc_ammeter_horz_default = defineSymbol({
|
|
1301
1590
|
y: 0.35,
|
1302
1591
|
anchor: "middle_top"
|
1303
1592
|
},
|
1304
|
-
{ ...
|
1593
|
+
{ ...texts10.left1, anchor: "center", fontSize: 0.3 }
|
1305
1594
|
],
|
1306
1595
|
ports: [
|
1307
|
-
{ ...
|
1596
|
+
{ ...refblocks9.left1, labels: ["1"] },
|
1308
1597
|
// TODO add more "standard" labels
|
1309
|
-
{ ...
|
1598
|
+
{ ...refblocks9.right1, labels: ["2"] }
|
1310
1599
|
// TODO add more "standard" labels
|
1311
1600
|
],
|
1312
|
-
size: { width:
|
1313
|
-
center: { x:
|
1601
|
+
size: { width: bounds9.width, height: bounds9.height },
|
1602
|
+
center: { x: bounds9.centerX, y: bounds9.centerY }
|
1314
1603
|
});
|
1315
1604
|
|
1316
1605
|
// symbols/dc_ammeter_vert.ts
|
@@ -1456,11 +1745,11 @@ var dc_voltmeter_default = {
|
|
1456
1745
|
};
|
1457
1746
|
|
1458
1747
|
// symbols/dc_voltmeter_horz.ts
|
1459
|
-
var { paths:
|
1748
|
+
var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10, circles: circles8 } = dc_voltmeter_default;
|
1460
1749
|
var dc_voltmeter_horz_default = defineSymbol({
|
1461
1750
|
primitives: [
|
1462
|
-
...Object.values(
|
1463
|
-
...Object.values(
|
1751
|
+
...Object.values(paths10),
|
1752
|
+
...Object.values(circles8),
|
1464
1753
|
{
|
1465
1754
|
type: "text",
|
1466
1755
|
text: "{REF}",
|
@@ -1477,13 +1766,13 @@ var dc_voltmeter_horz_default = defineSymbol({
|
|
1477
1766
|
}
|
1478
1767
|
],
|
1479
1768
|
ports: [
|
1480
|
-
{ ...
|
1769
|
+
{ ...refblocks10.left1, labels: ["1"] },
|
1481
1770
|
// TODO add more "standard" labels
|
1482
|
-
{ ...
|
1771
|
+
{ ...refblocks10.right1, labels: ["2"] }
|
1483
1772
|
// TODO add more "standard" labels
|
1484
1773
|
],
|
1485
|
-
size: { width:
|
1486
|
-
center: { x:
|
1774
|
+
size: { width: bounds10.width, height: bounds10.height },
|
1775
|
+
center: { x: bounds10.centerX, y: bounds10.centerY }
|
1487
1776
|
});
|
1488
1777
|
|
1489
1778
|
// symbols/dc_voltmeter_vert.ts
|
@@ -1657,31 +1946,31 @@ var diac_default = {
|
|
1657
1946
|
};
|
1658
1947
|
|
1659
1948
|
// symbols/diac_horz.ts
|
1660
|
-
var { paths:
|
1949
|
+
var { paths: paths11, texts: texts12, bounds: bounds11, refblocks: refblocks11, circles: circles9 } = diac_default;
|
1661
1950
|
var diac_horz_default = defineSymbol({
|
1662
1951
|
primitives: [
|
1663
|
-
...Object.values(
|
1664
|
-
...Object.values(
|
1665
|
-
{ ...
|
1666
|
-
{ ...
|
1952
|
+
...Object.values(paths11),
|
1953
|
+
...Object.values(circles9),
|
1954
|
+
{ ...texts12.top1, anchor: "middle_bottom" },
|
1955
|
+
{ ...texts12.bottom1, anchor: "middle_top" }
|
1667
1956
|
],
|
1668
1957
|
ports: [
|
1669
|
-
{ ...
|
1958
|
+
{ ...refblocks11.left1, labels: ["1"] },
|
1670
1959
|
// TODO add more "standard" labels
|
1671
|
-
{ ...
|
1960
|
+
{ ...refblocks11.right1, labels: ["2"] }
|
1672
1961
|
// TODO add more "standard" labels
|
1673
1962
|
],
|
1674
|
-
size: { width:
|
1675
|
-
center: { x:
|
1963
|
+
size: { width: bounds11.width, height: bounds11.height },
|
1964
|
+
center: { x: bounds11.centerX, y: bounds11.centerY }
|
1676
1965
|
});
|
1677
1966
|
|
1678
1967
|
// symbols/diac_vert.ts
|
1679
1968
|
var rotatedSymbol6 = rotateSymbol(diac_horz_default);
|
1680
|
-
var
|
1969
|
+
var texts13 = rotatedSymbol6.primitives.filter(
|
1681
1970
|
(primitive) => primitive.type === "text"
|
1682
1971
|
);
|
1683
|
-
var ref4 =
|
1684
|
-
var val4 =
|
1972
|
+
var ref4 = texts13.find((text) => text.text === "{REF}");
|
1973
|
+
var val4 = texts13.find((text) => text.text === "{VAL}");
|
1685
1974
|
ref4.y = 0;
|
1686
1975
|
val4.y = 0;
|
1687
1976
|
var diac_vert_default = rotatedSymbol6;
|
@@ -1772,38 +2061,190 @@ var diode_default = {
|
|
1772
2061
|
y: -0.038951100000002015
|
1773
2062
|
},
|
1774
2063
|
{
|
1775
|
-
x: 0.14967160000000002,
|
1776
|
-
y: -0.038951100000002015
|
2064
|
+
x: 0.14967160000000002,
|
2065
|
+
y: -0.038951100000002015
|
2066
|
+
}
|
2067
|
+
],
|
2068
|
+
color: "primary",
|
2069
|
+
fill: false
|
2070
|
+
},
|
2071
|
+
"path43-5": {
|
2072
|
+
type: "path",
|
2073
|
+
points: [
|
2074
|
+
{
|
2075
|
+
x: 0.19156529999999972,
|
2076
|
+
y: 0.09340209999999871
|
2077
|
+
},
|
2078
|
+
{
|
2079
|
+
x: 0.14591529999999908,
|
2080
|
+
y: 0.0937620999999993
|
2081
|
+
}
|
2082
|
+
],
|
2083
|
+
color: "primary",
|
2084
|
+
fill: false
|
2085
|
+
},
|
2086
|
+
"path43-5-2": {
|
2087
|
+
type: "path",
|
2088
|
+
points: [
|
2089
|
+
{
|
2090
|
+
x: 0.19233440000000046,
|
2091
|
+
y: 0.1405493999999976
|
2092
|
+
},
|
2093
|
+
{
|
2094
|
+
x: 0.19197439999999988,
|
2095
|
+
y: 0.09489939999999919
|
2096
|
+
}
|
2097
|
+
],
|
2098
|
+
color: "primary",
|
2099
|
+
fill: false
|
2100
|
+
}
|
2101
|
+
},
|
2102
|
+
texts: {
|
2103
|
+
top1: {
|
2104
|
+
type: "text",
|
2105
|
+
text: "{REF}",
|
2106
|
+
x: -0.0050250999999996715,
|
2107
|
+
y: -0.26884529999999884
|
2108
|
+
},
|
2109
|
+
bottom1: {
|
2110
|
+
type: "text",
|
2111
|
+
text: "{VAL}",
|
2112
|
+
x: -11179999999999524e-20,
|
2113
|
+
y: 0.2788453000000004
|
2114
|
+
}
|
2115
|
+
},
|
2116
|
+
refblocks: {
|
2117
|
+
left1: {
|
2118
|
+
x: -0.5191471000000001,
|
2119
|
+
y: -0.0399206999999997
|
2120
|
+
},
|
2121
|
+
right1: {
|
2122
|
+
x: 0.5191471000000001,
|
2123
|
+
y: -0.03889610000000232
|
2124
|
+
}
|
2125
|
+
},
|
2126
|
+
bounds: {
|
2127
|
+
minX: -0.5473055410000001,
|
2128
|
+
maxX: 0.5473055410000001,
|
2129
|
+
minY: -0.3688452999999988,
|
2130
|
+
maxY: 0.2788453000000004,
|
2131
|
+
width: 1.0946110820000001,
|
2132
|
+
height: 0.29769059999999925,
|
2133
|
+
centerX: 0,
|
2134
|
+
centerY: -0.04499999999999921
|
2135
|
+
},
|
2136
|
+
circles: {}
|
2137
|
+
};
|
2138
|
+
|
2139
|
+
// symbols/diode_horz.ts
|
2140
|
+
var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = diode_default;
|
2141
|
+
var diode_horz_default = defineSymbol({
|
2142
|
+
primitives: [
|
2143
|
+
...Object.values(paths12),
|
2144
|
+
{ ...texts14.top1, anchor: "middle_bottom" },
|
2145
|
+
{ ...texts14.bottom1, anchor: "middle_top" }
|
2146
|
+
],
|
2147
|
+
ports: [
|
2148
|
+
{ ...refblocks12.left1, labels: ["1"] },
|
2149
|
+
// TODO add more "standard" labels
|
2150
|
+
{ ...refblocks12.right1, labels: ["2"] }
|
2151
|
+
// TODO add more "standard" labels
|
2152
|
+
],
|
2153
|
+
size: { width: bounds12.width, height: bounds12.height },
|
2154
|
+
center: { x: bounds12.centerX, y: bounds12.centerY }
|
2155
|
+
});
|
2156
|
+
|
2157
|
+
// symbols/diode_vert.ts
|
2158
|
+
var diode_vert_default = rotateSymbol(diode_horz_default);
|
2159
|
+
|
2160
|
+
// assets/generated/dpst_switch.json
|
2161
|
+
var dpst_switch_default = {
|
2162
|
+
paths: {
|
2163
|
+
path11: {
|
2164
|
+
type: "path",
|
2165
|
+
points: [
|
2166
|
+
{
|
2167
|
+
x: -0.3622268000000006,
|
2168
|
+
y: -0.05787995000000046
|
2169
|
+
},
|
2170
|
+
{
|
2171
|
+
x: -0.1357978000000004,
|
2172
|
+
y: -0.05787995000000046
|
2173
|
+
}
|
2174
|
+
],
|
2175
|
+
color: "primary",
|
2176
|
+
fill: false
|
2177
|
+
},
|
2178
|
+
"path11-0": {
|
2179
|
+
type: "path",
|
2180
|
+
points: [
|
2181
|
+
{
|
2182
|
+
x: -0.12009950000000069,
|
2183
|
+
y: -0.0563494500000008
|
2184
|
+
},
|
2185
|
+
{
|
2186
|
+
x: 0.10307889999999986,
|
2187
|
+
y: -0.19603885000000099
|
2188
|
+
}
|
2189
|
+
],
|
2190
|
+
color: "primary",
|
2191
|
+
fill: false
|
2192
|
+
},
|
2193
|
+
path12: {
|
2194
|
+
type: "path",
|
2195
|
+
points: [
|
2196
|
+
{
|
2197
|
+
x: 0.12795640000000064,
|
2198
|
+
y: -0.05787995000000046
|
2199
|
+
},
|
2200
|
+
{
|
2201
|
+
x: 0.36869780000000096,
|
2202
|
+
y: -0.05787995000000046
|
2203
|
+
}
|
2204
|
+
],
|
2205
|
+
color: "primary",
|
2206
|
+
fill: false
|
2207
|
+
},
|
2208
|
+
"path11-5": {
|
2209
|
+
type: "path",
|
2210
|
+
points: [
|
2211
|
+
{
|
2212
|
+
x: -0.3622270999999999,
|
2213
|
+
y: 0.1736642499999992
|
2214
|
+
},
|
2215
|
+
{
|
2216
|
+
x: -0.1357980999999997,
|
2217
|
+
y: 0.1736642499999992
|
1777
2218
|
}
|
1778
2219
|
],
|
1779
2220
|
color: "primary",
|
1780
2221
|
fill: false
|
1781
2222
|
},
|
1782
|
-
"
|
2223
|
+
"path11-0-3": {
|
1783
2224
|
type: "path",
|
1784
2225
|
points: [
|
1785
2226
|
{
|
1786
|
-
x: 0.
|
1787
|
-
y: 0.
|
2227
|
+
x: -0.12009979999999998,
|
2228
|
+
y: 0.17519474999999973
|
1788
2229
|
},
|
1789
2230
|
{
|
1790
|
-
x: 0.
|
1791
|
-
y: 0.
|
2231
|
+
x: 0.10307860000000058,
|
2232
|
+
y: 0.035505349999999325
|
1792
2233
|
}
|
1793
2234
|
],
|
1794
2235
|
color: "primary",
|
1795
2236
|
fill: false
|
1796
2237
|
},
|
1797
|
-
"
|
2238
|
+
"path12-0": {
|
1798
2239
|
type: "path",
|
1799
2240
|
points: [
|
1800
2241
|
{
|
1801
|
-
x: 0.
|
1802
|
-
y: 0.
|
2242
|
+
x: 0.12795610000000002,
|
2243
|
+
y: 0.1736642499999992
|
1803
2244
|
},
|
1804
2245
|
{
|
1805
|
-
x: 0.
|
1806
|
-
y: 0.
|
2246
|
+
x: 0.3686968000000006,
|
2247
|
+
y: 0.1736642499999992
|
1807
2248
|
}
|
1808
2249
|
],
|
1809
2250
|
color: "primary",
|
@@ -1814,59 +2255,98 @@ var diode_default = {
|
|
1814
2255
|
top1: {
|
1815
2256
|
type: "text",
|
1816
2257
|
text: "{REF}",
|
1817
|
-
x: -0.
|
1818
|
-
y: -0.
|
2258
|
+
x: -0.1958158999999995,
|
2259
|
+
y: -0.39216264999999995
|
1819
2260
|
},
|
1820
2261
|
bottom1: {
|
1821
2262
|
type: "text",
|
1822
2263
|
text: "{VAL}",
|
1823
|
-
x: -
|
1824
|
-
y: 0.
|
2264
|
+
x: -0.029144200000000398,
|
2265
|
+
y: 0.40216264999999995
|
1825
2266
|
}
|
1826
2267
|
},
|
1827
2268
|
refblocks: {
|
2269
|
+
bottom1: {
|
2270
|
+
x: -0.12356020000000001,
|
2271
|
+
y: 0.17845394999999975
|
2272
|
+
},
|
2273
|
+
bottom2: {
|
2274
|
+
x: 0.1153169000000005,
|
2275
|
+
y: 0.17845394999999975
|
2276
|
+
},
|
1828
2277
|
left1: {
|
1829
|
-
x: -0.
|
1830
|
-
y: -0.
|
2278
|
+
x: -0.37614279999999956,
|
2279
|
+
y: -0.057027350000000254
|
2280
|
+
},
|
2281
|
+
left2: {
|
2282
|
+
x: -0.12356020000000001,
|
2283
|
+
y: -0.05309054999999985
|
2284
|
+
},
|
2285
|
+
left3: {
|
2286
|
+
x: -0.37614279999999956,
|
2287
|
+
y: 0.17451715000000023
|
1831
2288
|
},
|
1832
2289
|
right1: {
|
1833
|
-
x: 0.
|
1834
|
-
y: -0.
|
2290
|
+
x: 0.37614279999999933,
|
2291
|
+
y: -0.05802374999999982
|
2292
|
+
},
|
2293
|
+
right2: {
|
2294
|
+
x: 0.1153169000000005,
|
2295
|
+
y: -0.05309054999999985
|
2296
|
+
},
|
2297
|
+
right3: {
|
2298
|
+
x: 0.37614279999999933,
|
2299
|
+
y: 0.17352074999999978
|
1835
2300
|
}
|
1836
2301
|
},
|
1837
2302
|
bounds: {
|
1838
|
-
minX: -0.
|
1839
|
-
maxX: 0.
|
1840
|
-
minY: -0.
|
1841
|
-
maxY: 0.
|
1842
|
-
width: 1
|
1843
|
-
height:
|
1844
|
-
centerX:
|
1845
|
-
centerY: -0.
|
2303
|
+
minX: -0.40430124099999953,
|
2304
|
+
maxX: 0.4043012409999993,
|
2305
|
+
minY: -0.4921626499999999,
|
2306
|
+
maxY: 0.40216264999999995,
|
2307
|
+
width: 1,
|
2308
|
+
height: 1,
|
2309
|
+
centerX: -11102230246251565e-32,
|
2310
|
+
centerY: -0.044999999999999984
|
1846
2311
|
},
|
1847
2312
|
circles: {}
|
1848
2313
|
};
|
1849
2314
|
|
1850
|
-
// symbols/
|
1851
|
-
var { paths:
|
1852
|
-
var
|
2315
|
+
// symbols/dpst_switch_horz.ts
|
2316
|
+
var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles10 } = dpst_switch_default;
|
2317
|
+
var dpst_switch_horz_default = defineSymbol({
|
1853
2318
|
primitives: [
|
1854
|
-
...Object.values(
|
1855
|
-
|
1856
|
-
{ ...
|
2319
|
+
...Object.values(paths13),
|
2320
|
+
...Object.values(circles10),
|
2321
|
+
{ ...texts15.top1, anchor: "middle_bottom", x: 0 },
|
2322
|
+
{ ...texts15.bottom1, anchor: "middle_top", x: 0 }
|
1857
2323
|
],
|
1858
2324
|
ports: [
|
1859
|
-
{ ...
|
2325
|
+
{ ...refblocks13.left1, labels: ["1", "left1"] },
|
1860
2326
|
// TODO add more "standard" labels
|
1861
|
-
{ ...
|
2327
|
+
{ ...refblocks13.left3, labels: ["3", "left3"] },
|
2328
|
+
// TODO add more "standard" labels
|
2329
|
+
{ ...refblocks13.right1, labels: ["2", "right1"] },
|
2330
|
+
// TODO add more "standard" labels
|
2331
|
+
{ ...refblocks13.right3, labels: ["4", "right3"] }
|
1862
2332
|
// TODO add more "standard" labels
|
1863
2333
|
],
|
1864
|
-
size: { width:
|
1865
|
-
center: { x:
|
2334
|
+
size: { width: bounds13.width, height: bounds13.height },
|
2335
|
+
center: { x: bounds13.centerX, y: bounds13.centerY }
|
1866
2336
|
});
|
1867
2337
|
|
1868
|
-
// symbols/
|
1869
|
-
var
|
2338
|
+
// symbols/dpst_switch_vert.ts
|
2339
|
+
var rotatedSymbol7 = rotateSymbol(dpst_switch_horz_default);
|
2340
|
+
var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
|
2341
|
+
var val5 = texts16.find((t) => t.text === "{VAL}");
|
2342
|
+
val5.anchor = "middle_right";
|
2343
|
+
val5.x = -0.35;
|
2344
|
+
val5.y = 0;
|
2345
|
+
var ref5 = texts16.find((t) => t.text === "{REF}");
|
2346
|
+
ref5.anchor = "middle_left";
|
2347
|
+
ref5.x = 0.3;
|
2348
|
+
ref5.y = 0;
|
2349
|
+
var dpst_switch_vert_default = rotatedSymbol7;
|
1870
2350
|
|
1871
2351
|
// assets/generated/filled_diode.json
|
1872
2352
|
var filled_diode_default = {
|
@@ -1984,11 +2464,11 @@ var filled_diode_default = {
|
|
1984
2464
|
};
|
1985
2465
|
|
1986
2466
|
// symbols/filled_diode_horz.ts
|
1987
|
-
var { paths:
|
2467
|
+
var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles11 } = filled_diode_default;
|
1988
2468
|
var filled_diode_horz_default = defineSymbol({
|
1989
2469
|
primitives: [
|
1990
|
-
...Object.values(
|
1991
|
-
...Object.values(
|
2470
|
+
...Object.values(paths14),
|
2471
|
+
...Object.values(circles11),
|
1992
2472
|
{
|
1993
2473
|
type: "text",
|
1994
2474
|
text: "{REF}",
|
@@ -2005,13 +2485,13 @@ var filled_diode_horz_default = defineSymbol({
|
|
2005
2485
|
}
|
2006
2486
|
],
|
2007
2487
|
ports: [
|
2008
|
-
{ ...
|
2488
|
+
{ ...refblocks14.left1, labels: ["1"] },
|
2009
2489
|
// TODO add more "standard" labels
|
2010
|
-
{ ...
|
2490
|
+
{ ...refblocks14.right1, labels: ["2"] }
|
2011
2491
|
// TODO add more "standard" labels
|
2012
2492
|
],
|
2013
|
-
size: { width:
|
2014
|
-
center: { x:
|
2493
|
+
size: { width: bounds14.width, height: bounds14.height },
|
2494
|
+
center: { x: bounds14.centerX, y: bounds14.centerY }
|
2015
2495
|
});
|
2016
2496
|
|
2017
2497
|
// symbols/filled_diode_vert.ts
|
@@ -2105,11 +2585,11 @@ var fuse_default = {
|
|
2105
2585
|
};
|
2106
2586
|
|
2107
2587
|
// symbols/fuse_horz.ts
|
2108
|
-
var { paths:
|
2588
|
+
var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15 } = fuse_default;
|
2109
2589
|
var fuse_horz_default = defineSymbol({
|
2110
2590
|
primitives: [
|
2111
|
-
...Object.values(
|
2112
|
-
{ ...
|
2591
|
+
...Object.values(paths15),
|
2592
|
+
{ ...texts18.top1, anchor: "middle_bottom" },
|
2113
2593
|
{
|
2114
2594
|
type: "text",
|
2115
2595
|
text: "{VAL}",
|
@@ -2119,13 +2599,13 @@ var fuse_horz_default = defineSymbol({
|
|
2119
2599
|
}
|
2120
2600
|
],
|
2121
2601
|
ports: [
|
2122
|
-
{ ...
|
2602
|
+
{ ...refblocks15.left1, labels: ["1"] },
|
2123
2603
|
// TODO add more "standard" labels
|
2124
|
-
{ ...
|
2604
|
+
{ ...refblocks15.right1, labels: ["2"] }
|
2125
2605
|
// TODO add more "standard" labels
|
2126
2606
|
],
|
2127
|
-
size: { width:
|
2128
|
-
center: { x:
|
2607
|
+
size: { width: bounds15.width, height: bounds15.height },
|
2608
|
+
center: { x: bounds15.centerX, y: bounds15.centerY }
|
2129
2609
|
});
|
2130
2610
|
|
2131
2611
|
// symbols/fuse_vert.ts
|
@@ -2249,12 +2729,12 @@ var gunn_diode_default = {
|
|
2249
2729
|
};
|
2250
2730
|
|
2251
2731
|
// symbols/gunn_diode_horz.ts
|
2252
|
-
var { paths:
|
2732
|
+
var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16, circles: circles12 } = gunn_diode_default;
|
2253
2733
|
var gunn_diode_horz_default = defineSymbol({
|
2254
2734
|
primitives: [
|
2255
|
-
...Object.values(
|
2256
|
-
...Object.values(
|
2257
|
-
{ ...
|
2735
|
+
...Object.values(paths16),
|
2736
|
+
...Object.values(circles12),
|
2737
|
+
{ ...texts19.top1, anchor: "middle_left" },
|
2258
2738
|
{
|
2259
2739
|
type: "text",
|
2260
2740
|
text: "{VAL}",
|
@@ -2264,25 +2744,25 @@ var gunn_diode_horz_default = defineSymbol({
|
|
2264
2744
|
// { ...texts.bottom1, anchor: "middle_left" },
|
2265
2745
|
],
|
2266
2746
|
ports: [
|
2267
|
-
{ ...
|
2747
|
+
{ ...refblocks16.left1, labels: ["1"] },
|
2268
2748
|
// TODO add more "standard" labels
|
2269
|
-
{ ...
|
2749
|
+
{ ...refblocks16.right1, labels: ["2"] }
|
2270
2750
|
// TODO add more "standard" labels
|
2271
2751
|
],
|
2272
|
-
size: { width:
|
2273
|
-
center: { x:
|
2752
|
+
size: { width: bounds16.width, height: bounds16.height },
|
2753
|
+
center: { x: bounds16.centerX, y: bounds16.centerY }
|
2274
2754
|
});
|
2275
2755
|
|
2276
2756
|
// symbols/gunn_diode_vert.ts
|
2277
|
-
var
|
2278
|
-
var
|
2279
|
-
var
|
2280
|
-
var
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
var gunn_diode_vert_default =
|
2757
|
+
var rotatedSymbol8 = rotateSymbol(gunn_diode_horz_default);
|
2758
|
+
var texts20 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
|
2759
|
+
var ref6 = texts20.find((t) => t.text === "{REF}");
|
2760
|
+
var val6 = texts20.find((t) => t.text === "{VAL}");
|
2761
|
+
ref6.x = 0.25;
|
2762
|
+
ref6.y = -0.045;
|
2763
|
+
val6.x = -0.55;
|
2764
|
+
val6.y = 0;
|
2765
|
+
var gunn_diode_vert_default = rotatedSymbol8;
|
2286
2766
|
|
2287
2767
|
// assets/generated/igbt_transistor.json
|
2288
2768
|
var igbt_transistor_default = {
|
@@ -2463,11 +2943,11 @@ var igbt_transistor_default = {
|
|
2463
2943
|
};
|
2464
2944
|
|
2465
2945
|
// symbols/igbt_transistor_horz.ts
|
2466
|
-
var { paths:
|
2946
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles13 } = igbt_transistor_default;
|
2467
2947
|
var igbt_transistor_horz_default = defineSymbol({
|
2468
2948
|
primitives: [
|
2469
|
-
...Object.values(
|
2470
|
-
...Object.values(
|
2949
|
+
...Object.values(paths17),
|
2950
|
+
...Object.values(circles13),
|
2471
2951
|
{
|
2472
2952
|
type: "text",
|
2473
2953
|
text: "{REF}",
|
@@ -2484,30 +2964,30 @@ var igbt_transistor_horz_default = defineSymbol({
|
|
2484
2964
|
}
|
2485
2965
|
],
|
2486
2966
|
ports: [
|
2487
|
-
{ ...
|
2967
|
+
{ ...refblocks17.top1, labels: ["1"] },
|
2488
2968
|
// TODO add more "standard" labels
|
2489
|
-
{ ...
|
2969
|
+
{ ...refblocks17.bottom1, labels: ["2"] },
|
2490
2970
|
// TODO add more "standard" labels
|
2491
|
-
{ ...
|
2971
|
+
{ ...refblocks17.left1, labels: ["3"] }
|
2492
2972
|
// TODO add more "standard" labels
|
2493
2973
|
],
|
2494
|
-
size: { width:
|
2495
|
-
center: { x:
|
2974
|
+
size: { width: bounds17.width, height: bounds17.height },
|
2975
|
+
center: { x: bounds17.centerX + 0.06, y: bounds17.centerY }
|
2496
2976
|
});
|
2497
2977
|
|
2498
2978
|
// symbols/igbt_transistor_vert.ts
|
2499
2979
|
var rotated2 = rotateSymbol(igbt_transistor_horz_default);
|
2500
|
-
var
|
2980
|
+
var ref7 = rotated2.primitives.find(
|
2501
2981
|
(p) => p.type === "text" && p.text === "{REF}"
|
2502
2982
|
);
|
2503
|
-
var
|
2983
|
+
var val7 = rotated2.primitives.find(
|
2504
2984
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2505
2985
|
);
|
2506
|
-
|
2507
|
-
|
2508
|
-
|
2509
|
-
|
2510
|
-
|
2986
|
+
ref7.anchor = "middle_left";
|
2987
|
+
val7.anchor = "middle_right";
|
2988
|
+
ref7.x = 0.45;
|
2989
|
+
ref7.y += 0.065;
|
2990
|
+
val7.y += 0.065;
|
2511
2991
|
var igbt_transistor_vert_default = rotated2;
|
2512
2992
|
|
2513
2993
|
// assets/generated/laser_diode.json
|
@@ -2750,31 +3230,31 @@ var laser_diode_default = {
|
|
2750
3230
|
};
|
2751
3231
|
|
2752
3232
|
// symbols/laser_diode_horz.ts
|
2753
|
-
var { paths:
|
3233
|
+
var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles14 } = laser_diode_default;
|
2754
3234
|
var laser_diode_horz_default = defineSymbol({
|
2755
3235
|
primitives: [
|
2756
|
-
...Object.values(
|
2757
|
-
...Object.values(
|
2758
|
-
{ ...
|
2759
|
-
{ ...
|
3236
|
+
...Object.values(paths18),
|
3237
|
+
...Object.values(circles14),
|
3238
|
+
{ ...texts22.top1, anchor: "middle_left" },
|
3239
|
+
{ ...texts22.bottom1, anchor: "middle_bottom" }
|
2760
3240
|
],
|
2761
3241
|
ports: [
|
2762
|
-
{ ...
|
3242
|
+
{ ...refblocks18.left1, labels: ["1"] },
|
2763
3243
|
// TODO add more "standard" labels
|
2764
|
-
{ ...
|
3244
|
+
{ ...refblocks18.right1, labels: ["2"] }
|
2765
3245
|
// TODO add more "standard" labels
|
2766
3246
|
],
|
2767
|
-
size: { width:
|
2768
|
-
center: { x:
|
3247
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3248
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
2769
3249
|
});
|
2770
3250
|
|
2771
3251
|
// symbols/laser_diode_vert.ts
|
2772
|
-
var
|
2773
|
-
var
|
2774
|
-
var
|
2775
|
-
|
2776
|
-
|
2777
|
-
var laser_diode_vert_default =
|
3252
|
+
var rotatedSymbol9 = rotateSymbol(laser_diode_horz_default);
|
3253
|
+
var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
3254
|
+
var ref8 = texts23.find((t) => t.text === "{VAL}");
|
3255
|
+
ref8.x = -0.52;
|
3256
|
+
ref8.anchor = "middle_right";
|
3257
|
+
var laser_diode_vert_default = rotatedSymbol9;
|
2778
3258
|
|
2779
3259
|
// assets/generated/led.json
|
2780
3260
|
var led_default = {
|
@@ -2992,35 +3472,35 @@ var led_default = {
|
|
2992
3472
|
};
|
2993
3473
|
|
2994
3474
|
// symbols/led_horz.ts
|
2995
|
-
var { paths:
|
3475
|
+
var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19 } = led_default;
|
2996
3476
|
var led_horz_default = defineSymbol({
|
2997
3477
|
primitives: [
|
2998
|
-
...Object.values(
|
2999
|
-
{ ...
|
3000
|
-
{ ...
|
3478
|
+
...Object.values(paths19),
|
3479
|
+
{ ...texts24.bottom1, anchor: "middle_right" },
|
3480
|
+
{ ...texts24.right1, anchor: "middle_left" }
|
3001
3481
|
],
|
3002
3482
|
ports: [
|
3003
|
-
{ ...
|
3004
|
-
{ ...
|
3483
|
+
{ ...refblocks19.left1, labels: ["1", "anode", "pos"] },
|
3484
|
+
{ ...refblocks19.right1, labels: ["2", "cathode", "neg"] }
|
3005
3485
|
],
|
3006
|
-
size: { width:
|
3007
|
-
center: { x:
|
3486
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3487
|
+
center: { x: bounds19.centerX, y: bounds19.centerY + 0.1 }
|
3008
3488
|
});
|
3009
3489
|
|
3010
3490
|
// symbols/led_vert.ts
|
3011
3491
|
var rotated3 = rotateSymbol(led_horz_default);
|
3012
|
-
var
|
3492
|
+
var ref9 = rotated3.primitives.find(
|
3013
3493
|
(p) => p.type === "text" && p.text === "{REF}"
|
3014
3494
|
);
|
3015
|
-
var
|
3495
|
+
var val8 = rotated3.primitives.find(
|
3016
3496
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3017
3497
|
);
|
3018
|
-
|
3019
|
-
|
3020
|
-
|
3021
|
-
|
3022
|
-
|
3023
|
-
|
3498
|
+
ref9.anchor = "middle_left";
|
3499
|
+
val8.anchor = "middle_right";
|
3500
|
+
ref9.x += 0.1;
|
3501
|
+
ref9.y += 0.017;
|
3502
|
+
val8.y = ref9.y;
|
3503
|
+
val8.x = -0.3;
|
3024
3504
|
var led_vert_default = rotated3;
|
3025
3505
|
|
3026
3506
|
// assets/generated/mosfet_depletion_normally_on.json
|
@@ -3294,37 +3774,37 @@ var mosfet_depletion_normally_on_default = {
|
|
3294
3774
|
};
|
3295
3775
|
|
3296
3776
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
3297
|
-
var { paths:
|
3777
|
+
var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20 } = mosfet_depletion_normally_on_default;
|
3298
3778
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
3299
3779
|
primitives: [
|
3300
|
-
...Object.values(
|
3301
|
-
{ ...
|
3302
|
-
{ ...
|
3780
|
+
...Object.values(paths20),
|
3781
|
+
{ ...texts25.right1, anchor: "middle_left" },
|
3782
|
+
{ ...texts25.right2, anchor: "middle_left" }
|
3303
3783
|
],
|
3304
3784
|
ports: [
|
3305
|
-
{ ...
|
3785
|
+
{ ...refblocks20.top1, labels: ["1"] },
|
3306
3786
|
// TODO add more "standard" labels
|
3307
|
-
{ ...
|
3787
|
+
{ ...refblocks20.bottom1, labels: ["2"] },
|
3308
3788
|
// TODO add more "standard" labels
|
3309
|
-
{ ...
|
3789
|
+
{ ...refblocks20.left1, labels: ["3"] }
|
3310
3790
|
// TODO add more "standard" labels
|
3311
3791
|
],
|
3312
|
-
size: { width:
|
3313
|
-
center: { x:
|
3792
|
+
size: { width: bounds20.width + 0.4, height: bounds20.height },
|
3793
|
+
center: { x: bounds20.centerX + 0.2, y: bounds20.centerY }
|
3314
3794
|
});
|
3315
3795
|
|
3316
3796
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
3317
3797
|
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
3318
|
-
var
|
3798
|
+
var ref10 = rotated4.primitives.find(
|
3319
3799
|
(p) => p.type === "text" && p.text === "{REF}"
|
3320
3800
|
);
|
3321
|
-
var
|
3801
|
+
var val9 = rotated4.primitives.find(
|
3322
3802
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3323
3803
|
);
|
3324
|
-
|
3325
|
-
|
3326
|
-
|
3327
|
-
|
3804
|
+
ref10.anchor = "middle_top";
|
3805
|
+
val9.anchor = "middle_top";
|
3806
|
+
ref10.x = val9.x;
|
3807
|
+
val9.y += 0.15;
|
3328
3808
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
3329
3809
|
|
3330
3810
|
// assets/generated/mushroom_head_normally_open_momentary.json
|
@@ -3936,36 +4416,36 @@ var mushroom_head_normally_open_momentary_default = {
|
|
3936
4416
|
};
|
3937
4417
|
|
3938
4418
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
3939
|
-
var { paths:
|
4419
|
+
var { paths: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = mushroom_head_normally_open_momentary_default;
|
3940
4420
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
3941
4421
|
primitives: [
|
3942
|
-
...Object.values(
|
3943
|
-
...Object.values(
|
3944
|
-
{ ...
|
3945
|
-
{ ...
|
4422
|
+
...Object.values(paths21),
|
4423
|
+
...Object.values(circles15),
|
4424
|
+
{ ...texts26.top1, anchor: "middle_bottom", x: 0 },
|
4425
|
+
{ ...texts26.bottom1, anchor: "middle_top", x: 0 }
|
3946
4426
|
],
|
3947
4427
|
ports: [
|
3948
|
-
{ ...
|
3949
|
-
{ ...
|
4428
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
4429
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3950
4430
|
],
|
3951
|
-
size: { width:
|
3952
|
-
center: { x:
|
4431
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4432
|
+
center: { x: bounds21.centerX + 6e-3, y: bounds21.centerY + 0.06 }
|
3953
4433
|
});
|
3954
4434
|
|
3955
4435
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
3956
4436
|
var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
|
3957
|
-
var
|
4437
|
+
var ref11 = rotated5.primitives.find(
|
3958
4438
|
(p) => p.type === "text" && p.text === "{REF}"
|
3959
4439
|
);
|
3960
|
-
var
|
4440
|
+
var val10 = rotated5.primitives.find(
|
3961
4441
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3962
4442
|
);
|
3963
|
-
|
3964
|
-
|
3965
|
-
|
3966
|
-
|
3967
|
-
|
3968
|
-
|
4443
|
+
ref11.anchor = "middle_left";
|
4444
|
+
val10.anchor = "middle_right";
|
4445
|
+
ref11.x = ref11.x - 0.03;
|
4446
|
+
ref11.y = ref11.y;
|
4447
|
+
val10.x = val10.x;
|
4448
|
+
val10.y = 0;
|
3969
4449
|
var mushroom_head_normally_open_momentary_vert_default = rotated5;
|
3970
4450
|
|
3971
4451
|
// assets/generated/n_channel_d_mosfet_transistor.json
|
@@ -4162,38 +4642,38 @@ var n_channel_d_mosfet_transistor_default = {
|
|
4162
4642
|
};
|
4163
4643
|
|
4164
4644
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
4165
|
-
var { paths:
|
4645
|
+
var { paths: paths22, texts: texts27, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = n_channel_d_mosfet_transistor_default;
|
4166
4646
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
4167
4647
|
primitives: [
|
4168
|
-
...Object.values(
|
4169
|
-
...Object.values(
|
4170
|
-
{ ...
|
4171
|
-
{ ...
|
4648
|
+
...Object.values(paths22),
|
4649
|
+
...Object.values(circles16),
|
4650
|
+
{ ...texts27.top1, anchor: "middle_right", x: 0 },
|
4651
|
+
{ ...texts27.bottom1, anchor: "middle_right", x: 0 }
|
4172
4652
|
],
|
4173
4653
|
ports: [
|
4174
|
-
{ ...
|
4654
|
+
{ ...refblocks22.top1, labels: ["1", "drain"] },
|
4175
4655
|
// TODO add more "standard" labels
|
4176
|
-
{ ...
|
4656
|
+
{ ...refblocks22.bottom1, labels: ["2", "source"] },
|
4177
4657
|
// TODO add more "standard" labels
|
4178
|
-
{ ...
|
4658
|
+
{ ...refblocks22.left1, labels: ["3", "gate"] }
|
4179
4659
|
// TODO add more "standard" labels
|
4180
4660
|
],
|
4181
|
-
size: { width:
|
4182
|
-
center: { x:
|
4661
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4662
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4183
4663
|
});
|
4184
4664
|
|
4185
4665
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
4186
|
-
var
|
4187
|
-
var
|
4188
|
-
var
|
4189
|
-
|
4190
|
-
|
4191
|
-
|
4192
|
-
var
|
4193
|
-
|
4194
|
-
|
4195
|
-
|
4196
|
-
var n_channel_d_mosfet_transistor_vert_default =
|
4666
|
+
var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
4667
|
+
var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
4668
|
+
var val11 = texts28.find((t) => t.text === "{VAL}");
|
4669
|
+
val11.x = -0.35;
|
4670
|
+
val11.y = 0;
|
4671
|
+
val11.anchor = "middle_right";
|
4672
|
+
var ref12 = texts28.find((t) => t.text === "{REF}");
|
4673
|
+
ref12.y = 0;
|
4674
|
+
ref12.x = 0.35;
|
4675
|
+
ref12.anchor = "middle_left";
|
4676
|
+
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol10;
|
4197
4677
|
|
4198
4678
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
4199
4679
|
var n_channel_e_mosfet_transistor_default = {
|
@@ -4419,38 +4899,38 @@ var n_channel_e_mosfet_transistor_default = {
|
|
4419
4899
|
};
|
4420
4900
|
|
4421
4901
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
4422
|
-
var { paths:
|
4902
|
+
var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = n_channel_e_mosfet_transistor_default;
|
4423
4903
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
4424
4904
|
primitives: [
|
4425
|
-
...Object.values(
|
4426
|
-
...Object.values(
|
4427
|
-
{ ...
|
4428
|
-
{ ...
|
4905
|
+
...Object.values(paths23),
|
4906
|
+
...Object.values(circles17),
|
4907
|
+
{ ...texts29.top1, anchor: "middle_right", x: 0 },
|
4908
|
+
{ ...texts29.bottom1, anchor: "middle_right", x: 0 }
|
4429
4909
|
],
|
4430
4910
|
ports: [
|
4431
|
-
{ ...
|
4911
|
+
{ ...refblocks23.top1, labels: ["1", "drain"] },
|
4432
4912
|
// TODO add more "standard" labels
|
4433
|
-
{ ...
|
4913
|
+
{ ...refblocks23.bottom1, labels: ["2", "source"] },
|
4434
4914
|
// TODO add more "standard" labels
|
4435
|
-
{ ...
|
4915
|
+
{ ...refblocks23.left1, labels: ["3", "gate"] }
|
4436
4916
|
// TODO add more "standard" labels
|
4437
4917
|
],
|
4438
|
-
size: { width:
|
4439
|
-
center: { x:
|
4918
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4919
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4440
4920
|
});
|
4441
4921
|
|
4442
4922
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
4443
|
-
var
|
4444
|
-
var
|
4445
|
-
var
|
4446
|
-
|
4447
|
-
|
4448
|
-
|
4449
|
-
var
|
4450
|
-
|
4451
|
-
|
4452
|
-
|
4453
|
-
var n_channel_e_mosfet_transistor_vert_default =
|
4923
|
+
var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
4924
|
+
var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
4925
|
+
var val12 = texts30.find((t) => t.text === "{VAL}");
|
4926
|
+
val12.x = -0.35;
|
4927
|
+
val12.y = 0;
|
4928
|
+
val12.anchor = "middle_right";
|
4929
|
+
var ref13 = texts30.find((t) => t.text === "{REF}");
|
4930
|
+
ref13.y = 0;
|
4931
|
+
ref13.x = 0.35;
|
4932
|
+
ref13.anchor = "middle_left";
|
4933
|
+
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol11;
|
4454
4934
|
|
4455
4935
|
// assets/generated/njfet_transistor.json
|
4456
4936
|
var njfet_transistor_default = {
|
@@ -4616,38 +5096,38 @@ var njfet_transistor_default = {
|
|
4616
5096
|
};
|
4617
5097
|
|
4618
5098
|
// symbols/njfet_transistor_horz.ts
|
4619
|
-
var { paths:
|
5099
|
+
var { paths: paths24, texts: texts31, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = njfet_transistor_default;
|
4620
5100
|
var njfet_transistor_horz_default = defineSymbol({
|
4621
5101
|
primitives: [
|
4622
|
-
...Object.values(
|
4623
|
-
...Object.values(
|
4624
|
-
{ ...
|
4625
|
-
{ ...
|
5102
|
+
...Object.values(paths24),
|
5103
|
+
...Object.values(circles18),
|
5104
|
+
{ ...texts31.top1, anchor: "middle_right", x: 0 },
|
5105
|
+
{ ...texts31.bottom1, anchor: "middle_right", x: 0 }
|
4626
5106
|
],
|
4627
5107
|
ports: [
|
4628
|
-
{ ...
|
5108
|
+
{ ...refblocks24.top1, labels: ["1", "drain"] },
|
4629
5109
|
// TODO add more "standard" labels
|
4630
|
-
{ ...
|
5110
|
+
{ ...refblocks24.bottom1, labels: ["2", "source"] },
|
4631
5111
|
// TODO add more "standard" labels
|
4632
|
-
{ ...
|
5112
|
+
{ ...refblocks24.left1, labels: ["3", "gate"] }
|
4633
5113
|
// TODO add more "standard" labels
|
4634
5114
|
],
|
4635
|
-
size: { width:
|
4636
|
-
center: { x:
|
5115
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5116
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4637
5117
|
});
|
4638
5118
|
|
4639
5119
|
// symbols/njfet_transistor_vert.ts
|
4640
|
-
var
|
4641
|
-
var
|
4642
|
-
var
|
4643
|
-
|
4644
|
-
|
4645
|
-
|
4646
|
-
var
|
4647
|
-
|
4648
|
-
|
4649
|
-
|
4650
|
-
var njfet_transistor_vert_default =
|
5120
|
+
var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
|
5121
|
+
var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
5122
|
+
var val13 = texts32.find((t) => t.text === "{VAL}");
|
5123
|
+
val13.x = -0.35;
|
5124
|
+
val13.y = 0;
|
5125
|
+
val13.anchor = "middle_right";
|
5126
|
+
var ref14 = texts32.find((t) => t.text === "{REF}");
|
5127
|
+
ref14.y = 0;
|
5128
|
+
ref14.x = 0.35;
|
5129
|
+
ref14.anchor = "middle_left";
|
5130
|
+
var njfet_transistor_vert_default = rotatedSymbol12;
|
4651
5131
|
|
4652
5132
|
// assets/generated/npn_bipolar_transistor.json
|
4653
5133
|
var npn_bipolar_transistor_default = {
|
@@ -4813,11 +5293,11 @@ var npn_bipolar_transistor_default = {
|
|
4813
5293
|
};
|
4814
5294
|
|
4815
5295
|
// symbols/npn_bipolar_transistor_horz.ts
|
4816
|
-
var { paths:
|
5296
|
+
var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = npn_bipolar_transistor_default;
|
4817
5297
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
4818
5298
|
primitives: [
|
4819
|
-
...Object.values(
|
4820
|
-
...Object.values(
|
5299
|
+
...Object.values(paths25),
|
5300
|
+
...Object.values(circles19),
|
4821
5301
|
{
|
4822
5302
|
type: "text",
|
4823
5303
|
text: "{REF}",
|
@@ -4834,20 +5314,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
4834
5314
|
}
|
4835
5315
|
],
|
4836
5316
|
ports: [
|
4837
|
-
{ ...
|
4838
|
-
{ ...
|
4839
|
-
{ ...
|
5317
|
+
{ ...refblocks25.top1, labels: ["1", "collector"] },
|
5318
|
+
{ ...refblocks25.bottom1, labels: ["2", "emitter"] },
|
5319
|
+
{ ...refblocks25.left1, labels: ["3", "base"] }
|
4840
5320
|
],
|
4841
|
-
size: { width:
|
4842
|
-
center: { x:
|
5321
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5322
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4843
5323
|
});
|
4844
5324
|
|
4845
5325
|
// symbols/npn_bipolar_transistor_vert.ts
|
4846
|
-
var
|
4847
|
-
var
|
4848
|
-
var
|
4849
|
-
|
4850
|
-
var npn_bipolar_transistor_vert_default =
|
5326
|
+
var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
5327
|
+
var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
5328
|
+
var ref15 = texts34.find((t) => t.text === "{REF}");
|
5329
|
+
ref15.anchor = "middle_left";
|
5330
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol13;
|
4851
5331
|
|
4852
5332
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
4853
5333
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -5043,38 +5523,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
5043
5523
|
};
|
5044
5524
|
|
5045
5525
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
5046
|
-
var { paths:
|
5526
|
+
var { paths: paths26, texts: texts35, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = p_channel_d_mosfet_transistor_default;
|
5047
5527
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
5048
5528
|
primitives: [
|
5049
|
-
...Object.values(
|
5050
|
-
...Object.values(
|
5051
|
-
{ ...
|
5052
|
-
{ ...
|
5529
|
+
...Object.values(paths26),
|
5530
|
+
...Object.values(circles20),
|
5531
|
+
{ ...texts35.top1, anchor: "middle_right", x: 0 },
|
5532
|
+
{ ...texts35.bottom1, anchor: "middle_right", x: 0 }
|
5053
5533
|
],
|
5054
5534
|
ports: [
|
5055
|
-
{ ...
|
5535
|
+
{ ...refblocks26.top1, labels: ["1", "drain"] },
|
5056
5536
|
// TODO add more "standard" labels
|
5057
|
-
{ ...
|
5537
|
+
{ ...refblocks26.bottom1, labels: ["2", "source"] },
|
5058
5538
|
// TODO add more "standard" labels
|
5059
|
-
{ ...
|
5539
|
+
{ ...refblocks26.left1, labels: ["3", "gate"] }
|
5060
5540
|
// TODO add more "standard" labels
|
5061
5541
|
],
|
5062
|
-
size: { width:
|
5063
|
-
center: { x:
|
5542
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5543
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
5064
5544
|
});
|
5065
5545
|
|
5066
5546
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
5067
|
-
var
|
5068
|
-
var
|
5069
|
-
var
|
5070
|
-
|
5071
|
-
|
5072
|
-
|
5073
|
-
var
|
5074
|
-
|
5075
|
-
|
5076
|
-
|
5077
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
5547
|
+
var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
5548
|
+
var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
5549
|
+
var val14 = texts36.find((t) => t.text === "{VAL}");
|
5550
|
+
val14.x = -0.35;
|
5551
|
+
val14.y = 0;
|
5552
|
+
val14.anchor = "middle_right";
|
5553
|
+
var ref16 = texts36.find((t) => t.text === "{REF}");
|
5554
|
+
ref16.y = 0;
|
5555
|
+
ref16.x = 0.35;
|
5556
|
+
ref16.anchor = "middle_left";
|
5557
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol14;
|
5078
5558
|
|
5079
5559
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
5080
5560
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -5300,38 +5780,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
5300
5780
|
};
|
5301
5781
|
|
5302
5782
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
5303
|
-
var { paths:
|
5783
|
+
var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = p_channel_e_mosfet_transistor_default;
|
5304
5784
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
5305
5785
|
primitives: [
|
5306
|
-
...Object.values(
|
5307
|
-
...Object.values(
|
5308
|
-
{ ...
|
5309
|
-
{ ...
|
5786
|
+
...Object.values(paths27),
|
5787
|
+
...Object.values(circles21),
|
5788
|
+
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
5789
|
+
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
5310
5790
|
],
|
5311
5791
|
ports: [
|
5312
|
-
{ ...
|
5792
|
+
{ ...refblocks27.top1, labels: ["1", "drain"] },
|
5313
5793
|
// TODO add more "standard" labels
|
5314
|
-
{ ...
|
5794
|
+
{ ...refblocks27.bottom1, labels: ["2", "source"] },
|
5315
5795
|
// TODO add more "standard" labels
|
5316
|
-
{ ...
|
5796
|
+
{ ...refblocks27.left1, labels: ["3", "gate"] }
|
5317
5797
|
// TODO add more "standard" labels
|
5318
5798
|
],
|
5319
|
-
size: { width:
|
5320
|
-
center: { x:
|
5799
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5800
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5321
5801
|
});
|
5322
5802
|
|
5323
5803
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
5324
|
-
var
|
5325
|
-
var
|
5326
|
-
var
|
5327
|
-
|
5328
|
-
|
5329
|
-
|
5330
|
-
var
|
5331
|
-
|
5332
|
-
|
5333
|
-
|
5334
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
5804
|
+
var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
5805
|
+
var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
5806
|
+
var val15 = texts38.find((t) => t.text === "{VAL}");
|
5807
|
+
val15.x = -0.35;
|
5808
|
+
val15.y = 0;
|
5809
|
+
val15.anchor = "middle_right";
|
5810
|
+
var ref17 = texts38.find((t) => t.text === "{REF}");
|
5811
|
+
ref17.y = 0;
|
5812
|
+
ref17.x = 0.35;
|
5813
|
+
ref17.anchor = "middle_left";
|
5814
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol15;
|
5335
5815
|
|
5336
5816
|
// assets/generated/photodiode.json
|
5337
5817
|
var photodiode_default = {
|
@@ -5558,11 +6038,11 @@ var photodiode_default = {
|
|
5558
6038
|
};
|
5559
6039
|
|
5560
6040
|
// symbols/photodiode_horz.ts
|
5561
|
-
var { paths:
|
6041
|
+
var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = photodiode_default;
|
5562
6042
|
var photodiode_horz_default = defineSymbol({
|
5563
6043
|
primitives: [
|
5564
|
-
...Object.values(
|
5565
|
-
...Object.values(
|
6044
|
+
...Object.values(paths28),
|
6045
|
+
...Object.values(circles22),
|
5566
6046
|
{
|
5567
6047
|
type: "text",
|
5568
6048
|
text: "{REF}",
|
@@ -5579,22 +6059,22 @@ var photodiode_horz_default = defineSymbol({
|
|
5579
6059
|
}
|
5580
6060
|
],
|
5581
6061
|
ports: [
|
5582
|
-
{ ...
|
6062
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5583
6063
|
// TODO add more "standard" labels
|
5584
|
-
{ ...
|
6064
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5585
6065
|
// TODO add more "standard" labels
|
5586
6066
|
],
|
5587
|
-
size: { width:
|
5588
|
-
center: { x:
|
6067
|
+
size: { width: bounds28.width, height: bounds28.height },
|
6068
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5589
6069
|
});
|
5590
6070
|
|
5591
6071
|
// symbols/photodiode_vert.ts
|
5592
|
-
var
|
5593
|
-
var
|
5594
|
-
var
|
5595
|
-
|
5596
|
-
|
5597
|
-
var photodiode_vert_default =
|
6072
|
+
var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
|
6073
|
+
var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
6074
|
+
var ref18 = texts40.find((t) => t.text === "{REF}");
|
6075
|
+
ref18.y = 0;
|
6076
|
+
ref18.anchor = "middle_left";
|
6077
|
+
var photodiode_vert_default = rotatedSymbol16;
|
5598
6078
|
|
5599
6079
|
// assets/generated/pjfet_transistor.json
|
5600
6080
|
var pjfet_transistor_default = {
|
@@ -5760,38 +6240,38 @@ var pjfet_transistor_default = {
|
|
5760
6240
|
};
|
5761
6241
|
|
5762
6242
|
// symbols/pjfet_transistor_horz.ts
|
5763
|
-
var { paths:
|
6243
|
+
var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = pjfet_transistor_default;
|
5764
6244
|
var pjfet_transistor_horz_default = defineSymbol({
|
5765
6245
|
primitives: [
|
5766
|
-
...Object.values(
|
5767
|
-
...Object.values(
|
5768
|
-
{ ...
|
5769
|
-
{ ...
|
6246
|
+
...Object.values(paths29),
|
6247
|
+
...Object.values(circles23),
|
6248
|
+
{ ...texts41.top1, anchor: "middle_right", x: 0 },
|
6249
|
+
{ ...texts41.bottom1, anchor: "middle_right" }
|
5770
6250
|
],
|
5771
6251
|
ports: [
|
5772
|
-
{ ...
|
6252
|
+
{ ...refblocks29.top1, labels: ["1", "drain"] },
|
5773
6253
|
// TODO add more "standard" labels
|
5774
|
-
{ ...
|
6254
|
+
{ ...refblocks29.bottom1, labels: ["2", "source"] },
|
5775
6255
|
// TODO add more "standard" labels
|
5776
|
-
{ ...
|
6256
|
+
{ ...refblocks29.left1, labels: ["3", "gate"] }
|
5777
6257
|
// TODO add more "standard" labels
|
5778
6258
|
],
|
5779
|
-
size: { width:
|
5780
|
-
center: { x:
|
6259
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6260
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5781
6261
|
});
|
5782
6262
|
|
5783
6263
|
// symbols/pjfet_transistor_vert.ts
|
5784
|
-
var
|
5785
|
-
var
|
5786
|
-
var
|
5787
|
-
|
5788
|
-
|
5789
|
-
|
5790
|
-
var
|
5791
|
-
|
5792
|
-
|
5793
|
-
|
5794
|
-
var pjfet_transistor_vert_default =
|
6264
|
+
var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
|
6265
|
+
var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
6266
|
+
var val16 = texts42.find((t) => t.text === "{VAL}");
|
6267
|
+
val16.x = -0.35;
|
6268
|
+
val16.y = 0;
|
6269
|
+
val16.anchor = "middle_right";
|
6270
|
+
var ref19 = texts42.find((t) => t.text === "{REF}");
|
6271
|
+
ref19.y = 0;
|
6272
|
+
ref19.x = 0.35;
|
6273
|
+
ref19.anchor = "middle_left";
|
6274
|
+
var pjfet_transistor_vert_default = rotatedSymbol17;
|
5795
6275
|
|
5796
6276
|
// assets/generated/pnp_bipolar_transistor.json
|
5797
6277
|
var pnp_bipolar_transistor_default = {
|
@@ -5957,11 +6437,11 @@ var pnp_bipolar_transistor_default = {
|
|
5957
6437
|
};
|
5958
6438
|
|
5959
6439
|
// symbols/pnp_bipolar_transistor_horz.ts
|
5960
|
-
var { paths:
|
6440
|
+
var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = pnp_bipolar_transistor_default;
|
5961
6441
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
5962
6442
|
primitives: [
|
5963
|
-
...Object.values(
|
5964
|
-
...Object.values(
|
6443
|
+
...Object.values(paths30),
|
6444
|
+
...Object.values(circles24),
|
5965
6445
|
{
|
5966
6446
|
type: "text",
|
5967
6447
|
text: "{REF}",
|
@@ -5978,20 +6458,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
5978
6458
|
}
|
5979
6459
|
],
|
5980
6460
|
ports: [
|
5981
|
-
{ ...
|
5982
|
-
{ ...
|
5983
|
-
{ ...
|
6461
|
+
{ ...refblocks30.top1, labels: ["1", "collector"] },
|
6462
|
+
{ ...refblocks30.bottom1, labels: ["2", "emitter"] },
|
6463
|
+
{ ...refblocks30.left1, labels: ["3", "base"] }
|
5984
6464
|
],
|
5985
|
-
size: { width:
|
5986
|
-
center: { x:
|
6465
|
+
size: { width: bounds30.width, height: bounds30.height },
|
6466
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5987
6467
|
});
|
5988
6468
|
|
5989
6469
|
// symbols/pnp_bipolar_transistor_vert.ts
|
5990
|
-
var
|
5991
|
-
var
|
5992
|
-
var
|
5993
|
-
|
5994
|
-
var pnp_bipolar_transistor_vert_default =
|
6470
|
+
var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
6471
|
+
var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
6472
|
+
var ref20 = texts44.find((t) => t.text === "{REF}");
|
6473
|
+
ref20.anchor = "middle_left";
|
6474
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol18;
|
5995
6475
|
|
5996
6476
|
// assets/generated/potentiometer.json
|
5997
6477
|
var potentiometer_default = {
|
@@ -6108,21 +6588,21 @@ var potentiometer_default = {
|
|
6108
6588
|
};
|
6109
6589
|
|
6110
6590
|
// symbols/potentiometer_horz.ts
|
6111
|
-
var { paths:
|
6591
|
+
var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
|
6112
6592
|
var potentiometer_horz_default = defineSymbol({
|
6113
6593
|
primitives: [
|
6114
|
-
...Object.values(
|
6115
|
-
{ ...
|
6116
|
-
{ ...
|
6594
|
+
...Object.values(paths31),
|
6595
|
+
{ ...texts45.bottom1, y: 0.35, anchor: "middle_top" },
|
6596
|
+
{ ...texts45.top1, anchor: "middle_left" }
|
6117
6597
|
],
|
6118
6598
|
ports: [
|
6119
|
-
{ ...
|
6599
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
6120
6600
|
// TODO add more "standard" labels
|
6121
|
-
{ ...
|
6601
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
6122
6602
|
// TODO add more "standard" labels
|
6123
6603
|
],
|
6124
|
-
size: { width:
|
6125
|
-
center: { x:
|
6604
|
+
size: { width: bounds31.width + 0.05, height: bounds31.height },
|
6605
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6126
6606
|
});
|
6127
6607
|
|
6128
6608
|
// symbols/potentiometer_vert.ts
|
@@ -6285,21 +6765,21 @@ var potentiometer2_default = {
|
|
6285
6765
|
};
|
6286
6766
|
|
6287
6767
|
// symbols/potentiometer2_horz.ts
|
6288
|
-
var { paths:
|
6768
|
+
var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
|
6289
6769
|
var potentiometer2_horz_default = defineSymbol({
|
6290
6770
|
primitives: [
|
6291
|
-
...Object.values(
|
6292
|
-
{ ...
|
6293
|
-
{ ...
|
6771
|
+
...Object.values(paths32),
|
6772
|
+
{ ...texts46.bottom1, anchor: "middle_right" },
|
6773
|
+
{ ...texts46.top1, anchor: "middle_left" }
|
6294
6774
|
],
|
6295
6775
|
ports: [
|
6296
|
-
{ ...
|
6776
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6297
6777
|
// TODO add more "standard" labels
|
6298
|
-
{ ...
|
6778
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6299
6779
|
// TODO add more "standard" labels
|
6300
6780
|
],
|
6301
|
-
size: { width:
|
6302
|
-
center: { x:
|
6781
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6782
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6303
6783
|
});
|
6304
6784
|
|
6305
6785
|
// symbols/potentiometer2_vert.ts
|
@@ -6392,11 +6872,11 @@ var power_factor_meter_default = {
|
|
6392
6872
|
};
|
6393
6873
|
|
6394
6874
|
// symbols/power_factor_meter_horz.ts
|
6395
|
-
var { paths:
|
6875
|
+
var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles25 } = power_factor_meter_default;
|
6396
6876
|
var power_factor_meter_horz_default = defineSymbol({
|
6397
6877
|
primitives: [
|
6398
|
-
...Object.values(
|
6399
|
-
...Object.values(
|
6878
|
+
...Object.values(paths33),
|
6879
|
+
...Object.values(circles25),
|
6400
6880
|
// { ...texts.top1, anchor: "middle_left" },
|
6401
6881
|
{
|
6402
6882
|
type: "text",
|
@@ -6423,28 +6903,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
6423
6903
|
}
|
6424
6904
|
],
|
6425
6905
|
ports: [
|
6426
|
-
{ ...
|
6906
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6427
6907
|
// TODO add more "standard" labels
|
6428
|
-
{ ...
|
6908
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6429
6909
|
// TODO add more "standard" labels
|
6430
6910
|
],
|
6431
|
-
size: { width:
|
6432
|
-
center: { x:
|
6911
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6912
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6433
6913
|
});
|
6434
6914
|
|
6435
6915
|
// symbols/power_factor_meter_vert.ts
|
6436
|
-
var
|
6437
|
-
var
|
6438
|
-
var
|
6439
|
-
var
|
6440
|
-
var text_cos =
|
6441
|
-
|
6442
|
-
|
6443
|
-
|
6444
|
-
|
6916
|
+
var rotatedSymbol19 = rotateSymbol(power_factor_meter_horz_default);
|
6917
|
+
var texts48 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
|
6918
|
+
var ref21 = texts48.find((t) => t.text === "{REF}");
|
6919
|
+
var val17 = texts48.find((t) => t.text === "{VAL}");
|
6920
|
+
var text_cos = texts48.find((t) => t.text === "COS \u03C6");
|
6921
|
+
ref21.x = 0.35;
|
6922
|
+
ref21.y = 0;
|
6923
|
+
val17.x = -0.6;
|
6924
|
+
val17.y = 0;
|
6445
6925
|
text_cos.x = -0.1;
|
6446
6926
|
text_cos.y = 0;
|
6447
|
-
var power_factor_meter_vert_default =
|
6927
|
+
var power_factor_meter_vert_default = rotatedSymbol19;
|
6448
6928
|
|
6449
6929
|
// assets/generated/push_button_normally_closed_momentary.json
|
6450
6930
|
var push_button_normally_closed_momentary_default = {
|
@@ -6548,37 +7028,37 @@ var push_button_normally_closed_momentary_default = {
|
|
6548
7028
|
};
|
6549
7029
|
|
6550
7030
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
6551
|
-
var { paths:
|
7031
|
+
var { paths: paths34, texts: texts49, bounds: bounds34, refblocks: refblocks34 } = push_button_normally_closed_momentary_default;
|
6552
7032
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
6553
7033
|
primitives: [
|
6554
|
-
...Object.values(
|
6555
|
-
{ ...
|
6556
|
-
{ ...
|
7034
|
+
...Object.values(paths34),
|
7035
|
+
{ ...texts49.top1, anchor: "middle_bottom" },
|
7036
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
6557
7037
|
],
|
6558
7038
|
ports: [
|
6559
|
-
{ ...
|
7039
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6560
7040
|
// TODO add more "standard" labels
|
6561
|
-
{ ...
|
7041
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6562
7042
|
// TODO add more "standard" labels
|
6563
7043
|
],
|
6564
|
-
size: { width:
|
6565
|
-
center: { x:
|
7044
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7045
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6566
7046
|
});
|
6567
7047
|
|
6568
7048
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
6569
7049
|
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
6570
|
-
var
|
7050
|
+
var ref22 = rotated7.primitives.find(
|
6571
7051
|
(p) => p.type === "text" && p.text === "{REF}"
|
6572
7052
|
);
|
6573
|
-
var
|
7053
|
+
var val18 = rotated7.primitives.find(
|
6574
7054
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6575
7055
|
);
|
6576
|
-
|
6577
|
-
|
6578
|
-
|
6579
|
-
|
6580
|
-
|
6581
|
-
|
7056
|
+
ref22.anchor = "middle_left";
|
7057
|
+
val18.anchor = "middle_right";
|
7058
|
+
ref22.x = ref22.x - 0.03;
|
7059
|
+
ref22.y = ref22.y;
|
7060
|
+
val18.x = val18.x;
|
7061
|
+
val18.y = 0;
|
6582
7062
|
var push_button_normally_closed_momentary_vert_default = rotated7;
|
6583
7063
|
|
6584
7064
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -6683,37 +7163,37 @@ var push_button_normally_open_momentary_default = {
|
|
6683
7163
|
};
|
6684
7164
|
|
6685
7165
|
// symbols/push_button_normally_open_momentary_horz.ts
|
6686
|
-
var { paths:
|
7166
|
+
var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35 } = push_button_normally_open_momentary_default;
|
6687
7167
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
6688
7168
|
primitives: [
|
6689
|
-
...Object.values(
|
6690
|
-
{ ...
|
6691
|
-
{ ...
|
7169
|
+
...Object.values(paths35),
|
7170
|
+
{ ...texts50.top1, anchor: "middle_bottom" },
|
7171
|
+
{ ...texts50.bottom1, anchor: "middle_top" }
|
6692
7172
|
],
|
6693
7173
|
ports: [
|
6694
|
-
{ ...
|
7174
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6695
7175
|
// TODO add more "standard" labels
|
6696
|
-
{ ...
|
7176
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6697
7177
|
// TODO add more "standard" labels
|
6698
7178
|
],
|
6699
|
-
size: { width:
|
6700
|
-
center: { x:
|
7179
|
+
size: { width: bounds35.width, height: bounds35.height },
|
7180
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6701
7181
|
});
|
6702
7182
|
|
6703
7183
|
// symbols/push_button_normally_open_momentary_vert.ts
|
6704
7184
|
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
6705
|
-
var
|
7185
|
+
var ref23 = rotated8.primitives.find(
|
6706
7186
|
(p) => p.type === "text" && p.text === "{REF}"
|
6707
7187
|
);
|
6708
|
-
var
|
7188
|
+
var val19 = rotated8.primitives.find(
|
6709
7189
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6710
7190
|
);
|
6711
|
-
|
6712
|
-
|
6713
|
-
|
6714
|
-
|
6715
|
-
|
6716
|
-
|
7191
|
+
ref23.anchor = "middle_left";
|
7192
|
+
val19.anchor = "middle_right";
|
7193
|
+
ref23.x = ref23.x + 0.1;
|
7194
|
+
ref23.y = ref23.y;
|
7195
|
+
val19.x = val19.x;
|
7196
|
+
val19.y = 0;
|
6717
7197
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
6718
7198
|
|
6719
7199
|
// assets/generated/resonator.json
|
@@ -7062,11 +7542,11 @@ var resonator_default = {
|
|
7062
7542
|
};
|
7063
7543
|
|
7064
7544
|
// symbols/resonator_horz.ts
|
7065
|
-
var { paths:
|
7545
|
+
var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = resonator_default;
|
7066
7546
|
var resonator_horz_default = defineSymbol({
|
7067
7547
|
primitives: [
|
7068
|
-
...Object.values(
|
7069
|
-
...Object.values(
|
7548
|
+
...Object.values(paths36),
|
7549
|
+
...Object.values(circles26),
|
7070
7550
|
// { ...texts.top1, anchor: "middle_left" },
|
7071
7551
|
// { ...texts.bottom1, anchor: "middle_left" },
|
7072
7552
|
{
|
@@ -7085,15 +7565,15 @@ var resonator_horz_default = defineSymbol({
|
|
7085
7565
|
}
|
7086
7566
|
],
|
7087
7567
|
ports: [
|
7088
|
-
{ ...
|
7568
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
7089
7569
|
// TODO add more "standard" labels
|
7090
|
-
{ ...
|
7570
|
+
{ ...refblocks36.right1, labels: ["2"] },
|
7091
7571
|
// TODO add more "standard" labels
|
7092
|
-
{ ...
|
7572
|
+
{ ...refblocks36.right2, labels: ["3"] }
|
7093
7573
|
// TODO add more "standard" labels
|
7094
7574
|
],
|
7095
|
-
size: { width:
|
7096
|
-
center: { x:
|
7575
|
+
size: { width: bounds36.width, height: bounds36.height },
|
7576
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
7097
7577
|
});
|
7098
7578
|
|
7099
7579
|
// symbols/resonator_vert.ts
|
@@ -7291,34 +7771,34 @@ var schottky_diode_default = {
|
|
7291
7771
|
};
|
7292
7772
|
|
7293
7773
|
// symbols/schottky_diode_horz.ts
|
7294
|
-
var { paths:
|
7774
|
+
var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = schottky_diode_default;
|
7295
7775
|
var schottky_diode_horz_default = defineSymbol({
|
7296
7776
|
primitives: [
|
7297
|
-
...Object.values(
|
7298
|
-
...Object.values(
|
7299
|
-
{ ...
|
7300
|
-
{ ...
|
7777
|
+
...Object.values(paths37),
|
7778
|
+
...Object.values(circles27),
|
7779
|
+
{ ...texts52.top1, anchor: "middle_bottom" },
|
7780
|
+
{ ...texts52.bottom1, anchor: "middle_top" }
|
7301
7781
|
],
|
7302
7782
|
ports: [
|
7303
|
-
{ ...
|
7783
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
7304
7784
|
// TODO add more "standard" labels
|
7305
|
-
{ ...
|
7785
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
7306
7786
|
// TODO add more "standard" labels
|
7307
7787
|
],
|
7308
|
-
size: { width:
|
7309
|
-
center: { x:
|
7788
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7789
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
7310
7790
|
});
|
7311
7791
|
|
7312
7792
|
// symbols/schottky_diode_vert.ts
|
7313
7793
|
var rotated9 = rotateSymbol(schottky_diode_horz_default);
|
7314
|
-
var
|
7794
|
+
var ref24 = rotated9.primitives.find(
|
7315
7795
|
(p) => p.type === "text" && p.text === "{REF}"
|
7316
7796
|
);
|
7317
|
-
var
|
7797
|
+
var val20 = rotated9.primitives.find(
|
7318
7798
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7319
7799
|
);
|
7320
|
-
|
7321
|
-
|
7800
|
+
ref24.anchor = "middle_left";
|
7801
|
+
val20.anchor = "middle_right";
|
7322
7802
|
var schottky_diode_vert_default = rotated9;
|
7323
7803
|
|
7324
7804
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -7465,35 +7945,35 @@ var silicon_controlled_rectifier_default = {
|
|
7465
7945
|
};
|
7466
7946
|
|
7467
7947
|
// symbols/silicon_controlled_rectifier_horz.ts
|
7468
|
-
var { paths:
|
7948
|
+
var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = silicon_controlled_rectifier_default;
|
7469
7949
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
7470
7950
|
primitives: [
|
7471
|
-
...Object.values(
|
7472
|
-
...Object.values(
|
7473
|
-
{ ...
|
7474
|
-
{ ...
|
7951
|
+
...Object.values(paths38),
|
7952
|
+
...Object.values(circles28),
|
7953
|
+
{ ...texts53.top1, anchor: "middle_left" },
|
7954
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
7475
7955
|
],
|
7476
7956
|
ports: [
|
7477
|
-
{ ...
|
7957
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
7478
7958
|
// TODO add more "standard" labels
|
7479
|
-
{ ...
|
7959
|
+
{ ...refblocks38.right1, labels: ["2"] },
|
7480
7960
|
// TODO add more "standard" labels
|
7481
|
-
{ ...
|
7961
|
+
{ ...refblocks38.bottom1, labels: ["3"] }
|
7482
7962
|
// TODO add more "standard" labels
|
7483
7963
|
],
|
7484
|
-
size: { width:
|
7485
|
-
center: { x:
|
7964
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7965
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7486
7966
|
});
|
7487
7967
|
|
7488
7968
|
// symbols/silicon_controlled_rectifier_vert.ts
|
7489
|
-
var
|
7490
|
-
var
|
7969
|
+
var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
7970
|
+
var texts54 = rotatedSymbol20.primitives.filter(
|
7491
7971
|
(primitive) => primitive.type === "text"
|
7492
7972
|
);
|
7493
|
-
var
|
7494
|
-
|
7495
|
-
|
7496
|
-
var silicon_controlled_rectifier_vert_default =
|
7973
|
+
var ref25 = texts54.find((text) => text.text === "{REF}");
|
7974
|
+
ref25.y = 0;
|
7975
|
+
ref25.anchor = "middle_left";
|
7976
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
|
7497
7977
|
|
7498
7978
|
// assets/generated/SPDT_switch.json
|
7499
7979
|
var SPDT_switch_default = {
|
@@ -7613,38 +8093,38 @@ var SPDT_switch_default = {
|
|
7613
8093
|
};
|
7614
8094
|
|
7615
8095
|
// symbols/SPDT_switch_horz.ts
|
7616
|
-
var { paths:
|
8096
|
+
var { paths: paths39, texts: texts55, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = SPDT_switch_default;
|
7617
8097
|
var SPDT_switch_horz_default = defineSymbol({
|
7618
8098
|
primitives: [
|
7619
|
-
...Object.values(
|
7620
|
-
...Object.values(
|
7621
|
-
{ ...
|
7622
|
-
{ ...
|
8099
|
+
...Object.values(paths39),
|
8100
|
+
...Object.values(circles29),
|
8101
|
+
{ ...texts55.top1, anchor: "middle_bottom", x: -0.01 },
|
8102
|
+
{ ...texts55.bottom1, anchor: "middle_top", x: -0.01 }
|
7623
8103
|
],
|
7624
8104
|
ports: [
|
7625
|
-
{ ...
|
8105
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
7626
8106
|
// TODO add more "standard" labels
|
7627
|
-
{ ...
|
8107
|
+
{ ...refblocks39.right1, labels: ["3"] },
|
7628
8108
|
// TODO add more "standard" labels
|
7629
|
-
{ ...
|
8109
|
+
{ ...refblocks39.right2, labels: ["2"] }
|
7630
8110
|
// TODO add more "standard" labels
|
7631
8111
|
],
|
7632
|
-
size: { width:
|
7633
|
-
center: { x:
|
8112
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8113
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7634
8114
|
});
|
7635
8115
|
|
7636
8116
|
// symbols/SPDT_switch_vert.ts
|
7637
|
-
var
|
7638
|
-
var
|
7639
|
-
var
|
7640
|
-
|
7641
|
-
|
7642
|
-
|
7643
|
-
var
|
7644
|
-
|
7645
|
-
|
7646
|
-
|
7647
|
-
var SPDT_switch_vert_default =
|
8117
|
+
var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
|
8118
|
+
var texts56 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
8119
|
+
var val21 = texts56.find((t) => t.text === "{VAL}");
|
8120
|
+
val21.anchor = "middle_right";
|
8121
|
+
val21.x = -0.3;
|
8122
|
+
val21.y = 0;
|
8123
|
+
var ref26 = texts56.find((t) => t.text === "{REF}");
|
8124
|
+
ref26.anchor = "middle_left";
|
8125
|
+
ref26.x = 0.3;
|
8126
|
+
ref26.y = 0;
|
8127
|
+
var SPDT_switch_vert_default = rotatedSymbol21;
|
7648
8128
|
|
7649
8129
|
// assets/generated/SPST_switch.json
|
7650
8130
|
var SPST_switch_default = {
|
@@ -7741,36 +8221,36 @@ var SPST_switch_default = {
|
|
7741
8221
|
};
|
7742
8222
|
|
7743
8223
|
// symbols/SPST_switch_horz.ts
|
7744
|
-
var { paths:
|
8224
|
+
var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = SPST_switch_default;
|
7745
8225
|
var SPST_switch_horz_default = defineSymbol({
|
7746
8226
|
primitives: [
|
7747
|
-
...Object.values(
|
7748
|
-
...Object.values(
|
7749
|
-
{ ...
|
7750
|
-
{ ...
|
8227
|
+
...Object.values(paths40),
|
8228
|
+
...Object.values(circles30),
|
8229
|
+
{ ...texts57.top1, anchor: "middle_bottom", x: 0 },
|
8230
|
+
{ ...texts57.bottom1, anchor: "middle_top", x: 0 }
|
7751
8231
|
],
|
7752
8232
|
ports: [
|
7753
|
-
{ ...
|
8233
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
7754
8234
|
// TODO add more "standard" labels
|
7755
|
-
{ ...
|
8235
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
7756
8236
|
// TODO add more "standard" labels
|
7757
8237
|
],
|
7758
|
-
size: { width:
|
7759
|
-
center: { x:
|
8238
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8239
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7760
8240
|
});
|
7761
8241
|
|
7762
8242
|
// symbols/SPST_switch_vert.ts
|
7763
|
-
var
|
7764
|
-
var
|
7765
|
-
var
|
7766
|
-
|
7767
|
-
|
7768
|
-
|
7769
|
-
var
|
7770
|
-
|
7771
|
-
|
7772
|
-
|
7773
|
-
var SPST_switch_vert_default =
|
8243
|
+
var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
|
8244
|
+
var texts58 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8245
|
+
var val22 = texts58.find((t) => t.text === "{VAL}");
|
8246
|
+
val22.anchor = "middle_right";
|
8247
|
+
val22.x = -0.3;
|
8248
|
+
val22.y = 0;
|
8249
|
+
var ref27 = texts58.find((t) => t.text === "{REF}");
|
8250
|
+
ref27.anchor = "middle_left";
|
8251
|
+
ref27.x = 0.3;
|
8252
|
+
ref27.y = 0;
|
8253
|
+
var SPST_switch_vert_default = rotatedSymbol22;
|
7774
8254
|
|
7775
8255
|
// assets/generated/step_recovery_diode.json
|
7776
8256
|
var step_recovery_diode_default = {
|
@@ -7934,11 +8414,11 @@ var step_recovery_diode_default = {
|
|
7934
8414
|
};
|
7935
8415
|
|
7936
8416
|
// symbols/step_recovery_diode_horz.ts
|
7937
|
-
var { paths:
|
8417
|
+
var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = step_recovery_diode_default;
|
7938
8418
|
var step_recovery_diode_horz_default = defineSymbol({
|
7939
8419
|
primitives: [
|
7940
|
-
...Object.values(
|
7941
|
-
...Object.values(
|
8420
|
+
...Object.values(paths41),
|
8421
|
+
...Object.values(circles31),
|
7942
8422
|
// { ...texts.top1, anchor: "middle_left" },
|
7943
8423
|
// { ...texts.bottom1, anchor: "middle_left" },
|
7944
8424
|
{
|
@@ -7957,13 +8437,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
7957
8437
|
}
|
7958
8438
|
],
|
7959
8439
|
ports: [
|
7960
|
-
{ ...
|
8440
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
7961
8441
|
// TODO add more "standard" labels
|
7962
|
-
{ ...
|
8442
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
7963
8443
|
// TODO add more "standard" labels
|
7964
8444
|
],
|
7965
|
-
size: { width:
|
7966
|
-
center: { x:
|
8445
|
+
size: { width: bounds41.width, height: bounds41.height },
|
8446
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
7967
8447
|
});
|
7968
8448
|
|
7969
8449
|
// symbols/step_recovery_diode_vert.ts
|
@@ -8160,36 +8640,36 @@ var triac_default = {
|
|
8160
8640
|
};
|
8161
8641
|
|
8162
8642
|
// symbols/triac_horz.ts
|
8163
|
-
var { paths:
|
8643
|
+
var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = triac_default;
|
8164
8644
|
var triac_horz_default = defineSymbol({
|
8165
8645
|
primitives: [
|
8166
|
-
...Object.values(
|
8167
|
-
...Object.values(
|
8168
|
-
{ ...
|
8169
|
-
{ ...
|
8646
|
+
...Object.values(paths42),
|
8647
|
+
...Object.values(circles32),
|
8648
|
+
{ ...texts60.top1, anchor: "middle_left" },
|
8649
|
+
{ ...texts60.bottom1, anchor: "middle_top" }
|
8170
8650
|
],
|
8171
8651
|
ports: [
|
8172
|
-
{ ...
|
8652
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
8173
8653
|
// TODO add more "standard" labels
|
8174
|
-
{ ...
|
8654
|
+
{ ...refblocks42.right1, labels: ["2"] },
|
8175
8655
|
// TODO add more "standard" labels
|
8176
|
-
{ ...
|
8656
|
+
{ ...refblocks42.bottom1, labels: ["3"] }
|
8177
8657
|
// TODO add more "standard" labels
|
8178
8658
|
],
|
8179
|
-
size: { width:
|
8180
|
-
center: { x:
|
8659
|
+
size: { width: bounds42.width, height: bounds42.height },
|
8660
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
8181
8661
|
});
|
8182
8662
|
|
8183
8663
|
// symbols/triac_vert.ts
|
8184
|
-
var
|
8185
|
-
var
|
8664
|
+
var rotatedSymbol23 = rotateSymbol(triac_horz_default);
|
8665
|
+
var texts61 = rotatedSymbol23.primitives.filter(
|
8186
8666
|
(primitive) => primitive.type === "text"
|
8187
8667
|
);
|
8188
|
-
var
|
8189
|
-
var
|
8190
|
-
|
8191
|
-
|
8192
|
-
var triac_vert_default =
|
8668
|
+
var ref28 = texts61.find((text) => text.text === "{REF}");
|
8669
|
+
var val23 = texts61.find((text) => text.text === "{VAL}");
|
8670
|
+
ref28.y = 0;
|
8671
|
+
val23.y = 0;
|
8672
|
+
var triac_vert_default = rotatedSymbol23;
|
8193
8673
|
|
8194
8674
|
// assets/generated/tunnel_diode.json
|
8195
8675
|
var tunnel_diode_default = {
|
@@ -8353,34 +8833,34 @@ var tunnel_diode_default = {
|
|
8353
8833
|
};
|
8354
8834
|
|
8355
8835
|
// symbols/tunnel_diode_horz.ts
|
8356
|
-
var { paths:
|
8836
|
+
var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = tunnel_diode_default;
|
8357
8837
|
var tunnel_diode_horz_default = defineSymbol({
|
8358
8838
|
primitives: [
|
8359
|
-
...Object.values(
|
8360
|
-
...Object.values(
|
8361
|
-
{ ...
|
8362
|
-
{ ...
|
8839
|
+
...Object.values(paths43),
|
8840
|
+
...Object.values(circles33),
|
8841
|
+
{ ...texts62.top1, anchor: "middle_bottom" },
|
8842
|
+
{ ...texts62.bottom1, anchor: "middle_top" }
|
8363
8843
|
],
|
8364
8844
|
ports: [
|
8365
|
-
{ ...
|
8845
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
8366
8846
|
// TODO add more "standard" labels
|
8367
|
-
{ ...
|
8847
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
8368
8848
|
// TODO add more "standard" labels
|
8369
8849
|
],
|
8370
|
-
size: { width:
|
8371
|
-
center: { x:
|
8850
|
+
size: { width: bounds43.width, height: bounds43.height },
|
8851
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
8372
8852
|
});
|
8373
8853
|
|
8374
8854
|
// symbols/tunnel_diode_vert.ts
|
8375
8855
|
var rotated10 = rotateSymbol(tunnel_diode_horz_default);
|
8376
|
-
var
|
8856
|
+
var ref29 = rotated10.primitives.find(
|
8377
8857
|
(p) => p.type === "text" && p.text === "{REF}"
|
8378
8858
|
);
|
8379
|
-
var
|
8859
|
+
var val24 = rotated10.primitives.find(
|
8380
8860
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8381
8861
|
);
|
8382
|
-
|
8383
|
-
|
8862
|
+
ref29.anchor = "middle_left";
|
8863
|
+
val24.anchor = "middle_right";
|
8384
8864
|
var tunnel_diode_vert_default = rotated10;
|
8385
8865
|
|
8386
8866
|
// assets/generated/unijunction_transistor.json
|
@@ -8551,37 +9031,37 @@ var unijunction_transistor_default = {
|
|
8551
9031
|
};
|
8552
9032
|
|
8553
9033
|
// symbols/unijunction_transistor_horz.ts
|
8554
|
-
var { paths:
|
9034
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = unijunction_transistor_default;
|
8555
9035
|
var unijunction_transistor_horz_default = defineSymbol({
|
8556
9036
|
primitives: [
|
8557
|
-
...Object.values(
|
8558
|
-
...Object.values(
|
8559
|
-
{ ...
|
8560
|
-
{ ...
|
9037
|
+
...Object.values(paths44),
|
9038
|
+
...Object.values(circles34),
|
9039
|
+
{ ...texts63.top1, anchor: "middle_left" },
|
9040
|
+
{ ...texts63.bottom1, anchor: "middle_right" }
|
8561
9041
|
],
|
8562
9042
|
ports: [
|
8563
|
-
{ ...
|
9043
|
+
{ ...refblocks44.top1, labels: ["1"] },
|
8564
9044
|
// TODO add more "standard" labels
|
8565
|
-
{ ...
|
9045
|
+
{ ...refblocks44.bottom1, labels: ["2"] },
|
8566
9046
|
// TODO add more "standard" labels
|
8567
|
-
{ ...
|
9047
|
+
{ ...refblocks44.left1, labels: ["3"] }
|
8568
9048
|
// TODO add more "standard" labels
|
8569
9049
|
],
|
8570
|
-
size: { width:
|
8571
|
-
center: { x:
|
9050
|
+
size: { width: bounds44.width, height: bounds44.height },
|
9051
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
8572
9052
|
});
|
8573
9053
|
|
8574
9054
|
// symbols/unijunction_transistor_vert.ts
|
8575
|
-
var
|
8576
|
-
var
|
9055
|
+
var rotatedSymbol24 = rotateSymbol(unijunction_transistor_horz_default);
|
9056
|
+
var texts64 = rotatedSymbol24.primitives.filter(
|
8577
9057
|
(primitive) => primitive.type === "text"
|
8578
9058
|
);
|
8579
|
-
var
|
8580
|
-
|
8581
|
-
var
|
8582
|
-
|
8583
|
-
|
8584
|
-
var unijunction_transistor_vert_default =
|
9059
|
+
var ref30 = texts64.find((text) => text.text === "{REF}");
|
9060
|
+
ref30.y = 0.1;
|
9061
|
+
var val25 = texts64.find((text) => text.text === "{VAL}");
|
9062
|
+
val25.y = 0.1;
|
9063
|
+
val25.x = -0.4;
|
9064
|
+
var unijunction_transistor_vert_default = rotatedSymbol24;
|
8585
9065
|
|
8586
9066
|
// assets/generated/var_meter.json
|
8587
9067
|
var var_meter_default = {
|
@@ -8670,33 +9150,33 @@ var var_meter_default = {
|
|
8670
9150
|
};
|
8671
9151
|
|
8672
9152
|
// symbols/var_meter_horz.ts
|
8673
|
-
var { paths:
|
9153
|
+
var { paths: paths45, texts: texts65, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = var_meter_default;
|
8674
9154
|
var var_meter_horz_default = defineSymbol({
|
8675
9155
|
primitives: [
|
8676
|
-
...Object.values(
|
8677
|
-
...Object.values(
|
9156
|
+
...Object.values(paths45),
|
9157
|
+
...Object.values(circles35),
|
8678
9158
|
{
|
8679
|
-
...
|
9159
|
+
...texts65.top1,
|
8680
9160
|
x: 0,
|
8681
9161
|
y: -0.3594553499999995,
|
8682
9162
|
anchor: "middle_bottom"
|
8683
9163
|
},
|
8684
9164
|
{
|
8685
|
-
...
|
9165
|
+
...texts65.bottom1,
|
8686
9166
|
x: 0,
|
8687
9167
|
y: 0.35,
|
8688
9168
|
anchor: "middle_top"
|
8689
9169
|
},
|
8690
|
-
{ ...
|
9170
|
+
{ ...texts65.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
8691
9171
|
],
|
8692
9172
|
ports: [
|
8693
|
-
{ ...
|
9173
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
8694
9174
|
// TODO add more "standard" labels
|
8695
|
-
{ ...
|
9175
|
+
{ ...refblocks45.right1, labels: ["2"] }
|
8696
9176
|
// TODO add more "standard" labels
|
8697
9177
|
],
|
8698
|
-
size: { width:
|
8699
|
-
center: { x:
|
9178
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9179
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
8700
9180
|
});
|
8701
9181
|
|
8702
9182
|
// symbols/var_meter_vert.ts
|
@@ -8849,34 +9329,34 @@ var varactor_diode_default = {
|
|
8849
9329
|
};
|
8850
9330
|
|
8851
9331
|
// symbols/varactor_diode_horz.ts
|
8852
|
-
var { paths:
|
9332
|
+
var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = varactor_diode_default;
|
8853
9333
|
var varactor_diode_horz_default = defineSymbol({
|
8854
9334
|
primitives: [
|
8855
|
-
...Object.values(
|
8856
|
-
...Object.values(
|
8857
|
-
{ ...
|
8858
|
-
{ ...
|
9335
|
+
...Object.values(paths46),
|
9336
|
+
...Object.values(circles36),
|
9337
|
+
{ ...texts66.top1, anchor: "middle_bottom" },
|
9338
|
+
{ ...texts66.bottom1, anchor: "middle_top" }
|
8859
9339
|
],
|
8860
9340
|
ports: [
|
8861
|
-
{ ...
|
9341
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
8862
9342
|
// TODO add more "standard" labels
|
8863
|
-
{ ...
|
9343
|
+
{ ...refblocks46.right1, labels: ["2"] }
|
8864
9344
|
// TODO add more "standard" labels
|
8865
9345
|
],
|
8866
|
-
size: { width:
|
8867
|
-
center: { x:
|
9346
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9347
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
8868
9348
|
});
|
8869
9349
|
|
8870
9350
|
// symbols/varactor_diode_vert.ts
|
8871
9351
|
var rotated11 = rotateSymbol(varactor_diode_horz_default);
|
8872
|
-
var
|
9352
|
+
var ref31 = rotated11.primitives.find(
|
8873
9353
|
(p) => p.type === "text" && p.text === "{REF}"
|
8874
9354
|
);
|
8875
|
-
var
|
9355
|
+
var val26 = rotated11.primitives.find(
|
8876
9356
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8877
9357
|
);
|
8878
|
-
|
8879
|
-
|
9358
|
+
ref31.anchor = "middle_left";
|
9359
|
+
val26.anchor = "middle_right";
|
8880
9360
|
var varactor_diode_vert_default = rotated11;
|
8881
9361
|
|
8882
9362
|
// assets/generated/varistor.json
|
@@ -9012,26 +9492,26 @@ var varistor_default = {
|
|
9012
9492
|
};
|
9013
9493
|
|
9014
9494
|
// symbols/varistor_horz.ts
|
9015
|
-
var { paths:
|
9495
|
+
var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
|
9016
9496
|
var varistor_horz_default = defineSymbol({
|
9017
9497
|
primitives: [
|
9018
|
-
...Object.values(
|
9019
|
-
{ ...
|
9020
|
-
{ ...
|
9498
|
+
...Object.values(paths47),
|
9499
|
+
{ ...texts67.top1, anchor: "middle_left" },
|
9500
|
+
{ ...texts67.bottom1, anchor: "middle_right" }
|
9021
9501
|
],
|
9022
9502
|
ports: [
|
9023
9503
|
{
|
9024
|
-
...
|
9504
|
+
...refblocks47.left1,
|
9025
9505
|
labels: ["1", "-"]
|
9026
9506
|
},
|
9027
9507
|
{
|
9028
|
-
...
|
9508
|
+
...refblocks47.right1,
|
9029
9509
|
labels: ["2", "+"]
|
9030
9510
|
}
|
9031
9511
|
],
|
9032
|
-
size: { width:
|
9512
|
+
size: { width: bounds47.width, height: bounds47.height },
|
9033
9513
|
//{ width: 1, height: 0.24 },
|
9034
|
-
center: { x:
|
9514
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
9035
9515
|
});
|
9036
9516
|
|
9037
9517
|
// symbols/varistor_vert.ts
|
@@ -9137,11 +9617,11 @@ var volt_meter_default = {
|
|
9137
9617
|
};
|
9138
9618
|
|
9139
9619
|
// symbols/volt_meter_horz.ts
|
9140
|
-
var { paths:
|
9620
|
+
var { paths: paths48, texts: texts68, bounds: bounds48, circles: circles37, refblocks: refblocks48 } = volt_meter_default;
|
9141
9621
|
var volt_meter_horz_default = defineSymbol({
|
9142
9622
|
primitives: [
|
9143
|
-
...Object.values(
|
9144
|
-
...Object.values(
|
9623
|
+
...Object.values(paths48),
|
9624
|
+
...Object.values(circles37),
|
9145
9625
|
{
|
9146
9626
|
type: "text",
|
9147
9627
|
text: "{REF}",
|
@@ -9158,13 +9638,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
9158
9638
|
}
|
9159
9639
|
],
|
9160
9640
|
ports: [
|
9161
|
-
{ ...
|
9641
|
+
{ ...refblocks48.left1, labels: ["1"] },
|
9162
9642
|
// TODO add more "standard" labels
|
9163
|
-
{ ...
|
9643
|
+
{ ...refblocks48.right1, labels: ["2"] }
|
9164
9644
|
// TODO add more "standard" labels
|
9165
9645
|
],
|
9166
|
-
size: { width:
|
9167
|
-
center: { x:
|
9646
|
+
size: { width: bounds48.width, height: bounds48.height },
|
9647
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
9168
9648
|
});
|
9169
9649
|
|
9170
9650
|
// symbols/volt_meter_vert.ts
|
@@ -9317,34 +9797,34 @@ var zener_diode_default = {
|
|
9317
9797
|
};
|
9318
9798
|
|
9319
9799
|
// symbols/zener_diode_horz.ts
|
9320
|
-
var { paths:
|
9800
|
+
var { paths: paths49, texts: texts69, bounds: bounds49, refblocks: refblocks49, circles: circles38 } = zener_diode_default;
|
9321
9801
|
var zener_diode_horz_default = defineSymbol({
|
9322
9802
|
primitives: [
|
9323
|
-
...Object.values(
|
9324
|
-
...Object.values(
|
9325
|
-
{ ...
|
9326
|
-
{ ...
|
9803
|
+
...Object.values(paths49),
|
9804
|
+
...Object.values(circles38),
|
9805
|
+
{ ...texts69.top1, anchor: "middle_bottom" },
|
9806
|
+
{ ...texts69.bottom1, anchor: "middle_top" }
|
9327
9807
|
],
|
9328
9808
|
ports: [
|
9329
|
-
{ ...
|
9809
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
9330
9810
|
// TODO add more "standard" labels
|
9331
|
-
{ ...
|
9811
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
9332
9812
|
// TODO add more "standard" labels
|
9333
9813
|
],
|
9334
|
-
size: { width:
|
9335
|
-
center: { x:
|
9814
|
+
size: { width: bounds49.width, height: bounds49.height },
|
9815
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
9336
9816
|
});
|
9337
9817
|
|
9338
9818
|
// symbols/zener_diode_vert.ts
|
9339
9819
|
var rotated12 = rotateSymbol(zener_diode_horz_default);
|
9340
|
-
var
|
9820
|
+
var ref32 = rotated12.primitives.find(
|
9341
9821
|
(p) => p.type === "text" && p.text === "{REF}"
|
9342
9822
|
);
|
9343
|
-
var
|
9823
|
+
var val27 = rotated12.primitives.find(
|
9344
9824
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9345
9825
|
);
|
9346
|
-
|
9347
|
-
|
9826
|
+
ref32.anchor = "middle_left";
|
9827
|
+
val27.anchor = "middle_right";
|
9348
9828
|
var zener_diode_vert_default = rotated12;
|
9349
9829
|
|
9350
9830
|
// generated/symbols-index.ts
|
@@ -9363,6 +9843,8 @@ var symbols_index_default = {
|
|
9363
9843
|
"constant_current_diode_vert": constant_current_diode_vert_default,
|
9364
9844
|
"crystal_horz": crystal_horz_default,
|
9365
9845
|
"crystal_vert": crystal_vert_default,
|
9846
|
+
"darlington_pair_transistor_horz": darlington_pair_transistor_horz_default,
|
9847
|
+
"darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
|
9366
9848
|
"dc_ammeter_horz": dc_ammeter_horz_default,
|
9367
9849
|
"dc_ammeter_vert": dc_ammeter_vert_default,
|
9368
9850
|
"dc_voltmeter_horz": dc_voltmeter_horz_default,
|
@@ -9371,6 +9853,8 @@ var symbols_index_default = {
|
|
9371
9853
|
"diac_vert": diac_vert_default,
|
9372
9854
|
"diode_horz": diode_horz_default,
|
9373
9855
|
"diode_vert": diode_vert_default,
|
9856
|
+
"dpst_switch_horz": dpst_switch_horz_default,
|
9857
|
+
"dpst_switch_vert": dpst_switch_vert_default,
|
9374
9858
|
"filled_diode_horz": filled_diode_horz_default,
|
9375
9859
|
"filled_diode_vert": filled_diode_vert_default,
|
9376
9860
|
"fuse_horz": fuse_horz_default,
|