schematic-symbols 0.0.79 → 0.0.81

Sign up to get free protection for your applications and to get access to all the features.
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: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dc_ammeter_default;
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(paths8),
1289
- ...Object.values(circles6),
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
- { ...texts9.left1, anchor: "center", fontSize: 0.3 }
1593
+ { ...texts10.left1, anchor: "center", fontSize: 0.3 }
1305
1594
  ],
1306
1595
  ports: [
1307
- { ...refblocks8.left1, labels: ["1"] },
1596
+ { ...refblocks9.left1, labels: ["1"] },
1308
1597
  // TODO add more "standard" labels
1309
- { ...refblocks8.right1, labels: ["2"] }
1598
+ { ...refblocks9.right1, labels: ["2"] }
1310
1599
  // TODO add more "standard" labels
1311
1600
  ],
1312
- size: { width: bounds8.width, height: bounds8.height },
1313
- center: { x: bounds8.centerX, y: bounds8.centerY }
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: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = dc_voltmeter_default;
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(paths9),
1463
- ...Object.values(circles7),
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
- { ...refblocks9.left1, labels: ["1"] },
1769
+ { ...refblocks10.left1, labels: ["1"] },
1481
1770
  // TODO add more "standard" labels
1482
- { ...refblocks9.right1, labels: ["2"] }
1771
+ { ...refblocks10.right1, labels: ["2"] }
1483
1772
  // TODO add more "standard" labels
1484
1773
  ],
1485
- size: { width: bounds9.width, height: bounds9.height },
1486
- center: { x: bounds9.centerX, y: bounds9.centerY }
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: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10, circles: circles8 } = diac_default;
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(paths10),
1664
- ...Object.values(circles8),
1665
- { ...texts11.top1, anchor: "middle_bottom" },
1666
- { ...texts11.bottom1, anchor: "middle_top" }
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
- { ...refblocks10.left1, labels: ["1"] },
1958
+ { ...refblocks11.left1, labels: ["1"] },
1670
1959
  // TODO add more "standard" labels
1671
- { ...refblocks10.right1, labels: ["2"] }
1960
+ { ...refblocks11.right1, labels: ["2"] }
1672
1961
  // TODO add more "standard" labels
1673
1962
  ],
1674
- size: { width: bounds10.width, height: bounds10.height },
1675
- center: { x: bounds10.centerX, y: bounds10.centerY }
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 texts12 = rotatedSymbol6.primitives.filter(
1969
+ var texts13 = rotatedSymbol6.primitives.filter(
1681
1970
  (primitive) => primitive.type === "text"
1682
1971
  );
1683
- var ref4 = texts12.find((text) => text.text === "{REF}");
1684
- var val4 = texts12.find((text) => text.text === "{VAL}");
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;
@@ -1848,68 +2137,259 @@ var diode_default = {
1848
2137
  };
1849
2138
 
1850
2139
  // symbols/diode_horz.ts
1851
- var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11 } = diode_default;
2140
+ var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = diode_default;
1852
2141
  var diode_horz_default = defineSymbol({
1853
2142
  primitives: [
1854
- ...Object.values(paths11),
1855
- { ...texts13.top1, anchor: "middle_bottom" },
1856
- { ...texts13.bottom1, anchor: "middle_top" }
2143
+ ...Object.values(paths12),
2144
+ { ...texts14.top1, anchor: "middle_bottom" },
2145
+ { ...texts14.bottom1, anchor: "middle_top" }
1857
2146
  ],
1858
2147
  ports: [
1859
- { ...refblocks11.left1, labels: ["1"] },
2148
+ { ...refblocks12.left1, labels: ["1"] },
1860
2149
  // TODO add more "standard" labels
1861
- { ...refblocks11.right1, labels: ["2"] }
2150
+ { ...refblocks12.right1, labels: ["2"] }
1862
2151
  // TODO add more "standard" labels
1863
2152
  ],
1864
- size: { width: bounds11.width, height: bounds11.height },
1865
- center: { x: bounds11.centerX, y: bounds11.centerY }
2153
+ size: { width: bounds12.width, height: bounds12.height },
2154
+ center: { x: bounds12.centerX, y: bounds12.centerY }
1866
2155
  });
1867
2156
 
1868
2157
  // symbols/diode_vert.ts
1869
2158
  var diode_vert_default = rotateSymbol(diode_horz_default);
1870
2159
 
1871
- // assets/generated/filled_diode.json
1872
- var filled_diode_default = {
2160
+ // assets/generated/dpst_switch.json
2161
+ var dpst_switch_default = {
1873
2162
  paths: {
1874
2163
  path11: {
1875
2164
  type: "path",
1876
2165
  points: [
1877
2166
  {
1878
- x: -0.5464958295000011,
1879
- y: -0.03674480953641934
2167
+ x: -0.3622268000000006,
2168
+ y: -0.05787995000000046
1880
2169
  },
1881
2170
  {
1882
- x: -0.22498262950000125,
1883
- y: -0.03674480953641934
2171
+ x: -0.1357978000000004,
2172
+ y: -0.05787995000000046
1884
2173
  }
1885
2174
  ],
1886
2175
  color: "primary",
1887
2176
  fill: false
1888
2177
  },
1889
- path12: {
2178
+ "path11-0": {
1890
2179
  type: "path",
1891
2180
  points: [
1892
2181
  {
1893
- x: 0.13950697049999894,
1894
- y: -0.04461410953641942
2182
+ x: -0.12009950000000069,
2183
+ y: -0.0563494500000008
1895
2184
  },
1896
2185
  {
1897
- x: 0.45879767049999964,
1898
- y: -0.04461410953641942
2186
+ x: 0.10307889999999986,
2187
+ y: -0.19603885000000099
1899
2188
  }
1900
2189
  ],
1901
2190
  color: "primary",
1902
2191
  fill: false
1903
2192
  },
1904
- "path12-6": {
2193
+ path12: {
1905
2194
  type: "path",
1906
2195
  points: [
1907
2196
  {
1908
- x: 0.1346534705000002,
1909
- y: 0.1570013904635803
2197
+ x: 0.12795640000000064,
2198
+ y: -0.05787995000000046
1910
2199
  },
1911
2200
  {
1912
- x: 0.13354747050000015,
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
2218
+ }
2219
+ ],
2220
+ color: "primary",
2221
+ fill: false
2222
+ },
2223
+ "path11-0-3": {
2224
+ type: "path",
2225
+ points: [
2226
+ {
2227
+ x: -0.12009979999999998,
2228
+ y: 0.17519474999999973
2229
+ },
2230
+ {
2231
+ x: 0.10307860000000058,
2232
+ y: 0.035505349999999325
2233
+ }
2234
+ ],
2235
+ color: "primary",
2236
+ fill: false
2237
+ },
2238
+ "path12-0": {
2239
+ type: "path",
2240
+ points: [
2241
+ {
2242
+ x: 0.12795610000000002,
2243
+ y: 0.1736642499999992
2244
+ },
2245
+ {
2246
+ x: 0.3686968000000006,
2247
+ y: 0.1736642499999992
2248
+ }
2249
+ ],
2250
+ color: "primary",
2251
+ fill: false
2252
+ }
2253
+ },
2254
+ texts: {
2255
+ top1: {
2256
+ type: "text",
2257
+ text: "{REF}",
2258
+ x: -0.1958158999999995,
2259
+ y: -0.39216264999999995
2260
+ },
2261
+ bottom1: {
2262
+ type: "text",
2263
+ text: "{VAL}",
2264
+ x: -0.029144200000000398,
2265
+ y: 0.40216264999999995
2266
+ }
2267
+ },
2268
+ refblocks: {
2269
+ bottom1: {
2270
+ x: -0.12356020000000001,
2271
+ y: 0.17845394999999975
2272
+ },
2273
+ bottom2: {
2274
+ x: 0.1153169000000005,
2275
+ y: 0.17845394999999975
2276
+ },
2277
+ left1: {
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
2288
+ },
2289
+ right1: {
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
2300
+ }
2301
+ },
2302
+ bounds: {
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
2311
+ },
2312
+ circles: {}
2313
+ };
2314
+
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({
2318
+ primitives: [
2319
+ ...Object.values(paths13),
2320
+ ...Object.values(circles10),
2321
+ { ...texts15.top1, anchor: "middle_bottom", x: 0 },
2322
+ { ...texts15.bottom1, anchor: "middle_top", x: 0 }
2323
+ ],
2324
+ ports: [
2325
+ { ...refblocks13.left1, labels: ["1", "left1"] },
2326
+ // TODO add more "standard" labels
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"] }
2332
+ // TODO add more "standard" labels
2333
+ ],
2334
+ size: { width: bounds13.width, height: bounds13.height },
2335
+ center: { x: bounds13.centerX, y: bounds13.centerY }
2336
+ });
2337
+
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;
2350
+
2351
+ // assets/generated/filled_diode.json
2352
+ var filled_diode_default = {
2353
+ paths: {
2354
+ path11: {
2355
+ type: "path",
2356
+ points: [
2357
+ {
2358
+ x: -0.5464958295000011,
2359
+ y: -0.03674480953641934
2360
+ },
2361
+ {
2362
+ x: -0.22498262950000125,
2363
+ y: -0.03674480953641934
2364
+ }
2365
+ ],
2366
+ color: "primary",
2367
+ fill: false
2368
+ },
2369
+ path12: {
2370
+ type: "path",
2371
+ points: [
2372
+ {
2373
+ x: 0.13950697049999894,
2374
+ y: -0.04461410953641942
2375
+ },
2376
+ {
2377
+ x: 0.45879767049999964,
2378
+ y: -0.04461410953641942
2379
+ }
2380
+ ],
2381
+ color: "primary",
2382
+ fill: false
2383
+ },
2384
+ "path12-6": {
2385
+ type: "path",
2386
+ points: [
2387
+ {
2388
+ x: 0.1346534705000002,
2389
+ y: 0.1570013904635803
2390
+ },
2391
+ {
2392
+ x: 0.13354747050000015,
1913
2393
  y: -0.24621560953641985
1914
2394
  }
1915
2395
  ],
@@ -1984,11 +2464,11 @@ var filled_diode_default = {
1984
2464
  };
1985
2465
 
1986
2466
  // symbols/filled_diode_horz.ts
1987
- var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles9 } = filled_diode_default;
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(paths12),
1991
- ...Object.values(circles9),
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
- { ...refblocks12.left1, labels: ["1"] },
2488
+ { ...refblocks14.left1, labels: ["1"] },
2009
2489
  // TODO add more "standard" labels
2010
- { ...refblocks12.right1, labels: ["2"] }
2490
+ { ...refblocks14.right1, labels: ["2"] }
2011
2491
  // TODO add more "standard" labels
2012
2492
  ],
2013
- size: { width: bounds12.width, height: bounds12.height },
2014
- center: { x: bounds12.centerX, y: bounds12.centerY }
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: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13 } = fuse_default;
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(paths13),
2112
- { ...texts15.top1, anchor: "middle_bottom" },
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
- { ...refblocks13.left1, labels: ["1"] },
2602
+ { ...refblocks15.left1, labels: ["1"] },
2123
2603
  // TODO add more "standard" labels
2124
- { ...refblocks13.right1, labels: ["2"] }
2604
+ { ...refblocks15.right1, labels: ["2"] }
2125
2605
  // TODO add more "standard" labels
2126
2606
  ],
2127
- size: { width: bounds13.width, height: bounds13.height },
2128
- center: { x: bounds13.centerX, y: bounds13.centerY }
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: paths14, texts: texts16, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = gunn_diode_default;
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(paths14),
2256
- ...Object.values(circles10),
2257
- { ...texts16.top1, anchor: "middle_left" },
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
- { ...refblocks14.left1, labels: ["1"] },
2747
+ { ...refblocks16.left1, labels: ["1"] },
2268
2748
  // TODO add more "standard" labels
2269
- { ...refblocks14.right1, labels: ["2"] }
2749
+ { ...refblocks16.right1, labels: ["2"] }
2270
2750
  // TODO add more "standard" labels
2271
2751
  ],
2272
- size: { width: bounds14.width, height: bounds14.height },
2273
- center: { x: bounds14.centerX, y: bounds14.centerY }
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 rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
2278
- var texts17 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
2279
- var ref5 = texts17.find((t) => t.text === "{REF}");
2280
- var val5 = texts17.find((t) => t.text === "{VAL}");
2281
- ref5.x = 0.25;
2282
- ref5.y = -0.045;
2283
- val5.x = -0.55;
2284
- val5.y = 0;
2285
- var gunn_diode_vert_default = rotatedSymbol7;
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: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles11 } = igbt_transistor_default;
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(paths15),
2470
- ...Object.values(circles11),
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
- { ...refblocks15.top1, labels: ["1"] },
2967
+ { ...refblocks17.top1, labels: ["1"] },
2488
2968
  // TODO add more "standard" labels
2489
- { ...refblocks15.bottom1, labels: ["2"] },
2969
+ { ...refblocks17.bottom1, labels: ["2"] },
2490
2970
  // TODO add more "standard" labels
2491
- { ...refblocks15.left1, labels: ["3"] }
2971
+ { ...refblocks17.left1, labels: ["3"] }
2492
2972
  // TODO add more "standard" labels
2493
2973
  ],
2494
- size: { width: bounds15.width, height: bounds15.height },
2495
- center: { x: bounds15.centerX + 0.06, y: bounds15.centerY }
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 ref6 = rotated2.primitives.find(
2980
+ var ref7 = rotated2.primitives.find(
2501
2981
  (p) => p.type === "text" && p.text === "{REF}"
2502
2982
  );
2503
- var val6 = rotated2.primitives.find(
2983
+ var val7 = rotated2.primitives.find(
2504
2984
  (p) => p.type === "text" && p.text === "{VAL}"
2505
2985
  );
2506
- ref6.anchor = "middle_left";
2507
- val6.anchor = "middle_right";
2508
- ref6.x = 0.45;
2509
- ref6.y += 0.065;
2510
- val6.y += 0.065;
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: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16, circles: circles12 } = laser_diode_default;
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(paths16),
2757
- ...Object.values(circles12),
2758
- { ...texts19.top1, anchor: "middle_left" },
2759
- { ...texts19.bottom1, anchor: "middle_bottom" }
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
- { ...refblocks16.left1, labels: ["1"] },
3242
+ { ...refblocks18.left1, labels: ["1"] },
2763
3243
  // TODO add more "standard" labels
2764
- { ...refblocks16.right1, labels: ["2"] }
3244
+ { ...refblocks18.right1, labels: ["2"] }
2765
3245
  // TODO add more "standard" labels
2766
3246
  ],
2767
- size: { width: bounds16.width, height: bounds16.height },
2768
- center: { x: bounds16.centerX, y: bounds16.centerY }
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 rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
2773
- var texts20 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
2774
- var ref7 = texts20.find((t) => t.text === "{VAL}");
2775
- ref7.x = -0.52;
2776
- ref7.anchor = "middle_right";
2777
- var laser_diode_vert_default = rotatedSymbol8;
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: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17 } = led_default;
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(paths17),
2999
- { ...texts21.bottom1, anchor: "middle_right" },
3000
- { ...texts21.right1, anchor: "middle_left" }
3478
+ ...Object.values(paths19),
3479
+ { ...texts24.bottom1, anchor: "middle_right" },
3480
+ { ...texts24.right1, anchor: "middle_left" }
3001
3481
  ],
3002
3482
  ports: [
3003
- { ...refblocks17.left1, labels: ["1", "anode", "pos"] },
3004
- { ...refblocks17.right1, labels: ["2", "cathode", "neg"] }
3483
+ { ...refblocks19.left1, labels: ["1", "anode", "pos"] },
3484
+ { ...refblocks19.right1, labels: ["2", "cathode", "neg"] }
3005
3485
  ],
3006
- size: { width: bounds17.width, height: bounds17.height },
3007
- center: { x: bounds17.centerX, y: bounds17.centerY + 0.1 }
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 ref8 = rotated3.primitives.find(
3492
+ var ref9 = rotated3.primitives.find(
3013
3493
  (p) => p.type === "text" && p.text === "{REF}"
3014
3494
  );
3015
- var val7 = rotated3.primitives.find(
3495
+ var val8 = rotated3.primitives.find(
3016
3496
  (p) => p.type === "text" && p.text === "{VAL}"
3017
3497
  );
3018
- ref8.anchor = "middle_left";
3019
- val7.anchor = "middle_right";
3020
- ref8.x += 0.1;
3021
- ref8.y += 0.017;
3022
- val7.y = ref8.y;
3023
- val7.x = -0.3;
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: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18 } = mosfet_depletion_normally_on_default;
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(paths18),
3301
- { ...texts22.right1, anchor: "middle_left" },
3302
- { ...texts22.right2, anchor: "middle_left" }
3780
+ ...Object.values(paths20),
3781
+ { ...texts25.right1, anchor: "middle_left" },
3782
+ { ...texts25.right2, anchor: "middle_left" }
3303
3783
  ],
3304
3784
  ports: [
3305
- { ...refblocks18.top1, labels: ["1"] },
3785
+ { ...refblocks20.top1, labels: ["1"] },
3306
3786
  // TODO add more "standard" labels
3307
- { ...refblocks18.bottom1, labels: ["2"] },
3787
+ { ...refblocks20.bottom1, labels: ["2"] },
3308
3788
  // TODO add more "standard" labels
3309
- { ...refblocks18.left1, labels: ["3"] }
3789
+ { ...refblocks20.left1, labels: ["3"] }
3310
3790
  // TODO add more "standard" labels
3311
3791
  ],
3312
- size: { width: bounds18.width + 0.4, height: bounds18.height },
3313
- center: { x: bounds18.centerX + 0.2, y: bounds18.centerY }
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 ref9 = rotated4.primitives.find(
3798
+ var ref10 = rotated4.primitives.find(
3319
3799
  (p) => p.type === "text" && p.text === "{REF}"
3320
3800
  );
3321
- var val8 = rotated4.primitives.find(
3801
+ var val9 = rotated4.primitives.find(
3322
3802
  (p) => p.type === "text" && p.text === "{VAL}"
3323
3803
  );
3324
- ref9.anchor = "middle_top";
3325
- val8.anchor = "middle_top";
3326
- ref9.x = val8.x;
3327
- val8.y += 0.15;
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: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = mushroom_head_normally_open_momentary_default;
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(paths19),
3943
- ...Object.values(circles13),
3944
- { ...texts23.top1, anchor: "middle_bottom", x: 0 },
3945
- { ...texts23.bottom1, anchor: "middle_top", x: 0 }
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
- { ...refblocks19.left1, labels: ["1"] },
3949
- { ...refblocks19.right1, labels: ["2"] }
4428
+ { ...refblocks21.left1, labels: ["1"] },
4429
+ { ...refblocks21.right1, labels: ["2"] }
3950
4430
  ],
3951
- size: { width: bounds19.width, height: bounds19.height },
3952
- center: { x: bounds19.centerX + 6e-3, y: bounds19.centerY + 0.06 }
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 ref10 = rotated5.primitives.find(
4437
+ var ref11 = rotated5.primitives.find(
3958
4438
  (p) => p.type === "text" && p.text === "{REF}"
3959
4439
  );
3960
- var val9 = rotated5.primitives.find(
4440
+ var val10 = rotated5.primitives.find(
3961
4441
  (p) => p.type === "text" && p.text === "{VAL}"
3962
4442
  );
3963
- ref10.anchor = "middle_left";
3964
- val9.anchor = "middle_right";
3965
- ref10.x = ref10.x - 0.03;
3966
- ref10.y = ref10.y;
3967
- val9.x = val9.x;
3968
- val9.y = 0;
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: paths20, texts: texts24, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = n_channel_d_mosfet_transistor_default;
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(paths20),
4169
- ...Object.values(circles14),
4170
- { ...texts24.top1, anchor: "middle_right", x: 0 },
4171
- { ...texts24.bottom1, anchor: "middle_right", x: 0 }
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
- { ...refblocks20.top1, labels: ["1", "drain"] },
4654
+ { ...refblocks22.top1, labels: ["1", "drain"] },
4175
4655
  // TODO add more "standard" labels
4176
- { ...refblocks20.bottom1, labels: ["2", "source"] },
4656
+ { ...refblocks22.bottom1, labels: ["2", "source"] },
4177
4657
  // TODO add more "standard" labels
4178
- { ...refblocks20.left1, labels: ["3", "gate"] }
4658
+ { ...refblocks22.left1, labels: ["3", "gate"] }
4179
4659
  // TODO add more "standard" labels
4180
4660
  ],
4181
- size: { width: bounds20.width, height: bounds20.height },
4182
- center: { x: bounds20.centerX, y: bounds20.centerY }
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 rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
4187
- var texts25 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
4188
- var val10 = texts25.find((t) => t.text === "{VAL}");
4189
- val10.x = -0.35;
4190
- val10.y = 0;
4191
- val10.anchor = "middle_right";
4192
- var ref11 = texts25.find((t) => t.text === "{REF}");
4193
- ref11.y = 0;
4194
- ref11.x = 0.35;
4195
- ref11.anchor = "middle_left";
4196
- var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
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: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = n_channel_e_mosfet_transistor_default;
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(paths21),
4426
- ...Object.values(circles15),
4427
- { ...texts26.top1, anchor: "middle_right", x: 0 },
4428
- { ...texts26.bottom1, anchor: "middle_right", x: 0 }
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
- { ...refblocks21.top1, labels: ["1", "drain"] },
4911
+ { ...refblocks23.top1, labels: ["1", "drain"] },
4432
4912
  // TODO add more "standard" labels
4433
- { ...refblocks21.bottom1, labels: ["2", "source"] },
4913
+ { ...refblocks23.bottom1, labels: ["2", "source"] },
4434
4914
  // TODO add more "standard" labels
4435
- { ...refblocks21.left1, labels: ["3", "gate"] }
4915
+ { ...refblocks23.left1, labels: ["3", "gate"] }
4436
4916
  // TODO add more "standard" labels
4437
4917
  ],
4438
- size: { width: bounds21.width, height: bounds21.height },
4439
- center: { x: bounds21.centerX, y: bounds21.centerY }
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 rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
4444
- var texts27 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
4445
- var val11 = texts27.find((t) => t.text === "{VAL}");
4446
- val11.x = -0.35;
4447
- val11.y = 0;
4448
- val11.anchor = "middle_right";
4449
- var ref12 = texts27.find((t) => t.text === "{REF}");
4450
- ref12.y = 0;
4451
- ref12.x = 0.35;
4452
- ref12.anchor = "middle_left";
4453
- var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol10;
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: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = njfet_transistor_default;
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(paths22),
4623
- ...Object.values(circles16),
4624
- { ...texts28.top1, anchor: "middle_right", x: 0 },
4625
- { ...texts28.bottom1, anchor: "middle_right", x: 0 }
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
- { ...refblocks22.top1, labels: ["1", "drain"] },
5108
+ { ...refblocks24.top1, labels: ["1", "drain"] },
4629
5109
  // TODO add more "standard" labels
4630
- { ...refblocks22.bottom1, labels: ["2", "source"] },
5110
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
4631
5111
  // TODO add more "standard" labels
4632
- { ...refblocks22.left1, labels: ["3", "gate"] }
5112
+ { ...refblocks24.left1, labels: ["3", "gate"] }
4633
5113
  // TODO add more "standard" labels
4634
5114
  ],
4635
- size: { width: bounds22.width, height: bounds22.height },
4636
- center: { x: bounds22.centerX, y: bounds22.centerY }
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 rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
4641
- var texts29 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
4642
- var val12 = texts29.find((t) => t.text === "{VAL}");
4643
- val12.x = -0.35;
4644
- val12.y = 0;
4645
- val12.anchor = "middle_right";
4646
- var ref13 = texts29.find((t) => t.text === "{REF}");
4647
- ref13.y = 0;
4648
- ref13.x = 0.35;
4649
- ref13.anchor = "middle_left";
4650
- var njfet_transistor_vert_default = rotatedSymbol11;
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: paths23, texts: texts30, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = npn_bipolar_transistor_default;
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(paths23),
4820
- ...Object.values(circles17),
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
- { ...refblocks23.top1, labels: ["1", "collector"] },
4838
- { ...refblocks23.bottom1, labels: ["2", "emitter"] },
4839
- { ...refblocks23.left1, labels: ["3", "base"] }
5317
+ { ...refblocks25.top1, labels: ["1", "collector"] },
5318
+ { ...refblocks25.bottom1, labels: ["2", "emitter"] },
5319
+ { ...refblocks25.left1, labels: ["3", "base"] }
4840
5320
  ],
4841
- size: { width: bounds23.width, height: bounds23.height },
4842
- center: { x: bounds23.centerX, y: bounds23.centerY }
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 rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
4847
- var texts31 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
4848
- var ref14 = texts31.find((t) => t.text === "{REF}");
4849
- ref14.anchor = "middle_left";
4850
- var npn_bipolar_transistor_vert_default = rotatedSymbol12;
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: paths24, texts: texts32, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = p_channel_d_mosfet_transistor_default;
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(paths24),
5050
- ...Object.values(circles18),
5051
- { ...texts32.top1, anchor: "middle_right", x: 0 },
5052
- { ...texts32.bottom1, anchor: "middle_right", x: 0 }
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
- { ...refblocks24.top1, labels: ["1", "drain"] },
5535
+ { ...refblocks26.top1, labels: ["1", "drain"] },
5056
5536
  // TODO add more "standard" labels
5057
- { ...refblocks24.bottom1, labels: ["2", "source"] },
5537
+ { ...refblocks26.bottom1, labels: ["2", "source"] },
5058
5538
  // TODO add more "standard" labels
5059
- { ...refblocks24.left1, labels: ["3", "gate"] }
5539
+ { ...refblocks26.left1, labels: ["3", "gate"] }
5060
5540
  // TODO add more "standard" labels
5061
5541
  ],
5062
- size: { width: bounds24.width, height: bounds24.height },
5063
- center: { x: bounds24.centerX, y: bounds24.centerY }
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 rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
5068
- var texts33 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
5069
- var val13 = texts33.find((t) => t.text === "{VAL}");
5070
- val13.x = -0.35;
5071
- val13.y = 0;
5072
- val13.anchor = "middle_right";
5073
- var ref15 = texts33.find((t) => t.text === "{REF}");
5074
- ref15.y = 0;
5075
- ref15.x = 0.35;
5076
- ref15.anchor = "middle_left";
5077
- var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
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: paths25, texts: texts34, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = p_channel_e_mosfet_transistor_default;
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(paths25),
5307
- ...Object.values(circles19),
5308
- { ...texts34.top1, anchor: "middle_right", x: 0 },
5309
- { ...texts34.bottom1, anchor: "middle_right", x: 0 }
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
- { ...refblocks25.top1, labels: ["1", "drain"] },
5792
+ { ...refblocks27.top1, labels: ["1", "drain"] },
5313
5793
  // TODO add more "standard" labels
5314
- { ...refblocks25.bottom1, labels: ["2", "source"] },
5794
+ { ...refblocks27.bottom1, labels: ["2", "source"] },
5315
5795
  // TODO add more "standard" labels
5316
- { ...refblocks25.left1, labels: ["3", "gate"] }
5796
+ { ...refblocks27.left1, labels: ["3", "gate"] }
5317
5797
  // TODO add more "standard" labels
5318
5798
  ],
5319
- size: { width: bounds25.width, height: bounds25.height },
5320
- center: { x: bounds25.centerX, y: bounds25.centerY }
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 rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
5325
- var texts35 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
5326
- var val14 = texts35.find((t) => t.text === "{VAL}");
5327
- val14.x = -0.35;
5328
- val14.y = 0;
5329
- val14.anchor = "middle_right";
5330
- var ref16 = texts35.find((t) => t.text === "{REF}");
5331
- ref16.y = 0;
5332
- ref16.x = 0.35;
5333
- ref16.anchor = "middle_left";
5334
- var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
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: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = photodiode_default;
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(paths26),
5565
- ...Object.values(circles20),
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
- { ...refblocks26.left1, labels: ["1"] },
6062
+ { ...refblocks28.left1, labels: ["1"] },
5583
6063
  // TODO add more "standard" labels
5584
- { ...refblocks26.right1, labels: ["2"] }
6064
+ { ...refblocks28.right1, labels: ["2"] }
5585
6065
  // TODO add more "standard" labels
5586
6066
  ],
5587
- size: { width: bounds26.width, height: bounds26.height },
5588
- center: { x: bounds26.centerX, y: bounds26.centerY }
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 rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
5593
- var texts37 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
5594
- var ref17 = texts37.find((t) => t.text === "{REF}");
5595
- ref17.y = 0;
5596
- ref17.anchor = "middle_left";
5597
- var photodiode_vert_default = rotatedSymbol15;
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: paths27, texts: texts38, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = pjfet_transistor_default;
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(paths27),
5767
- ...Object.values(circles21),
5768
- { ...texts38.top1, anchor: "middle_right", x: 0 },
5769
- { ...texts38.bottom1, anchor: "middle_right" }
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
- { ...refblocks27.top1, labels: ["1", "drain"] },
6252
+ { ...refblocks29.top1, labels: ["1", "drain"] },
5773
6253
  // TODO add more "standard" labels
5774
- { ...refblocks27.bottom1, labels: ["2", "source"] },
6254
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
5775
6255
  // TODO add more "standard" labels
5776
- { ...refblocks27.left1, labels: ["3", "gate"] }
6256
+ { ...refblocks29.left1, labels: ["3", "gate"] }
5777
6257
  // TODO add more "standard" labels
5778
6258
  ],
5779
- size: { width: bounds27.width, height: bounds27.height },
5780
- center: { x: bounds27.centerX, y: bounds27.centerY }
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 rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
5785
- var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
5786
- var val15 = texts39.find((t) => t.text === "{VAL}");
5787
- val15.x = -0.35;
5788
- val15.y = 0;
5789
- val15.anchor = "middle_right";
5790
- var ref18 = texts39.find((t) => t.text === "{REF}");
5791
- ref18.y = 0;
5792
- ref18.x = 0.35;
5793
- ref18.anchor = "middle_left";
5794
- var pjfet_transistor_vert_default = rotatedSymbol16;
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: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = pnp_bipolar_transistor_default;
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(paths28),
5964
- ...Object.values(circles22),
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
- { ...refblocks28.top1, labels: ["1", "collector"] },
5982
- { ...refblocks28.bottom1, labels: ["2", "emitter"] },
5983
- { ...refblocks28.left1, labels: ["3", "base"] }
6461
+ { ...refblocks30.top1, labels: ["1", "collector"] },
6462
+ { ...refblocks30.bottom1, labels: ["2", "emitter"] },
6463
+ { ...refblocks30.left1, labels: ["3", "base"] }
5984
6464
  ],
5985
- size: { width: bounds28.width, height: bounds28.height },
5986
- center: { x: bounds28.centerX, y: bounds28.centerY }
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 rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
5991
- var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
5992
- var ref19 = texts41.find((t) => t.text === "{REF}");
5993
- ref19.anchor = "middle_left";
5994
- var pnp_bipolar_transistor_vert_default = rotatedSymbol17;
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: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = potentiometer_default;
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(paths29),
6115
- { ...texts42.bottom1, y: 0.35, anchor: "middle_top" },
6116
- { ...texts42.top1, anchor: "middle_left" }
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
- { ...refblocks29.left1, labels: ["1"] },
6599
+ { ...refblocks31.left1, labels: ["1"] },
6120
6600
  // TODO add more "standard" labels
6121
- { ...refblocks29.right1, labels: ["2"] }
6601
+ { ...refblocks31.right1, labels: ["2"] }
6122
6602
  // TODO add more "standard" labels
6123
6603
  ],
6124
- size: { width: bounds29.width + 0.05, height: bounds29.height },
6125
- center: { x: bounds29.centerX, y: bounds29.centerY }
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: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30 } = potentiometer2_default;
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(paths30),
6292
- { ...texts43.bottom1, anchor: "middle_right" },
6293
- { ...texts43.top1, anchor: "middle_left" }
6771
+ ...Object.values(paths32),
6772
+ { ...texts46.bottom1, anchor: "middle_right" },
6773
+ { ...texts46.top1, anchor: "middle_left" }
6294
6774
  ],
6295
6775
  ports: [
6296
- { ...refblocks30.left1, labels: ["1"] },
6776
+ { ...refblocks32.left1, labels: ["1"] },
6297
6777
  // TODO add more "standard" labels
6298
- { ...refblocks30.right1, labels: ["2"] }
6778
+ { ...refblocks32.right1, labels: ["2"] }
6299
6779
  // TODO add more "standard" labels
6300
6780
  ],
6301
- size: { width: bounds30.width, height: bounds30.height },
6302
- center: { x: bounds30.centerX, y: bounds30.centerY }
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: paths31, texts: texts44, bounds: bounds31, refblocks: refblocks31, circles: circles23 } = power_factor_meter_default;
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(paths31),
6399
- ...Object.values(circles23),
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
- { ...refblocks31.left1, labels: ["1"] },
6906
+ { ...refblocks33.left1, labels: ["1"] },
6427
6907
  // TODO add more "standard" labels
6428
- { ...refblocks31.right1, labels: ["2"] }
6908
+ { ...refblocks33.right1, labels: ["2"] }
6429
6909
  // TODO add more "standard" labels
6430
6910
  ],
6431
- size: { width: bounds31.width, height: bounds31.height },
6432
- center: { x: bounds31.centerX, y: bounds31.centerY }
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 rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
6437
- var texts45 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
6438
- var ref20 = texts45.find((t) => t.text === "{REF}");
6439
- var val16 = texts45.find((t) => t.text === "{VAL}");
6440
- var text_cos = texts45.find((t) => t.text === "COS \u03C6");
6441
- ref20.x = 0.35;
6442
- ref20.y = 0;
6443
- val16.x = -0.6;
6444
- val16.y = 0;
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 = rotatedSymbol18;
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: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = push_button_normally_closed_momentary_default;
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(paths32),
6555
- { ...texts46.top1, anchor: "middle_bottom" },
6556
- { ...texts46.bottom1, anchor: "middle_top" }
7034
+ ...Object.values(paths34),
7035
+ { ...texts49.top1, anchor: "middle_bottom" },
7036
+ { ...texts49.bottom1, anchor: "middle_top" }
6557
7037
  ],
6558
7038
  ports: [
6559
- { ...refblocks32.left1, labels: ["1"] },
7039
+ { ...refblocks34.left1, labels: ["1"] },
6560
7040
  // TODO add more "standard" labels
6561
- { ...refblocks32.right1, labels: ["2"] }
7041
+ { ...refblocks34.right1, labels: ["2"] }
6562
7042
  // TODO add more "standard" labels
6563
7043
  ],
6564
- size: { width: bounds32.width, height: bounds32.height },
6565
- center: { x: bounds32.centerX, y: bounds32.centerY }
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 ref21 = rotated7.primitives.find(
7050
+ var ref22 = rotated7.primitives.find(
6571
7051
  (p) => p.type === "text" && p.text === "{REF}"
6572
7052
  );
6573
- var val17 = rotated7.primitives.find(
7053
+ var val18 = rotated7.primitives.find(
6574
7054
  (p) => p.type === "text" && p.text === "{VAL}"
6575
7055
  );
6576
- ref21.anchor = "middle_left";
6577
- val17.anchor = "middle_right";
6578
- ref21.x = ref21.x - 0.03;
6579
- ref21.y = ref21.y;
6580
- val17.x = val17.x;
6581
- val17.y = 0;
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
@@ -6588,57 +7068,492 @@ var push_button_normally_open_momentary_default = {
6588
7068
  type: "path",
6589
7069
  points: [
6590
7070
  {
6591
- x: 0.005962250000000502,
6592
- y: -0.14781649999999757
7071
+ x: 0.005962250000000502,
7072
+ y: -0.14781649999999757
7073
+ },
7074
+ {
7075
+ x: 0.005962250000000502,
7076
+ y: -0.03142349999999894
7077
+ }
7078
+ ],
7079
+ color: "primary",
7080
+ fill: false
7081
+ },
7082
+ "path12-1-5-6": {
7083
+ type: "path",
7084
+ points: [
7085
+ {
7086
+ x: -0.48740705000000073,
7087
+ y: 0.05648450000000338
7088
+ },
7089
+ {
7090
+ x: -0.17310075000000058,
7091
+ y: 0.05648450000000338
7092
+ }
7093
+ ],
7094
+ color: "primary",
7095
+ fill: false
7096
+ },
7097
+ "path12-1-8-0": {
7098
+ type: "path",
7099
+ points: [
7100
+ {
7101
+ x: -0.16008695000000017,
7102
+ y: -0.02584949999999786
7103
+ },
7104
+ {
7105
+ x: 0.1719709499999995,
7106
+ y: -0.02584949999999786
7107
+ }
7108
+ ],
7109
+ color: "primary",
7110
+ fill: false
7111
+ },
7112
+ "path12-1-0": {
7113
+ type: "path",
7114
+ points: [
7115
+ {
7116
+ x: 0.1954987499999996,
7117
+ y: 0.05609550000000141
7118
+ },
7119
+ {
7120
+ x: 0.4881436499999996,
7121
+ y: 0.05609550000000141
7122
+ }
7123
+ ],
7124
+ color: "primary",
7125
+ fill: false
7126
+ }
7127
+ },
7128
+ texts: {
7129
+ top1: {
7130
+ type: "text",
7131
+ text: "{REF}",
7132
+ x: 0.006701050000000208,
7133
+ y: -0.2196184999999975
7134
+ },
7135
+ bottom1: {
7136
+ type: "text",
7137
+ text: "{VAL}",
7138
+ x: -0.16130964999999975,
7139
+ y: 0.22961850000000084
7140
+ }
7141
+ },
7142
+ refblocks: {
7143
+ left1: {
7144
+ x: -0.4717985499999999,
7145
+ y: 0.05645750000000227
7146
+ },
7147
+ right1: {
7148
+ x: 0.4717985499999999,
7149
+ y: 0.05648250000000132
7150
+ }
7151
+ },
7152
+ bounds: {
7153
+ minX: -0.4999569909999999,
7154
+ maxX: 0.4999569909999999,
7155
+ minY: -0.3196184999999975,
7156
+ maxY: 0.22961850000000084,
7157
+ width: 0.9999139819999998,
7158
+ height: 0.19923699999999833,
7159
+ centerX: 0,
7160
+ centerY: -0.04499999999999832
7161
+ },
7162
+ circles: {}
7163
+ };
7164
+
7165
+ // symbols/push_button_normally_open_momentary_horz.ts
7166
+ var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35 } = push_button_normally_open_momentary_default;
7167
+ var push_button_normally_open_momentary_horz_default = defineSymbol({
7168
+ primitives: [
7169
+ ...Object.values(paths35),
7170
+ { ...texts50.top1, anchor: "middle_bottom" },
7171
+ { ...texts50.bottom1, anchor: "middle_top" }
7172
+ ],
7173
+ ports: [
7174
+ { ...refblocks35.left1, labels: ["1"] },
7175
+ // TODO add more "standard" labels
7176
+ { ...refblocks35.right1, labels: ["2"] }
7177
+ // TODO add more "standard" labels
7178
+ ],
7179
+ size: { width: bounds35.width, height: bounds35.height },
7180
+ center: { x: bounds35.centerX, y: bounds35.centerY }
7181
+ });
7182
+
7183
+ // symbols/push_button_normally_open_momentary_vert.ts
7184
+ var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
7185
+ var ref23 = rotated8.primitives.find(
7186
+ (p) => p.type === "text" && p.text === "{REF}"
7187
+ );
7188
+ var val19 = rotated8.primitives.find(
7189
+ (p) => p.type === "text" && p.text === "{VAL}"
7190
+ );
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;
7197
+ var push_button_normally_open_momentary_vert_default = rotated8;
7198
+
7199
+ // assets/generated/rectifier_diode.json
7200
+ var rectifier_diode_default = {
7201
+ paths: {
7202
+ path40: {
7203
+ type: "path",
7204
+ points: [
7205
+ {
7206
+ x: -0.19250837381256392,
7207
+ y: -0.32749349347032286
7208
+ },
7209
+ {
7210
+ x: -0.25568957329611974,
7211
+ y: -0.13794979950157282
7212
+ }
7213
+ ],
7214
+ color: "primary",
7215
+ fill: false
7216
+ },
7217
+ path41: {
7218
+ type: "path",
7219
+ points: [
7220
+ {
7221
+ x: -0.38205206778131373,
7222
+ y: -0.26431229398676837
7223
+ },
7224
+ {
7225
+ x: -0.19250837381256392,
7226
+ y: -0.32749349347032286
7227
+ }
7228
+ ],
7229
+ color: "primary",
7230
+ fill: false
7231
+ },
7232
+ path42: {
7233
+ type: "path",
7234
+ points: [
7235
+ {
7236
+ x: -0.2556895732961204,
7237
+ y: -0.13794979950157416
7238
+ },
7239
+ {
7240
+ x: -0.38205206778131373,
7241
+ y: -0.26431229398676837
7242
+ }
7243
+ ],
7244
+ color: "primary",
7245
+ fill: false
7246
+ },
7247
+ path43: {
7248
+ type: "path",
7249
+ points: [
7250
+ {
7251
+ x: -0.2556896210551609,
7252
+ y: -0.39067474071292196
7253
+ },
7254
+ {
7255
+ x: -0.12932712656996737,
7256
+ y: -0.26431224622772653
7257
+ }
7258
+ ],
7259
+ color: "primary",
7260
+ fill: false
7261
+ },
7262
+ path44: {
7263
+ type: "path",
7264
+ points: [
7265
+ {
7266
+ x: -0.3199237641156438,
7267
+ y: -0.2000781031672434
7268
+ },
7269
+ {
7270
+ x: -0.5084145145074668,
7271
+ y: -0.011587352775420667
7272
+ }
7273
+ ],
7274
+ color: "primary",
7275
+ fill: false
7276
+ },
7277
+ "path44-0": {
7278
+ type: "path",
7279
+ points: [
7280
+ {
7281
+ x: -0.011560829633404435,
7282
+ y: -0.5083596562436202
7283
+ },
7284
+ {
7285
+ x: -0.19004023433272543,
7286
+ y: -0.3298802515442989
7287
+ }
7288
+ ],
7289
+ color: "primary",
7290
+ fill: false
7291
+ },
7292
+ "path40-4": {
7293
+ type: "path",
7294
+ points: [
7295
+ {
7296
+ x: -0.19250813152967883,
7297
+ y: 0.3220463011874377
7298
+ },
7299
+ {
7300
+ x: -0.38205182549842887,
7301
+ y: 0.2588651017038819
7302
+ }
7303
+ ],
7304
+ color: "primary",
7305
+ fill: false
7306
+ },
7307
+ "path41-1": {
7308
+ type: "path",
7309
+ points: [
7310
+ {
7311
+ x: -0.2556893310132333,
7312
+ y: 0.13250260721868767
7313
+ },
7314
+ {
7315
+ x: -0.19250813152967883,
7316
+ y: 0.3220463011874377
7317
+ }
7318
+ ],
7319
+ color: "primary",
7320
+ fill: false
7321
+ },
7322
+ "path42-7": {
7323
+ type: "path",
7324
+ points: [
7325
+ {
7326
+ x: -0.38205182549842753,
7327
+ y: 0.258865101703881
7328
+ },
7329
+ {
7330
+ x: -0.2556893310132333,
7331
+ y: 0.13250260721868767
7332
+ }
7333
+ ],
7334
+ color: "primary",
7335
+ fill: false
7336
+ },
7337
+ "path43-1": {
7338
+ type: "path",
7339
+ points: [
7340
+ {
7341
+ x: -0.12932688428707984,
7342
+ y: 0.2588650539448407
7343
+ },
7344
+ {
7345
+ x: -0.25568937877227516,
7346
+ y: 0.38522754843003404
7347
+ }
7348
+ ],
7349
+ color: "primary",
7350
+ fill: false
7351
+ },
7352
+ "path44-8": {
7353
+ type: "path",
7354
+ points: [
7355
+ {
7356
+ x: -0.3199235218327583,
7357
+ y: 0.19463091088435758
7358
+ },
7359
+ {
7360
+ x: -0.508414272224581,
7361
+ y: 0.006140160492534852
7362
+ }
7363
+ ],
7364
+ color: "primary",
7365
+ fill: false
7366
+ },
7367
+ "path44-0-7": {
7368
+ type: "path",
7369
+ points: [
7370
+ {
7371
+ x: -0.011641968756381349,
7372
+ y: 0.5029938453665972
7373
+ },
7374
+ {
7375
+ x: -0.1901213734557028,
7376
+ y: 0.3245144406672762
7377
+ }
7378
+ ],
7379
+ color: "primary",
7380
+ fill: false
7381
+ },
7382
+ "path40-4-0": {
7383
+ type: "path",
7384
+ points: [
7385
+ {
7386
+ x: 0.322578868470321,
7387
+ y: -0.19315369881256328
7388
+ },
7389
+ {
7390
+ x: 0.13303517450157099,
7391
+ y: -0.2563348982961191
7392
+ }
7393
+ ],
7394
+ color: "primary",
7395
+ fill: false
7396
+ },
7397
+ "path41-1-2": {
7398
+ type: "path",
7399
+ points: [
7400
+ {
7401
+ x: 0.2593976689867663,
7402
+ y: -0.3826973927813131
7403
+ },
7404
+ {
7405
+ x: 0.322578868470321,
7406
+ y: -0.19315369881256328
7407
+ }
7408
+ ],
7409
+ color: "primary",
7410
+ fill: false
7411
+ },
7412
+ "path42-7-1": {
7413
+ type: "path",
7414
+ points: [
7415
+ {
7416
+ x: 0.13303517450157232,
7417
+ y: -0.2563348982961198
7418
+ },
7419
+ {
7420
+ x: 0.2593976689867663,
7421
+ y: -0.3826973927813131
7422
+ }
7423
+ ],
7424
+ color: "primary",
7425
+ fill: false
7426
+ },
7427
+ "path43-1-8": {
7428
+ type: "path",
7429
+ points: [
7430
+ {
7431
+ x: 0.38576011571292,
7432
+ y: -0.2563349460551603
7433
+ },
7434
+ {
7435
+ x: 0.2593976212277247,
7436
+ y: -0.12997245156996673
7437
+ }
7438
+ ],
7439
+ color: "primary",
7440
+ fill: false
7441
+ },
7442
+ "path44-8-7": {
7443
+ type: "path",
7444
+ points: [
7445
+ {
7446
+ x: 0.19516347816724133,
7447
+ y: -0.3205690891156432
7448
+ },
7449
+ {
7450
+ x: 0.006672727775418608,
7451
+ y: -0.509059839507466
7452
+ }
7453
+ ],
7454
+ color: "primary",
7455
+ fill: false
7456
+ },
7457
+ "path44-0-7-1": {
7458
+ type: "path",
7459
+ points: [
7460
+ {
7461
+ x: 0.5034450312436185,
7462
+ y: -0.012206154633403798
7463
+ },
7464
+ {
7465
+ x: 0.32496562654429706,
7466
+ y: -0.19068555933272457
7467
+ }
7468
+ ],
7469
+ color: "primary",
7470
+ fill: false
7471
+ },
7472
+ "path40-4-8": {
7473
+ type: "path",
7474
+ points: [
7475
+ {
7476
+ x: 0.3220220261874358,
7477
+ y: 0.19326390652967795
6593
7478
  },
6594
7479
  {
6595
- x: 0.005962250000000502,
6596
- y: -0.03142349999999894
7480
+ x: 0.25884082670387976,
7481
+ y: 0.382807600498428
6597
7482
  }
6598
7483
  ],
6599
7484
  color: "primary",
6600
7485
  fill: false
6601
7486
  },
6602
- "path12-1-5-6": {
7487
+ "path41-1-4": {
6603
7488
  type: "path",
6604
7489
  points: [
6605
7490
  {
6606
- x: -0.48740705000000073,
6607
- y: 0.05648450000000338
7491
+ x: 0.13247833221868577,
7492
+ y: 0.25644510601323245
6608
7493
  },
6609
7494
  {
6610
- x: -0.17310075000000058,
6611
- y: 0.05648450000000338
7495
+ x: 0.3220220261874358,
7496
+ y: 0.19326390652967795
6612
7497
  }
6613
7498
  ],
6614
7499
  color: "primary",
6615
7500
  fill: false
6616
7501
  },
6617
- "path12-1-8-0": {
7502
+ "path42-7-0": {
6618
7503
  type: "path",
6619
7504
  points: [
6620
7505
  {
6621
- x: -0.16008695000000017,
6622
- y: -0.02584949999999786
7506
+ x: 0.2588408267038793,
7507
+ y: 0.38280760049842666
6623
7508
  },
6624
7509
  {
6625
- x: 0.1719709499999995,
6626
- y: -0.02584949999999786
7510
+ x: 0.13247833221868577,
7511
+ y: 0.25644510601323245
6627
7512
  }
6628
7513
  ],
6629
7514
  color: "primary",
6630
7515
  fill: false
6631
7516
  },
6632
- "path12-1-0": {
7517
+ "path43-1-0": {
6633
7518
  type: "path",
6634
7519
  points: [
6635
7520
  {
6636
- x: 0.1954987499999996,
6637
- y: 0.05609550000000141
7521
+ x: 0.2588407789448386,
7522
+ y: 0.13008265928707896
6638
7523
  },
6639
7524
  {
6640
- x: 0.4881436499999996,
6641
- y: 0.05609550000000141
7525
+ x: 0.38520327343003213,
7526
+ y: 0.2564451537722743
7527
+ }
7528
+ ],
7529
+ color: "primary",
7530
+ fill: false
7531
+ },
7532
+ "path44-8-9": {
7533
+ type: "path",
7534
+ points: [
7535
+ {
7536
+ x: 0.19460663588435567,
7537
+ y: 0.3206792968327574
7538
+ },
7539
+ {
7540
+ x: 0.0061158854925329464,
7541
+ y: 0.5091700472245801
7542
+ }
7543
+ ],
7544
+ color: "primary",
7545
+ fill: false
7546
+ },
7547
+ "path44-0-7-3": {
7548
+ type: "path",
7549
+ points: [
7550
+ {
7551
+ x: 0.5029695703665951,
7552
+ y: 0.012397743756380697
7553
+ },
7554
+ {
7555
+ x: 0.3244901656672745,
7556
+ y: 0.19087714845570192
6642
7557
  }
6643
7558
  ],
6644
7559
  color: "primary",
@@ -6649,72 +7564,81 @@ var push_button_normally_open_momentary_default = {
6649
7564
  top1: {
6650
7565
  type: "text",
6651
7566
  text: "{REF}",
6652
- x: 0.006701050000000208,
6653
- y: -0.2196184999999975
7567
+ x: -0.2872803000000015,
7568
+ y: -0.4564494249999992
6654
7569
  },
6655
7570
  bottom1: {
6656
7571
  type: "text",
6657
7572
  text: "{VAL}",
6658
- x: -0.16130964999999975,
6659
- y: 0.22961850000000084
7573
+ x: -0.2872803000000015,
7574
+ y: 0.4960514750000007
6660
7575
  }
6661
7576
  },
6662
7577
  refblocks: {
7578
+ top1: {
7579
+ x: 5126999999993664e-19,
7580
+ y: -0.5191475
7581
+ },
7582
+ bottom1: {
7583
+ x: -5123000000009093e-19,
7584
+ y: 0.5191475000000001
7585
+ },
6663
7586
  left1: {
6664
- x: -0.4717985499999999,
6665
- y: 0.05645750000000227
7587
+ x: -0.5191472999999998,
7588
+ y: -5123250000014234e-19
6666
7589
  },
6667
7590
  right1: {
6668
- x: 0.4717985499999999,
6669
- y: 0.05648250000000132
7591
+ x: 0.5191473000000002,
7592
+ y: 5123749999977889e-19
6670
7593
  }
6671
7594
  },
6672
7595
  bounds: {
6673
- minX: -0.4999569909999999,
6674
- maxX: 0.4999569909999999,
6675
- minY: -0.3196184999999975,
6676
- maxY: 0.22961850000000084,
6677
- width: 0.9999139819999998,
6678
- height: 0.19923699999999833,
6679
- centerX: 0,
6680
- centerY: -0.04499999999999832
7596
+ minX: -0.5473057409999997,
7597
+ maxX: 0.5473057410000002,
7598
+ minY: -0.5564494249999992,
7599
+ maxY: 0.5473059410000001,
7600
+ width: 1.094611482,
7601
+ height: 1.1037553659999992,
7602
+ centerX: 2220446049250313e-31,
7603
+ centerY: -0.004571741999999546
6681
7604
  },
6682
7605
  circles: {}
6683
7606
  };
6684
7607
 
6685
- // symbols/push_button_normally_open_momentary_horz.ts
6686
- var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33 } = push_button_normally_open_momentary_default;
6687
- var push_button_normally_open_momentary_horz_default = defineSymbol({
7608
+ // symbols/rectifier_diode_horz.ts
7609
+ var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = rectifier_diode_default;
7610
+ var rectifier_diode_horz_default = defineSymbol({
6688
7611
  primitives: [
6689
- ...Object.values(paths33),
6690
- { ...texts47.top1, anchor: "middle_bottom" },
6691
- { ...texts47.bottom1, anchor: "middle_top" }
7612
+ ...Object.values(paths36),
7613
+ ...Object.values(circles26),
7614
+ { ...texts51.top1, anchor: "middle_right" },
7615
+ { ...texts51.bottom1, anchor: "middle_right" }
6692
7616
  ],
6693
7617
  ports: [
6694
- { ...refblocks33.left1, labels: ["1"] },
7618
+ { ...refblocks36.top1, labels: ["1"] },
6695
7619
  // TODO add more "standard" labels
6696
- { ...refblocks33.right1, labels: ["2"] }
7620
+ { ...refblocks36.bottom1, labels: ["2"] },
7621
+ // TODO add more "standard" labels
7622
+ { ...refblocks36.left1, labels: ["3"] },
7623
+ // TODO add more "standard" labels
7624
+ { ...refblocks36.right1, labels: ["4"] }
6697
7625
  // TODO add more "standard" labels
6698
7626
  ],
6699
- size: { width: bounds33.width, height: bounds33.height },
6700
- center: { x: bounds33.centerX, y: bounds33.centerY }
7627
+ size: { width: bounds36.width, height: bounds36.height },
7628
+ center: { x: bounds36.centerX, y: bounds36.centerY }
6701
7629
  });
6702
7630
 
6703
- // symbols/push_button_normally_open_momentary_vert.ts
6704
- var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
6705
- var ref22 = rotated8.primitives.find(
7631
+ // symbols/rectifier_diode_vert.ts
7632
+ var rotated9 = rotateSymbol(rectifier_diode_horz_default);
7633
+ var ref24 = rotated9.primitives.find(
6706
7634
  (p) => p.type === "text" && p.text === "{REF}"
6707
7635
  );
6708
- var val18 = rotated8.primitives.find(
7636
+ var val20 = rotated9.primitives.find(
6709
7637
  (p) => p.type === "text" && p.text === "{VAL}"
6710
7638
  );
6711
- ref22.anchor = "middle_left";
6712
- val18.anchor = "middle_right";
6713
- ref22.x = ref22.x + 0.1;
6714
- ref22.y = ref22.y;
6715
- val18.x = val18.x;
6716
- val18.y = 0;
6717
- var push_button_normally_open_momentary_vert_default = rotated8;
7639
+ ref24.anchor = "middle_left";
7640
+ val20.anchor = "middle_right";
7641
+ var rectifier_diode_vert_default = rotated9;
6718
7642
 
6719
7643
  // assets/generated/resonator.json
6720
7644
  var resonator_default = {
@@ -7062,11 +7986,11 @@ var resonator_default = {
7062
7986
  };
7063
7987
 
7064
7988
  // symbols/resonator_horz.ts
7065
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = resonator_default;
7989
+ var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = resonator_default;
7066
7990
  var resonator_horz_default = defineSymbol({
7067
7991
  primitives: [
7068
- ...Object.values(paths34),
7069
- ...Object.values(circles24),
7992
+ ...Object.values(paths37),
7993
+ ...Object.values(circles27),
7070
7994
  // { ...texts.top1, anchor: "middle_left" },
7071
7995
  // { ...texts.bottom1, anchor: "middle_left" },
7072
7996
  {
@@ -7085,15 +8009,15 @@ var resonator_horz_default = defineSymbol({
7085
8009
  }
7086
8010
  ],
7087
8011
  ports: [
7088
- { ...refblocks34.left1, labels: ["1"] },
8012
+ { ...refblocks37.left1, labels: ["1"] },
7089
8013
  // TODO add more "standard" labels
7090
- { ...refblocks34.right1, labels: ["2"] },
8014
+ { ...refblocks37.right1, labels: ["2"] },
7091
8015
  // TODO add more "standard" labels
7092
- { ...refblocks34.right2, labels: ["3"] }
8016
+ { ...refblocks37.right2, labels: ["3"] }
7093
8017
  // TODO add more "standard" labels
7094
8018
  ],
7095
- size: { width: bounds34.width, height: bounds34.height },
7096
- center: { x: bounds34.centerX, y: bounds34.centerY }
8019
+ size: { width: bounds37.width, height: bounds37.height },
8020
+ center: { x: bounds37.centerX, y: bounds37.centerY }
7097
8021
  });
7098
8022
 
7099
8023
  // symbols/resonator_vert.ts
@@ -7291,35 +8215,35 @@ var schottky_diode_default = {
7291
8215
  };
7292
8216
 
7293
8217
  // symbols/schottky_diode_horz.ts
7294
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = schottky_diode_default;
8218
+ var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = schottky_diode_default;
7295
8219
  var schottky_diode_horz_default = defineSymbol({
7296
8220
  primitives: [
7297
- ...Object.values(paths35),
7298
- ...Object.values(circles25),
7299
- { ...texts49.top1, anchor: "middle_bottom" },
7300
- { ...texts49.bottom1, anchor: "middle_top" }
8221
+ ...Object.values(paths38),
8222
+ ...Object.values(circles28),
8223
+ { ...texts53.top1, anchor: "middle_bottom" },
8224
+ { ...texts53.bottom1, anchor: "middle_top" }
7301
8225
  ],
7302
8226
  ports: [
7303
- { ...refblocks35.left1, labels: ["1"] },
8227
+ { ...refblocks38.left1, labels: ["1"] },
7304
8228
  // TODO add more "standard" labels
7305
- { ...refblocks35.right1, labels: ["2"] }
8229
+ { ...refblocks38.right1, labels: ["2"] }
7306
8230
  // TODO add more "standard" labels
7307
8231
  ],
7308
- size: { width: bounds35.width, height: bounds35.height },
7309
- center: { x: bounds35.centerX, y: bounds35.centerY }
8232
+ size: { width: bounds38.width, height: bounds38.height },
8233
+ center: { x: bounds38.centerX, y: bounds38.centerY }
7310
8234
  });
7311
8235
 
7312
8236
  // symbols/schottky_diode_vert.ts
7313
- var rotated9 = rotateSymbol(schottky_diode_horz_default);
7314
- var ref23 = rotated9.primitives.find(
8237
+ var rotated10 = rotateSymbol(schottky_diode_horz_default);
8238
+ var ref25 = rotated10.primitives.find(
7315
8239
  (p) => p.type === "text" && p.text === "{REF}"
7316
8240
  );
7317
- var val19 = rotated9.primitives.find(
8241
+ var val21 = rotated10.primitives.find(
7318
8242
  (p) => p.type === "text" && p.text === "{VAL}"
7319
8243
  );
7320
- ref23.anchor = "middle_left";
7321
- val19.anchor = "middle_right";
7322
- var schottky_diode_vert_default = rotated9;
8244
+ ref25.anchor = "middle_left";
8245
+ val21.anchor = "middle_right";
8246
+ var schottky_diode_vert_default = rotated10;
7323
8247
 
7324
8248
  // assets/generated/silicon_controlled_rectifier.json
7325
8249
  var silicon_controlled_rectifier_default = {
@@ -7465,35 +8389,35 @@ var silicon_controlled_rectifier_default = {
7465
8389
  };
7466
8390
 
7467
8391
  // symbols/silicon_controlled_rectifier_horz.ts
7468
- var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = silicon_controlled_rectifier_default;
8392
+ var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = silicon_controlled_rectifier_default;
7469
8393
  var silicon_controlled_rectifier_horz_default = defineSymbol({
7470
8394
  primitives: [
7471
- ...Object.values(paths36),
7472
- ...Object.values(circles26),
7473
- { ...texts50.top1, anchor: "middle_left" },
7474
- { ...texts50.bottom1, anchor: "middle_top" }
8395
+ ...Object.values(paths39),
8396
+ ...Object.values(circles29),
8397
+ { ...texts54.top1, anchor: "middle_left" },
8398
+ { ...texts54.bottom1, anchor: "middle_top" }
7475
8399
  ],
7476
8400
  ports: [
7477
- { ...refblocks36.left1, labels: ["1"] },
8401
+ { ...refblocks39.left1, labels: ["1"] },
7478
8402
  // TODO add more "standard" labels
7479
- { ...refblocks36.right1, labels: ["2"] },
8403
+ { ...refblocks39.right1, labels: ["2"] },
7480
8404
  // TODO add more "standard" labels
7481
- { ...refblocks36.bottom1, labels: ["3"] }
8405
+ { ...refblocks39.bottom1, labels: ["3"] }
7482
8406
  // TODO add more "standard" labels
7483
8407
  ],
7484
- size: { width: bounds36.width, height: bounds36.height },
7485
- center: { x: bounds36.centerX, y: bounds36.centerY }
8408
+ size: { width: bounds39.width, height: bounds39.height },
8409
+ center: { x: bounds39.centerX, y: bounds39.centerY }
7486
8410
  });
7487
8411
 
7488
8412
  // symbols/silicon_controlled_rectifier_vert.ts
7489
- var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
7490
- var texts51 = rotatedSymbol19.primitives.filter(
8413
+ var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
8414
+ var texts55 = rotatedSymbol20.primitives.filter(
7491
8415
  (primitive) => primitive.type === "text"
7492
8416
  );
7493
- var ref24 = texts51.find((text) => text.text === "{REF}");
7494
- ref24.y = 0;
7495
- ref24.anchor = "middle_left";
7496
- var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
8417
+ var ref26 = texts55.find((text) => text.text === "{REF}");
8418
+ ref26.y = 0;
8419
+ ref26.anchor = "middle_left";
8420
+ var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
7497
8421
 
7498
8422
  // assets/generated/SPDT_switch.json
7499
8423
  var SPDT_switch_default = {
@@ -7613,38 +8537,38 @@ var SPDT_switch_default = {
7613
8537
  };
7614
8538
 
7615
8539
  // symbols/SPDT_switch_horz.ts
7616
- var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = SPDT_switch_default;
8540
+ var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = SPDT_switch_default;
7617
8541
  var SPDT_switch_horz_default = defineSymbol({
7618
8542
  primitives: [
7619
- ...Object.values(paths37),
7620
- ...Object.values(circles27),
7621
- { ...texts52.top1, anchor: "middle_bottom", x: -0.01 },
7622
- { ...texts52.bottom1, anchor: "middle_top", x: -0.01 }
8543
+ ...Object.values(paths40),
8544
+ ...Object.values(circles30),
8545
+ { ...texts56.top1, anchor: "middle_bottom", x: -0.01 },
8546
+ { ...texts56.bottom1, anchor: "middle_top", x: -0.01 }
7623
8547
  ],
7624
8548
  ports: [
7625
- { ...refblocks37.left1, labels: ["1"] },
8549
+ { ...refblocks40.left1, labels: ["1"] },
7626
8550
  // TODO add more "standard" labels
7627
- { ...refblocks37.right1, labels: ["3"] },
8551
+ { ...refblocks40.right1, labels: ["3"] },
7628
8552
  // TODO add more "standard" labels
7629
- { ...refblocks37.right2, labels: ["2"] }
8553
+ { ...refblocks40.right2, labels: ["2"] }
7630
8554
  // TODO add more "standard" labels
7631
8555
  ],
7632
- size: { width: bounds37.width, height: bounds37.height },
7633
- center: { x: bounds37.centerX, y: bounds37.centerY }
8556
+ size: { width: bounds40.width, height: bounds40.height },
8557
+ center: { x: bounds40.centerX, y: bounds40.centerY }
7634
8558
  });
7635
8559
 
7636
8560
  // symbols/SPDT_switch_vert.ts
7637
- var rotatedSymbol20 = rotateSymbol(SPDT_switch_horz_default);
7638
- var texts53 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
7639
- var val20 = texts53.find((t) => t.text === "{VAL}");
7640
- val20.anchor = "middle_right";
7641
- val20.x = -0.3;
7642
- val20.y = 0;
7643
- var ref25 = texts53.find((t) => t.text === "{REF}");
7644
- ref25.anchor = "middle_left";
7645
- ref25.x = 0.3;
7646
- ref25.y = 0;
7647
- var SPDT_switch_vert_default = rotatedSymbol20;
8561
+ var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
8562
+ var texts57 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
8563
+ var val22 = texts57.find((t) => t.text === "{VAL}");
8564
+ val22.anchor = "middle_right";
8565
+ val22.x = -0.3;
8566
+ val22.y = 0;
8567
+ var ref27 = texts57.find((t) => t.text === "{REF}");
8568
+ ref27.anchor = "middle_left";
8569
+ ref27.x = 0.3;
8570
+ ref27.y = 0;
8571
+ var SPDT_switch_vert_default = rotatedSymbol21;
7648
8572
 
7649
8573
  // assets/generated/SPST_switch.json
7650
8574
  var SPST_switch_default = {
@@ -7741,36 +8665,36 @@ var SPST_switch_default = {
7741
8665
  };
7742
8666
 
7743
8667
  // symbols/SPST_switch_horz.ts
7744
- var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = SPST_switch_default;
8668
+ var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = SPST_switch_default;
7745
8669
  var SPST_switch_horz_default = defineSymbol({
7746
8670
  primitives: [
7747
- ...Object.values(paths38),
7748
- ...Object.values(circles28),
7749
- { ...texts54.top1, anchor: "middle_bottom", x: 0 },
7750
- { ...texts54.bottom1, anchor: "middle_top", x: 0 }
8671
+ ...Object.values(paths41),
8672
+ ...Object.values(circles31),
8673
+ { ...texts58.top1, anchor: "middle_bottom", x: 0 },
8674
+ { ...texts58.bottom1, anchor: "middle_top", x: 0 }
7751
8675
  ],
7752
8676
  ports: [
7753
- { ...refblocks38.left1, labels: ["1"] },
8677
+ { ...refblocks41.left1, labels: ["1"] },
7754
8678
  // TODO add more "standard" labels
7755
- { ...refblocks38.right1, labels: ["2"] }
8679
+ { ...refblocks41.right1, labels: ["2"] }
7756
8680
  // TODO add more "standard" labels
7757
8681
  ],
7758
- size: { width: bounds38.width, height: bounds38.height },
7759
- center: { x: bounds38.centerX, y: bounds38.centerY }
8682
+ size: { width: bounds41.width, height: bounds41.height },
8683
+ center: { x: bounds41.centerX, y: bounds41.centerY }
7760
8684
  });
7761
8685
 
7762
8686
  // symbols/SPST_switch_vert.ts
7763
- var rotatedSymbol21 = rotateSymbol(SPST_switch_horz_default);
7764
- var texts55 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
7765
- var val21 = texts55.find((t) => t.text === "{VAL}");
7766
- val21.anchor = "middle_right";
7767
- val21.x = -0.3;
7768
- val21.y = 0;
7769
- var ref26 = texts55.find((t) => t.text === "{REF}");
7770
- ref26.anchor = "middle_left";
7771
- ref26.x = 0.3;
7772
- ref26.y = 0;
7773
- var SPST_switch_vert_default = rotatedSymbol21;
8687
+ var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
8688
+ var texts59 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
8689
+ var val23 = texts59.find((t) => t.text === "{VAL}");
8690
+ val23.anchor = "middle_right";
8691
+ val23.x = -0.3;
8692
+ val23.y = 0;
8693
+ var ref28 = texts59.find((t) => t.text === "{REF}");
8694
+ ref28.anchor = "middle_left";
8695
+ ref28.x = 0.3;
8696
+ ref28.y = 0;
8697
+ var SPST_switch_vert_default = rotatedSymbol22;
7774
8698
 
7775
8699
  // assets/generated/step_recovery_diode.json
7776
8700
  var step_recovery_diode_default = {
@@ -7934,11 +8858,11 @@ var step_recovery_diode_default = {
7934
8858
  };
7935
8859
 
7936
8860
  // symbols/step_recovery_diode_horz.ts
7937
- var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = step_recovery_diode_default;
8861
+ var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = step_recovery_diode_default;
7938
8862
  var step_recovery_diode_horz_default = defineSymbol({
7939
8863
  primitives: [
7940
- ...Object.values(paths39),
7941
- ...Object.values(circles29),
8864
+ ...Object.values(paths42),
8865
+ ...Object.values(circles32),
7942
8866
  // { ...texts.top1, anchor: "middle_left" },
7943
8867
  // { ...texts.bottom1, anchor: "middle_left" },
7944
8868
  {
@@ -7957,13 +8881,13 @@ var step_recovery_diode_horz_default = defineSymbol({
7957
8881
  }
7958
8882
  ],
7959
8883
  ports: [
7960
- { ...refblocks39.left1, labels: ["1"] },
8884
+ { ...refblocks42.left1, labels: ["1"] },
7961
8885
  // TODO add more "standard" labels
7962
- { ...refblocks39.right1, labels: ["2"] }
8886
+ { ...refblocks42.right1, labels: ["2"] }
7963
8887
  // TODO add more "standard" labels
7964
8888
  ],
7965
- size: { width: bounds39.width, height: bounds39.height },
7966
- center: { x: bounds39.centerX, y: bounds39.centerY }
8889
+ size: { width: bounds42.width, height: bounds42.height },
8890
+ center: { x: bounds42.centerX, y: bounds42.centerY }
7967
8891
  });
7968
8892
 
7969
8893
  // symbols/step_recovery_diode_vert.ts
@@ -8160,36 +9084,36 @@ var triac_default = {
8160
9084
  };
8161
9085
 
8162
9086
  // symbols/triac_horz.ts
8163
- var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = triac_default;
9087
+ var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = triac_default;
8164
9088
  var triac_horz_default = defineSymbol({
8165
9089
  primitives: [
8166
- ...Object.values(paths40),
8167
- ...Object.values(circles30),
8168
- { ...texts57.top1, anchor: "middle_left" },
8169
- { ...texts57.bottom1, anchor: "middle_top" }
9090
+ ...Object.values(paths43),
9091
+ ...Object.values(circles33),
9092
+ { ...texts61.top1, anchor: "middle_left" },
9093
+ { ...texts61.bottom1, anchor: "middle_top" }
8170
9094
  ],
8171
9095
  ports: [
8172
- { ...refblocks40.left1, labels: ["1"] },
9096
+ { ...refblocks43.left1, labels: ["1"] },
8173
9097
  // TODO add more "standard" labels
8174
- { ...refblocks40.right1, labels: ["2"] },
9098
+ { ...refblocks43.right1, labels: ["2"] },
8175
9099
  // TODO add more "standard" labels
8176
- { ...refblocks40.bottom1, labels: ["3"] }
9100
+ { ...refblocks43.bottom1, labels: ["3"] }
8177
9101
  // TODO add more "standard" labels
8178
9102
  ],
8179
- size: { width: bounds40.width, height: bounds40.height },
8180
- center: { x: bounds40.centerX, y: bounds40.centerY }
9103
+ size: { width: bounds43.width, height: bounds43.height },
9104
+ center: { x: bounds43.centerX, y: bounds43.centerY }
8181
9105
  });
8182
9106
 
8183
9107
  // symbols/triac_vert.ts
8184
- var rotatedSymbol22 = rotateSymbol(triac_horz_default);
8185
- var texts58 = rotatedSymbol22.primitives.filter(
9108
+ var rotatedSymbol23 = rotateSymbol(triac_horz_default);
9109
+ var texts62 = rotatedSymbol23.primitives.filter(
8186
9110
  (primitive) => primitive.type === "text"
8187
9111
  );
8188
- var ref27 = texts58.find((text) => text.text === "{REF}");
8189
- var val22 = texts58.find((text) => text.text === "{VAL}");
8190
- ref27.y = 0;
8191
- val22.y = 0;
8192
- var triac_vert_default = rotatedSymbol22;
9112
+ var ref29 = texts62.find((text) => text.text === "{REF}");
9113
+ var val24 = texts62.find((text) => text.text === "{VAL}");
9114
+ ref29.y = 0;
9115
+ val24.y = 0;
9116
+ var triac_vert_default = rotatedSymbol23;
8193
9117
 
8194
9118
  // assets/generated/tunnel_diode.json
8195
9119
  var tunnel_diode_default = {
@@ -8353,35 +9277,35 @@ var tunnel_diode_default = {
8353
9277
  };
8354
9278
 
8355
9279
  // symbols/tunnel_diode_horz.ts
8356
- var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = tunnel_diode_default;
9280
+ var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = tunnel_diode_default;
8357
9281
  var tunnel_diode_horz_default = defineSymbol({
8358
9282
  primitives: [
8359
- ...Object.values(paths41),
8360
- ...Object.values(circles31),
8361
- { ...texts59.top1, anchor: "middle_bottom" },
8362
- { ...texts59.bottom1, anchor: "middle_top" }
9283
+ ...Object.values(paths44),
9284
+ ...Object.values(circles34),
9285
+ { ...texts63.top1, anchor: "middle_bottom" },
9286
+ { ...texts63.bottom1, anchor: "middle_top" }
8363
9287
  ],
8364
9288
  ports: [
8365
- { ...refblocks41.left1, labels: ["1"] },
9289
+ { ...refblocks44.left1, labels: ["1"] },
8366
9290
  // TODO add more "standard" labels
8367
- { ...refblocks41.right1, labels: ["2"] }
9291
+ { ...refblocks44.right1, labels: ["2"] }
8368
9292
  // TODO add more "standard" labels
8369
9293
  ],
8370
- size: { width: bounds41.width, height: bounds41.height },
8371
- center: { x: bounds41.centerX, y: bounds41.centerY }
9294
+ size: { width: bounds44.width, height: bounds44.height },
9295
+ center: { x: bounds44.centerX, y: bounds44.centerY }
8372
9296
  });
8373
9297
 
8374
9298
  // symbols/tunnel_diode_vert.ts
8375
- var rotated10 = rotateSymbol(tunnel_diode_horz_default);
8376
- var ref28 = rotated10.primitives.find(
9299
+ var rotated11 = rotateSymbol(tunnel_diode_horz_default);
9300
+ var ref30 = rotated11.primitives.find(
8377
9301
  (p) => p.type === "text" && p.text === "{REF}"
8378
9302
  );
8379
- var val23 = rotated10.primitives.find(
9303
+ var val25 = rotated11.primitives.find(
8380
9304
  (p) => p.type === "text" && p.text === "{VAL}"
8381
9305
  );
8382
- ref28.anchor = "middle_left";
8383
- val23.anchor = "middle_right";
8384
- var tunnel_diode_vert_default = rotated10;
9306
+ ref30.anchor = "middle_left";
9307
+ val25.anchor = "middle_right";
9308
+ var tunnel_diode_vert_default = rotated11;
8385
9309
 
8386
9310
  // assets/generated/unijunction_transistor.json
8387
9311
  var unijunction_transistor_default = {
@@ -8551,37 +9475,37 @@ var unijunction_transistor_default = {
8551
9475
  };
8552
9476
 
8553
9477
  // symbols/unijunction_transistor_horz.ts
8554
- var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = unijunction_transistor_default;
9478
+ var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = unijunction_transistor_default;
8555
9479
  var unijunction_transistor_horz_default = defineSymbol({
8556
9480
  primitives: [
8557
- ...Object.values(paths42),
8558
- ...Object.values(circles32),
8559
- { ...texts60.top1, anchor: "middle_left" },
8560
- { ...texts60.bottom1, anchor: "middle_right" }
9481
+ ...Object.values(paths45),
9482
+ ...Object.values(circles35),
9483
+ { ...texts64.top1, anchor: "middle_left" },
9484
+ { ...texts64.bottom1, anchor: "middle_right" }
8561
9485
  ],
8562
9486
  ports: [
8563
- { ...refblocks42.top1, labels: ["1"] },
9487
+ { ...refblocks45.top1, labels: ["1"] },
8564
9488
  // TODO add more "standard" labels
8565
- { ...refblocks42.bottom1, labels: ["2"] },
9489
+ { ...refblocks45.bottom1, labels: ["2"] },
8566
9490
  // TODO add more "standard" labels
8567
- { ...refblocks42.left1, labels: ["3"] }
9491
+ { ...refblocks45.left1, labels: ["3"] }
8568
9492
  // TODO add more "standard" labels
8569
9493
  ],
8570
- size: { width: bounds42.width, height: bounds42.height },
8571
- center: { x: bounds42.centerX, y: bounds42.centerY }
9494
+ size: { width: bounds45.width, height: bounds45.height },
9495
+ center: { x: bounds45.centerX, y: bounds45.centerY }
8572
9496
  });
8573
9497
 
8574
9498
  // symbols/unijunction_transistor_vert.ts
8575
- var rotatedSymbol23 = rotateSymbol(unijunction_transistor_horz_default);
8576
- var texts61 = rotatedSymbol23.primitives.filter(
9499
+ var rotatedSymbol24 = rotateSymbol(unijunction_transistor_horz_default);
9500
+ var texts65 = rotatedSymbol24.primitives.filter(
8577
9501
  (primitive) => primitive.type === "text"
8578
9502
  );
8579
- var ref29 = texts61.find((text) => text.text === "{REF}");
8580
- ref29.y = 0.1;
8581
- var val24 = texts61.find((text) => text.text === "{VAL}");
8582
- val24.y = 0.1;
8583
- val24.x = -0.4;
8584
- var unijunction_transistor_vert_default = rotatedSymbol23;
9503
+ var ref31 = texts65.find((text) => text.text === "{REF}");
9504
+ ref31.y = 0.1;
9505
+ var val26 = texts65.find((text) => text.text === "{VAL}");
9506
+ val26.y = 0.1;
9507
+ val26.x = -0.4;
9508
+ var unijunction_transistor_vert_default = rotatedSymbol24;
8585
9509
 
8586
9510
  // assets/generated/var_meter.json
8587
9511
  var var_meter_default = {
@@ -8670,33 +9594,33 @@ var var_meter_default = {
8670
9594
  };
8671
9595
 
8672
9596
  // symbols/var_meter_horz.ts
8673
- var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = var_meter_default;
9597
+ var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = var_meter_default;
8674
9598
  var var_meter_horz_default = defineSymbol({
8675
9599
  primitives: [
8676
- ...Object.values(paths43),
8677
- ...Object.values(circles33),
9600
+ ...Object.values(paths46),
9601
+ ...Object.values(circles36),
8678
9602
  {
8679
- ...texts62.top1,
9603
+ ...texts66.top1,
8680
9604
  x: 0,
8681
9605
  y: -0.3594553499999995,
8682
9606
  anchor: "middle_bottom"
8683
9607
  },
8684
9608
  {
8685
- ...texts62.bottom1,
9609
+ ...texts66.bottom1,
8686
9610
  x: 0,
8687
9611
  y: 0.35,
8688
9612
  anchor: "middle_top"
8689
9613
  },
8690
- { ...texts62.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
9614
+ { ...texts66.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
8691
9615
  ],
8692
9616
  ports: [
8693
- { ...refblocks43.left1, labels: ["1"] },
9617
+ { ...refblocks46.left1, labels: ["1"] },
8694
9618
  // TODO add more "standard" labels
8695
- { ...refblocks43.right1, labels: ["2"] }
9619
+ { ...refblocks46.right1, labels: ["2"] }
8696
9620
  // TODO add more "standard" labels
8697
9621
  ],
8698
- size: { width: bounds43.width, height: bounds43.height },
8699
- center: { x: bounds43.centerX, y: bounds43.centerY }
9622
+ size: { width: bounds46.width, height: bounds46.height },
9623
+ center: { x: bounds46.centerX, y: bounds46.centerY }
8700
9624
  });
8701
9625
 
8702
9626
  // symbols/var_meter_vert.ts
@@ -8849,35 +9773,35 @@ var varactor_diode_default = {
8849
9773
  };
8850
9774
 
8851
9775
  // symbols/varactor_diode_horz.ts
8852
- var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = varactor_diode_default;
9776
+ var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = varactor_diode_default;
8853
9777
  var varactor_diode_horz_default = defineSymbol({
8854
9778
  primitives: [
8855
- ...Object.values(paths44),
8856
- ...Object.values(circles34),
8857
- { ...texts63.top1, anchor: "middle_bottom" },
8858
- { ...texts63.bottom1, anchor: "middle_top" }
9779
+ ...Object.values(paths47),
9780
+ ...Object.values(circles37),
9781
+ { ...texts67.top1, anchor: "middle_bottom" },
9782
+ { ...texts67.bottom1, anchor: "middle_top" }
8859
9783
  ],
8860
9784
  ports: [
8861
- { ...refblocks44.left1, labels: ["1"] },
9785
+ { ...refblocks47.left1, labels: ["1"] },
8862
9786
  // TODO add more "standard" labels
8863
- { ...refblocks44.right1, labels: ["2"] }
9787
+ { ...refblocks47.right1, labels: ["2"] }
8864
9788
  // TODO add more "standard" labels
8865
9789
  ],
8866
- size: { width: bounds44.width, height: bounds44.height },
8867
- center: { x: bounds44.centerX, y: bounds44.centerY }
9790
+ size: { width: bounds47.width, height: bounds47.height },
9791
+ center: { x: bounds47.centerX, y: bounds47.centerY }
8868
9792
  });
8869
9793
 
8870
9794
  // symbols/varactor_diode_vert.ts
8871
- var rotated11 = rotateSymbol(varactor_diode_horz_default);
8872
- var ref30 = rotated11.primitives.find(
9795
+ var rotated12 = rotateSymbol(varactor_diode_horz_default);
9796
+ var ref32 = rotated12.primitives.find(
8873
9797
  (p) => p.type === "text" && p.text === "{REF}"
8874
9798
  );
8875
- var val25 = rotated11.primitives.find(
9799
+ var val27 = rotated12.primitives.find(
8876
9800
  (p) => p.type === "text" && p.text === "{VAL}"
8877
9801
  );
8878
- ref30.anchor = "middle_left";
8879
- val25.anchor = "middle_right";
8880
- var varactor_diode_vert_default = rotated11;
9802
+ ref32.anchor = "middle_left";
9803
+ val27.anchor = "middle_right";
9804
+ var varactor_diode_vert_default = rotated12;
8881
9805
 
8882
9806
  // assets/generated/varistor.json
8883
9807
  var varistor_default = {
@@ -9012,26 +9936,26 @@ var varistor_default = {
9012
9936
  };
9013
9937
 
9014
9938
  // symbols/varistor_horz.ts
9015
- var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45 } = varistor_default;
9939
+ var { paths: paths48, texts: texts68, bounds: bounds48, refblocks: refblocks48 } = varistor_default;
9016
9940
  var varistor_horz_default = defineSymbol({
9017
9941
  primitives: [
9018
- ...Object.values(paths45),
9019
- { ...texts64.top1, anchor: "middle_left" },
9020
- { ...texts64.bottom1, anchor: "middle_right" }
9942
+ ...Object.values(paths48),
9943
+ { ...texts68.top1, anchor: "middle_left" },
9944
+ { ...texts68.bottom1, anchor: "middle_right" }
9021
9945
  ],
9022
9946
  ports: [
9023
9947
  {
9024
- ...refblocks45.left1,
9948
+ ...refblocks48.left1,
9025
9949
  labels: ["1", "-"]
9026
9950
  },
9027
9951
  {
9028
- ...refblocks45.right1,
9952
+ ...refblocks48.right1,
9029
9953
  labels: ["2", "+"]
9030
9954
  }
9031
9955
  ],
9032
- size: { width: bounds45.width, height: bounds45.height },
9956
+ size: { width: bounds48.width, height: bounds48.height },
9033
9957
  //{ width: 1, height: 0.24 },
9034
- center: { x: bounds45.centerX, y: bounds45.centerY }
9958
+ center: { x: bounds48.centerX, y: bounds48.centerY }
9035
9959
  });
9036
9960
 
9037
9961
  // symbols/varistor_vert.ts
@@ -9137,11 +10061,11 @@ var volt_meter_default = {
9137
10061
  };
9138
10062
 
9139
10063
  // symbols/volt_meter_horz.ts
9140
- var { paths: paths46, texts: texts65, bounds: bounds46, circles: circles35, refblocks: refblocks46 } = volt_meter_default;
10064
+ var { paths: paths49, texts: texts69, bounds: bounds49, circles: circles38, refblocks: refblocks49 } = volt_meter_default;
9141
10065
  var volt_meter_horz_default = defineSymbol({
9142
10066
  primitives: [
9143
- ...Object.values(paths46),
9144
- ...Object.values(circles35),
10067
+ ...Object.values(paths49),
10068
+ ...Object.values(circles38),
9145
10069
  {
9146
10070
  type: "text",
9147
10071
  text: "{REF}",
@@ -9158,13 +10082,13 @@ var volt_meter_horz_default = defineSymbol({
9158
10082
  }
9159
10083
  ],
9160
10084
  ports: [
9161
- { ...refblocks46.left1, labels: ["1"] },
10085
+ { ...refblocks49.left1, labels: ["1"] },
9162
10086
  // TODO add more "standard" labels
9163
- { ...refblocks46.right1, labels: ["2"] }
10087
+ { ...refblocks49.right1, labels: ["2"] }
9164
10088
  // TODO add more "standard" labels
9165
10089
  ],
9166
- size: { width: bounds46.width, height: bounds46.height },
9167
- center: { x: bounds46.centerX, y: bounds46.centerY }
10090
+ size: { width: bounds49.width, height: bounds49.height },
10091
+ center: { x: bounds49.centerX, y: bounds49.centerY }
9168
10092
  });
9169
10093
 
9170
10094
  // symbols/volt_meter_vert.ts
@@ -9317,35 +10241,35 @@ var zener_diode_default = {
9317
10241
  };
9318
10242
 
9319
10243
  // symbols/zener_diode_horz.ts
9320
- var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47, circles: circles36 } = zener_diode_default;
10244
+ var { paths: paths50, texts: texts70, bounds: bounds50, refblocks: refblocks50, circles: circles39 } = zener_diode_default;
9321
10245
  var zener_diode_horz_default = defineSymbol({
9322
10246
  primitives: [
9323
- ...Object.values(paths47),
9324
- ...Object.values(circles36),
9325
- { ...texts66.top1, anchor: "middle_bottom" },
9326
- { ...texts66.bottom1, anchor: "middle_top" }
10247
+ ...Object.values(paths50),
10248
+ ...Object.values(circles39),
10249
+ { ...texts70.top1, anchor: "middle_bottom" },
10250
+ { ...texts70.bottom1, anchor: "middle_top" }
9327
10251
  ],
9328
10252
  ports: [
9329
- { ...refblocks47.left1, labels: ["1"] },
10253
+ { ...refblocks50.left1, labels: ["1"] },
9330
10254
  // TODO add more "standard" labels
9331
- { ...refblocks47.right1, labels: ["2"] }
10255
+ { ...refblocks50.right1, labels: ["2"] }
9332
10256
  // TODO add more "standard" labels
9333
10257
  ],
9334
- size: { width: bounds47.width, height: bounds47.height },
9335
- center: { x: bounds47.centerX, y: bounds47.centerY }
10258
+ size: { width: bounds50.width, height: bounds50.height },
10259
+ center: { x: bounds50.centerX, y: bounds50.centerY }
9336
10260
  });
9337
10261
 
9338
10262
  // symbols/zener_diode_vert.ts
9339
- var rotated12 = rotateSymbol(zener_diode_horz_default);
9340
- var ref31 = rotated12.primitives.find(
10263
+ var rotated13 = rotateSymbol(zener_diode_horz_default);
10264
+ var ref33 = rotated13.primitives.find(
9341
10265
  (p) => p.type === "text" && p.text === "{REF}"
9342
10266
  );
9343
- var val26 = rotated12.primitives.find(
10267
+ var val28 = rotated13.primitives.find(
9344
10268
  (p) => p.type === "text" && p.text === "{VAL}"
9345
10269
  );
9346
- ref31.anchor = "middle_left";
9347
- val26.anchor = "middle_right";
9348
- var zener_diode_vert_default = rotated12;
10270
+ ref33.anchor = "middle_left";
10271
+ val28.anchor = "middle_right";
10272
+ var zener_diode_vert_default = rotated13;
9349
10273
 
9350
10274
  // generated/symbols-index.ts
9351
10275
  var symbols_index_default = {
@@ -9363,6 +10287,8 @@ var symbols_index_default = {
9363
10287
  "constant_current_diode_vert": constant_current_diode_vert_default,
9364
10288
  "crystal_horz": crystal_horz_default,
9365
10289
  "crystal_vert": crystal_vert_default,
10290
+ "darlington_pair_transistor_horz": darlington_pair_transistor_horz_default,
10291
+ "darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
9366
10292
  "dc_ammeter_horz": dc_ammeter_horz_default,
9367
10293
  "dc_ammeter_vert": dc_ammeter_vert_default,
9368
10294
  "dc_voltmeter_horz": dc_voltmeter_horz_default,
@@ -9371,6 +10297,8 @@ var symbols_index_default = {
9371
10297
  "diac_vert": diac_vert_default,
9372
10298
  "diode_horz": diode_horz_default,
9373
10299
  "diode_vert": diode_vert_default,
10300
+ "dpst_switch_horz": dpst_switch_horz_default,
10301
+ "dpst_switch_vert": dpst_switch_vert_default,
9374
10302
  "filled_diode_horz": filled_diode_horz_default,
9375
10303
  "filled_diode_vert": filled_diode_vert_default,
9376
10304
  "fuse_horz": fuse_horz_default,
@@ -9415,6 +10343,8 @@ var symbols_index_default = {
9415
10343
  "push_button_normally_closed_momentary_vert": push_button_normally_closed_momentary_vert_default,
9416
10344
  "push_button_normally_open_momentary_horz": push_button_normally_open_momentary_horz_default,
9417
10345
  "push_button_normally_open_momentary_vert": push_button_normally_open_momentary_vert_default,
10346
+ "rectifier_diode_horz": rectifier_diode_horz_default,
10347
+ "rectifier_diode_vert": rectifier_diode_vert_default,
9418
10348
  "resonator_horz": resonator_horz_default,
9419
10349
  "resonator_vert": resonator_vert_default,
9420
10350
  "schottky_diode_horz": schottky_diode_horz_default,