schematic-symbols 0.0.78 → 0.0.80
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1219 -610
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/battery_horz.ts +20 -0
- package/symbols/battery_vert.ts +4 -0
- package/symbols/darlington_pair_transistor_horz.ts +21 -0
- package/symbols/darlington_pair_transistor_vert.ts +4 -0
- package/symbols/dpst_switch_horz.ts +22 -0
- package/symbols/dpst_switch_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -484,6 +484,129 @@ ref.anchor = "middle_left";
|
|
484
484
|
val.anchor = "middle_right";
|
485
485
|
var avalanche_diode_vert_default = rotated;
|
486
486
|
|
487
|
+
// assets/generated/battery.json
|
488
|
+
var battery_default = {
|
489
|
+
paths: {
|
490
|
+
path43: {
|
491
|
+
type: "path",
|
492
|
+
points: [
|
493
|
+
{
|
494
|
+
x: -0.05901489999999909,
|
495
|
+
y: -0.18831315000000015
|
496
|
+
},
|
497
|
+
{
|
498
|
+
x: -0.05869489999999833,
|
499
|
+
y: 0.11814524999999954
|
500
|
+
}
|
501
|
+
],
|
502
|
+
color: "primary",
|
503
|
+
fill: false
|
504
|
+
},
|
505
|
+
"path43-6": {
|
506
|
+
type: "path",
|
507
|
+
points: [
|
508
|
+
{
|
509
|
+
x: 0.015375000000000805,
|
510
|
+
y: -0.12533125000000034
|
511
|
+
},
|
512
|
+
{
|
513
|
+
x: 0.016669000000000933,
|
514
|
+
y: 0.05562075000000033
|
515
|
+
}
|
516
|
+
],
|
517
|
+
color: "primary",
|
518
|
+
fill: false
|
519
|
+
},
|
520
|
+
path44: {
|
521
|
+
type: "path",
|
522
|
+
points: [
|
523
|
+
{
|
524
|
+
x: -0.06443049999999961,
|
525
|
+
y: -0.032673549999999496
|
526
|
+
},
|
527
|
+
{
|
528
|
+
x: -0.4368029,
|
529
|
+
y: -0.032673549999999496
|
530
|
+
}
|
531
|
+
],
|
532
|
+
color: "primary",
|
533
|
+
fill: false
|
534
|
+
},
|
535
|
+
"path44-0": {
|
536
|
+
type: "path",
|
537
|
+
points: [
|
538
|
+
{
|
539
|
+
x: 0.4350822999999997,
|
540
|
+
y: -0.03438825000000034
|
541
|
+
},
|
542
|
+
{
|
543
|
+
x: 0.028285099999999952,
|
544
|
+
y: -0.03438825000000034
|
545
|
+
}
|
546
|
+
],
|
547
|
+
color: "primary",
|
548
|
+
fill: false
|
549
|
+
}
|
550
|
+
},
|
551
|
+
texts: {
|
552
|
+
top1: {
|
553
|
+
type: "text",
|
554
|
+
text: "{REF}",
|
555
|
+
x: -0.027835099999999446,
|
556
|
+
y: -0.26964474999999943
|
557
|
+
},
|
558
|
+
bottom1: {
|
559
|
+
type: "text",
|
560
|
+
text: "{VAL}",
|
561
|
+
x: -0.028373699999999502,
|
562
|
+
y: 0.19564474999999967
|
563
|
+
}
|
564
|
+
},
|
565
|
+
refblocks: {
|
566
|
+
left1: {
|
567
|
+
x: -0.4458008,
|
568
|
+
y: -0.033557849999999334
|
569
|
+
},
|
570
|
+
right1: {
|
571
|
+
x: 0.4458008,
|
572
|
+
y: -0.03343344999999931
|
573
|
+
}
|
574
|
+
},
|
575
|
+
bounds: {
|
576
|
+
minX: -0.473959241,
|
577
|
+
maxX: 0.473959241,
|
578
|
+
minY: -0.3656447499999994,
|
579
|
+
maxY: 0.27564474999999966,
|
580
|
+
width: 0.947918482,
|
581
|
+
height: 0.2912894999999991,
|
582
|
+
centerX: 0,
|
583
|
+
centerY: -0.04499999999999987
|
584
|
+
},
|
585
|
+
circles: {}
|
586
|
+
};
|
587
|
+
|
588
|
+
// symbols/battery_horz.ts
|
589
|
+
var { paths: paths3, texts: texts2, bounds: bounds3, refblocks: refblocks3, circles: circles3 } = battery_default;
|
590
|
+
var battery_horz_default = defineSymbol({
|
591
|
+
primitives: [
|
592
|
+
...Object.values(paths3),
|
593
|
+
...Object.values(circles3),
|
594
|
+
{ ...texts2.top1, anchor: "middle_bottom" },
|
595
|
+
{ ...texts2.bottom1, anchor: "middle_top" }
|
596
|
+
],
|
597
|
+
ports: [
|
598
|
+
{ ...refblocks3.left1, labels: ["1"] },
|
599
|
+
// TODO add more "standard" labels
|
600
|
+
{ ...refblocks3.right1, labels: ["2"] }
|
601
|
+
// TODO add more "standard" labels
|
602
|
+
],
|
603
|
+
size: { width: bounds3.width, height: bounds3.height },
|
604
|
+
center: { x: bounds3.centerX, y: bounds3.centerY }
|
605
|
+
});
|
606
|
+
|
607
|
+
// symbols/battery_vert.ts
|
608
|
+
var battery_vert_default = rotateSymbol(battery_horz_default);
|
609
|
+
|
487
610
|
// assets/generated/boxresistor.json
|
488
611
|
var boxresistor_default = {
|
489
612
|
paths: {
|
@@ -587,20 +710,20 @@ var boxresistor_default = {
|
|
587
710
|
};
|
588
711
|
|
589
712
|
// symbols/boxresistor_horz.ts
|
590
|
-
var { paths:
|
713
|
+
var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4 } = boxresistor_default;
|
591
714
|
var boxresistor_horz_default = defineSymbol({
|
592
715
|
primitives: [
|
593
|
-
...Object.values(
|
594
|
-
{ ...
|
595
|
-
{ ...
|
716
|
+
...Object.values(paths4),
|
717
|
+
{ ...texts3.top1, anchor: "middle_bottom" },
|
718
|
+
{ ...texts3.bottom1, anchor: "middle_top" }
|
596
719
|
],
|
597
720
|
ports: [
|
598
|
-
{ ...
|
599
|
-
{ ...
|
721
|
+
{ ...refblocks4.left1, labels: ["1"] },
|
722
|
+
{ ...refblocks4.right1, labels: ["2"] }
|
600
723
|
],
|
601
|
-
size: { width:
|
724
|
+
size: { width: bounds4.width, height: bounds4.height },
|
602
725
|
//{ width: 1, height: 0.24 },
|
603
|
-
center: { x:
|
726
|
+
center: { x: bounds4.centerX, y: bounds4.centerY }
|
604
727
|
});
|
605
728
|
|
606
729
|
// symbols/boxresistor_vert.ts
|
@@ -708,20 +831,20 @@ var capacitor_default = {
|
|
708
831
|
};
|
709
832
|
|
710
833
|
// symbols/capacitor_horz.ts
|
711
|
-
var { paths:
|
834
|
+
var { paths: paths5, bounds: bounds5, refblocks: refblocks5, texts: texts4 } = capacitor_default;
|
712
835
|
var capacitor_horz_default = defineSymbol({
|
713
836
|
primitives: [
|
714
|
-
...Object.values(
|
715
|
-
{ ...
|
716
|
-
{ ...
|
837
|
+
...Object.values(paths5),
|
838
|
+
{ ...texts4.top1, anchor: "middle_bottom" },
|
839
|
+
{ ...texts4.bottom1, anchor: "middle_top" }
|
717
840
|
],
|
718
841
|
ports: [
|
719
|
-
{ ...
|
720
|
-
{ ...
|
842
|
+
{ ...refblocks5.left1, labels: ["1"] },
|
843
|
+
{ ...refblocks5.right1, labels: ["2"] }
|
721
844
|
],
|
722
|
-
size: { width:
|
845
|
+
size: { width: bounds5.width, height: bounds5.height },
|
723
846
|
//{ width: 1, height: 0.24 },
|
724
|
-
center: { x:
|
847
|
+
center: { x: bounds5.centerX, y: bounds5.centerY }
|
725
848
|
});
|
726
849
|
|
727
850
|
// symbols/capacitor_vert.ts
|
@@ -823,32 +946,32 @@ var constant_current_diode_default = {
|
|
823
946
|
};
|
824
947
|
|
825
948
|
// symbols/constant_current_diode_horz.ts
|
826
|
-
var { paths:
|
949
|
+
var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = constant_current_diode_default;
|
827
950
|
var constant_current_diode_horz_default = defineSymbol({
|
828
951
|
primitives: [
|
829
|
-
...Object.values(
|
830
|
-
...Object.values(
|
831
|
-
{ ...
|
832
|
-
{ ...
|
952
|
+
...Object.values(paths6),
|
953
|
+
...Object.values(circles4),
|
954
|
+
{ ...texts5.top1, anchor: "middle_left", x: -0.15, y: -0.4 },
|
955
|
+
{ ...texts5.bottom1, anchor: "middle_left", x: -0.15 }
|
833
956
|
],
|
834
957
|
ports: [
|
835
|
-
{ ...
|
958
|
+
{ ...refblocks6.left1, labels: ["1"] },
|
836
959
|
// TODO add more "standard" labels
|
837
|
-
{ ...
|
960
|
+
{ ...refblocks6.right1, labels: ["2"] }
|
838
961
|
// TODO add more "standard" labels
|
839
962
|
],
|
840
|
-
size: { width:
|
841
|
-
center: { x:
|
963
|
+
size: { width: bounds6.width, height: bounds6.height },
|
964
|
+
center: { x: bounds6.centerX, y: bounds6.centerY }
|
842
965
|
});
|
843
966
|
|
844
967
|
// symbols/constant_current_diode_vert.ts
|
845
968
|
var rotatedSymbol2 = rotateSymbol(constant_current_diode_horz_default);
|
846
|
-
var
|
847
|
-
var val2 =
|
969
|
+
var texts6 = rotatedSymbol2.primitives.filter((p) => p.type === "text");
|
970
|
+
var val2 = texts6.find((t) => t.text === "{VAL}");
|
848
971
|
val2.x = -0.35;
|
849
972
|
val2.y = 0;
|
850
973
|
val2.anchor = "middle_right";
|
851
|
-
var ref2 =
|
974
|
+
var ref2 = texts6.find((t) => t.text === "{REF}");
|
852
975
|
ref2.y = 0;
|
853
976
|
ref2.x = 0.35;
|
854
977
|
ref2.anchor = "middle_left";
|
@@ -1016,11 +1139,11 @@ var crystal_default = {
|
|
1016
1139
|
};
|
1017
1140
|
|
1018
1141
|
// symbols/crystal_horz.ts
|
1019
|
-
var { paths:
|
1142
|
+
var { paths: paths7, texts: texts7, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = crystal_default;
|
1020
1143
|
var crystal_horz_default = defineSymbol({
|
1021
1144
|
primitives: [
|
1022
|
-
...Object.values(
|
1023
|
-
...Object.values(
|
1145
|
+
...Object.values(paths7),
|
1146
|
+
...Object.values(circles5),
|
1024
1147
|
// { ...texts.top1, anchor: "middle_left" },
|
1025
1148
|
// { ...texts.bottom1, anchor: "middle_left" },
|
1026
1149
|
{
|
@@ -1039,24 +1162,313 @@ var crystal_horz_default = defineSymbol({
|
|
1039
1162
|
}
|
1040
1163
|
],
|
1041
1164
|
ports: [
|
1042
|
-
{ ...
|
1165
|
+
{ ...refblocks7.left1, labels: ["1"] },
|
1043
1166
|
// TODO add more "standard" labels
|
1044
|
-
{ ...
|
1167
|
+
{ ...refblocks7.right1, labels: ["2"] }
|
1045
1168
|
// TODO add more "standard" labels
|
1046
1169
|
],
|
1047
|
-
size: { width:
|
1048
|
-
center: { x:
|
1170
|
+
size: { width: bounds7.width, height: bounds7.height },
|
1171
|
+
center: { x: bounds7.centerX, y: bounds7.centerY }
|
1049
1172
|
});
|
1050
1173
|
|
1051
1174
|
// symbols/crystal_vert.ts
|
1052
1175
|
var rotatedSymbol3 = rotateSymbol(crystal_horz_default);
|
1053
|
-
var
|
1054
|
-
var ref3 =
|
1055
|
-
var val3 =
|
1176
|
+
var texts8 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
|
1177
|
+
var ref3 = texts8.find((t) => t.text === "{REF}");
|
1178
|
+
var val3 = texts8.find((t) => t.text === "{VAL}");
|
1056
1179
|
val3.x = -0.4;
|
1057
1180
|
ref3.x = 0.35;
|
1058
1181
|
var crystal_vert_default = rotatedSymbol3;
|
1059
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
|
+
|
1060
1472
|
// assets/generated/dc_ammeter.json
|
1061
1473
|
var dc_ammeter_default = {
|
1062
1474
|
paths: {
|
@@ -1159,11 +1571,11 @@ var dc_ammeter_default = {
|
|
1159
1571
|
};
|
1160
1572
|
|
1161
1573
|
// symbols/dc_ammeter_horz.ts
|
1162
|
-
var { paths:
|
1574
|
+
var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = dc_ammeter_default;
|
1163
1575
|
var dc_ammeter_horz_default = defineSymbol({
|
1164
1576
|
primitives: [
|
1165
|
-
...Object.values(
|
1166
|
-
...Object.values(
|
1577
|
+
...Object.values(paths9),
|
1578
|
+
...Object.values(circles7),
|
1167
1579
|
{
|
1168
1580
|
type: "text",
|
1169
1581
|
text: "{REF}",
|
@@ -1178,16 +1590,16 @@ var dc_ammeter_horz_default = defineSymbol({
|
|
1178
1590
|
y: 0.35,
|
1179
1591
|
anchor: "middle_top"
|
1180
1592
|
},
|
1181
|
-
{ ...
|
1593
|
+
{ ...texts10.left1, anchor: "center", fontSize: 0.3 }
|
1182
1594
|
],
|
1183
1595
|
ports: [
|
1184
|
-
{ ...
|
1596
|
+
{ ...refblocks9.left1, labels: ["1"] },
|
1185
1597
|
// TODO add more "standard" labels
|
1186
|
-
{ ...
|
1598
|
+
{ ...refblocks9.right1, labels: ["2"] }
|
1187
1599
|
// TODO add more "standard" labels
|
1188
1600
|
],
|
1189
|
-
size: { width:
|
1190
|
-
center: { x:
|
1601
|
+
size: { width: bounds9.width, height: bounds9.height },
|
1602
|
+
center: { x: bounds9.centerX, y: bounds9.centerY }
|
1191
1603
|
});
|
1192
1604
|
|
1193
1605
|
// symbols/dc_ammeter_vert.ts
|
@@ -1333,11 +1745,11 @@ var dc_voltmeter_default = {
|
|
1333
1745
|
};
|
1334
1746
|
|
1335
1747
|
// symbols/dc_voltmeter_horz.ts
|
1336
|
-
var { paths:
|
1748
|
+
var { paths: paths10, texts: texts11, bounds: bounds10, refblocks: refblocks10, circles: circles8 } = dc_voltmeter_default;
|
1337
1749
|
var dc_voltmeter_horz_default = defineSymbol({
|
1338
1750
|
primitives: [
|
1339
|
-
...Object.values(
|
1340
|
-
...Object.values(
|
1751
|
+
...Object.values(paths10),
|
1752
|
+
...Object.values(circles8),
|
1341
1753
|
{
|
1342
1754
|
type: "text",
|
1343
1755
|
text: "{REF}",
|
@@ -1354,13 +1766,13 @@ var dc_voltmeter_horz_default = defineSymbol({
|
|
1354
1766
|
}
|
1355
1767
|
],
|
1356
1768
|
ports: [
|
1357
|
-
{ ...
|
1769
|
+
{ ...refblocks10.left1, labels: ["1"] },
|
1358
1770
|
// TODO add more "standard" labels
|
1359
|
-
{ ...
|
1771
|
+
{ ...refblocks10.right1, labels: ["2"] }
|
1360
1772
|
// TODO add more "standard" labels
|
1361
1773
|
],
|
1362
|
-
size: { width:
|
1363
|
-
center: { x:
|
1774
|
+
size: { width: bounds10.width, height: bounds10.height },
|
1775
|
+
center: { x: bounds10.centerX, y: bounds10.centerY }
|
1364
1776
|
});
|
1365
1777
|
|
1366
1778
|
// symbols/dc_voltmeter_vert.ts
|
@@ -1534,31 +1946,31 @@ var diac_default = {
|
|
1534
1946
|
};
|
1535
1947
|
|
1536
1948
|
// symbols/diac_horz.ts
|
1537
|
-
var { paths:
|
1949
|
+
var { paths: paths11, texts: texts12, bounds: bounds11, refblocks: refblocks11, circles: circles9 } = diac_default;
|
1538
1950
|
var diac_horz_default = defineSymbol({
|
1539
1951
|
primitives: [
|
1540
|
-
...Object.values(
|
1541
|
-
...Object.values(
|
1542
|
-
{ ...
|
1543
|
-
{ ...
|
1952
|
+
...Object.values(paths11),
|
1953
|
+
...Object.values(circles9),
|
1954
|
+
{ ...texts12.top1, anchor: "middle_bottom" },
|
1955
|
+
{ ...texts12.bottom1, anchor: "middle_top" }
|
1544
1956
|
],
|
1545
1957
|
ports: [
|
1546
|
-
{ ...
|
1958
|
+
{ ...refblocks11.left1, labels: ["1"] },
|
1547
1959
|
// TODO add more "standard" labels
|
1548
|
-
{ ...
|
1960
|
+
{ ...refblocks11.right1, labels: ["2"] }
|
1549
1961
|
// TODO add more "standard" labels
|
1550
1962
|
],
|
1551
|
-
size: { width:
|
1552
|
-
center: { x:
|
1963
|
+
size: { width: bounds11.width, height: bounds11.height },
|
1964
|
+
center: { x: bounds11.centerX, y: bounds11.centerY }
|
1553
1965
|
});
|
1554
1966
|
|
1555
1967
|
// symbols/diac_vert.ts
|
1556
1968
|
var rotatedSymbol6 = rotateSymbol(diac_horz_default);
|
1557
|
-
var
|
1969
|
+
var texts13 = rotatedSymbol6.primitives.filter(
|
1558
1970
|
(primitive) => primitive.type === "text"
|
1559
1971
|
);
|
1560
|
-
var ref4 =
|
1561
|
-
var val4 =
|
1972
|
+
var ref4 = texts13.find((text) => text.text === "{REF}");
|
1973
|
+
var val4 = texts13.find((text) => text.text === "{VAL}");
|
1562
1974
|
ref4.y = 0;
|
1563
1975
|
val4.y = 0;
|
1564
1976
|
var diac_vert_default = rotatedSymbol6;
|
@@ -1707,43 +2119,234 @@ var diode_default = {
|
|
1707
2119
|
y: -0.0399206999999997
|
1708
2120
|
},
|
1709
2121
|
right1: {
|
1710
|
-
x: 0.5191471000000001,
|
1711
|
-
y: -0.03889610000000232
|
2122
|
+
x: 0.5191471000000001,
|
2123
|
+
y: -0.03889610000000232
|
2124
|
+
}
|
2125
|
+
},
|
2126
|
+
bounds: {
|
2127
|
+
minX: -0.5473055410000001,
|
2128
|
+
maxX: 0.5473055410000001,
|
2129
|
+
minY: -0.3688452999999988,
|
2130
|
+
maxY: 0.2788453000000004,
|
2131
|
+
width: 1.0946110820000001,
|
2132
|
+
height: 0.29769059999999925,
|
2133
|
+
centerX: 0,
|
2134
|
+
centerY: -0.04499999999999921
|
2135
|
+
},
|
2136
|
+
circles: {}
|
2137
|
+
};
|
2138
|
+
|
2139
|
+
// symbols/diode_horz.ts
|
2140
|
+
var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = diode_default;
|
2141
|
+
var diode_horz_default = defineSymbol({
|
2142
|
+
primitives: [
|
2143
|
+
...Object.values(paths12),
|
2144
|
+
{ ...texts14.top1, anchor: "middle_bottom" },
|
2145
|
+
{ ...texts14.bottom1, anchor: "middle_top" }
|
2146
|
+
],
|
2147
|
+
ports: [
|
2148
|
+
{ ...refblocks12.left1, labels: ["1"] },
|
2149
|
+
// TODO add more "standard" labels
|
2150
|
+
{ ...refblocks12.right1, labels: ["2"] }
|
2151
|
+
// TODO add more "standard" labels
|
2152
|
+
],
|
2153
|
+
size: { width: bounds12.width, height: bounds12.height },
|
2154
|
+
center: { x: bounds12.centerX, y: bounds12.centerY }
|
2155
|
+
});
|
2156
|
+
|
2157
|
+
// symbols/diode_vert.ts
|
2158
|
+
var diode_vert_default = rotateSymbol(diode_horz_default);
|
2159
|
+
|
2160
|
+
// assets/generated/dpst_switch.json
|
2161
|
+
var dpst_switch_default = {
|
2162
|
+
paths: {
|
2163
|
+
path11: {
|
2164
|
+
type: "path",
|
2165
|
+
points: [
|
2166
|
+
{
|
2167
|
+
x: -0.3622268000000006,
|
2168
|
+
y: -0.05787995000000046
|
2169
|
+
},
|
2170
|
+
{
|
2171
|
+
x: -0.1357978000000004,
|
2172
|
+
y: -0.05787995000000046
|
2173
|
+
}
|
2174
|
+
],
|
2175
|
+
color: "primary",
|
2176
|
+
fill: false
|
2177
|
+
},
|
2178
|
+
"path11-0": {
|
2179
|
+
type: "path",
|
2180
|
+
points: [
|
2181
|
+
{
|
2182
|
+
x: -0.12009950000000069,
|
2183
|
+
y: -0.0563494500000008
|
2184
|
+
},
|
2185
|
+
{
|
2186
|
+
x: 0.10307889999999986,
|
2187
|
+
y: -0.19603885000000099
|
2188
|
+
}
|
2189
|
+
],
|
2190
|
+
color: "primary",
|
2191
|
+
fill: false
|
2192
|
+
},
|
2193
|
+
path12: {
|
2194
|
+
type: "path",
|
2195
|
+
points: [
|
2196
|
+
{
|
2197
|
+
x: 0.12795640000000064,
|
2198
|
+
y: -0.05787995000000046
|
2199
|
+
},
|
2200
|
+
{
|
2201
|
+
x: 0.36869780000000096,
|
2202
|
+
y: -0.05787995000000046
|
2203
|
+
}
|
2204
|
+
],
|
2205
|
+
color: "primary",
|
2206
|
+
fill: false
|
2207
|
+
},
|
2208
|
+
"path11-5": {
|
2209
|
+
type: "path",
|
2210
|
+
points: [
|
2211
|
+
{
|
2212
|
+
x: -0.3622270999999999,
|
2213
|
+
y: 0.1736642499999992
|
2214
|
+
},
|
2215
|
+
{
|
2216
|
+
x: -0.1357980999999997,
|
2217
|
+
y: 0.1736642499999992
|
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
|
1712
2300
|
}
|
1713
2301
|
},
|
1714
2302
|
bounds: {
|
1715
|
-
minX: -0.
|
1716
|
-
maxX: 0.
|
1717
|
-
minY: -0.
|
1718
|
-
maxY: 0.
|
1719
|
-
width: 1
|
1720
|
-
height:
|
1721
|
-
centerX:
|
1722
|
-
centerY: -0.
|
2303
|
+
minX: -0.40430124099999953,
|
2304
|
+
maxX: 0.4043012409999993,
|
2305
|
+
minY: -0.4921626499999999,
|
2306
|
+
maxY: 0.40216264999999995,
|
2307
|
+
width: 1,
|
2308
|
+
height: 1,
|
2309
|
+
centerX: -11102230246251565e-32,
|
2310
|
+
centerY: -0.044999999999999984
|
1723
2311
|
},
|
1724
2312
|
circles: {}
|
1725
2313
|
};
|
1726
2314
|
|
1727
|
-
// symbols/
|
1728
|
-
var { paths:
|
1729
|
-
var
|
2315
|
+
// symbols/dpst_switch_horz.ts
|
2316
|
+
var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles10 } = dpst_switch_default;
|
2317
|
+
var dpst_switch_horz_default = defineSymbol({
|
1730
2318
|
primitives: [
|
1731
|
-
...Object.values(
|
1732
|
-
|
1733
|
-
{ ...
|
2319
|
+
...Object.values(paths13),
|
2320
|
+
...Object.values(circles10),
|
2321
|
+
{ ...texts15.top1, anchor: "middle_bottom", x: 0 },
|
2322
|
+
{ ...texts15.bottom1, anchor: "middle_top", x: 0 }
|
1734
2323
|
],
|
1735
2324
|
ports: [
|
1736
|
-
{ ...
|
2325
|
+
{ ...refblocks13.left1, labels: ["1", "left1"] },
|
1737
2326
|
// TODO add more "standard" labels
|
1738
|
-
{ ...
|
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"] }
|
1739
2332
|
// TODO add more "standard" labels
|
1740
2333
|
],
|
1741
|
-
size: { width:
|
1742
|
-
center: { x:
|
2334
|
+
size: { width: bounds13.width, height: bounds13.height },
|
2335
|
+
center: { x: bounds13.centerX, y: bounds13.centerY }
|
1743
2336
|
});
|
1744
2337
|
|
1745
|
-
// symbols/
|
1746
|
-
var
|
2338
|
+
// symbols/dpst_switch_vert.ts
|
2339
|
+
var rotatedSymbol7 = rotateSymbol(dpst_switch_horz_default);
|
2340
|
+
var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
|
2341
|
+
var val5 = texts16.find((t) => t.text === "{VAL}");
|
2342
|
+
val5.anchor = "middle_right";
|
2343
|
+
val5.x = -0.35;
|
2344
|
+
val5.y = 0;
|
2345
|
+
var ref5 = texts16.find((t) => t.text === "{REF}");
|
2346
|
+
ref5.anchor = "middle_left";
|
2347
|
+
ref5.x = 0.3;
|
2348
|
+
ref5.y = 0;
|
2349
|
+
var dpst_switch_vert_default = rotatedSymbol7;
|
1747
2350
|
|
1748
2351
|
// assets/generated/filled_diode.json
|
1749
2352
|
var filled_diode_default = {
|
@@ -1861,11 +2464,11 @@ var filled_diode_default = {
|
|
1861
2464
|
};
|
1862
2465
|
|
1863
2466
|
// symbols/filled_diode_horz.ts
|
1864
|
-
var { paths:
|
2467
|
+
var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles11 } = filled_diode_default;
|
1865
2468
|
var filled_diode_horz_default = defineSymbol({
|
1866
2469
|
primitives: [
|
1867
|
-
...Object.values(
|
1868
|
-
...Object.values(
|
2470
|
+
...Object.values(paths14),
|
2471
|
+
...Object.values(circles11),
|
1869
2472
|
{
|
1870
2473
|
type: "text",
|
1871
2474
|
text: "{REF}",
|
@@ -1882,13 +2485,13 @@ var filled_diode_horz_default = defineSymbol({
|
|
1882
2485
|
}
|
1883
2486
|
],
|
1884
2487
|
ports: [
|
1885
|
-
{ ...
|
2488
|
+
{ ...refblocks14.left1, labels: ["1"] },
|
1886
2489
|
// TODO add more "standard" labels
|
1887
|
-
{ ...
|
2490
|
+
{ ...refblocks14.right1, labels: ["2"] }
|
1888
2491
|
// TODO add more "standard" labels
|
1889
2492
|
],
|
1890
|
-
size: { width:
|
1891
|
-
center: { x:
|
2493
|
+
size: { width: bounds14.width, height: bounds14.height },
|
2494
|
+
center: { x: bounds14.centerX, y: bounds14.centerY }
|
1892
2495
|
});
|
1893
2496
|
|
1894
2497
|
// symbols/filled_diode_vert.ts
|
@@ -1982,11 +2585,11 @@ var fuse_default = {
|
|
1982
2585
|
};
|
1983
2586
|
|
1984
2587
|
// symbols/fuse_horz.ts
|
1985
|
-
var { paths:
|
2588
|
+
var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15 } = fuse_default;
|
1986
2589
|
var fuse_horz_default = defineSymbol({
|
1987
2590
|
primitives: [
|
1988
|
-
...Object.values(
|
1989
|
-
{ ...
|
2591
|
+
...Object.values(paths15),
|
2592
|
+
{ ...texts18.top1, anchor: "middle_bottom" },
|
1990
2593
|
{
|
1991
2594
|
type: "text",
|
1992
2595
|
text: "{VAL}",
|
@@ -1996,13 +2599,13 @@ var fuse_horz_default = defineSymbol({
|
|
1996
2599
|
}
|
1997
2600
|
],
|
1998
2601
|
ports: [
|
1999
|
-
{ ...
|
2602
|
+
{ ...refblocks15.left1, labels: ["1"] },
|
2000
2603
|
// TODO add more "standard" labels
|
2001
|
-
{ ...
|
2604
|
+
{ ...refblocks15.right1, labels: ["2"] }
|
2002
2605
|
// TODO add more "standard" labels
|
2003
2606
|
],
|
2004
|
-
size: { width:
|
2005
|
-
center: { x:
|
2607
|
+
size: { width: bounds15.width, height: bounds15.height },
|
2608
|
+
center: { x: bounds15.centerX, y: bounds15.centerY }
|
2006
2609
|
});
|
2007
2610
|
|
2008
2611
|
// symbols/fuse_vert.ts
|
@@ -2126,12 +2729,12 @@ var gunn_diode_default = {
|
|
2126
2729
|
};
|
2127
2730
|
|
2128
2731
|
// symbols/gunn_diode_horz.ts
|
2129
|
-
var { paths:
|
2732
|
+
var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16, circles: circles12 } = gunn_diode_default;
|
2130
2733
|
var gunn_diode_horz_default = defineSymbol({
|
2131
2734
|
primitives: [
|
2132
|
-
...Object.values(
|
2133
|
-
...Object.values(
|
2134
|
-
{ ...
|
2735
|
+
...Object.values(paths16),
|
2736
|
+
...Object.values(circles12),
|
2737
|
+
{ ...texts19.top1, anchor: "middle_left" },
|
2135
2738
|
{
|
2136
2739
|
type: "text",
|
2137
2740
|
text: "{VAL}",
|
@@ -2141,25 +2744,25 @@ var gunn_diode_horz_default = defineSymbol({
|
|
2141
2744
|
// { ...texts.bottom1, anchor: "middle_left" },
|
2142
2745
|
],
|
2143
2746
|
ports: [
|
2144
|
-
{ ...
|
2747
|
+
{ ...refblocks16.left1, labels: ["1"] },
|
2145
2748
|
// TODO add more "standard" labels
|
2146
|
-
{ ...
|
2749
|
+
{ ...refblocks16.right1, labels: ["2"] }
|
2147
2750
|
// TODO add more "standard" labels
|
2148
2751
|
],
|
2149
|
-
size: { width:
|
2150
|
-
center: { x:
|
2752
|
+
size: { width: bounds16.width, height: bounds16.height },
|
2753
|
+
center: { x: bounds16.centerX, y: bounds16.centerY }
|
2151
2754
|
});
|
2152
2755
|
|
2153
2756
|
// symbols/gunn_diode_vert.ts
|
2154
|
-
var
|
2155
|
-
var
|
2156
|
-
var
|
2157
|
-
var
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
var gunn_diode_vert_default =
|
2757
|
+
var rotatedSymbol8 = rotateSymbol(gunn_diode_horz_default);
|
2758
|
+
var texts20 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
|
2759
|
+
var ref6 = texts20.find((t) => t.text === "{REF}");
|
2760
|
+
var val6 = texts20.find((t) => t.text === "{VAL}");
|
2761
|
+
ref6.x = 0.25;
|
2762
|
+
ref6.y = -0.045;
|
2763
|
+
val6.x = -0.55;
|
2764
|
+
val6.y = 0;
|
2765
|
+
var gunn_diode_vert_default = rotatedSymbol8;
|
2163
2766
|
|
2164
2767
|
// assets/generated/igbt_transistor.json
|
2165
2768
|
var igbt_transistor_default = {
|
@@ -2340,11 +2943,11 @@ var igbt_transistor_default = {
|
|
2340
2943
|
};
|
2341
2944
|
|
2342
2945
|
// symbols/igbt_transistor_horz.ts
|
2343
|
-
var { paths:
|
2946
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles13 } = igbt_transistor_default;
|
2344
2947
|
var igbt_transistor_horz_default = defineSymbol({
|
2345
2948
|
primitives: [
|
2346
|
-
...Object.values(
|
2347
|
-
...Object.values(
|
2949
|
+
...Object.values(paths17),
|
2950
|
+
...Object.values(circles13),
|
2348
2951
|
{
|
2349
2952
|
type: "text",
|
2350
2953
|
text: "{REF}",
|
@@ -2361,30 +2964,30 @@ var igbt_transistor_horz_default = defineSymbol({
|
|
2361
2964
|
}
|
2362
2965
|
],
|
2363
2966
|
ports: [
|
2364
|
-
{ ...
|
2967
|
+
{ ...refblocks17.top1, labels: ["1"] },
|
2365
2968
|
// TODO add more "standard" labels
|
2366
|
-
{ ...
|
2969
|
+
{ ...refblocks17.bottom1, labels: ["2"] },
|
2367
2970
|
// TODO add more "standard" labels
|
2368
|
-
{ ...
|
2971
|
+
{ ...refblocks17.left1, labels: ["3"] }
|
2369
2972
|
// TODO add more "standard" labels
|
2370
2973
|
],
|
2371
|
-
size: { width:
|
2372
|
-
center: { x:
|
2974
|
+
size: { width: bounds17.width, height: bounds17.height },
|
2975
|
+
center: { x: bounds17.centerX + 0.06, y: bounds17.centerY }
|
2373
2976
|
});
|
2374
2977
|
|
2375
2978
|
// symbols/igbt_transistor_vert.ts
|
2376
2979
|
var rotated2 = rotateSymbol(igbt_transistor_horz_default);
|
2377
|
-
var
|
2980
|
+
var ref7 = rotated2.primitives.find(
|
2378
2981
|
(p) => p.type === "text" && p.text === "{REF}"
|
2379
2982
|
);
|
2380
|
-
var
|
2983
|
+
var val7 = rotated2.primitives.find(
|
2381
2984
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2382
2985
|
);
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
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;
|
2388
2991
|
var igbt_transistor_vert_default = rotated2;
|
2389
2992
|
|
2390
2993
|
// assets/generated/laser_diode.json
|
@@ -2627,31 +3230,31 @@ var laser_diode_default = {
|
|
2627
3230
|
};
|
2628
3231
|
|
2629
3232
|
// symbols/laser_diode_horz.ts
|
2630
|
-
var { paths:
|
3233
|
+
var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles14 } = laser_diode_default;
|
2631
3234
|
var laser_diode_horz_default = defineSymbol({
|
2632
3235
|
primitives: [
|
2633
|
-
...Object.values(
|
2634
|
-
...Object.values(
|
2635
|
-
{ ...
|
2636
|
-
{ ...
|
3236
|
+
...Object.values(paths18),
|
3237
|
+
...Object.values(circles14),
|
3238
|
+
{ ...texts22.top1, anchor: "middle_left" },
|
3239
|
+
{ ...texts22.bottom1, anchor: "middle_bottom" }
|
2637
3240
|
],
|
2638
3241
|
ports: [
|
2639
|
-
{ ...
|
3242
|
+
{ ...refblocks18.left1, labels: ["1"] },
|
2640
3243
|
// TODO add more "standard" labels
|
2641
|
-
{ ...
|
3244
|
+
{ ...refblocks18.right1, labels: ["2"] }
|
2642
3245
|
// TODO add more "standard" labels
|
2643
3246
|
],
|
2644
|
-
size: { width:
|
2645
|
-
center: { x:
|
3247
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3248
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
2646
3249
|
});
|
2647
3250
|
|
2648
3251
|
// symbols/laser_diode_vert.ts
|
2649
|
-
var
|
2650
|
-
var
|
2651
|
-
var
|
2652
|
-
|
2653
|
-
|
2654
|
-
var laser_diode_vert_default =
|
3252
|
+
var rotatedSymbol9 = rotateSymbol(laser_diode_horz_default);
|
3253
|
+
var texts23 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
3254
|
+
var ref8 = texts23.find((t) => t.text === "{VAL}");
|
3255
|
+
ref8.x = -0.52;
|
3256
|
+
ref8.anchor = "middle_right";
|
3257
|
+
var laser_diode_vert_default = rotatedSymbol9;
|
2655
3258
|
|
2656
3259
|
// assets/generated/led.json
|
2657
3260
|
var led_default = {
|
@@ -2869,35 +3472,35 @@ var led_default = {
|
|
2869
3472
|
};
|
2870
3473
|
|
2871
3474
|
// symbols/led_horz.ts
|
2872
|
-
var { paths:
|
3475
|
+
var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19 } = led_default;
|
2873
3476
|
var led_horz_default = defineSymbol({
|
2874
3477
|
primitives: [
|
2875
|
-
...Object.values(
|
2876
|
-
{ ...
|
2877
|
-
{ ...
|
3478
|
+
...Object.values(paths19),
|
3479
|
+
{ ...texts24.bottom1, anchor: "middle_right" },
|
3480
|
+
{ ...texts24.right1, anchor: "middle_left" }
|
2878
3481
|
],
|
2879
3482
|
ports: [
|
2880
|
-
{ ...
|
2881
|
-
{ ...
|
3483
|
+
{ ...refblocks19.left1, labels: ["1", "anode", "pos"] },
|
3484
|
+
{ ...refblocks19.right1, labels: ["2", "cathode", "neg"] }
|
2882
3485
|
],
|
2883
|
-
size: { width:
|
2884
|
-
center: { x:
|
3486
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3487
|
+
center: { x: bounds19.centerX, y: bounds19.centerY + 0.1 }
|
2885
3488
|
});
|
2886
3489
|
|
2887
3490
|
// symbols/led_vert.ts
|
2888
3491
|
var rotated3 = rotateSymbol(led_horz_default);
|
2889
|
-
var
|
3492
|
+
var ref9 = rotated3.primitives.find(
|
2890
3493
|
(p) => p.type === "text" && p.text === "{REF}"
|
2891
3494
|
);
|
2892
|
-
var
|
3495
|
+
var val8 = rotated3.primitives.find(
|
2893
3496
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2894
3497
|
);
|
2895
|
-
|
2896
|
-
|
2897
|
-
|
2898
|
-
|
2899
|
-
|
2900
|
-
|
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;
|
2901
3504
|
var led_vert_default = rotated3;
|
2902
3505
|
|
2903
3506
|
// assets/generated/mosfet_depletion_normally_on.json
|
@@ -3171,37 +3774,37 @@ var mosfet_depletion_normally_on_default = {
|
|
3171
3774
|
};
|
3172
3775
|
|
3173
3776
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
3174
|
-
var { paths:
|
3777
|
+
var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20 } = mosfet_depletion_normally_on_default;
|
3175
3778
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
3176
3779
|
primitives: [
|
3177
|
-
...Object.values(
|
3178
|
-
{ ...
|
3179
|
-
{ ...
|
3780
|
+
...Object.values(paths20),
|
3781
|
+
{ ...texts25.right1, anchor: "middle_left" },
|
3782
|
+
{ ...texts25.right2, anchor: "middle_left" }
|
3180
3783
|
],
|
3181
3784
|
ports: [
|
3182
|
-
{ ...
|
3785
|
+
{ ...refblocks20.top1, labels: ["1"] },
|
3183
3786
|
// TODO add more "standard" labels
|
3184
|
-
{ ...
|
3787
|
+
{ ...refblocks20.bottom1, labels: ["2"] },
|
3185
3788
|
// TODO add more "standard" labels
|
3186
|
-
{ ...
|
3789
|
+
{ ...refblocks20.left1, labels: ["3"] }
|
3187
3790
|
// TODO add more "standard" labels
|
3188
3791
|
],
|
3189
|
-
size: { width:
|
3190
|
-
center: { x:
|
3792
|
+
size: { width: bounds20.width + 0.4, height: bounds20.height },
|
3793
|
+
center: { x: bounds20.centerX + 0.2, y: bounds20.centerY }
|
3191
3794
|
});
|
3192
3795
|
|
3193
3796
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
3194
3797
|
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
3195
|
-
var
|
3798
|
+
var ref10 = rotated4.primitives.find(
|
3196
3799
|
(p) => p.type === "text" && p.text === "{REF}"
|
3197
3800
|
);
|
3198
|
-
var
|
3801
|
+
var val9 = rotated4.primitives.find(
|
3199
3802
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3200
3803
|
);
|
3201
|
-
|
3202
|
-
|
3203
|
-
|
3204
|
-
|
3804
|
+
ref10.anchor = "middle_top";
|
3805
|
+
val9.anchor = "middle_top";
|
3806
|
+
ref10.x = val9.x;
|
3807
|
+
val9.y += 0.15;
|
3205
3808
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
3206
3809
|
|
3207
3810
|
// assets/generated/mushroom_head_normally_open_momentary.json
|
@@ -3813,36 +4416,36 @@ var mushroom_head_normally_open_momentary_default = {
|
|
3813
4416
|
};
|
3814
4417
|
|
3815
4418
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
3816
|
-
var { paths:
|
4419
|
+
var { paths: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = mushroom_head_normally_open_momentary_default;
|
3817
4420
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
3818
4421
|
primitives: [
|
3819
|
-
...Object.values(
|
3820
|
-
...Object.values(
|
3821
|
-
{ ...
|
3822
|
-
{ ...
|
4422
|
+
...Object.values(paths21),
|
4423
|
+
...Object.values(circles15),
|
4424
|
+
{ ...texts26.top1, anchor: "middle_bottom", x: 0 },
|
4425
|
+
{ ...texts26.bottom1, anchor: "middle_top", x: 0 }
|
3823
4426
|
],
|
3824
4427
|
ports: [
|
3825
|
-
{ ...
|
3826
|
-
{ ...
|
4428
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
4429
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3827
4430
|
],
|
3828
|
-
size: { width:
|
3829
|
-
center: { x:
|
4431
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4432
|
+
center: { x: bounds21.centerX + 6e-3, y: bounds21.centerY + 0.06 }
|
3830
4433
|
});
|
3831
4434
|
|
3832
4435
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
3833
4436
|
var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
|
3834
|
-
var
|
4437
|
+
var ref11 = rotated5.primitives.find(
|
3835
4438
|
(p) => p.type === "text" && p.text === "{REF}"
|
3836
4439
|
);
|
3837
|
-
var
|
4440
|
+
var val10 = rotated5.primitives.find(
|
3838
4441
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3839
4442
|
);
|
3840
|
-
|
3841
|
-
|
3842
|
-
|
3843
|
-
|
3844
|
-
|
3845
|
-
|
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;
|
3846
4449
|
var mushroom_head_normally_open_momentary_vert_default = rotated5;
|
3847
4450
|
|
3848
4451
|
// assets/generated/n_channel_d_mosfet_transistor.json
|
@@ -4039,38 +4642,38 @@ var n_channel_d_mosfet_transistor_default = {
|
|
4039
4642
|
};
|
4040
4643
|
|
4041
4644
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
4042
|
-
var { paths:
|
4645
|
+
var { paths: paths22, texts: texts27, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = n_channel_d_mosfet_transistor_default;
|
4043
4646
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
4044
4647
|
primitives: [
|
4045
|
-
...Object.values(
|
4046
|
-
...Object.values(
|
4047
|
-
{ ...
|
4048
|
-
{ ...
|
4648
|
+
...Object.values(paths22),
|
4649
|
+
...Object.values(circles16),
|
4650
|
+
{ ...texts27.top1, anchor: "middle_right", x: 0 },
|
4651
|
+
{ ...texts27.bottom1, anchor: "middle_right", x: 0 }
|
4049
4652
|
],
|
4050
4653
|
ports: [
|
4051
|
-
{ ...
|
4654
|
+
{ ...refblocks22.top1, labels: ["1", "drain"] },
|
4052
4655
|
// TODO add more "standard" labels
|
4053
|
-
{ ...
|
4656
|
+
{ ...refblocks22.bottom1, labels: ["2", "source"] },
|
4054
4657
|
// TODO add more "standard" labels
|
4055
|
-
{ ...
|
4658
|
+
{ ...refblocks22.left1, labels: ["3", "gate"] }
|
4056
4659
|
// TODO add more "standard" labels
|
4057
4660
|
],
|
4058
|
-
size: { width:
|
4059
|
-
center: { x:
|
4661
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4662
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4060
4663
|
});
|
4061
4664
|
|
4062
4665
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
4063
|
-
var
|
4064
|
-
var
|
4065
|
-
var
|
4066
|
-
|
4067
|
-
|
4068
|
-
|
4069
|
-
var
|
4070
|
-
|
4071
|
-
|
4072
|
-
|
4073
|
-
var n_channel_d_mosfet_transistor_vert_default =
|
4666
|
+
var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
4667
|
+
var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
4668
|
+
var val11 = texts28.find((t) => t.text === "{VAL}");
|
4669
|
+
val11.x = -0.35;
|
4670
|
+
val11.y = 0;
|
4671
|
+
val11.anchor = "middle_right";
|
4672
|
+
var ref12 = texts28.find((t) => t.text === "{REF}");
|
4673
|
+
ref12.y = 0;
|
4674
|
+
ref12.x = 0.35;
|
4675
|
+
ref12.anchor = "middle_left";
|
4676
|
+
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol10;
|
4074
4677
|
|
4075
4678
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
4076
4679
|
var n_channel_e_mosfet_transistor_default = {
|
@@ -4296,38 +4899,38 @@ var n_channel_e_mosfet_transistor_default = {
|
|
4296
4899
|
};
|
4297
4900
|
|
4298
4901
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
4299
|
-
var { paths:
|
4902
|
+
var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = n_channel_e_mosfet_transistor_default;
|
4300
4903
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
4301
4904
|
primitives: [
|
4302
|
-
...Object.values(
|
4303
|
-
...Object.values(
|
4304
|
-
{ ...
|
4305
|
-
{ ...
|
4905
|
+
...Object.values(paths23),
|
4906
|
+
...Object.values(circles17),
|
4907
|
+
{ ...texts29.top1, anchor: "middle_right", x: 0 },
|
4908
|
+
{ ...texts29.bottom1, anchor: "middle_right", x: 0 }
|
4306
4909
|
],
|
4307
4910
|
ports: [
|
4308
|
-
{ ...
|
4911
|
+
{ ...refblocks23.top1, labels: ["1", "drain"] },
|
4309
4912
|
// TODO add more "standard" labels
|
4310
|
-
{ ...
|
4913
|
+
{ ...refblocks23.bottom1, labels: ["2", "source"] },
|
4311
4914
|
// TODO add more "standard" labels
|
4312
|
-
{ ...
|
4915
|
+
{ ...refblocks23.left1, labels: ["3", "gate"] }
|
4313
4916
|
// TODO add more "standard" labels
|
4314
4917
|
],
|
4315
|
-
size: { width:
|
4316
|
-
center: { x:
|
4918
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4919
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4317
4920
|
});
|
4318
4921
|
|
4319
4922
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
4320
|
-
var
|
4321
|
-
var
|
4322
|
-
var
|
4323
|
-
|
4324
|
-
|
4325
|
-
|
4326
|
-
var
|
4327
|
-
|
4328
|
-
|
4329
|
-
|
4330
|
-
var n_channel_e_mosfet_transistor_vert_default =
|
4923
|
+
var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
4924
|
+
var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
4925
|
+
var val12 = texts30.find((t) => t.text === "{VAL}");
|
4926
|
+
val12.x = -0.35;
|
4927
|
+
val12.y = 0;
|
4928
|
+
val12.anchor = "middle_right";
|
4929
|
+
var ref13 = texts30.find((t) => t.text === "{REF}");
|
4930
|
+
ref13.y = 0;
|
4931
|
+
ref13.x = 0.35;
|
4932
|
+
ref13.anchor = "middle_left";
|
4933
|
+
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol11;
|
4331
4934
|
|
4332
4935
|
// assets/generated/njfet_transistor.json
|
4333
4936
|
var njfet_transistor_default = {
|
@@ -4493,38 +5096,38 @@ var njfet_transistor_default = {
|
|
4493
5096
|
};
|
4494
5097
|
|
4495
5098
|
// symbols/njfet_transistor_horz.ts
|
4496
|
-
var { paths:
|
5099
|
+
var { paths: paths24, texts: texts31, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = njfet_transistor_default;
|
4497
5100
|
var njfet_transistor_horz_default = defineSymbol({
|
4498
5101
|
primitives: [
|
4499
|
-
...Object.values(
|
4500
|
-
...Object.values(
|
4501
|
-
{ ...
|
4502
|
-
{ ...
|
5102
|
+
...Object.values(paths24),
|
5103
|
+
...Object.values(circles18),
|
5104
|
+
{ ...texts31.top1, anchor: "middle_right", x: 0 },
|
5105
|
+
{ ...texts31.bottom1, anchor: "middle_right", x: 0 }
|
4503
5106
|
],
|
4504
5107
|
ports: [
|
4505
|
-
{ ...
|
5108
|
+
{ ...refblocks24.top1, labels: ["1", "drain"] },
|
4506
5109
|
// TODO add more "standard" labels
|
4507
|
-
{ ...
|
5110
|
+
{ ...refblocks24.bottom1, labels: ["2", "source"] },
|
4508
5111
|
// TODO add more "standard" labels
|
4509
|
-
{ ...
|
5112
|
+
{ ...refblocks24.left1, labels: ["3", "gate"] }
|
4510
5113
|
// TODO add more "standard" labels
|
4511
5114
|
],
|
4512
|
-
size: { width:
|
4513
|
-
center: { x:
|
5115
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5116
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4514
5117
|
});
|
4515
5118
|
|
4516
5119
|
// symbols/njfet_transistor_vert.ts
|
4517
|
-
var
|
4518
|
-
var
|
4519
|
-
var
|
4520
|
-
|
4521
|
-
|
4522
|
-
|
4523
|
-
var
|
4524
|
-
|
4525
|
-
|
4526
|
-
|
4527
|
-
var njfet_transistor_vert_default =
|
5120
|
+
var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
|
5121
|
+
var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
5122
|
+
var val13 = texts32.find((t) => t.text === "{VAL}");
|
5123
|
+
val13.x = -0.35;
|
5124
|
+
val13.y = 0;
|
5125
|
+
val13.anchor = "middle_right";
|
5126
|
+
var ref14 = texts32.find((t) => t.text === "{REF}");
|
5127
|
+
ref14.y = 0;
|
5128
|
+
ref14.x = 0.35;
|
5129
|
+
ref14.anchor = "middle_left";
|
5130
|
+
var njfet_transistor_vert_default = rotatedSymbol12;
|
4528
5131
|
|
4529
5132
|
// assets/generated/npn_bipolar_transistor.json
|
4530
5133
|
var npn_bipolar_transistor_default = {
|
@@ -4690,11 +5293,11 @@ var npn_bipolar_transistor_default = {
|
|
4690
5293
|
};
|
4691
5294
|
|
4692
5295
|
// symbols/npn_bipolar_transistor_horz.ts
|
4693
|
-
var { paths:
|
5296
|
+
var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = npn_bipolar_transistor_default;
|
4694
5297
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
4695
5298
|
primitives: [
|
4696
|
-
...Object.values(
|
4697
|
-
...Object.values(
|
5299
|
+
...Object.values(paths25),
|
5300
|
+
...Object.values(circles19),
|
4698
5301
|
{
|
4699
5302
|
type: "text",
|
4700
5303
|
text: "{REF}",
|
@@ -4711,20 +5314,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
4711
5314
|
}
|
4712
5315
|
],
|
4713
5316
|
ports: [
|
4714
|
-
{ ...
|
4715
|
-
{ ...
|
4716
|
-
{ ...
|
5317
|
+
{ ...refblocks25.top1, labels: ["1", "collector"] },
|
5318
|
+
{ ...refblocks25.bottom1, labels: ["2", "emitter"] },
|
5319
|
+
{ ...refblocks25.left1, labels: ["3", "base"] }
|
4717
5320
|
],
|
4718
|
-
size: { width:
|
4719
|
-
center: { x:
|
5321
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5322
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4720
5323
|
});
|
4721
5324
|
|
4722
5325
|
// symbols/npn_bipolar_transistor_vert.ts
|
4723
|
-
var
|
4724
|
-
var
|
4725
|
-
var
|
4726
|
-
|
4727
|
-
var npn_bipolar_transistor_vert_default =
|
5326
|
+
var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
5327
|
+
var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
5328
|
+
var ref15 = texts34.find((t) => t.text === "{REF}");
|
5329
|
+
ref15.anchor = "middle_left";
|
5330
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol13;
|
4728
5331
|
|
4729
5332
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
4730
5333
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -4920,38 +5523,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
4920
5523
|
};
|
4921
5524
|
|
4922
5525
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
4923
|
-
var { paths:
|
5526
|
+
var { paths: paths26, texts: texts35, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = p_channel_d_mosfet_transistor_default;
|
4924
5527
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
4925
5528
|
primitives: [
|
4926
|
-
...Object.values(
|
4927
|
-
...Object.values(
|
4928
|
-
{ ...
|
4929
|
-
{ ...
|
5529
|
+
...Object.values(paths26),
|
5530
|
+
...Object.values(circles20),
|
5531
|
+
{ ...texts35.top1, anchor: "middle_right", x: 0 },
|
5532
|
+
{ ...texts35.bottom1, anchor: "middle_right", x: 0 }
|
4930
5533
|
],
|
4931
5534
|
ports: [
|
4932
|
-
{ ...
|
5535
|
+
{ ...refblocks26.top1, labels: ["1", "drain"] },
|
4933
5536
|
// TODO add more "standard" labels
|
4934
|
-
{ ...
|
5537
|
+
{ ...refblocks26.bottom1, labels: ["2", "source"] },
|
4935
5538
|
// TODO add more "standard" labels
|
4936
|
-
{ ...
|
5539
|
+
{ ...refblocks26.left1, labels: ["3", "gate"] }
|
4937
5540
|
// TODO add more "standard" labels
|
4938
5541
|
],
|
4939
|
-
size: { width:
|
4940
|
-
center: { x:
|
5542
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5543
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4941
5544
|
});
|
4942
5545
|
|
4943
5546
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
4944
|
-
var
|
4945
|
-
var
|
4946
|
-
var
|
4947
|
-
|
4948
|
-
|
4949
|
-
|
4950
|
-
var
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
5547
|
+
var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
5548
|
+
var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
5549
|
+
var val14 = texts36.find((t) => t.text === "{VAL}");
|
5550
|
+
val14.x = -0.35;
|
5551
|
+
val14.y = 0;
|
5552
|
+
val14.anchor = "middle_right";
|
5553
|
+
var ref16 = texts36.find((t) => t.text === "{REF}");
|
5554
|
+
ref16.y = 0;
|
5555
|
+
ref16.x = 0.35;
|
5556
|
+
ref16.anchor = "middle_left";
|
5557
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol14;
|
4955
5558
|
|
4956
5559
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
4957
5560
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -5177,38 +5780,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
5177
5780
|
};
|
5178
5781
|
|
5179
5782
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
5180
|
-
var { paths:
|
5783
|
+
var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = p_channel_e_mosfet_transistor_default;
|
5181
5784
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
5182
5785
|
primitives: [
|
5183
|
-
...Object.values(
|
5184
|
-
...Object.values(
|
5185
|
-
{ ...
|
5186
|
-
{ ...
|
5786
|
+
...Object.values(paths27),
|
5787
|
+
...Object.values(circles21),
|
5788
|
+
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
5789
|
+
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
5187
5790
|
],
|
5188
5791
|
ports: [
|
5189
|
-
{ ...
|
5792
|
+
{ ...refblocks27.top1, labels: ["1", "drain"] },
|
5190
5793
|
// TODO add more "standard" labels
|
5191
|
-
{ ...
|
5794
|
+
{ ...refblocks27.bottom1, labels: ["2", "source"] },
|
5192
5795
|
// TODO add more "standard" labels
|
5193
|
-
{ ...
|
5796
|
+
{ ...refblocks27.left1, labels: ["3", "gate"] }
|
5194
5797
|
// TODO add more "standard" labels
|
5195
5798
|
],
|
5196
|
-
size: { width:
|
5197
|
-
center: { x:
|
5799
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5800
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5198
5801
|
});
|
5199
5802
|
|
5200
5803
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
5201
|
-
var
|
5202
|
-
var
|
5203
|
-
var
|
5204
|
-
|
5205
|
-
|
5206
|
-
|
5207
|
-
var
|
5208
|
-
|
5209
|
-
|
5210
|
-
|
5211
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
5804
|
+
var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
5805
|
+
var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
5806
|
+
var val15 = texts38.find((t) => t.text === "{VAL}");
|
5807
|
+
val15.x = -0.35;
|
5808
|
+
val15.y = 0;
|
5809
|
+
val15.anchor = "middle_right";
|
5810
|
+
var ref17 = texts38.find((t) => t.text === "{REF}");
|
5811
|
+
ref17.y = 0;
|
5812
|
+
ref17.x = 0.35;
|
5813
|
+
ref17.anchor = "middle_left";
|
5814
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol15;
|
5212
5815
|
|
5213
5816
|
// assets/generated/photodiode.json
|
5214
5817
|
var photodiode_default = {
|
@@ -5435,11 +6038,11 @@ var photodiode_default = {
|
|
5435
6038
|
};
|
5436
6039
|
|
5437
6040
|
// symbols/photodiode_horz.ts
|
5438
|
-
var { paths:
|
6041
|
+
var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = photodiode_default;
|
5439
6042
|
var photodiode_horz_default = defineSymbol({
|
5440
6043
|
primitives: [
|
5441
|
-
...Object.values(
|
5442
|
-
...Object.values(
|
6044
|
+
...Object.values(paths28),
|
6045
|
+
...Object.values(circles22),
|
5443
6046
|
{
|
5444
6047
|
type: "text",
|
5445
6048
|
text: "{REF}",
|
@@ -5456,22 +6059,22 @@ var photodiode_horz_default = defineSymbol({
|
|
5456
6059
|
}
|
5457
6060
|
],
|
5458
6061
|
ports: [
|
5459
|
-
{ ...
|
6062
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5460
6063
|
// TODO add more "standard" labels
|
5461
|
-
{ ...
|
6064
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5462
6065
|
// TODO add more "standard" labels
|
5463
6066
|
],
|
5464
|
-
size: { width:
|
5465
|
-
center: { x:
|
6067
|
+
size: { width: bounds28.width, height: bounds28.height },
|
6068
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5466
6069
|
});
|
5467
6070
|
|
5468
6071
|
// symbols/photodiode_vert.ts
|
5469
|
-
var
|
5470
|
-
var
|
5471
|
-
var
|
5472
|
-
|
5473
|
-
|
5474
|
-
var photodiode_vert_default =
|
6072
|
+
var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
|
6073
|
+
var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
6074
|
+
var ref18 = texts40.find((t) => t.text === "{REF}");
|
6075
|
+
ref18.y = 0;
|
6076
|
+
ref18.anchor = "middle_left";
|
6077
|
+
var photodiode_vert_default = rotatedSymbol16;
|
5475
6078
|
|
5476
6079
|
// assets/generated/pjfet_transistor.json
|
5477
6080
|
var pjfet_transistor_default = {
|
@@ -5637,38 +6240,38 @@ var pjfet_transistor_default = {
|
|
5637
6240
|
};
|
5638
6241
|
|
5639
6242
|
// symbols/pjfet_transistor_horz.ts
|
5640
|
-
var { paths:
|
6243
|
+
var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = pjfet_transistor_default;
|
5641
6244
|
var pjfet_transistor_horz_default = defineSymbol({
|
5642
6245
|
primitives: [
|
5643
|
-
...Object.values(
|
5644
|
-
...Object.values(
|
5645
|
-
{ ...
|
5646
|
-
{ ...
|
6246
|
+
...Object.values(paths29),
|
6247
|
+
...Object.values(circles23),
|
6248
|
+
{ ...texts41.top1, anchor: "middle_right", x: 0 },
|
6249
|
+
{ ...texts41.bottom1, anchor: "middle_right" }
|
5647
6250
|
],
|
5648
6251
|
ports: [
|
5649
|
-
{ ...
|
6252
|
+
{ ...refblocks29.top1, labels: ["1", "drain"] },
|
5650
6253
|
// TODO add more "standard" labels
|
5651
|
-
{ ...
|
6254
|
+
{ ...refblocks29.bottom1, labels: ["2", "source"] },
|
5652
6255
|
// TODO add more "standard" labels
|
5653
|
-
{ ...
|
6256
|
+
{ ...refblocks29.left1, labels: ["3", "gate"] }
|
5654
6257
|
// TODO add more "standard" labels
|
5655
6258
|
],
|
5656
|
-
size: { width:
|
5657
|
-
center: { x:
|
6259
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6260
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5658
6261
|
});
|
5659
6262
|
|
5660
6263
|
// symbols/pjfet_transistor_vert.ts
|
5661
|
-
var
|
5662
|
-
var
|
5663
|
-
var
|
5664
|
-
|
5665
|
-
|
5666
|
-
|
5667
|
-
var
|
5668
|
-
|
5669
|
-
|
5670
|
-
|
5671
|
-
var pjfet_transistor_vert_default =
|
6264
|
+
var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
|
6265
|
+
var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
6266
|
+
var val16 = texts42.find((t) => t.text === "{VAL}");
|
6267
|
+
val16.x = -0.35;
|
6268
|
+
val16.y = 0;
|
6269
|
+
val16.anchor = "middle_right";
|
6270
|
+
var ref19 = texts42.find((t) => t.text === "{REF}");
|
6271
|
+
ref19.y = 0;
|
6272
|
+
ref19.x = 0.35;
|
6273
|
+
ref19.anchor = "middle_left";
|
6274
|
+
var pjfet_transistor_vert_default = rotatedSymbol17;
|
5672
6275
|
|
5673
6276
|
// assets/generated/pnp_bipolar_transistor.json
|
5674
6277
|
var pnp_bipolar_transistor_default = {
|
@@ -5834,11 +6437,11 @@ var pnp_bipolar_transistor_default = {
|
|
5834
6437
|
};
|
5835
6438
|
|
5836
6439
|
// symbols/pnp_bipolar_transistor_horz.ts
|
5837
|
-
var { paths:
|
6440
|
+
var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = pnp_bipolar_transistor_default;
|
5838
6441
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
5839
6442
|
primitives: [
|
5840
|
-
...Object.values(
|
5841
|
-
...Object.values(
|
6443
|
+
...Object.values(paths30),
|
6444
|
+
...Object.values(circles24),
|
5842
6445
|
{
|
5843
6446
|
type: "text",
|
5844
6447
|
text: "{REF}",
|
@@ -5855,20 +6458,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
5855
6458
|
}
|
5856
6459
|
],
|
5857
6460
|
ports: [
|
5858
|
-
{ ...
|
5859
|
-
{ ...
|
5860
|
-
{ ...
|
6461
|
+
{ ...refblocks30.top1, labels: ["1", "collector"] },
|
6462
|
+
{ ...refblocks30.bottom1, labels: ["2", "emitter"] },
|
6463
|
+
{ ...refblocks30.left1, labels: ["3", "base"] }
|
5861
6464
|
],
|
5862
|
-
size: { width:
|
5863
|
-
center: { x:
|
6465
|
+
size: { width: bounds30.width, height: bounds30.height },
|
6466
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5864
6467
|
});
|
5865
6468
|
|
5866
6469
|
// symbols/pnp_bipolar_transistor_vert.ts
|
5867
|
-
var
|
5868
|
-
var
|
5869
|
-
var
|
5870
|
-
|
5871
|
-
var pnp_bipolar_transistor_vert_default =
|
6470
|
+
var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
6471
|
+
var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
6472
|
+
var ref20 = texts44.find((t) => t.text === "{REF}");
|
6473
|
+
ref20.anchor = "middle_left";
|
6474
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol18;
|
5872
6475
|
|
5873
6476
|
// assets/generated/potentiometer.json
|
5874
6477
|
var potentiometer_default = {
|
@@ -5985,21 +6588,21 @@ var potentiometer_default = {
|
|
5985
6588
|
};
|
5986
6589
|
|
5987
6590
|
// symbols/potentiometer_horz.ts
|
5988
|
-
var { paths:
|
6591
|
+
var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
|
5989
6592
|
var potentiometer_horz_default = defineSymbol({
|
5990
6593
|
primitives: [
|
5991
|
-
...Object.values(
|
5992
|
-
{ ...
|
5993
|
-
{ ...
|
6594
|
+
...Object.values(paths31),
|
6595
|
+
{ ...texts45.bottom1, y: 0.35, anchor: "middle_top" },
|
6596
|
+
{ ...texts45.top1, anchor: "middle_left" }
|
5994
6597
|
],
|
5995
6598
|
ports: [
|
5996
|
-
{ ...
|
6599
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5997
6600
|
// TODO add more "standard" labels
|
5998
|
-
{ ...
|
6601
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
5999
6602
|
// TODO add more "standard" labels
|
6000
6603
|
],
|
6001
|
-
size: { width:
|
6002
|
-
center: { x:
|
6604
|
+
size: { width: bounds31.width + 0.05, height: bounds31.height },
|
6605
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6003
6606
|
});
|
6004
6607
|
|
6005
6608
|
// symbols/potentiometer_vert.ts
|
@@ -6162,21 +6765,21 @@ var potentiometer2_default = {
|
|
6162
6765
|
};
|
6163
6766
|
|
6164
6767
|
// symbols/potentiometer2_horz.ts
|
6165
|
-
var { paths:
|
6768
|
+
var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
|
6166
6769
|
var potentiometer2_horz_default = defineSymbol({
|
6167
6770
|
primitives: [
|
6168
|
-
...Object.values(
|
6169
|
-
{ ...
|
6170
|
-
{ ...
|
6771
|
+
...Object.values(paths32),
|
6772
|
+
{ ...texts46.bottom1, anchor: "middle_right" },
|
6773
|
+
{ ...texts46.top1, anchor: "middle_left" }
|
6171
6774
|
],
|
6172
6775
|
ports: [
|
6173
|
-
{ ...
|
6776
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6174
6777
|
// TODO add more "standard" labels
|
6175
|
-
{ ...
|
6778
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6176
6779
|
// TODO add more "standard" labels
|
6177
6780
|
],
|
6178
|
-
size: { width:
|
6179
|
-
center: { x:
|
6781
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6782
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6180
6783
|
});
|
6181
6784
|
|
6182
6785
|
// symbols/potentiometer2_vert.ts
|
@@ -6269,11 +6872,11 @@ var power_factor_meter_default = {
|
|
6269
6872
|
};
|
6270
6873
|
|
6271
6874
|
// symbols/power_factor_meter_horz.ts
|
6272
|
-
var { paths:
|
6875
|
+
var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles25 } = power_factor_meter_default;
|
6273
6876
|
var power_factor_meter_horz_default = defineSymbol({
|
6274
6877
|
primitives: [
|
6275
|
-
...Object.values(
|
6276
|
-
...Object.values(
|
6878
|
+
...Object.values(paths33),
|
6879
|
+
...Object.values(circles25),
|
6277
6880
|
// { ...texts.top1, anchor: "middle_left" },
|
6278
6881
|
{
|
6279
6882
|
type: "text",
|
@@ -6300,28 +6903,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
6300
6903
|
}
|
6301
6904
|
],
|
6302
6905
|
ports: [
|
6303
|
-
{ ...
|
6906
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6304
6907
|
// TODO add more "standard" labels
|
6305
|
-
{ ...
|
6908
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6306
6909
|
// TODO add more "standard" labels
|
6307
6910
|
],
|
6308
|
-
size: { width:
|
6309
|
-
center: { x:
|
6911
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6912
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6310
6913
|
});
|
6311
6914
|
|
6312
6915
|
// symbols/power_factor_meter_vert.ts
|
6313
|
-
var
|
6314
|
-
var
|
6315
|
-
var
|
6316
|
-
var
|
6317
|
-
var text_cos =
|
6318
|
-
|
6319
|
-
|
6320
|
-
|
6321
|
-
|
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;
|
6322
6925
|
text_cos.x = -0.1;
|
6323
6926
|
text_cos.y = 0;
|
6324
|
-
var power_factor_meter_vert_default =
|
6927
|
+
var power_factor_meter_vert_default = rotatedSymbol19;
|
6325
6928
|
|
6326
6929
|
// assets/generated/push_button_normally_closed_momentary.json
|
6327
6930
|
var push_button_normally_closed_momentary_default = {
|
@@ -6425,37 +7028,37 @@ var push_button_normally_closed_momentary_default = {
|
|
6425
7028
|
};
|
6426
7029
|
|
6427
7030
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
6428
|
-
var { paths:
|
7031
|
+
var { paths: paths34, texts: texts49, bounds: bounds34, refblocks: refblocks34 } = push_button_normally_closed_momentary_default;
|
6429
7032
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
6430
7033
|
primitives: [
|
6431
|
-
...Object.values(
|
6432
|
-
{ ...
|
6433
|
-
{ ...
|
7034
|
+
...Object.values(paths34),
|
7035
|
+
{ ...texts49.top1, anchor: "middle_bottom" },
|
7036
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
6434
7037
|
],
|
6435
7038
|
ports: [
|
6436
|
-
{ ...
|
7039
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6437
7040
|
// TODO add more "standard" labels
|
6438
|
-
{ ...
|
7041
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6439
7042
|
// TODO add more "standard" labels
|
6440
7043
|
],
|
6441
|
-
size: { width:
|
6442
|
-
center: { x:
|
7044
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7045
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6443
7046
|
});
|
6444
7047
|
|
6445
7048
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
6446
7049
|
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
6447
|
-
var
|
7050
|
+
var ref22 = rotated7.primitives.find(
|
6448
7051
|
(p) => p.type === "text" && p.text === "{REF}"
|
6449
7052
|
);
|
6450
|
-
var
|
7053
|
+
var val18 = rotated7.primitives.find(
|
6451
7054
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6452
7055
|
);
|
6453
|
-
|
6454
|
-
|
6455
|
-
|
6456
|
-
|
6457
|
-
|
6458
|
-
|
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;
|
6459
7062
|
var push_button_normally_closed_momentary_vert_default = rotated7;
|
6460
7063
|
|
6461
7064
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -6560,37 +7163,37 @@ var push_button_normally_open_momentary_default = {
|
|
6560
7163
|
};
|
6561
7164
|
|
6562
7165
|
// symbols/push_button_normally_open_momentary_horz.ts
|
6563
|
-
var { paths:
|
7166
|
+
var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35 } = push_button_normally_open_momentary_default;
|
6564
7167
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
6565
7168
|
primitives: [
|
6566
|
-
...Object.values(
|
6567
|
-
{ ...
|
6568
|
-
{ ...
|
7169
|
+
...Object.values(paths35),
|
7170
|
+
{ ...texts50.top1, anchor: "middle_bottom" },
|
7171
|
+
{ ...texts50.bottom1, anchor: "middle_top" }
|
6569
7172
|
],
|
6570
7173
|
ports: [
|
6571
|
-
{ ...
|
7174
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6572
7175
|
// TODO add more "standard" labels
|
6573
|
-
{ ...
|
7176
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6574
7177
|
// TODO add more "standard" labels
|
6575
7178
|
],
|
6576
|
-
size: { width:
|
6577
|
-
center: { x:
|
7179
|
+
size: { width: bounds35.width, height: bounds35.height },
|
7180
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6578
7181
|
});
|
6579
7182
|
|
6580
7183
|
// symbols/push_button_normally_open_momentary_vert.ts
|
6581
7184
|
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
6582
|
-
var
|
7185
|
+
var ref23 = rotated8.primitives.find(
|
6583
7186
|
(p) => p.type === "text" && p.text === "{REF}"
|
6584
7187
|
);
|
6585
|
-
var
|
7188
|
+
var val19 = rotated8.primitives.find(
|
6586
7189
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6587
7190
|
);
|
6588
|
-
|
6589
|
-
|
6590
|
-
|
6591
|
-
|
6592
|
-
|
6593
|
-
|
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;
|
6594
7197
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
6595
7198
|
|
6596
7199
|
// assets/generated/resonator.json
|
@@ -6939,11 +7542,11 @@ var resonator_default = {
|
|
6939
7542
|
};
|
6940
7543
|
|
6941
7544
|
// symbols/resonator_horz.ts
|
6942
|
-
var { paths:
|
7545
|
+
var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = resonator_default;
|
6943
7546
|
var resonator_horz_default = defineSymbol({
|
6944
7547
|
primitives: [
|
6945
|
-
...Object.values(
|
6946
|
-
...Object.values(
|
7548
|
+
...Object.values(paths36),
|
7549
|
+
...Object.values(circles26),
|
6947
7550
|
// { ...texts.top1, anchor: "middle_left" },
|
6948
7551
|
// { ...texts.bottom1, anchor: "middle_left" },
|
6949
7552
|
{
|
@@ -6962,15 +7565,15 @@ var resonator_horz_default = defineSymbol({
|
|
6962
7565
|
}
|
6963
7566
|
],
|
6964
7567
|
ports: [
|
6965
|
-
{ ...
|
7568
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6966
7569
|
// TODO add more "standard" labels
|
6967
|
-
{ ...
|
7570
|
+
{ ...refblocks36.right1, labels: ["2"] },
|
6968
7571
|
// TODO add more "standard" labels
|
6969
|
-
{ ...
|
7572
|
+
{ ...refblocks36.right2, labels: ["3"] }
|
6970
7573
|
// TODO add more "standard" labels
|
6971
7574
|
],
|
6972
|
-
size: { width:
|
6973
|
-
center: { x:
|
7575
|
+
size: { width: bounds36.width, height: bounds36.height },
|
7576
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6974
7577
|
});
|
6975
7578
|
|
6976
7579
|
// symbols/resonator_vert.ts
|
@@ -7168,34 +7771,34 @@ var schottky_diode_default = {
|
|
7168
7771
|
};
|
7169
7772
|
|
7170
7773
|
// symbols/schottky_diode_horz.ts
|
7171
|
-
var { paths:
|
7774
|
+
var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = schottky_diode_default;
|
7172
7775
|
var schottky_diode_horz_default = defineSymbol({
|
7173
7776
|
primitives: [
|
7174
|
-
...Object.values(
|
7175
|
-
...Object.values(
|
7176
|
-
{ ...
|
7177
|
-
{ ...
|
7777
|
+
...Object.values(paths37),
|
7778
|
+
...Object.values(circles27),
|
7779
|
+
{ ...texts52.top1, anchor: "middle_bottom" },
|
7780
|
+
{ ...texts52.bottom1, anchor: "middle_top" }
|
7178
7781
|
],
|
7179
7782
|
ports: [
|
7180
|
-
{ ...
|
7783
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
7181
7784
|
// TODO add more "standard" labels
|
7182
|
-
{ ...
|
7785
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
7183
7786
|
// TODO add more "standard" labels
|
7184
7787
|
],
|
7185
|
-
size: { width:
|
7186
|
-
center: { x:
|
7788
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7789
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
7187
7790
|
});
|
7188
7791
|
|
7189
7792
|
// symbols/schottky_diode_vert.ts
|
7190
7793
|
var rotated9 = rotateSymbol(schottky_diode_horz_default);
|
7191
|
-
var
|
7794
|
+
var ref24 = rotated9.primitives.find(
|
7192
7795
|
(p) => p.type === "text" && p.text === "{REF}"
|
7193
7796
|
);
|
7194
|
-
var
|
7797
|
+
var val20 = rotated9.primitives.find(
|
7195
7798
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7196
7799
|
);
|
7197
|
-
|
7198
|
-
|
7800
|
+
ref24.anchor = "middle_left";
|
7801
|
+
val20.anchor = "middle_right";
|
7199
7802
|
var schottky_diode_vert_default = rotated9;
|
7200
7803
|
|
7201
7804
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -7342,35 +7945,35 @@ var silicon_controlled_rectifier_default = {
|
|
7342
7945
|
};
|
7343
7946
|
|
7344
7947
|
// symbols/silicon_controlled_rectifier_horz.ts
|
7345
|
-
var { paths:
|
7948
|
+
var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = silicon_controlled_rectifier_default;
|
7346
7949
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
7347
7950
|
primitives: [
|
7348
|
-
...Object.values(
|
7349
|
-
...Object.values(
|
7350
|
-
{ ...
|
7351
|
-
{ ...
|
7951
|
+
...Object.values(paths38),
|
7952
|
+
...Object.values(circles28),
|
7953
|
+
{ ...texts53.top1, anchor: "middle_left" },
|
7954
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
7352
7955
|
],
|
7353
7956
|
ports: [
|
7354
|
-
{ ...
|
7957
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
7355
7958
|
// TODO add more "standard" labels
|
7356
|
-
{ ...
|
7959
|
+
{ ...refblocks38.right1, labels: ["2"] },
|
7357
7960
|
// TODO add more "standard" labels
|
7358
|
-
{ ...
|
7961
|
+
{ ...refblocks38.bottom1, labels: ["3"] }
|
7359
7962
|
// TODO add more "standard" labels
|
7360
7963
|
],
|
7361
|
-
size: { width:
|
7362
|
-
center: { x:
|
7964
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7965
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7363
7966
|
});
|
7364
7967
|
|
7365
7968
|
// symbols/silicon_controlled_rectifier_vert.ts
|
7366
|
-
var
|
7367
|
-
var
|
7969
|
+
var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
7970
|
+
var texts54 = rotatedSymbol20.primitives.filter(
|
7368
7971
|
(primitive) => primitive.type === "text"
|
7369
7972
|
);
|
7370
|
-
var
|
7371
|
-
|
7372
|
-
|
7373
|
-
var silicon_controlled_rectifier_vert_default =
|
7973
|
+
var ref25 = texts54.find((text) => text.text === "{REF}");
|
7974
|
+
ref25.y = 0;
|
7975
|
+
ref25.anchor = "middle_left";
|
7976
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
|
7374
7977
|
|
7375
7978
|
// assets/generated/SPDT_switch.json
|
7376
7979
|
var SPDT_switch_default = {
|
@@ -7490,38 +8093,38 @@ var SPDT_switch_default = {
|
|
7490
8093
|
};
|
7491
8094
|
|
7492
8095
|
// symbols/SPDT_switch_horz.ts
|
7493
|
-
var { paths:
|
8096
|
+
var { paths: paths39, texts: texts55, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = SPDT_switch_default;
|
7494
8097
|
var SPDT_switch_horz_default = defineSymbol({
|
7495
8098
|
primitives: [
|
7496
|
-
...Object.values(
|
7497
|
-
...Object.values(
|
7498
|
-
{ ...
|
7499
|
-
{ ...
|
8099
|
+
...Object.values(paths39),
|
8100
|
+
...Object.values(circles29),
|
8101
|
+
{ ...texts55.top1, anchor: "middle_bottom", x: -0.01 },
|
8102
|
+
{ ...texts55.bottom1, anchor: "middle_top", x: -0.01 }
|
7500
8103
|
],
|
7501
8104
|
ports: [
|
7502
|
-
{ ...
|
8105
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
7503
8106
|
// TODO add more "standard" labels
|
7504
|
-
{ ...
|
8107
|
+
{ ...refblocks39.right1, labels: ["3"] },
|
7505
8108
|
// TODO add more "standard" labels
|
7506
|
-
{ ...
|
8109
|
+
{ ...refblocks39.right2, labels: ["2"] }
|
7507
8110
|
// TODO add more "standard" labels
|
7508
8111
|
],
|
7509
|
-
size: { width:
|
7510
|
-
center: { x:
|
8112
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8113
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7511
8114
|
});
|
7512
8115
|
|
7513
8116
|
// symbols/SPDT_switch_vert.ts
|
7514
|
-
var
|
7515
|
-
var
|
7516
|
-
var
|
7517
|
-
|
7518
|
-
|
7519
|
-
|
7520
|
-
var
|
7521
|
-
|
7522
|
-
|
7523
|
-
|
7524
|
-
var SPDT_switch_vert_default =
|
8117
|
+
var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
|
8118
|
+
var texts56 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
8119
|
+
var val21 = texts56.find((t) => t.text === "{VAL}");
|
8120
|
+
val21.anchor = "middle_right";
|
8121
|
+
val21.x = -0.3;
|
8122
|
+
val21.y = 0;
|
8123
|
+
var ref26 = texts56.find((t) => t.text === "{REF}");
|
8124
|
+
ref26.anchor = "middle_left";
|
8125
|
+
ref26.x = 0.3;
|
8126
|
+
ref26.y = 0;
|
8127
|
+
var SPDT_switch_vert_default = rotatedSymbol21;
|
7525
8128
|
|
7526
8129
|
// assets/generated/SPST_switch.json
|
7527
8130
|
var SPST_switch_default = {
|
@@ -7618,36 +8221,36 @@ var SPST_switch_default = {
|
|
7618
8221
|
};
|
7619
8222
|
|
7620
8223
|
// symbols/SPST_switch_horz.ts
|
7621
|
-
var { paths:
|
8224
|
+
var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = SPST_switch_default;
|
7622
8225
|
var SPST_switch_horz_default = defineSymbol({
|
7623
8226
|
primitives: [
|
7624
|
-
...Object.values(
|
7625
|
-
...Object.values(
|
7626
|
-
{ ...
|
7627
|
-
{ ...
|
8227
|
+
...Object.values(paths40),
|
8228
|
+
...Object.values(circles30),
|
8229
|
+
{ ...texts57.top1, anchor: "middle_bottom", x: 0 },
|
8230
|
+
{ ...texts57.bottom1, anchor: "middle_top", x: 0 }
|
7628
8231
|
],
|
7629
8232
|
ports: [
|
7630
|
-
{ ...
|
8233
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
7631
8234
|
// TODO add more "standard" labels
|
7632
|
-
{ ...
|
8235
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
7633
8236
|
// TODO add more "standard" labels
|
7634
8237
|
],
|
7635
|
-
size: { width:
|
7636
|
-
center: { x:
|
8238
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8239
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7637
8240
|
});
|
7638
8241
|
|
7639
8242
|
// symbols/SPST_switch_vert.ts
|
7640
|
-
var
|
7641
|
-
var
|
7642
|
-
var
|
7643
|
-
|
7644
|
-
|
7645
|
-
|
7646
|
-
var
|
7647
|
-
|
7648
|
-
|
7649
|
-
|
7650
|
-
var SPST_switch_vert_default =
|
8243
|
+
var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
|
8244
|
+
var texts58 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8245
|
+
var val22 = texts58.find((t) => t.text === "{VAL}");
|
8246
|
+
val22.anchor = "middle_right";
|
8247
|
+
val22.x = -0.3;
|
8248
|
+
val22.y = 0;
|
8249
|
+
var ref27 = texts58.find((t) => t.text === "{REF}");
|
8250
|
+
ref27.anchor = "middle_left";
|
8251
|
+
ref27.x = 0.3;
|
8252
|
+
ref27.y = 0;
|
8253
|
+
var SPST_switch_vert_default = rotatedSymbol22;
|
7651
8254
|
|
7652
8255
|
// assets/generated/step_recovery_diode.json
|
7653
8256
|
var step_recovery_diode_default = {
|
@@ -7811,11 +8414,11 @@ var step_recovery_diode_default = {
|
|
7811
8414
|
};
|
7812
8415
|
|
7813
8416
|
// symbols/step_recovery_diode_horz.ts
|
7814
|
-
var { paths:
|
8417
|
+
var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = step_recovery_diode_default;
|
7815
8418
|
var step_recovery_diode_horz_default = defineSymbol({
|
7816
8419
|
primitives: [
|
7817
|
-
...Object.values(
|
7818
|
-
...Object.values(
|
8420
|
+
...Object.values(paths41),
|
8421
|
+
...Object.values(circles31),
|
7819
8422
|
// { ...texts.top1, anchor: "middle_left" },
|
7820
8423
|
// { ...texts.bottom1, anchor: "middle_left" },
|
7821
8424
|
{
|
@@ -7834,13 +8437,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
7834
8437
|
}
|
7835
8438
|
],
|
7836
8439
|
ports: [
|
7837
|
-
{ ...
|
8440
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
7838
8441
|
// TODO add more "standard" labels
|
7839
|
-
{ ...
|
8442
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
7840
8443
|
// TODO add more "standard" labels
|
7841
8444
|
],
|
7842
|
-
size: { width:
|
7843
|
-
center: { x:
|
8445
|
+
size: { width: bounds41.width, height: bounds41.height },
|
8446
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
7844
8447
|
});
|
7845
8448
|
|
7846
8449
|
// symbols/step_recovery_diode_vert.ts
|
@@ -8037,36 +8640,36 @@ var triac_default = {
|
|
8037
8640
|
};
|
8038
8641
|
|
8039
8642
|
// symbols/triac_horz.ts
|
8040
|
-
var { paths:
|
8643
|
+
var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = triac_default;
|
8041
8644
|
var triac_horz_default = defineSymbol({
|
8042
8645
|
primitives: [
|
8043
|
-
...Object.values(
|
8044
|
-
...Object.values(
|
8045
|
-
{ ...
|
8046
|
-
{ ...
|
8646
|
+
...Object.values(paths42),
|
8647
|
+
...Object.values(circles32),
|
8648
|
+
{ ...texts60.top1, anchor: "middle_left" },
|
8649
|
+
{ ...texts60.bottom1, anchor: "middle_top" }
|
8047
8650
|
],
|
8048
8651
|
ports: [
|
8049
|
-
{ ...
|
8652
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
8050
8653
|
// TODO add more "standard" labels
|
8051
|
-
{ ...
|
8654
|
+
{ ...refblocks42.right1, labels: ["2"] },
|
8052
8655
|
// TODO add more "standard" labels
|
8053
|
-
{ ...
|
8656
|
+
{ ...refblocks42.bottom1, labels: ["3"] }
|
8054
8657
|
// TODO add more "standard" labels
|
8055
8658
|
],
|
8056
|
-
size: { width:
|
8057
|
-
center: { x:
|
8659
|
+
size: { width: bounds42.width, height: bounds42.height },
|
8660
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
8058
8661
|
});
|
8059
8662
|
|
8060
8663
|
// symbols/triac_vert.ts
|
8061
|
-
var
|
8062
|
-
var
|
8664
|
+
var rotatedSymbol23 = rotateSymbol(triac_horz_default);
|
8665
|
+
var texts61 = rotatedSymbol23.primitives.filter(
|
8063
8666
|
(primitive) => primitive.type === "text"
|
8064
8667
|
);
|
8065
|
-
var
|
8066
|
-
var
|
8067
|
-
|
8068
|
-
|
8069
|
-
var triac_vert_default =
|
8668
|
+
var ref28 = texts61.find((text) => text.text === "{REF}");
|
8669
|
+
var val23 = texts61.find((text) => text.text === "{VAL}");
|
8670
|
+
ref28.y = 0;
|
8671
|
+
val23.y = 0;
|
8672
|
+
var triac_vert_default = rotatedSymbol23;
|
8070
8673
|
|
8071
8674
|
// assets/generated/tunnel_diode.json
|
8072
8675
|
var tunnel_diode_default = {
|
@@ -8230,34 +8833,34 @@ var tunnel_diode_default = {
|
|
8230
8833
|
};
|
8231
8834
|
|
8232
8835
|
// symbols/tunnel_diode_horz.ts
|
8233
|
-
var { paths:
|
8836
|
+
var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = tunnel_diode_default;
|
8234
8837
|
var tunnel_diode_horz_default = defineSymbol({
|
8235
8838
|
primitives: [
|
8236
|
-
...Object.values(
|
8237
|
-
...Object.values(
|
8238
|
-
{ ...
|
8239
|
-
{ ...
|
8839
|
+
...Object.values(paths43),
|
8840
|
+
...Object.values(circles33),
|
8841
|
+
{ ...texts62.top1, anchor: "middle_bottom" },
|
8842
|
+
{ ...texts62.bottom1, anchor: "middle_top" }
|
8240
8843
|
],
|
8241
8844
|
ports: [
|
8242
|
-
{ ...
|
8845
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
8243
8846
|
// TODO add more "standard" labels
|
8244
|
-
{ ...
|
8847
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
8245
8848
|
// TODO add more "standard" labels
|
8246
8849
|
],
|
8247
|
-
size: { width:
|
8248
|
-
center: { x:
|
8850
|
+
size: { width: bounds43.width, height: bounds43.height },
|
8851
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
8249
8852
|
});
|
8250
8853
|
|
8251
8854
|
// symbols/tunnel_diode_vert.ts
|
8252
8855
|
var rotated10 = rotateSymbol(tunnel_diode_horz_default);
|
8253
|
-
var
|
8856
|
+
var ref29 = rotated10.primitives.find(
|
8254
8857
|
(p) => p.type === "text" && p.text === "{REF}"
|
8255
8858
|
);
|
8256
|
-
var
|
8859
|
+
var val24 = rotated10.primitives.find(
|
8257
8860
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8258
8861
|
);
|
8259
|
-
|
8260
|
-
|
8862
|
+
ref29.anchor = "middle_left";
|
8863
|
+
val24.anchor = "middle_right";
|
8261
8864
|
var tunnel_diode_vert_default = rotated10;
|
8262
8865
|
|
8263
8866
|
// assets/generated/unijunction_transistor.json
|
@@ -8428,37 +9031,37 @@ var unijunction_transistor_default = {
|
|
8428
9031
|
};
|
8429
9032
|
|
8430
9033
|
// symbols/unijunction_transistor_horz.ts
|
8431
|
-
var { paths:
|
9034
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = unijunction_transistor_default;
|
8432
9035
|
var unijunction_transistor_horz_default = defineSymbol({
|
8433
9036
|
primitives: [
|
8434
|
-
...Object.values(
|
8435
|
-
...Object.values(
|
8436
|
-
{ ...
|
8437
|
-
{ ...
|
9037
|
+
...Object.values(paths44),
|
9038
|
+
...Object.values(circles34),
|
9039
|
+
{ ...texts63.top1, anchor: "middle_left" },
|
9040
|
+
{ ...texts63.bottom1, anchor: "middle_right" }
|
8438
9041
|
],
|
8439
9042
|
ports: [
|
8440
|
-
{ ...
|
9043
|
+
{ ...refblocks44.top1, labels: ["1"] },
|
8441
9044
|
// TODO add more "standard" labels
|
8442
|
-
{ ...
|
9045
|
+
{ ...refblocks44.bottom1, labels: ["2"] },
|
8443
9046
|
// TODO add more "standard" labels
|
8444
|
-
{ ...
|
9047
|
+
{ ...refblocks44.left1, labels: ["3"] }
|
8445
9048
|
// TODO add more "standard" labels
|
8446
9049
|
],
|
8447
|
-
size: { width:
|
8448
|
-
center: { x:
|
9050
|
+
size: { width: bounds44.width, height: bounds44.height },
|
9051
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
8449
9052
|
});
|
8450
9053
|
|
8451
9054
|
// symbols/unijunction_transistor_vert.ts
|
8452
|
-
var
|
8453
|
-
var
|
9055
|
+
var rotatedSymbol24 = rotateSymbol(unijunction_transistor_horz_default);
|
9056
|
+
var texts64 = rotatedSymbol24.primitives.filter(
|
8454
9057
|
(primitive) => primitive.type === "text"
|
8455
9058
|
);
|
8456
|
-
var
|
8457
|
-
|
8458
|
-
var
|
8459
|
-
|
8460
|
-
|
8461
|
-
var unijunction_transistor_vert_default =
|
9059
|
+
var ref30 = texts64.find((text) => text.text === "{REF}");
|
9060
|
+
ref30.y = 0.1;
|
9061
|
+
var val25 = texts64.find((text) => text.text === "{VAL}");
|
9062
|
+
val25.y = 0.1;
|
9063
|
+
val25.x = -0.4;
|
9064
|
+
var unijunction_transistor_vert_default = rotatedSymbol24;
|
8462
9065
|
|
8463
9066
|
// assets/generated/var_meter.json
|
8464
9067
|
var var_meter_default = {
|
@@ -8547,33 +9150,33 @@ var var_meter_default = {
|
|
8547
9150
|
};
|
8548
9151
|
|
8549
9152
|
// symbols/var_meter_horz.ts
|
8550
|
-
var { paths:
|
9153
|
+
var { paths: paths45, texts: texts65, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = var_meter_default;
|
8551
9154
|
var var_meter_horz_default = defineSymbol({
|
8552
9155
|
primitives: [
|
8553
|
-
...Object.values(
|
8554
|
-
...Object.values(
|
9156
|
+
...Object.values(paths45),
|
9157
|
+
...Object.values(circles35),
|
8555
9158
|
{
|
8556
|
-
...
|
9159
|
+
...texts65.top1,
|
8557
9160
|
x: 0,
|
8558
9161
|
y: -0.3594553499999995,
|
8559
9162
|
anchor: "middle_bottom"
|
8560
9163
|
},
|
8561
9164
|
{
|
8562
|
-
...
|
9165
|
+
...texts65.bottom1,
|
8563
9166
|
x: 0,
|
8564
9167
|
y: 0.35,
|
8565
9168
|
anchor: "middle_top"
|
8566
9169
|
},
|
8567
|
-
{ ...
|
9170
|
+
{ ...texts65.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
8568
9171
|
],
|
8569
9172
|
ports: [
|
8570
|
-
{ ...
|
9173
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
8571
9174
|
// TODO add more "standard" labels
|
8572
|
-
{ ...
|
9175
|
+
{ ...refblocks45.right1, labels: ["2"] }
|
8573
9176
|
// TODO add more "standard" labels
|
8574
9177
|
],
|
8575
|
-
size: { width:
|
8576
|
-
center: { x:
|
9178
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9179
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
8577
9180
|
});
|
8578
9181
|
|
8579
9182
|
// symbols/var_meter_vert.ts
|
@@ -8726,34 +9329,34 @@ var varactor_diode_default = {
|
|
8726
9329
|
};
|
8727
9330
|
|
8728
9331
|
// symbols/varactor_diode_horz.ts
|
8729
|
-
var { paths:
|
9332
|
+
var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = varactor_diode_default;
|
8730
9333
|
var varactor_diode_horz_default = defineSymbol({
|
8731
9334
|
primitives: [
|
8732
|
-
...Object.values(
|
8733
|
-
...Object.values(
|
8734
|
-
{ ...
|
8735
|
-
{ ...
|
9335
|
+
...Object.values(paths46),
|
9336
|
+
...Object.values(circles36),
|
9337
|
+
{ ...texts66.top1, anchor: "middle_bottom" },
|
9338
|
+
{ ...texts66.bottom1, anchor: "middle_top" }
|
8736
9339
|
],
|
8737
9340
|
ports: [
|
8738
|
-
{ ...
|
9341
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
8739
9342
|
// TODO add more "standard" labels
|
8740
|
-
{ ...
|
9343
|
+
{ ...refblocks46.right1, labels: ["2"] }
|
8741
9344
|
// TODO add more "standard" labels
|
8742
9345
|
],
|
8743
|
-
size: { width:
|
8744
|
-
center: { x:
|
9346
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9347
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
8745
9348
|
});
|
8746
9349
|
|
8747
9350
|
// symbols/varactor_diode_vert.ts
|
8748
9351
|
var rotated11 = rotateSymbol(varactor_diode_horz_default);
|
8749
|
-
var
|
9352
|
+
var ref31 = rotated11.primitives.find(
|
8750
9353
|
(p) => p.type === "text" && p.text === "{REF}"
|
8751
9354
|
);
|
8752
|
-
var
|
9355
|
+
var val26 = rotated11.primitives.find(
|
8753
9356
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8754
9357
|
);
|
8755
|
-
|
8756
|
-
|
9358
|
+
ref31.anchor = "middle_left";
|
9359
|
+
val26.anchor = "middle_right";
|
8757
9360
|
var varactor_diode_vert_default = rotated11;
|
8758
9361
|
|
8759
9362
|
// assets/generated/varistor.json
|
@@ -8889,26 +9492,26 @@ var varistor_default = {
|
|
8889
9492
|
};
|
8890
9493
|
|
8891
9494
|
// symbols/varistor_horz.ts
|
8892
|
-
var { paths:
|
9495
|
+
var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
|
8893
9496
|
var varistor_horz_default = defineSymbol({
|
8894
9497
|
primitives: [
|
8895
|
-
...Object.values(
|
8896
|
-
{ ...
|
8897
|
-
{ ...
|
9498
|
+
...Object.values(paths47),
|
9499
|
+
{ ...texts67.top1, anchor: "middle_left" },
|
9500
|
+
{ ...texts67.bottom1, anchor: "middle_right" }
|
8898
9501
|
],
|
8899
9502
|
ports: [
|
8900
9503
|
{
|
8901
|
-
...
|
9504
|
+
...refblocks47.left1,
|
8902
9505
|
labels: ["1", "-"]
|
8903
9506
|
},
|
8904
9507
|
{
|
8905
|
-
...
|
9508
|
+
...refblocks47.right1,
|
8906
9509
|
labels: ["2", "+"]
|
8907
9510
|
}
|
8908
9511
|
],
|
8909
|
-
size: { width:
|
9512
|
+
size: { width: bounds47.width, height: bounds47.height },
|
8910
9513
|
//{ width: 1, height: 0.24 },
|
8911
|
-
center: { x:
|
9514
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
8912
9515
|
});
|
8913
9516
|
|
8914
9517
|
// symbols/varistor_vert.ts
|
@@ -9014,11 +9617,11 @@ var volt_meter_default = {
|
|
9014
9617
|
};
|
9015
9618
|
|
9016
9619
|
// symbols/volt_meter_horz.ts
|
9017
|
-
var { paths:
|
9620
|
+
var { paths: paths48, texts: texts68, bounds: bounds48, circles: circles37, refblocks: refblocks48 } = volt_meter_default;
|
9018
9621
|
var volt_meter_horz_default = defineSymbol({
|
9019
9622
|
primitives: [
|
9020
|
-
...Object.values(
|
9021
|
-
...Object.values(
|
9623
|
+
...Object.values(paths48),
|
9624
|
+
...Object.values(circles37),
|
9022
9625
|
{
|
9023
9626
|
type: "text",
|
9024
9627
|
text: "{REF}",
|
@@ -9035,13 +9638,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
9035
9638
|
}
|
9036
9639
|
],
|
9037
9640
|
ports: [
|
9038
|
-
{ ...
|
9641
|
+
{ ...refblocks48.left1, labels: ["1"] },
|
9039
9642
|
// TODO add more "standard" labels
|
9040
|
-
{ ...
|
9643
|
+
{ ...refblocks48.right1, labels: ["2"] }
|
9041
9644
|
// TODO add more "standard" labels
|
9042
9645
|
],
|
9043
|
-
size: { width:
|
9044
|
-
center: { x:
|
9646
|
+
size: { width: bounds48.width, height: bounds48.height },
|
9647
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
9045
9648
|
});
|
9046
9649
|
|
9047
9650
|
// symbols/volt_meter_vert.ts
|
@@ -9194,34 +9797,34 @@ var zener_diode_default = {
|
|
9194
9797
|
};
|
9195
9798
|
|
9196
9799
|
// symbols/zener_diode_horz.ts
|
9197
|
-
var { paths:
|
9800
|
+
var { paths: paths49, texts: texts69, bounds: bounds49, refblocks: refblocks49, circles: circles38 } = zener_diode_default;
|
9198
9801
|
var zener_diode_horz_default = defineSymbol({
|
9199
9802
|
primitives: [
|
9200
|
-
...Object.values(
|
9201
|
-
...Object.values(
|
9202
|
-
{ ...
|
9203
|
-
{ ...
|
9803
|
+
...Object.values(paths49),
|
9804
|
+
...Object.values(circles38),
|
9805
|
+
{ ...texts69.top1, anchor: "middle_bottom" },
|
9806
|
+
{ ...texts69.bottom1, anchor: "middle_top" }
|
9204
9807
|
],
|
9205
9808
|
ports: [
|
9206
|
-
{ ...
|
9809
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
9207
9810
|
// TODO add more "standard" labels
|
9208
|
-
{ ...
|
9811
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
9209
9812
|
// TODO add more "standard" labels
|
9210
9813
|
],
|
9211
|
-
size: { width:
|
9212
|
-
center: { x:
|
9814
|
+
size: { width: bounds49.width, height: bounds49.height },
|
9815
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
9213
9816
|
});
|
9214
9817
|
|
9215
9818
|
// symbols/zener_diode_vert.ts
|
9216
9819
|
var rotated12 = rotateSymbol(zener_diode_horz_default);
|
9217
|
-
var
|
9820
|
+
var ref32 = rotated12.primitives.find(
|
9218
9821
|
(p) => p.type === "text" && p.text === "{REF}"
|
9219
9822
|
);
|
9220
|
-
var
|
9823
|
+
var val27 = rotated12.primitives.find(
|
9221
9824
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9222
9825
|
);
|
9223
|
-
|
9224
|
-
|
9826
|
+
ref32.anchor = "middle_left";
|
9827
|
+
val27.anchor = "middle_right";
|
9225
9828
|
var zener_diode_vert_default = rotated12;
|
9226
9829
|
|
9227
9830
|
// generated/symbols-index.ts
|
@@ -9230,6 +9833,8 @@ var symbols_index_default = {
|
|
9230
9833
|
"ac_voltmeter_vert": ac_voltmeter_vert_default,
|
9231
9834
|
"avalanche_diode_horz": avalanche_diode_horz_default,
|
9232
9835
|
"avalanche_diode_vert": avalanche_diode_vert_default,
|
9836
|
+
"battery_horz": battery_horz_default,
|
9837
|
+
"battery_vert": battery_vert_default,
|
9233
9838
|
"boxresistor_horz": boxresistor_horz_default,
|
9234
9839
|
"boxresistor_vert": boxresistor_vert_default,
|
9235
9840
|
"capacitor_horz": capacitor_horz_default,
|
@@ -9238,6 +9843,8 @@ var symbols_index_default = {
|
|
9238
9843
|
"constant_current_diode_vert": constant_current_diode_vert_default,
|
9239
9844
|
"crystal_horz": crystal_horz_default,
|
9240
9845
|
"crystal_vert": crystal_vert_default,
|
9846
|
+
"darlington_pair_transistor_horz": darlington_pair_transistor_horz_default,
|
9847
|
+
"darlington_pair_transistor_vert": darlington_pair_transistor_vert_default,
|
9241
9848
|
"dc_ammeter_horz": dc_ammeter_horz_default,
|
9242
9849
|
"dc_ammeter_vert": dc_ammeter_vert_default,
|
9243
9850
|
"dc_voltmeter_horz": dc_voltmeter_horz_default,
|
@@ -9246,6 +9853,8 @@ var symbols_index_default = {
|
|
9246
9853
|
"diac_vert": diac_vert_default,
|
9247
9854
|
"diode_horz": diode_horz_default,
|
9248
9855
|
"diode_vert": diode_vert_default,
|
9856
|
+
"dpst_switch_horz": dpst_switch_horz_default,
|
9857
|
+
"dpst_switch_vert": dpst_switch_vert_default,
|
9249
9858
|
"filled_diode_horz": filled_diode_horz_default,
|
9250
9859
|
"filled_diode_vert": filled_diode_vert_default,
|
9251
9860
|
"fuse_horz": fuse_horz_default,
|