schematic-symbols 0.0.61 → 0.0.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +799 -395
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/crystal_horz.ts +33 -0
- package/symbols/crystal_vert.ts +10 -0
- package/symbols/pjfet_transistor_horz.ts +20 -0
- package/symbols/pjfet_transistor_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -853,6 +853,209 @@ ref2.x = 0.35;
|
|
853
853
|
ref2.anchor = "middle_left";
|
854
854
|
var constant_current_diode_vert_default = rotatedSymbol2;
|
855
855
|
|
856
|
+
// assets/generated/crystal.json
|
857
|
+
var crystal_default = {
|
858
|
+
paths: {
|
859
|
+
path27: {
|
860
|
+
type: "path",
|
861
|
+
points: [
|
862
|
+
{
|
863
|
+
x: 0.5229378000000002,
|
864
|
+
y: -0.012283099999995883
|
865
|
+
},
|
866
|
+
{
|
867
|
+
x: 0.13246630000000037,
|
868
|
+
y: -0.012283099999995883
|
869
|
+
}
|
870
|
+
],
|
871
|
+
color: "primary",
|
872
|
+
fill: false
|
873
|
+
},
|
874
|
+
path28: {
|
875
|
+
type: "path",
|
876
|
+
points: [
|
877
|
+
{
|
878
|
+
x: -0.14263049999999966,
|
879
|
+
y: -0.012283099999995883
|
880
|
+
},
|
881
|
+
{
|
882
|
+
x: -0.5353954999999999,
|
883
|
+
y: -0.012283099999995883
|
884
|
+
}
|
885
|
+
],
|
886
|
+
color: "primary",
|
887
|
+
fill: false
|
888
|
+
},
|
889
|
+
path29: {
|
890
|
+
type: "path",
|
891
|
+
points: [
|
892
|
+
{
|
893
|
+
x: 0.12606289999999998,
|
894
|
+
y: -0.2768663999999976
|
895
|
+
},
|
896
|
+
{
|
897
|
+
x: 0.12606290000000042,
|
898
|
+
y: 0.2523002000000023
|
899
|
+
}
|
900
|
+
],
|
901
|
+
color: "primary",
|
902
|
+
fill: false
|
903
|
+
},
|
904
|
+
"path29-2": {
|
905
|
+
type: "path",
|
906
|
+
points: [
|
907
|
+
{
|
908
|
+
x: 0.07263109999999973,
|
909
|
+
y: -0.27614569999999716
|
910
|
+
},
|
911
|
+
{
|
912
|
+
x: 0.07263110000000017,
|
913
|
+
y: 0.253020900000001
|
914
|
+
}
|
915
|
+
],
|
916
|
+
color: "primary",
|
917
|
+
fill: false
|
918
|
+
},
|
919
|
+
path30: {
|
920
|
+
type: "path",
|
921
|
+
points: [
|
922
|
+
{
|
923
|
+
x: -0.13852050000000027,
|
924
|
+
y: -0.2768663999999976
|
925
|
+
},
|
926
|
+
{
|
927
|
+
x: -0.13852049999999982,
|
928
|
+
y: 0.2523002000000023
|
929
|
+
}
|
930
|
+
],
|
931
|
+
color: "primary",
|
932
|
+
fill: false
|
933
|
+
},
|
934
|
+
"path29-5": {
|
935
|
+
type: "path",
|
936
|
+
points: [
|
937
|
+
{
|
938
|
+
x: -0.08244070000000026,
|
939
|
+
y: -0.27777869999999893
|
940
|
+
},
|
941
|
+
{
|
942
|
+
x: -0.08244069999999981,
|
943
|
+
y: 0.2513879000000028
|
944
|
+
}
|
945
|
+
],
|
946
|
+
color: "primary",
|
947
|
+
fill: false
|
948
|
+
},
|
949
|
+
"path29-2-7": {
|
950
|
+
type: "path",
|
951
|
+
points: [
|
952
|
+
{
|
953
|
+
x: 0.07253150000000019,
|
954
|
+
y: -0.27761959999999597
|
955
|
+
},
|
956
|
+
{
|
957
|
+
x: -0.08185069999999994,
|
958
|
+
y: -0.27761959999999597
|
959
|
+
}
|
960
|
+
],
|
961
|
+
color: "primary",
|
962
|
+
fill: false
|
963
|
+
},
|
964
|
+
"path29-2-7-6": {
|
965
|
+
type: "path",
|
966
|
+
points: [
|
967
|
+
{
|
968
|
+
x: 0.0721257000000004,
|
969
|
+
y: 0.255806800000002
|
970
|
+
},
|
971
|
+
{
|
972
|
+
x: -0.08225649999999973,
|
973
|
+
y: 0.255806800000002
|
974
|
+
}
|
975
|
+
],
|
976
|
+
color: "primary",
|
977
|
+
fill: false
|
978
|
+
}
|
979
|
+
},
|
980
|
+
texts: {
|
981
|
+
top1: {
|
982
|
+
type: "text",
|
983
|
+
text: "{REF}",
|
984
|
+
x: -0.012864500000000056,
|
985
|
+
y: -0.4150086999999978
|
986
|
+
},
|
987
|
+
bottom1: {
|
988
|
+
type: "text",
|
989
|
+
text: "{VAL}",
|
990
|
+
x: -0.003850500000000423,
|
991
|
+
y: 0.4250087000000011
|
992
|
+
}
|
993
|
+
},
|
994
|
+
refblocks: {
|
995
|
+
left1: {
|
996
|
+
x: -0.5512093000000002,
|
997
|
+
y: -0.011380399999998403
|
998
|
+
},
|
999
|
+
right1: {
|
1000
|
+
x: 0.5512093,
|
1001
|
+
y: -0.011926899999997076
|
1002
|
+
}
|
1003
|
+
},
|
1004
|
+
bounds: {
|
1005
|
+
minX: -0.5793677410000002,
|
1006
|
+
maxX: 0.579367741,
|
1007
|
+
minY: -0.5150086999999978,
|
1008
|
+
maxY: 0.4250087000000011,
|
1009
|
+
width: 1.1587354820000002,
|
1010
|
+
height: 1,
|
1011
|
+
centerX: -11102230246251565e-32,
|
1012
|
+
centerY: -0.04499999999999832
|
1013
|
+
},
|
1014
|
+
circles: {}
|
1015
|
+
};
|
1016
|
+
|
1017
|
+
// symbols/crystal_horz.ts
|
1018
|
+
var { paths: paths6, texts: texts6, bounds: bounds6, refblocks: refblocks6, circles: circles4 } = crystal_default;
|
1019
|
+
var crystal_horz_default = defineSymbol({
|
1020
|
+
primitives: [
|
1021
|
+
...Object.values(paths6),
|
1022
|
+
...Object.values(circles4),
|
1023
|
+
// { ...texts.top1, anchor: "middle_left" },
|
1024
|
+
// { ...texts.bottom1, anchor: "middle_left" },
|
1025
|
+
{
|
1026
|
+
type: "text",
|
1027
|
+
text: "{REF}",
|
1028
|
+
x: -0.012864500000000056,
|
1029
|
+
y: -0.4150086999999978,
|
1030
|
+
anchor: "middle_bottom"
|
1031
|
+
},
|
1032
|
+
{
|
1033
|
+
type: "text",
|
1034
|
+
text: "{VAL}",
|
1035
|
+
x: -0.003850500000000423,
|
1036
|
+
y: 0.4250087000000011,
|
1037
|
+
anchor: "middle_top"
|
1038
|
+
}
|
1039
|
+
],
|
1040
|
+
ports: [
|
1041
|
+
{ ...refblocks6.left1, labels: ["1"] },
|
1042
|
+
// TODO add more "standard" labels
|
1043
|
+
{ ...refblocks6.right1, labels: ["2"] }
|
1044
|
+
// TODO add more "standard" labels
|
1045
|
+
],
|
1046
|
+
size: { width: bounds6.width, height: bounds6.height },
|
1047
|
+
center: { x: bounds6.centerX, y: bounds6.centerY }
|
1048
|
+
});
|
1049
|
+
|
1050
|
+
// symbols/crystal_vert.ts
|
1051
|
+
var rotatedSymbol3 = rotateSymbol(crystal_horz_default);
|
1052
|
+
var texts7 = rotatedSymbol3.primitives.filter((p) => p.type === "text");
|
1053
|
+
var ref3 = texts7.find((t) => t.text === "{REF}");
|
1054
|
+
var val3 = texts7.find((t) => t.text === "{VAL}");
|
1055
|
+
val3.x = -0.4;
|
1056
|
+
ref3.x = 0.35;
|
1057
|
+
var crystal_vert_default = rotatedSymbol3;
|
1058
|
+
|
856
1059
|
// assets/generated/dc_ammeter.json
|
857
1060
|
var dc_ammeter_default = {
|
858
1061
|
paths: {
|
@@ -955,11 +1158,11 @@ var dc_ammeter_default = {
|
|
955
1158
|
};
|
956
1159
|
|
957
1160
|
// symbols/dc_ammeter_horz.ts
|
958
|
-
var { paths:
|
1161
|
+
var { paths: paths7, texts: texts8, bounds: bounds7, refblocks: refblocks7, circles: circles5 } = dc_ammeter_default;
|
959
1162
|
var dc_ammeter_horz_default = defineSymbol({
|
960
1163
|
primitives: [
|
961
|
-
...Object.values(
|
962
|
-
...Object.values(
|
1164
|
+
...Object.values(paths7),
|
1165
|
+
...Object.values(circles5),
|
963
1166
|
{
|
964
1167
|
type: "text",
|
965
1168
|
text: "{REF}",
|
@@ -974,16 +1177,16 @@ var dc_ammeter_horz_default = defineSymbol({
|
|
974
1177
|
y: 0.35,
|
975
1178
|
anchor: "middle_top"
|
976
1179
|
},
|
977
|
-
{ ...
|
1180
|
+
{ ...texts8.left1, anchor: "center", fontSize: 0.3 }
|
978
1181
|
],
|
979
1182
|
ports: [
|
980
|
-
{ ...
|
1183
|
+
{ ...refblocks7.left1, labels: ["1"] },
|
981
1184
|
// TODO add more "standard" labels
|
982
|
-
{ ...
|
1185
|
+
{ ...refblocks7.right1, labels: ["2"] }
|
983
1186
|
// TODO add more "standard" labels
|
984
1187
|
],
|
985
|
-
size: { width:
|
986
|
-
center: { x:
|
1188
|
+
size: { width: bounds7.width, height: bounds7.height },
|
1189
|
+
center: { x: bounds7.centerX, y: bounds7.centerY }
|
987
1190
|
});
|
988
1191
|
|
989
1192
|
// symbols/dc_ammeter_vert.ts
|
@@ -1005,13 +1208,13 @@ if (isTextPrimitive(letter2)) {
|
|
1005
1208
|
function isPrimitive2(value) {
|
1006
1209
|
return typeof value === "object";
|
1007
1210
|
}
|
1008
|
-
var
|
1211
|
+
var rotatedSymbol4 = rotateSymbol({
|
1009
1212
|
...dc_ammeter_horz_default,
|
1010
1213
|
primitives: Object.values(rest2).filter(isPrimitive2)
|
1011
1214
|
});
|
1012
1215
|
var dc_ammeter_vert_default = {
|
1013
|
-
...
|
1014
|
-
primitives: [...
|
1216
|
+
...rotatedSymbol4,
|
1217
|
+
primitives: [...rotatedSymbol4.primitives, letter2, underline]
|
1015
1218
|
};
|
1016
1219
|
|
1017
1220
|
// assets/generated/dc_voltmeter.json
|
@@ -1129,11 +1332,11 @@ var dc_voltmeter_default = {
|
|
1129
1332
|
};
|
1130
1333
|
|
1131
1334
|
// symbols/dc_voltmeter_horz.ts
|
1132
|
-
var { paths:
|
1335
|
+
var { paths: paths8, texts: texts9, bounds: bounds8, refblocks: refblocks8, circles: circles6 } = dc_voltmeter_default;
|
1133
1336
|
var dc_voltmeter_horz_default = defineSymbol({
|
1134
1337
|
primitives: [
|
1135
|
-
...Object.values(
|
1136
|
-
...Object.values(
|
1338
|
+
...Object.values(paths8),
|
1339
|
+
...Object.values(circles6),
|
1137
1340
|
{
|
1138
1341
|
type: "text",
|
1139
1342
|
text: "{REF}",
|
@@ -1150,13 +1353,13 @@ var dc_voltmeter_horz_default = defineSymbol({
|
|
1150
1353
|
}
|
1151
1354
|
],
|
1152
1355
|
ports: [
|
1153
|
-
{ ...
|
1356
|
+
{ ...refblocks8.left1, labels: ["1"] },
|
1154
1357
|
// TODO add more "standard" labels
|
1155
|
-
{ ...
|
1358
|
+
{ ...refblocks8.right1, labels: ["2"] }
|
1156
1359
|
// TODO add more "standard" labels
|
1157
1360
|
],
|
1158
|
-
size: { width:
|
1159
|
-
center: { x:
|
1361
|
+
size: { width: bounds8.width, height: bounds8.height },
|
1362
|
+
center: { x: bounds8.centerX, y: bounds8.centerY }
|
1160
1363
|
});
|
1161
1364
|
|
1162
1365
|
// symbols/dc_voltmeter_vert.ts
|
@@ -1164,13 +1367,13 @@ var { 2: letter3, 3: underline2, ...rest3 } = dc_voltmeter_horz_default.primitiv
|
|
1164
1367
|
function isPrimitive3(value) {
|
1165
1368
|
return typeof value === "object";
|
1166
1369
|
}
|
1167
|
-
var
|
1370
|
+
var rotatedSymbol5 = rotateSymbol({
|
1168
1371
|
...dc_voltmeter_horz_default,
|
1169
1372
|
primitives: Object.values(rest3).filter(isPrimitive3)
|
1170
1373
|
});
|
1171
1374
|
var dc_voltmeter_vert_default = {
|
1172
|
-
...
|
1173
|
-
primitives: [...
|
1375
|
+
...rotatedSymbol5,
|
1376
|
+
primitives: [...rotatedSymbol5.primitives, letter3, underline2]
|
1174
1377
|
};
|
1175
1378
|
|
1176
1379
|
// assets/generated/diac.json
|
@@ -1330,34 +1533,34 @@ var diac_default = {
|
|
1330
1533
|
};
|
1331
1534
|
|
1332
1535
|
// symbols/diac_horz.ts
|
1333
|
-
var { paths:
|
1536
|
+
var { paths: paths9, texts: texts10, bounds: bounds9, refblocks: refblocks9, circles: circles7 } = diac_default;
|
1334
1537
|
var diac_horz_default = defineSymbol({
|
1335
1538
|
primitives: [
|
1336
|
-
...Object.values(
|
1337
|
-
...Object.values(
|
1338
|
-
{ ...
|
1339
|
-
{ ...
|
1539
|
+
...Object.values(paths9),
|
1540
|
+
...Object.values(circles7),
|
1541
|
+
{ ...texts10.top1, anchor: "middle_bottom" },
|
1542
|
+
{ ...texts10.bottom1, anchor: "middle_top" }
|
1340
1543
|
],
|
1341
1544
|
ports: [
|
1342
|
-
{ ...
|
1545
|
+
{ ...refblocks9.left1, labels: ["1"] },
|
1343
1546
|
// TODO add more "standard" labels
|
1344
|
-
{ ...
|
1547
|
+
{ ...refblocks9.right1, labels: ["2"] }
|
1345
1548
|
// TODO add more "standard" labels
|
1346
1549
|
],
|
1347
|
-
size: { width:
|
1348
|
-
center: { x:
|
1550
|
+
size: { width: bounds9.width, height: bounds9.height },
|
1551
|
+
center: { x: bounds9.centerX, y: bounds9.centerY }
|
1349
1552
|
});
|
1350
1553
|
|
1351
1554
|
// symbols/diac_vert.ts
|
1352
|
-
var
|
1353
|
-
var
|
1555
|
+
var rotatedSymbol6 = rotateSymbol(diac_horz_default);
|
1556
|
+
var texts11 = rotatedSymbol6.primitives.filter(
|
1354
1557
|
(primitive) => primitive.type === "text"
|
1355
1558
|
);
|
1356
|
-
var
|
1357
|
-
var
|
1358
|
-
|
1359
|
-
|
1360
|
-
var diac_vert_default =
|
1559
|
+
var ref4 = texts11.find((text) => text.text === "{REF}");
|
1560
|
+
var val4 = texts11.find((text) => text.text === "{VAL}");
|
1561
|
+
ref4.y = 0;
|
1562
|
+
val4.y = 0;
|
1563
|
+
var diac_vert_default = rotatedSymbol6;
|
1361
1564
|
|
1362
1565
|
// assets/generated/diode.json
|
1363
1566
|
var diode_default = {
|
@@ -1490,21 +1693,21 @@ var diode_default = {
|
|
1490
1693
|
};
|
1491
1694
|
|
1492
1695
|
// symbols/diode_horz.ts
|
1493
|
-
var { paths:
|
1696
|
+
var { paths: paths10, texts: texts12, bounds: bounds10, refblocks: refblocks10 } = diode_default;
|
1494
1697
|
var diode_horz_default = defineSymbol({
|
1495
1698
|
primitives: [
|
1496
|
-
...Object.values(
|
1497
|
-
{ ...
|
1498
|
-
{ ...
|
1699
|
+
...Object.values(paths10),
|
1700
|
+
{ ...texts12.top1, anchor: "middle_bottom" },
|
1701
|
+
{ ...texts12.bottom1, anchor: "middle_top" }
|
1499
1702
|
],
|
1500
1703
|
ports: [
|
1501
|
-
{ ...
|
1704
|
+
{ ...refblocks10.left1, labels: ["1"] },
|
1502
1705
|
// TODO add more "standard" labels
|
1503
|
-
{ ...
|
1706
|
+
{ ...refblocks10.right1, labels: ["2"] }
|
1504
1707
|
// TODO add more "standard" labels
|
1505
1708
|
],
|
1506
|
-
size: { width:
|
1507
|
-
center: { x:
|
1709
|
+
size: { width: bounds10.width, height: bounds10.height },
|
1710
|
+
center: { x: bounds10.centerX, y: bounds10.centerY }
|
1508
1711
|
});
|
1509
1712
|
|
1510
1713
|
// symbols/diode_vert.ts
|
@@ -1597,11 +1800,11 @@ var fuse_default = {
|
|
1597
1800
|
};
|
1598
1801
|
|
1599
1802
|
// symbols/fuse_horz.ts
|
1600
|
-
var { paths:
|
1803
|
+
var { paths: paths11, texts: texts13, bounds: bounds11, refblocks: refblocks11 } = fuse_default;
|
1601
1804
|
var fuse_horz_default = defineSymbol({
|
1602
1805
|
primitives: [
|
1603
|
-
...Object.values(
|
1604
|
-
{ ...
|
1806
|
+
...Object.values(paths11),
|
1807
|
+
{ ...texts13.top1, anchor: "middle_bottom" },
|
1605
1808
|
{
|
1606
1809
|
type: "text",
|
1607
1810
|
text: "{VAL}",
|
@@ -1611,13 +1814,13 @@ var fuse_horz_default = defineSymbol({
|
|
1611
1814
|
}
|
1612
1815
|
],
|
1613
1816
|
ports: [
|
1614
|
-
{ ...
|
1817
|
+
{ ...refblocks11.left1, labels: ["1"] },
|
1615
1818
|
// TODO add more "standard" labels
|
1616
|
-
{ ...
|
1819
|
+
{ ...refblocks11.right1, labels: ["2"] }
|
1617
1820
|
// TODO add more "standard" labels
|
1618
1821
|
],
|
1619
|
-
size: { width:
|
1620
|
-
center: { x:
|
1822
|
+
size: { width: bounds11.width, height: bounds11.height },
|
1823
|
+
center: { x: bounds11.centerX, y: bounds11.centerY }
|
1621
1824
|
});
|
1622
1825
|
|
1623
1826
|
// symbols/fuse_vert.ts
|
@@ -1741,12 +1944,12 @@ var gunn_diode_default = {
|
|
1741
1944
|
};
|
1742
1945
|
|
1743
1946
|
// symbols/gunn_diode_horz.ts
|
1744
|
-
var { paths:
|
1947
|
+
var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles8 } = gunn_diode_default;
|
1745
1948
|
var gunn_diode_horz_default = defineSymbol({
|
1746
1949
|
primitives: [
|
1747
|
-
...Object.values(
|
1748
|
-
...Object.values(
|
1749
|
-
{ ...
|
1950
|
+
...Object.values(paths12),
|
1951
|
+
...Object.values(circles8),
|
1952
|
+
{ ...texts14.top1, anchor: "middle_left" },
|
1750
1953
|
{
|
1751
1954
|
type: "text",
|
1752
1955
|
text: "{VAL}",
|
@@ -1756,25 +1959,25 @@ var gunn_diode_horz_default = defineSymbol({
|
|
1756
1959
|
// { ...texts.bottom1, anchor: "middle_left" },
|
1757
1960
|
],
|
1758
1961
|
ports: [
|
1759
|
-
{ ...
|
1962
|
+
{ ...refblocks12.left1, labels: ["1"] },
|
1760
1963
|
// TODO add more "standard" labels
|
1761
|
-
{ ...
|
1964
|
+
{ ...refblocks12.right1, labels: ["2"] }
|
1762
1965
|
// TODO add more "standard" labels
|
1763
1966
|
],
|
1764
|
-
size: { width:
|
1765
|
-
center: { x:
|
1967
|
+
size: { width: bounds12.width, height: bounds12.height },
|
1968
|
+
center: { x: bounds12.centerX, y: bounds12.centerY }
|
1766
1969
|
});
|
1767
1970
|
|
1768
1971
|
// symbols/gunn_diode_vert.ts
|
1769
|
-
var
|
1770
|
-
var
|
1771
|
-
var
|
1772
|
-
var
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
var gunn_diode_vert_default =
|
1972
|
+
var rotatedSymbol7 = rotateSymbol(gunn_diode_horz_default);
|
1973
|
+
var texts15 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
|
1974
|
+
var ref5 = texts15.find((t) => t.text === "{REF}");
|
1975
|
+
var val5 = texts15.find((t) => t.text === "{VAL}");
|
1976
|
+
ref5.x = 0.25;
|
1977
|
+
ref5.y = -0.045;
|
1978
|
+
val5.x = -0.55;
|
1979
|
+
val5.y = 0;
|
1980
|
+
var gunn_diode_vert_default = rotatedSymbol7;
|
1778
1981
|
|
1779
1982
|
// assets/generated/igbt_transistor.json
|
1780
1983
|
var igbt_transistor_default = {
|
@@ -1955,11 +2158,11 @@ var igbt_transistor_default = {
|
|
1955
2158
|
};
|
1956
2159
|
|
1957
2160
|
// symbols/igbt_transistor_horz.ts
|
1958
|
-
var { paths:
|
2161
|
+
var { paths: paths13, texts: texts16, bounds: bounds13, refblocks: refblocks13, circles: circles9 } = igbt_transistor_default;
|
1959
2162
|
var igbt_transistor_horz_default = defineSymbol({
|
1960
2163
|
primitives: [
|
1961
|
-
...Object.values(
|
1962
|
-
...Object.values(
|
2164
|
+
...Object.values(paths13),
|
2165
|
+
...Object.values(circles9),
|
1963
2166
|
{
|
1964
2167
|
type: "text",
|
1965
2168
|
text: "{REF}",
|
@@ -1976,30 +2179,30 @@ var igbt_transistor_horz_default = defineSymbol({
|
|
1976
2179
|
}
|
1977
2180
|
],
|
1978
2181
|
ports: [
|
1979
|
-
{ ...
|
2182
|
+
{ ...refblocks13.top1, labels: ["1"] },
|
1980
2183
|
// TODO add more "standard" labels
|
1981
|
-
{ ...
|
2184
|
+
{ ...refblocks13.bottom1, labels: ["2"] },
|
1982
2185
|
// TODO add more "standard" labels
|
1983
|
-
{ ...
|
2186
|
+
{ ...refblocks13.left1, labels: ["3"] }
|
1984
2187
|
// TODO add more "standard" labels
|
1985
2188
|
],
|
1986
|
-
size: { width:
|
1987
|
-
center: { x:
|
2189
|
+
size: { width: bounds13.width, height: bounds13.height },
|
2190
|
+
center: { x: bounds13.centerX + 0.06, y: bounds13.centerY }
|
1988
2191
|
});
|
1989
2192
|
|
1990
2193
|
// symbols/igbt_transistor_vert.ts
|
1991
2194
|
var rotated2 = rotateSymbol(igbt_transistor_horz_default);
|
1992
|
-
var
|
2195
|
+
var ref6 = rotated2.primitives.find(
|
1993
2196
|
(p) => p.type === "text" && p.text === "{REF}"
|
1994
2197
|
);
|
1995
|
-
var
|
2198
|
+
var val6 = rotated2.primitives.find(
|
1996
2199
|
(p) => p.type === "text" && p.text === "{VAL}"
|
1997
2200
|
);
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2201
|
+
ref6.anchor = "middle_left";
|
2202
|
+
val6.anchor = "middle_right";
|
2203
|
+
ref6.x = 0.45;
|
2204
|
+
ref6.y += 0.065;
|
2205
|
+
val6.y += 0.065;
|
2003
2206
|
var igbt_transistor_vert_default = rotated2;
|
2004
2207
|
|
2005
2208
|
// assets/generated/laser_diode.json
|
@@ -2242,31 +2445,31 @@ var laser_diode_default = {
|
|
2242
2445
|
};
|
2243
2446
|
|
2244
2447
|
// symbols/laser_diode_horz.ts
|
2245
|
-
var { paths:
|
2448
|
+
var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles10 } = laser_diode_default;
|
2246
2449
|
var laser_diode_horz_default = defineSymbol({
|
2247
2450
|
primitives: [
|
2248
|
-
...Object.values(
|
2249
|
-
...Object.values(
|
2250
|
-
{ ...
|
2251
|
-
{ ...
|
2451
|
+
...Object.values(paths14),
|
2452
|
+
...Object.values(circles10),
|
2453
|
+
{ ...texts17.top1, anchor: "middle_left" },
|
2454
|
+
{ ...texts17.bottom1, anchor: "middle_bottom" }
|
2252
2455
|
],
|
2253
2456
|
ports: [
|
2254
|
-
{ ...
|
2457
|
+
{ ...refblocks14.left1, labels: ["1"] },
|
2255
2458
|
// TODO add more "standard" labels
|
2256
|
-
{ ...
|
2459
|
+
{ ...refblocks14.right1, labels: ["2"] }
|
2257
2460
|
// TODO add more "standard" labels
|
2258
2461
|
],
|
2259
|
-
size: { width:
|
2260
|
-
center: { x:
|
2462
|
+
size: { width: bounds14.width, height: bounds14.height },
|
2463
|
+
center: { x: bounds14.centerX, y: bounds14.centerY }
|
2261
2464
|
});
|
2262
2465
|
|
2263
2466
|
// symbols/laser_diode_vert.ts
|
2264
|
-
var
|
2265
|
-
var
|
2266
|
-
var
|
2267
|
-
|
2268
|
-
|
2269
|
-
var laser_diode_vert_default =
|
2467
|
+
var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
|
2468
|
+
var texts18 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
|
2469
|
+
var ref7 = texts18.find((t) => t.text === "{VAL}");
|
2470
|
+
ref7.x = -0.52;
|
2471
|
+
ref7.anchor = "middle_right";
|
2472
|
+
var laser_diode_vert_default = rotatedSymbol8;
|
2270
2473
|
|
2271
2474
|
// assets/generated/led.json
|
2272
2475
|
var led_default = {
|
@@ -2483,35 +2686,35 @@ var led_default = {
|
|
2483
2686
|
};
|
2484
2687
|
|
2485
2688
|
// symbols/led_horz.ts
|
2486
|
-
var { paths:
|
2689
|
+
var { paths: paths15, texts: texts19, bounds: bounds15, refblocks: refblocks15 } = led_default;
|
2487
2690
|
var led_horz_default = defineSymbol({
|
2488
2691
|
primitives: [
|
2489
|
-
...Object.values(
|
2490
|
-
{ ...
|
2491
|
-
{ ...
|
2692
|
+
...Object.values(paths15),
|
2693
|
+
{ ...texts19.bottom1, anchor: "middle_right" },
|
2694
|
+
{ ...texts19.right1, anchor: "middle_left" }
|
2492
2695
|
],
|
2493
2696
|
ports: [
|
2494
|
-
{ ...
|
2495
|
-
{ ...
|
2697
|
+
{ ...refblocks15.left1, labels: ["1", "anode", "pos"] },
|
2698
|
+
{ ...refblocks15.right1, labels: ["2", "cathode", "neg"] }
|
2496
2699
|
],
|
2497
|
-
size: { width:
|
2498
|
-
center: { x:
|
2700
|
+
size: { width: bounds15.width, height: bounds15.height },
|
2701
|
+
center: { x: bounds15.centerX, y: bounds15.centerY + 0.1 }
|
2499
2702
|
});
|
2500
2703
|
|
2501
2704
|
// symbols/led_vert.ts
|
2502
2705
|
var rotated3 = rotateSymbol(led_horz_default);
|
2503
|
-
var
|
2706
|
+
var ref8 = rotated3.primitives.find(
|
2504
2707
|
(p) => p.type === "text" && p.text === "{REF}"
|
2505
2708
|
);
|
2506
|
-
var
|
2709
|
+
var val7 = rotated3.primitives.find(
|
2507
2710
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2508
2711
|
);
|
2509
|
-
|
2510
|
-
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
2712
|
+
ref8.anchor = "middle_left";
|
2713
|
+
val7.anchor = "middle_right";
|
2714
|
+
ref8.x += 0.1;
|
2715
|
+
ref8.y += 0.017;
|
2716
|
+
val7.y = ref8.y;
|
2717
|
+
val7.x = -0.3;
|
2515
2718
|
var led_vert_default = rotated3;
|
2516
2719
|
|
2517
2720
|
// assets/generated/mosfet_depletion_normally_on.json
|
@@ -2784,37 +2987,37 @@ var mosfet_depletion_normally_on_default = {
|
|
2784
2987
|
};
|
2785
2988
|
|
2786
2989
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
2787
|
-
var { paths:
|
2990
|
+
var { paths: paths16, texts: texts20, bounds: bounds16, refblocks: refblocks16 } = mosfet_depletion_normally_on_default;
|
2788
2991
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
2789
2992
|
primitives: [
|
2790
|
-
...Object.values(
|
2791
|
-
{ ...
|
2792
|
-
{ ...
|
2993
|
+
...Object.values(paths16),
|
2994
|
+
{ ...texts20.right1, anchor: "middle_left" },
|
2995
|
+
{ ...texts20.right2, anchor: "middle_left" }
|
2793
2996
|
],
|
2794
2997
|
ports: [
|
2795
|
-
{ ...
|
2998
|
+
{ ...refblocks16.top1, labels: ["1"] },
|
2796
2999
|
// TODO add more "standard" labels
|
2797
|
-
{ ...
|
3000
|
+
{ ...refblocks16.bottom1, labels: ["2"] },
|
2798
3001
|
// TODO add more "standard" labels
|
2799
|
-
{ ...
|
3002
|
+
{ ...refblocks16.left1, labels: ["3"] }
|
2800
3003
|
// TODO add more "standard" labels
|
2801
3004
|
],
|
2802
|
-
size: { width:
|
2803
|
-
center: { x:
|
3005
|
+
size: { width: bounds16.width + 0.4, height: bounds16.height },
|
3006
|
+
center: { x: bounds16.centerX + 0.2, y: bounds16.centerY }
|
2804
3007
|
});
|
2805
3008
|
|
2806
3009
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
2807
3010
|
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
2808
|
-
var
|
3011
|
+
var ref9 = rotated4.primitives.find(
|
2809
3012
|
(p) => p.type === "text" && p.text === "{REF}"
|
2810
3013
|
);
|
2811
|
-
var
|
3014
|
+
var val8 = rotated4.primitives.find(
|
2812
3015
|
(p) => p.type === "text" && p.text === "{VAL}"
|
2813
3016
|
);
|
2814
|
-
|
2815
|
-
|
2816
|
-
|
2817
|
-
|
3017
|
+
ref9.anchor = "middle_top";
|
3018
|
+
val8.anchor = "middle_top";
|
3019
|
+
ref9.x = val8.x;
|
3020
|
+
val8.y += 0.15;
|
2818
3021
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
2819
3022
|
|
2820
3023
|
// assets/generated/photodiode.json
|
@@ -2979,61 +3182,263 @@ var photodiode_default = {
|
|
2979
3182
|
y: -0.25358484999999975
|
2980
3183
|
},
|
2981
3184
|
{
|
2982
|
-
x: 0.4635227999999998,
|
2983
|
-
y: -0.24356314999999973
|
3185
|
+
x: 0.4635227999999998,
|
3186
|
+
y: -0.24356314999999973
|
3187
|
+
},
|
3188
|
+
{
|
3189
|
+
x: 0.3507997999999999,
|
3190
|
+
y: -0.14207094999999992
|
3191
|
+
},
|
3192
|
+
{
|
3193
|
+
x: 0.34974980000000055,
|
3194
|
+
y: -0.14167095000000018
|
3195
|
+
}
|
3196
|
+
],
|
3197
|
+
color: "primary",
|
3198
|
+
fill: false
|
3199
|
+
}
|
3200
|
+
},
|
3201
|
+
texts: {
|
3202
|
+
top1: {
|
3203
|
+
type: "text",
|
3204
|
+
text: "{REF}",
|
3205
|
+
x: -0.17652089999999987,
|
3206
|
+
y: -0.20318344999999938
|
3207
|
+
},
|
3208
|
+
bottom1: {
|
3209
|
+
type: "text",
|
3210
|
+
text: "{VAL}",
|
3211
|
+
x: -0.00984920000000078,
|
3212
|
+
y: 0.5911418500000005
|
3213
|
+
}
|
3214
|
+
},
|
3215
|
+
refblocks: {
|
3216
|
+
left1: {
|
3217
|
+
x: -0.5446331000000002,
|
3218
|
+
y: 0.15964505000000062
|
3219
|
+
},
|
3220
|
+
right1: {
|
3221
|
+
x: 0.5381637999999995,
|
3222
|
+
y: 0.15864865000000083
|
3223
|
+
}
|
3224
|
+
},
|
3225
|
+
bounds: {
|
3226
|
+
minX: -0.5307178000000009,
|
3227
|
+
maxX: 0.5307178000000006,
|
3228
|
+
minY: -0.2800227500000003,
|
3229
|
+
maxY: 0.2800227500000001,
|
3230
|
+
width: 1.0614356000000016,
|
3231
|
+
height: 1,
|
3232
|
+
centerX: -16653345369377348e-32,
|
3233
|
+
centerY: -11102230246251565e-32
|
3234
|
+
},
|
3235
|
+
circles: {
|
3236
|
+
path1: {
|
3237
|
+
type: "circle",
|
3238
|
+
x: -0.006997300000000539,
|
3239
|
+
y: 0.15166395000000055,
|
3240
|
+
radius: 0.28854213,
|
3241
|
+
color: "primary",
|
3242
|
+
fill: false
|
3243
|
+
}
|
3244
|
+
}
|
3245
|
+
};
|
3246
|
+
|
3247
|
+
// symbols/photodiode_horz.ts
|
3248
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = photodiode_default;
|
3249
|
+
var photodiode_horz_default = defineSymbol({
|
3250
|
+
primitives: [
|
3251
|
+
...Object.values(paths17),
|
3252
|
+
...Object.values(circles11),
|
3253
|
+
{
|
3254
|
+
type: "text",
|
3255
|
+
text: "{REF}",
|
3256
|
+
x: -0.15,
|
3257
|
+
y: -0.20318344999999938,
|
3258
|
+
anchor: "middle_right"
|
3259
|
+
},
|
3260
|
+
{
|
3261
|
+
type: "text",
|
3262
|
+
text: "{VAL}",
|
3263
|
+
x: -0.00984920000000078,
|
3264
|
+
y: 0.5,
|
3265
|
+
anchor: "middle_top"
|
3266
|
+
}
|
3267
|
+
],
|
3268
|
+
ports: [
|
3269
|
+
{ ...refblocks17.left1, labels: ["1"] },
|
3270
|
+
// TODO add more "standard" labels
|
3271
|
+
{ ...refblocks17.right1, labels: ["2"] }
|
3272
|
+
// TODO add more "standard" labels
|
3273
|
+
],
|
3274
|
+
size: { width: bounds17.width, height: bounds17.height },
|
3275
|
+
center: { x: bounds17.centerX, y: bounds17.centerY }
|
3276
|
+
});
|
3277
|
+
|
3278
|
+
// symbols/photodiode_vert.ts
|
3279
|
+
var rotatedSymbol9 = rotateSymbol(photodiode_horz_default);
|
3280
|
+
var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
3281
|
+
var ref10 = texts22.find((t) => t.text === "{REF}");
|
3282
|
+
ref10.y = 0;
|
3283
|
+
ref10.anchor = "middle_left";
|
3284
|
+
var photodiode_vert_default = rotatedSymbol9;
|
3285
|
+
|
3286
|
+
// assets/generated/pjfet_transistor.json
|
3287
|
+
var pjfet_transistor_default = {
|
3288
|
+
paths: {
|
3289
|
+
path11: {
|
3290
|
+
type: "path",
|
3291
|
+
points: [
|
3292
|
+
{
|
3293
|
+
x: -0.38509374449999945,
|
3294
|
+
y: 0.00367374999999992
|
3295
|
+
},
|
3296
|
+
{
|
3297
|
+
x: 0.05876225550000025,
|
3298
|
+
y: 0.00629674999999974
|
3299
|
+
}
|
3300
|
+
],
|
3301
|
+
color: "primary",
|
3302
|
+
fill: false
|
3303
|
+
},
|
3304
|
+
path40: {
|
3305
|
+
type: "path",
|
3306
|
+
points: [
|
3307
|
+
{
|
3308
|
+
x: 0.07415065550000066,
|
3309
|
+
y: -0.18559775000000034
|
3310
|
+
},
|
3311
|
+
{
|
3312
|
+
x: 0.07322065550000101,
|
3313
|
+
y: 0.18255174999999935
|
3314
|
+
}
|
3315
|
+
],
|
3316
|
+
color: "primary",
|
3317
|
+
fill: false
|
3318
|
+
},
|
3319
|
+
"path12-1": {
|
3320
|
+
type: "path",
|
3321
|
+
points: [
|
3322
|
+
{
|
3323
|
+
x: 0.28423665550000043,
|
3324
|
+
y: -0.53233025
|
3325
|
+
},
|
3326
|
+
{
|
3327
|
+
x: 0.2836366555000003,
|
3328
|
+
y: -0.10600584999999985
|
3329
|
+
}
|
3330
|
+
],
|
3331
|
+
color: "primary",
|
3332
|
+
fill: false
|
3333
|
+
},
|
3334
|
+
"path12-1-5": {
|
3335
|
+
type: "path",
|
3336
|
+
points: [
|
3337
|
+
{
|
3338
|
+
x: 0.2912404555000001,
|
3339
|
+
y: 0.5298821500000002
|
3340
|
+
},
|
3341
|
+
{
|
3342
|
+
x: 0.29184045550000004,
|
3343
|
+
y: 0.10355795000000012
|
3344
|
+
}
|
3345
|
+
],
|
3346
|
+
color: "primary",
|
3347
|
+
fill: false
|
3348
|
+
},
|
3349
|
+
path2: {
|
3350
|
+
type: "path",
|
3351
|
+
points: [
|
3352
|
+
{
|
3353
|
+
x: 0.07425025549999931,
|
3354
|
+
y: -0.10788365000000044
|
3355
|
+
},
|
3356
|
+
{
|
3357
|
+
x: 0.29146205549999915,
|
3358
|
+
y: -0.10659565000000004
|
3359
|
+
}
|
3360
|
+
],
|
3361
|
+
color: "primary",
|
3362
|
+
fill: false
|
3363
|
+
},
|
3364
|
+
"path2-5": {
|
3365
|
+
type: "path",
|
3366
|
+
points: [
|
3367
|
+
{
|
3368
|
+
x: 0.07425025549999931,
|
3369
|
+
y: 0.10232114999999986
|
3370
|
+
},
|
3371
|
+
{
|
3372
|
+
x: 0.29146205549999915,
|
3373
|
+
y: 0.10360915000000026
|
3374
|
+
}
|
3375
|
+
],
|
3376
|
+
color: "primary",
|
3377
|
+
fill: false
|
3378
|
+
},
|
3379
|
+
path15: {
|
3380
|
+
type: "path",
|
3381
|
+
points: [
|
3382
|
+
{
|
3383
|
+
x: 0.005945155500000077,
|
3384
|
+
y: 0.06535114999999969
|
2984
3385
|
},
|
2985
3386
|
{
|
2986
|
-
x: 0.
|
2987
|
-
y: -0.
|
3387
|
+
x: 0.005945155500000077,
|
3388
|
+
y: -0.06153284999999986
|
2988
3389
|
},
|
2989
3390
|
{
|
2990
|
-
x: 0.
|
2991
|
-
y:
|
3391
|
+
x: -0.0829488445000004,
|
3392
|
+
y: 0.001166149999999977
|
2992
3393
|
}
|
2993
3394
|
],
|
2994
3395
|
color: "primary",
|
2995
|
-
fill:
|
3396
|
+
fill: true
|
2996
3397
|
}
|
2997
3398
|
},
|
2998
3399
|
texts: {
|
2999
3400
|
top1: {
|
3000
3401
|
type: "text",
|
3001
3402
|
text: "{REF}",
|
3002
|
-
x: -0.
|
3003
|
-
y: -0.
|
3403
|
+
x: -0.15156024449999927,
|
3404
|
+
y: -0.36092494999999936
|
3004
3405
|
},
|
3005
3406
|
bottom1: {
|
3006
3407
|
type: "text",
|
3007
3408
|
text: "{VAL}",
|
3008
|
-
x:
|
3009
|
-
y: 0.
|
3409
|
+
x: 0.0393233555000001,
|
3410
|
+
y: 0.42489435000000064
|
3010
3411
|
}
|
3011
3412
|
},
|
3012
3413
|
refblocks: {
|
3013
|
-
|
3014
|
-
x:
|
3015
|
-
y: 0.
|
3414
|
+
top1: {
|
3415
|
+
x: 0.2843894554999997,
|
3416
|
+
y: -0.5519248499999992
|
3016
3417
|
},
|
3017
|
-
|
3018
|
-
x: 0.
|
3019
|
-
y: 0.
|
3418
|
+
bottom1: {
|
3419
|
+
x: 0.29108805550000105,
|
3420
|
+
y: 0.5519248499999994
|
3421
|
+
},
|
3422
|
+
left1: {
|
3423
|
+
x: -0.3990097444999998,
|
3424
|
+
y: 0.004526550000000462
|
3020
3425
|
}
|
3021
3426
|
},
|
3022
3427
|
bounds: {
|
3023
|
-
minX: -0.
|
3024
|
-
maxX: 0.
|
3025
|
-
minY: -0.
|
3026
|
-
maxY: 0.
|
3027
|
-
width: 1
|
3028
|
-
height: 1,
|
3029
|
-
centerX: -
|
3030
|
-
centerY: -
|
3428
|
+
minX: -0.4271681854999998,
|
3429
|
+
maxX: 0.42716818549999985,
|
3430
|
+
minY: -0.5800832909999992,
|
3431
|
+
maxY: 0.5800832909999993,
|
3432
|
+
width: 1,
|
3433
|
+
height: 1.1601665819999987,
|
3434
|
+
centerX: 27755575615628914e-33,
|
3435
|
+
centerY: 5551115123125783e-32
|
3031
3436
|
},
|
3032
3437
|
circles: {
|
3033
3438
|
path1: {
|
3034
3439
|
type: "circle",
|
3035
|
-
x:
|
3036
|
-
y: 0.
|
3440
|
+
x: 0.13862605549999985,
|
3441
|
+
y: -0.003454549999999612,
|
3037
3442
|
radius: 0.28854213,
|
3038
3443
|
color: "primary",
|
3039
3444
|
fill: false
|
@@ -3041,44 +3446,39 @@ var photodiode_default = {
|
|
3041
3446
|
}
|
3042
3447
|
};
|
3043
3448
|
|
3044
|
-
// symbols/
|
3045
|
-
var { paths:
|
3046
|
-
var
|
3449
|
+
// symbols/pjfet_transistor_horz.ts
|
3450
|
+
var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = pjfet_transistor_default;
|
3451
|
+
var pjfet_transistor_horz_default = defineSymbol({
|
3047
3452
|
primitives: [
|
3048
|
-
...Object.values(
|
3049
|
-
...Object.values(
|
3050
|
-
{
|
3051
|
-
|
3052
|
-
text: "{REF}",
|
3053
|
-
x: -0.15,
|
3054
|
-
y: -0.20318344999999938,
|
3055
|
-
anchor: "middle_right"
|
3056
|
-
},
|
3057
|
-
{
|
3058
|
-
type: "text",
|
3059
|
-
text: "{VAL}",
|
3060
|
-
x: -0.00984920000000078,
|
3061
|
-
y: 0.5,
|
3062
|
-
anchor: "middle_top"
|
3063
|
-
}
|
3453
|
+
...Object.values(paths18),
|
3454
|
+
...Object.values(circles12),
|
3455
|
+
{ ...texts23.top1, anchor: "middle_right", x: 0 },
|
3456
|
+
{ ...texts23.bottom1, anchor: "middle_right" }
|
3064
3457
|
],
|
3065
3458
|
ports: [
|
3066
|
-
{ ...
|
3459
|
+
{ ...refblocks18.top1, labels: ["1", "drain"] },
|
3067
3460
|
// TODO add more "standard" labels
|
3068
|
-
{ ...
|
3461
|
+
{ ...refblocks18.bottom1, labels: ["2", "source"] },
|
3462
|
+
// TODO add more "standard" labels
|
3463
|
+
{ ...refblocks18.left1, labels: ["3", "gate"] }
|
3069
3464
|
// TODO add more "standard" labels
|
3070
3465
|
],
|
3071
|
-
size: { width:
|
3072
|
-
center: { x:
|
3466
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3467
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3073
3468
|
});
|
3074
3469
|
|
3075
|
-
// symbols/
|
3076
|
-
var
|
3077
|
-
var
|
3078
|
-
var
|
3079
|
-
|
3080
|
-
|
3081
|
-
|
3470
|
+
// symbols/pjfet_transistor_vert.ts
|
3471
|
+
var rotatedSymbol10 = rotateSymbol(pjfet_transistor_horz_default);
|
3472
|
+
var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3473
|
+
var val9 = texts24.find((t) => t.text === "{VAL}");
|
3474
|
+
val9.x = -0.35;
|
3475
|
+
val9.y = 0;
|
3476
|
+
val9.anchor = "middle_right";
|
3477
|
+
var ref11 = texts24.find((t) => t.text === "{REF}");
|
3478
|
+
ref11.y = 0;
|
3479
|
+
ref11.x = 0.35;
|
3480
|
+
ref11.anchor = "middle_left";
|
3481
|
+
var pjfet_transistor_vert_default = rotatedSymbol10;
|
3082
3482
|
|
3083
3483
|
// assets/generated/potentiometer.json
|
3084
3484
|
var potentiometer_default = {
|
@@ -3216,21 +3616,21 @@ var potentiometer_default = {
|
|
3216
3616
|
};
|
3217
3617
|
|
3218
3618
|
// symbols/potentiometer_horz.ts
|
3219
|
-
var { paths:
|
3619
|
+
var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19 } = potentiometer_default;
|
3220
3620
|
var potentiometer_horz_default = defineSymbol({
|
3221
3621
|
primitives: [
|
3222
|
-
...Object.values(
|
3223
|
-
{ ...
|
3224
|
-
{ ...
|
3622
|
+
...Object.values(paths19),
|
3623
|
+
{ ...texts25.bottom1, y: 0.35, anchor: "middle_top" },
|
3624
|
+
{ ...texts25.right1, anchor: "middle_left" }
|
3225
3625
|
],
|
3226
3626
|
ports: [
|
3227
|
-
{ ...
|
3627
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
3228
3628
|
// TODO add more "standard" labels
|
3229
|
-
{ ...
|
3629
|
+
{ ...refblocks19.right1, labels: ["2"] }
|
3230
3630
|
// TODO add more "standard" labels
|
3231
3631
|
],
|
3232
|
-
size: { width:
|
3233
|
-
center: { x:
|
3632
|
+
size: { width: bounds19.width + 0.05, height: bounds19.height },
|
3633
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3234
3634
|
});
|
3235
3635
|
|
3236
3636
|
// symbols/potentiometer_vert.ts
|
@@ -3392,21 +3792,21 @@ var potentiometer2_default = {
|
|
3392
3792
|
};
|
3393
3793
|
|
3394
3794
|
// symbols/potentiometer2_horz.ts
|
3395
|
-
var { paths:
|
3795
|
+
var { paths: paths20, texts: texts26, bounds: bounds20, refblocks: refblocks20 } = potentiometer2_default;
|
3396
3796
|
var potentiometer2_horz_default = defineSymbol({
|
3397
3797
|
primitives: [
|
3398
|
-
...Object.values(
|
3399
|
-
{ ...
|
3400
|
-
{ ...
|
3798
|
+
...Object.values(paths20),
|
3799
|
+
{ ...texts26.bottom1, anchor: "middle_right" },
|
3800
|
+
{ ...texts26.top1, anchor: "middle_left" }
|
3401
3801
|
],
|
3402
3802
|
ports: [
|
3403
|
-
{ ...
|
3803
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3404
3804
|
// TODO add more "standard" labels
|
3405
|
-
{ ...
|
3805
|
+
{ ...refblocks20.right1, labels: ["2"] }
|
3406
3806
|
// TODO add more "standard" labels
|
3407
3807
|
],
|
3408
|
-
size: { width:
|
3409
|
-
center: { x:
|
3808
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3809
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3410
3810
|
});
|
3411
3811
|
|
3412
3812
|
// symbols/potentiometer2_vert.ts
|
@@ -3499,11 +3899,11 @@ var power_factor_meter_default = {
|
|
3499
3899
|
};
|
3500
3900
|
|
3501
3901
|
// symbols/power_factor_meter_horz.ts
|
3502
|
-
var { paths:
|
3902
|
+
var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles13 } = power_factor_meter_default;
|
3503
3903
|
var power_factor_meter_horz_default = defineSymbol({
|
3504
3904
|
primitives: [
|
3505
|
-
...Object.values(
|
3506
|
-
...Object.values(
|
3905
|
+
...Object.values(paths21),
|
3906
|
+
...Object.values(circles13),
|
3507
3907
|
// { ...texts.top1, anchor: "middle_left" },
|
3508
3908
|
{
|
3509
3909
|
type: "text",
|
@@ -3530,28 +3930,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
3530
3930
|
}
|
3531
3931
|
],
|
3532
3932
|
ports: [
|
3533
|
-
{ ...
|
3933
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3534
3934
|
// TODO add more "standard" labels
|
3535
|
-
{ ...
|
3935
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3536
3936
|
// TODO add more "standard" labels
|
3537
3937
|
],
|
3538
|
-
size: { width:
|
3539
|
-
center: { x:
|
3938
|
+
size: { width: bounds21.width, height: bounds21.height },
|
3939
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3540
3940
|
});
|
3541
3941
|
|
3542
3942
|
// symbols/power_factor_meter_vert.ts
|
3543
|
-
var
|
3544
|
-
var
|
3545
|
-
var
|
3546
|
-
var
|
3547
|
-
var text_cos =
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3551
|
-
|
3943
|
+
var rotatedSymbol11 = rotateSymbol(power_factor_meter_horz_default);
|
3944
|
+
var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3945
|
+
var ref12 = texts28.find((t) => t.text === "{REF}");
|
3946
|
+
var val10 = texts28.find((t) => t.text === "{VAL}");
|
3947
|
+
var text_cos = texts28.find((t) => t.text === "COS \u03C6");
|
3948
|
+
ref12.x = 0.35;
|
3949
|
+
ref12.y = 0;
|
3950
|
+
val10.x = -0.6;
|
3951
|
+
val10.y = 0;
|
3552
3952
|
text_cos.x = -0.1;
|
3553
3953
|
text_cos.y = 0;
|
3554
|
-
var power_factor_meter_vert_default =
|
3954
|
+
var power_factor_meter_vert_default = rotatedSymbol11;
|
3555
3955
|
|
3556
3956
|
// assets/generated/push_button_normally_closed_momentary.json
|
3557
3957
|
var push_button_normally_closed_momentary_default = {
|
@@ -3654,37 +4054,37 @@ var push_button_normally_closed_momentary_default = {
|
|
3654
4054
|
};
|
3655
4055
|
|
3656
4056
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
3657
|
-
var { paths:
|
4057
|
+
var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22 } = push_button_normally_closed_momentary_default;
|
3658
4058
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
3659
4059
|
primitives: [
|
3660
|
-
...Object.values(
|
3661
|
-
{ ...
|
3662
|
-
{ ...
|
4060
|
+
...Object.values(paths22),
|
4061
|
+
{ ...texts29.top1, anchor: "middle_bottom" },
|
4062
|
+
{ ...texts29.bottom1, anchor: "middle_top" }
|
3663
4063
|
],
|
3664
4064
|
ports: [
|
3665
|
-
{ ...
|
4065
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
3666
4066
|
// TODO add more "standard" labels
|
3667
|
-
{ ...
|
4067
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
3668
4068
|
// TODO add more "standard" labels
|
3669
4069
|
],
|
3670
|
-
size: { width:
|
3671
|
-
center: { x:
|
4070
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4071
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
3672
4072
|
});
|
3673
4073
|
|
3674
4074
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
3675
4075
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
3676
|
-
var
|
4076
|
+
var ref13 = rotated6.primitives.find(
|
3677
4077
|
(p) => p.type === "text" && p.text === "{REF}"
|
3678
4078
|
);
|
3679
|
-
var
|
4079
|
+
var val11 = rotated6.primitives.find(
|
3680
4080
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3681
4081
|
);
|
3682
|
-
|
3683
|
-
|
3684
|
-
|
3685
|
-
|
3686
|
-
|
3687
|
-
|
4082
|
+
ref13.anchor = "middle_left";
|
4083
|
+
val11.anchor = "middle_right";
|
4084
|
+
ref13.x = ref13.x - 0.03;
|
4085
|
+
ref13.y = ref13.y;
|
4086
|
+
val11.x = val11.x;
|
4087
|
+
val11.y = 0;
|
3688
4088
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
3689
4089
|
|
3690
4090
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -3788,37 +4188,37 @@ var push_button_normally_open_momentary_default = {
|
|
3788
4188
|
};
|
3789
4189
|
|
3790
4190
|
// symbols/push_button_normally_open_momentary_horz.ts
|
3791
|
-
var { paths:
|
4191
|
+
var { paths: paths23, texts: texts30, bounds: bounds23, refblocks: refblocks23 } = push_button_normally_open_momentary_default;
|
3792
4192
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
3793
4193
|
primitives: [
|
3794
|
-
...Object.values(
|
3795
|
-
{ ...
|
3796
|
-
{ ...
|
4194
|
+
...Object.values(paths23),
|
4195
|
+
{ ...texts30.top1, anchor: "middle_bottom" },
|
4196
|
+
{ ...texts30.bottom1, anchor: "middle_top" }
|
3797
4197
|
],
|
3798
4198
|
ports: [
|
3799
|
-
{ ...
|
4199
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
3800
4200
|
// TODO add more "standard" labels
|
3801
|
-
{ ...
|
4201
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
3802
4202
|
// TODO add more "standard" labels
|
3803
4203
|
],
|
3804
|
-
size: { width:
|
3805
|
-
center: { x:
|
4204
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4205
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
3806
4206
|
});
|
3807
4207
|
|
3808
4208
|
// symbols/push_button_normally_open_momentary_vert.ts
|
3809
4209
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
3810
|
-
var
|
4210
|
+
var ref14 = rotated7.primitives.find(
|
3811
4211
|
(p) => p.type === "text" && p.text === "{REF}"
|
3812
4212
|
);
|
3813
|
-
var
|
4213
|
+
var val12 = rotated7.primitives.find(
|
3814
4214
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3815
4215
|
);
|
3816
|
-
|
3817
|
-
|
3818
|
-
|
3819
|
-
|
3820
|
-
|
3821
|
-
|
4216
|
+
ref14.anchor = "middle_left";
|
4217
|
+
val12.anchor = "middle_right";
|
4218
|
+
ref14.x = ref14.x + 0.1;
|
4219
|
+
ref14.y = ref14.y;
|
4220
|
+
val12.x = val12.x;
|
4221
|
+
val12.y = 0;
|
3822
4222
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
3823
4223
|
|
3824
4224
|
// assets/generated/resonator.json
|
@@ -4167,11 +4567,11 @@ var resonator_default = {
|
|
4167
4567
|
};
|
4168
4568
|
|
4169
4569
|
// symbols/resonator_horz.ts
|
4170
|
-
var { paths:
|
4570
|
+
var { paths: paths24, texts: texts31, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = resonator_default;
|
4171
4571
|
var resonator_horz_default = defineSymbol({
|
4172
4572
|
primitives: [
|
4173
|
-
...Object.values(
|
4174
|
-
...Object.values(
|
4573
|
+
...Object.values(paths24),
|
4574
|
+
...Object.values(circles14),
|
4175
4575
|
// { ...texts.top1, anchor: "middle_left" },
|
4176
4576
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4177
4577
|
{
|
@@ -4190,15 +4590,15 @@ var resonator_horz_default = defineSymbol({
|
|
4190
4590
|
}
|
4191
4591
|
],
|
4192
4592
|
ports: [
|
4193
|
-
{ ...
|
4593
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4194
4594
|
// TODO add more "standard" labels
|
4195
|
-
{ ...
|
4595
|
+
{ ...refblocks24.right1, labels: ["2"] },
|
4196
4596
|
// TODO add more "standard" labels
|
4197
|
-
{ ...
|
4597
|
+
{ ...refblocks24.right2, labels: ["3"] }
|
4198
4598
|
// TODO add more "standard" labels
|
4199
4599
|
],
|
4200
|
-
size: { width:
|
4201
|
-
center: { x:
|
4600
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4601
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4202
4602
|
});
|
4203
4603
|
|
4204
4604
|
// symbols/resonator_vert.ts
|
@@ -4396,34 +4796,34 @@ var schottky_diode_default = {
|
|
4396
4796
|
};
|
4397
4797
|
|
4398
4798
|
// symbols/schottky_diode_horz.ts
|
4399
|
-
var { paths:
|
4799
|
+
var { paths: paths25, texts: texts32, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = schottky_diode_default;
|
4400
4800
|
var schottky_diode_horz_default = defineSymbol({
|
4401
4801
|
primitives: [
|
4402
|
-
...Object.values(
|
4403
|
-
...Object.values(
|
4404
|
-
{ ...
|
4405
|
-
{ ...
|
4802
|
+
...Object.values(paths25),
|
4803
|
+
...Object.values(circles15),
|
4804
|
+
{ ...texts32.top1, anchor: "middle_bottom" },
|
4805
|
+
{ ...texts32.bottom1, anchor: "middle_top" }
|
4406
4806
|
],
|
4407
4807
|
ports: [
|
4408
|
-
{ ...
|
4808
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4409
4809
|
// TODO add more "standard" labels
|
4410
|
-
{ ...
|
4810
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4411
4811
|
// TODO add more "standard" labels
|
4412
4812
|
],
|
4413
|
-
size: { width:
|
4414
|
-
center: { x:
|
4813
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4814
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4415
4815
|
});
|
4416
4816
|
|
4417
4817
|
// symbols/schottky_diode_vert.ts
|
4418
4818
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
4419
|
-
var
|
4819
|
+
var ref15 = rotated8.primitives.find(
|
4420
4820
|
(p) => p.type === "text" && p.text === "{REF}"
|
4421
4821
|
);
|
4422
|
-
var
|
4822
|
+
var val13 = rotated8.primitives.find(
|
4423
4823
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4424
4824
|
);
|
4425
|
-
|
4426
|
-
|
4825
|
+
ref15.anchor = "middle_left";
|
4826
|
+
val13.anchor = "middle_right";
|
4427
4827
|
var schottky_diode_vert_default = rotated8;
|
4428
4828
|
|
4429
4829
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -4570,35 +4970,35 @@ var silicon_controlled_rectifier_default = {
|
|
4570
4970
|
};
|
4571
4971
|
|
4572
4972
|
// symbols/silicon_controlled_rectifier_horz.ts
|
4573
|
-
var { paths:
|
4973
|
+
var { paths: paths26, texts: texts33, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = silicon_controlled_rectifier_default;
|
4574
4974
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
4575
4975
|
primitives: [
|
4576
|
-
...Object.values(
|
4577
|
-
...Object.values(
|
4578
|
-
{ ...
|
4579
|
-
{ ...
|
4976
|
+
...Object.values(paths26),
|
4977
|
+
...Object.values(circles16),
|
4978
|
+
{ ...texts33.top1, anchor: "middle_left" },
|
4979
|
+
{ ...texts33.bottom1, anchor: "middle_top" }
|
4580
4980
|
],
|
4581
4981
|
ports: [
|
4582
|
-
{ ...
|
4982
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4583
4983
|
// TODO add more "standard" labels
|
4584
|
-
{ ...
|
4984
|
+
{ ...refblocks26.right1, labels: ["2"] },
|
4585
4985
|
// TODO add more "standard" labels
|
4586
|
-
{ ...
|
4986
|
+
{ ...refblocks26.bottom1, labels: ["3"] }
|
4587
4987
|
// TODO add more "standard" labels
|
4588
4988
|
],
|
4589
|
-
size: { width:
|
4590
|
-
center: { x:
|
4989
|
+
size: { width: bounds26.width, height: bounds26.height },
|
4990
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4591
4991
|
});
|
4592
4992
|
|
4593
4993
|
// symbols/silicon_controlled_rectifier_vert.ts
|
4594
|
-
var
|
4595
|
-
var
|
4994
|
+
var rotatedSymbol12 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
4995
|
+
var texts34 = rotatedSymbol12.primitives.filter(
|
4596
4996
|
(primitive) => primitive.type === "text"
|
4597
4997
|
);
|
4598
|
-
var
|
4599
|
-
|
4600
|
-
|
4601
|
-
var silicon_controlled_rectifier_vert_default =
|
4998
|
+
var ref16 = texts34.find((text) => text.text === "{REF}");
|
4999
|
+
ref16.y = 0;
|
5000
|
+
ref16.anchor = "middle_left";
|
5001
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol12;
|
4602
5002
|
|
4603
5003
|
// assets/generated/step_recovery_diode.json
|
4604
5004
|
var step_recovery_diode_default = {
|
@@ -4762,11 +5162,11 @@ var step_recovery_diode_default = {
|
|
4762
5162
|
};
|
4763
5163
|
|
4764
5164
|
// symbols/step_recovery_diode_horz.ts
|
4765
|
-
var { paths:
|
5165
|
+
var { paths: paths27, texts: texts35, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = step_recovery_diode_default;
|
4766
5166
|
var step_recovery_diode_horz_default = defineSymbol({
|
4767
5167
|
primitives: [
|
4768
|
-
...Object.values(
|
4769
|
-
...Object.values(
|
5168
|
+
...Object.values(paths27),
|
5169
|
+
...Object.values(circles17),
|
4770
5170
|
// { ...texts.top1, anchor: "middle_left" },
|
4771
5171
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4772
5172
|
{
|
@@ -4785,13 +5185,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
4785
5185
|
}
|
4786
5186
|
],
|
4787
5187
|
ports: [
|
4788
|
-
{ ...
|
5188
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
4789
5189
|
// TODO add more "standard" labels
|
4790
|
-
{ ...
|
5190
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
4791
5191
|
// TODO add more "standard" labels
|
4792
5192
|
],
|
4793
|
-
size: { width:
|
4794
|
-
center: { x:
|
5193
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5194
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
4795
5195
|
});
|
4796
5196
|
|
4797
5197
|
// symbols/step_recovery_diode_vert.ts
|
@@ -4988,36 +5388,36 @@ var triac_default = {
|
|
4988
5388
|
};
|
4989
5389
|
|
4990
5390
|
// symbols/triac_horz.ts
|
4991
|
-
var { paths:
|
5391
|
+
var { paths: paths28, texts: texts36, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = triac_default;
|
4992
5392
|
var triac_horz_default = defineSymbol({
|
4993
5393
|
primitives: [
|
4994
|
-
...Object.values(
|
4995
|
-
...Object.values(
|
4996
|
-
{ ...
|
4997
|
-
{ ...
|
5394
|
+
...Object.values(paths28),
|
5395
|
+
...Object.values(circles18),
|
5396
|
+
{ ...texts36.top1, anchor: "middle_left" },
|
5397
|
+
{ ...texts36.bottom1, anchor: "middle_top" }
|
4998
5398
|
],
|
4999
5399
|
ports: [
|
5000
|
-
{ ...
|
5400
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5001
5401
|
// TODO add more "standard" labels
|
5002
|
-
{ ...
|
5402
|
+
{ ...refblocks28.right1, labels: ["2"] },
|
5003
5403
|
// TODO add more "standard" labels
|
5004
|
-
{ ...
|
5404
|
+
{ ...refblocks28.bottom1, labels: ["3"] }
|
5005
5405
|
// TODO add more "standard" labels
|
5006
5406
|
],
|
5007
|
-
size: { width:
|
5008
|
-
center: { x:
|
5407
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5408
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5009
5409
|
});
|
5010
5410
|
|
5011
5411
|
// symbols/triac_vert.ts
|
5012
|
-
var
|
5013
|
-
var
|
5412
|
+
var rotatedSymbol13 = rotateSymbol(triac_horz_default);
|
5413
|
+
var texts37 = rotatedSymbol13.primitives.filter(
|
5014
5414
|
(primitive) => primitive.type === "text"
|
5015
5415
|
);
|
5016
|
-
var
|
5017
|
-
var
|
5018
|
-
|
5019
|
-
|
5020
|
-
var triac_vert_default =
|
5416
|
+
var ref17 = texts37.find((text) => text.text === "{REF}");
|
5417
|
+
var val14 = texts37.find((text) => text.text === "{VAL}");
|
5418
|
+
ref17.y = 0;
|
5419
|
+
val14.y = 0;
|
5420
|
+
var triac_vert_default = rotatedSymbol13;
|
5021
5421
|
|
5022
5422
|
// assets/generated/tunnel_diode.json
|
5023
5423
|
var tunnel_diode_default = {
|
@@ -5181,34 +5581,34 @@ var tunnel_diode_default = {
|
|
5181
5581
|
};
|
5182
5582
|
|
5183
5583
|
// symbols/tunnel_diode_horz.ts
|
5184
|
-
var { paths:
|
5584
|
+
var { paths: paths29, texts: texts38, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = tunnel_diode_default;
|
5185
5585
|
var tunnel_diode_horz_default = defineSymbol({
|
5186
5586
|
primitives: [
|
5187
|
-
...Object.values(
|
5188
|
-
...Object.values(
|
5189
|
-
{ ...
|
5190
|
-
{ ...
|
5587
|
+
...Object.values(paths29),
|
5588
|
+
...Object.values(circles19),
|
5589
|
+
{ ...texts38.top1, anchor: "middle_bottom" },
|
5590
|
+
{ ...texts38.bottom1, anchor: "middle_top" }
|
5191
5591
|
],
|
5192
5592
|
ports: [
|
5193
|
-
{ ...
|
5593
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5194
5594
|
// TODO add more "standard" labels
|
5195
|
-
{ ...
|
5595
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
5196
5596
|
// TODO add more "standard" labels
|
5197
5597
|
],
|
5198
|
-
size: { width:
|
5199
|
-
center: { x:
|
5598
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5599
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5200
5600
|
});
|
5201
5601
|
|
5202
5602
|
// symbols/tunnel_diode_vert.ts
|
5203
5603
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
5204
|
-
var
|
5604
|
+
var ref18 = rotated9.primitives.find(
|
5205
5605
|
(p) => p.type === "text" && p.text === "{REF}"
|
5206
5606
|
);
|
5207
|
-
var
|
5607
|
+
var val15 = rotated9.primitives.find(
|
5208
5608
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5209
5609
|
);
|
5210
|
-
|
5211
|
-
|
5610
|
+
ref18.anchor = "middle_left";
|
5611
|
+
val15.anchor = "middle_right";
|
5212
5612
|
var tunnel_diode_vert_default = rotated9;
|
5213
5613
|
|
5214
5614
|
// assets/generated/unijunction_transistor.json
|
@@ -5379,37 +5779,37 @@ var unijunction_transistor_default = {
|
|
5379
5779
|
};
|
5380
5780
|
|
5381
5781
|
// symbols/unijunction_transistor_horz.ts
|
5382
|
-
var { paths:
|
5782
|
+
var { paths: paths30, texts: texts39, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = unijunction_transistor_default;
|
5383
5783
|
var unijunction_transistor_horz_default = defineSymbol({
|
5384
5784
|
primitives: [
|
5385
|
-
...Object.values(
|
5386
|
-
...Object.values(
|
5387
|
-
{ ...
|
5388
|
-
{ ...
|
5785
|
+
...Object.values(paths30),
|
5786
|
+
...Object.values(circles20),
|
5787
|
+
{ ...texts39.top1, anchor: "middle_left" },
|
5788
|
+
{ ...texts39.bottom1, anchor: "middle_right" }
|
5389
5789
|
],
|
5390
5790
|
ports: [
|
5391
|
-
{ ...
|
5791
|
+
{ ...refblocks30.top1, labels: ["1"] },
|
5392
5792
|
// TODO add more "standard" labels
|
5393
|
-
{ ...
|
5793
|
+
{ ...refblocks30.bottom1, labels: ["2"] },
|
5394
5794
|
// TODO add more "standard" labels
|
5395
|
-
{ ...
|
5795
|
+
{ ...refblocks30.left1, labels: ["3"] }
|
5396
5796
|
// TODO add more "standard" labels
|
5397
5797
|
],
|
5398
|
-
size: { width:
|
5399
|
-
center: { x:
|
5798
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5799
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5400
5800
|
});
|
5401
5801
|
|
5402
5802
|
// symbols/unijunction_transistor_vert.ts
|
5403
|
-
var
|
5404
|
-
var
|
5803
|
+
var rotatedSymbol14 = rotateSymbol(unijunction_transistor_horz_default);
|
5804
|
+
var texts40 = rotatedSymbol14.primitives.filter(
|
5405
5805
|
(primitive) => primitive.type === "text"
|
5406
5806
|
);
|
5407
|
-
var
|
5408
|
-
|
5409
|
-
var
|
5410
|
-
|
5411
|
-
|
5412
|
-
var unijunction_transistor_vert_default =
|
5807
|
+
var ref19 = texts40.find((text) => text.text === "{REF}");
|
5808
|
+
ref19.y = 0.1;
|
5809
|
+
var val16 = texts40.find((text) => text.text === "{VAL}");
|
5810
|
+
val16.y = 0.1;
|
5811
|
+
val16.x = -0.4;
|
5812
|
+
var unijunction_transistor_vert_default = rotatedSymbol14;
|
5413
5813
|
|
5414
5814
|
// assets/generated/var_meter.json
|
5415
5815
|
var var_meter_default = {
|
@@ -5498,33 +5898,33 @@ var var_meter_default = {
|
|
5498
5898
|
};
|
5499
5899
|
|
5500
5900
|
// symbols/var_meter_horz.ts
|
5501
|
-
var { paths:
|
5901
|
+
var { paths: paths31, texts: texts41, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = var_meter_default;
|
5502
5902
|
var var_meter_horz_default = defineSymbol({
|
5503
5903
|
primitives: [
|
5504
|
-
...Object.values(
|
5505
|
-
...Object.values(
|
5904
|
+
...Object.values(paths31),
|
5905
|
+
...Object.values(circles21),
|
5506
5906
|
{
|
5507
|
-
...
|
5907
|
+
...texts41.top1,
|
5508
5908
|
x: 0,
|
5509
5909
|
y: -0.3594553499999995,
|
5510
5910
|
anchor: "middle_bottom"
|
5511
5911
|
},
|
5512
5912
|
{
|
5513
|
-
...
|
5913
|
+
...texts41.bottom1,
|
5514
5914
|
x: 0,
|
5515
5915
|
y: 0.35,
|
5516
5916
|
anchor: "middle_top"
|
5517
5917
|
},
|
5518
|
-
{ ...
|
5918
|
+
{ ...texts41.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
5519
5919
|
],
|
5520
5920
|
ports: [
|
5521
|
-
{ ...
|
5921
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5522
5922
|
// TODO add more "standard" labels
|
5523
|
-
{ ...
|
5923
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
5524
5924
|
// TODO add more "standard" labels
|
5525
5925
|
],
|
5526
|
-
size: { width:
|
5527
|
-
center: { x:
|
5926
|
+
size: { width: bounds31.width, height: bounds31.height },
|
5927
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5528
5928
|
});
|
5529
5929
|
|
5530
5930
|
// symbols/var_meter_vert.ts
|
@@ -5677,34 +6077,34 @@ var varactor_diode_default = {
|
|
5677
6077
|
};
|
5678
6078
|
|
5679
6079
|
// symbols/varactor_diode_horz.ts
|
5680
|
-
var { paths:
|
6080
|
+
var { paths: paths32, texts: texts42, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = varactor_diode_default;
|
5681
6081
|
var varactor_diode_horz_default = defineSymbol({
|
5682
6082
|
primitives: [
|
5683
|
-
...Object.values(
|
5684
|
-
...Object.values(
|
5685
|
-
{ ...
|
5686
|
-
{ ...
|
6083
|
+
...Object.values(paths32),
|
6084
|
+
...Object.values(circles22),
|
6085
|
+
{ ...texts42.top1, anchor: "middle_bottom" },
|
6086
|
+
{ ...texts42.bottom1, anchor: "middle_top" }
|
5687
6087
|
],
|
5688
6088
|
ports: [
|
5689
|
-
{ ...
|
6089
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
5690
6090
|
// TODO add more "standard" labels
|
5691
|
-
{ ...
|
6091
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
5692
6092
|
// TODO add more "standard" labels
|
5693
6093
|
],
|
5694
|
-
size: { width:
|
5695
|
-
center: { x:
|
6094
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6095
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5696
6096
|
});
|
5697
6097
|
|
5698
6098
|
// symbols/varactor_diode_vert.ts
|
5699
6099
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
5700
|
-
var
|
6100
|
+
var ref20 = rotated10.primitives.find(
|
5701
6101
|
(p) => p.type === "text" && p.text === "{REF}"
|
5702
6102
|
);
|
5703
|
-
var
|
6103
|
+
var val17 = rotated10.primitives.find(
|
5704
6104
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5705
6105
|
);
|
5706
|
-
|
5707
|
-
|
6106
|
+
ref20.anchor = "middle_left";
|
6107
|
+
val17.anchor = "middle_right";
|
5708
6108
|
var varactor_diode_vert_default = rotated10;
|
5709
6109
|
|
5710
6110
|
// assets/generated/varistor.json
|
@@ -5839,26 +6239,26 @@ var varistor_default = {
|
|
5839
6239
|
};
|
5840
6240
|
|
5841
6241
|
// symbols/varistor_horz.ts
|
5842
|
-
var { paths:
|
6242
|
+
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33 } = varistor_default;
|
5843
6243
|
var varistor_horz_default = defineSymbol({
|
5844
6244
|
primitives: [
|
5845
|
-
...Object.values(
|
5846
|
-
{ ...
|
5847
|
-
{ ...
|
6245
|
+
...Object.values(paths33),
|
6246
|
+
{ ...texts43.top1, anchor: "middle_left" },
|
6247
|
+
{ ...texts43.bottom1, anchor: "middle_right" }
|
5848
6248
|
],
|
5849
6249
|
ports: [
|
5850
6250
|
{
|
5851
|
-
...
|
6251
|
+
...refblocks33.left1,
|
5852
6252
|
labels: ["1", "-"]
|
5853
6253
|
},
|
5854
6254
|
{
|
5855
|
-
...
|
6255
|
+
...refblocks33.right1,
|
5856
6256
|
labels: ["2", "+"]
|
5857
6257
|
}
|
5858
6258
|
],
|
5859
|
-
size: { width:
|
6259
|
+
size: { width: bounds33.width, height: bounds33.height },
|
5860
6260
|
//{ width: 1, height: 0.24 },
|
5861
|
-
center: { x:
|
6261
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
5862
6262
|
});
|
5863
6263
|
|
5864
6264
|
// symbols/varistor_vert.ts
|
@@ -5964,11 +6364,11 @@ var volt_meter_default = {
|
|
5964
6364
|
};
|
5965
6365
|
|
5966
6366
|
// symbols/volt_meter_horz.ts
|
5967
|
-
var { paths:
|
6367
|
+
var { paths: paths34, texts: texts44, bounds: bounds34, circles: circles23, refblocks: refblocks34 } = volt_meter_default;
|
5968
6368
|
var volt_meter_horz_default = defineSymbol({
|
5969
6369
|
primitives: [
|
5970
|
-
...Object.values(
|
5971
|
-
...Object.values(
|
6370
|
+
...Object.values(paths34),
|
6371
|
+
...Object.values(circles23),
|
5972
6372
|
{
|
5973
6373
|
type: "text",
|
5974
6374
|
text: "{REF}",
|
@@ -5985,13 +6385,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
5985
6385
|
}
|
5986
6386
|
],
|
5987
6387
|
ports: [
|
5988
|
-
{ ...
|
6388
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
5989
6389
|
// TODO add more "standard" labels
|
5990
|
-
{ ...
|
6390
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
5991
6391
|
// TODO add more "standard" labels
|
5992
6392
|
],
|
5993
|
-
size: { width:
|
5994
|
-
center: { x:
|
6393
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6394
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
5995
6395
|
});
|
5996
6396
|
|
5997
6397
|
// symbols/volt_meter_vert.ts
|
@@ -6144,34 +6544,34 @@ var zener_diode_default = {
|
|
6144
6544
|
};
|
6145
6545
|
|
6146
6546
|
// symbols/zener_diode_horz.ts
|
6147
|
-
var { paths:
|
6547
|
+
var { paths: paths35, texts: texts45, bounds: bounds35, refblocks: refblocks35, circles: circles24 } = zener_diode_default;
|
6148
6548
|
var zener_diode_horz_default = defineSymbol({
|
6149
6549
|
primitives: [
|
6150
|
-
...Object.values(
|
6151
|
-
...Object.values(
|
6152
|
-
{ ...
|
6153
|
-
{ ...
|
6550
|
+
...Object.values(paths35),
|
6551
|
+
...Object.values(circles24),
|
6552
|
+
{ ...texts45.top1, anchor: "middle_bottom" },
|
6553
|
+
{ ...texts45.bottom1, anchor: "middle_top" }
|
6154
6554
|
],
|
6155
6555
|
ports: [
|
6156
|
-
{ ...
|
6556
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6157
6557
|
// TODO add more "standard" labels
|
6158
|
-
{ ...
|
6558
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6159
6559
|
// TODO add more "standard" labels
|
6160
6560
|
],
|
6161
|
-
size: { width:
|
6162
|
-
center: { x:
|
6561
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6562
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6163
6563
|
});
|
6164
6564
|
|
6165
6565
|
// symbols/zener_diode_vert.ts
|
6166
6566
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6167
|
-
var
|
6567
|
+
var ref21 = rotated11.primitives.find(
|
6168
6568
|
(p) => p.type === "text" && p.text === "{REF}"
|
6169
6569
|
);
|
6170
|
-
var
|
6570
|
+
var val18 = rotated11.primitives.find(
|
6171
6571
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6172
6572
|
);
|
6173
|
-
|
6174
|
-
|
6573
|
+
ref21.anchor = "middle_left";
|
6574
|
+
val18.anchor = "middle_right";
|
6175
6575
|
var zener_diode_vert_default = rotated11;
|
6176
6576
|
|
6177
6577
|
// generated/symbols-index.ts
|
@@ -6186,6 +6586,8 @@ var symbols_index_default = {
|
|
6186
6586
|
"capacitor_vert": capacitor_vert_default,
|
6187
6587
|
"constant_current_diode_horz": constant_current_diode_horz_default,
|
6188
6588
|
"constant_current_diode_vert": constant_current_diode_vert_default,
|
6589
|
+
"crystal_horz": crystal_horz_default,
|
6590
|
+
"crystal_vert": crystal_vert_default,
|
6189
6591
|
"dc_ammeter_horz": dc_ammeter_horz_default,
|
6190
6592
|
"dc_ammeter_vert": dc_ammeter_vert_default,
|
6191
6593
|
"dc_voltmeter_horz": dc_voltmeter_horz_default,
|
@@ -6208,6 +6610,8 @@ var symbols_index_default = {
|
|
6208
6610
|
"mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
|
6209
6611
|
"photodiode_horz": photodiode_horz_default,
|
6210
6612
|
"photodiode_vert": photodiode_vert_default,
|
6613
|
+
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|
6614
|
+
"pjfet_transistor_vert": pjfet_transistor_vert_default,
|
6211
6615
|
"potentiometer_horz": potentiometer_horz_default,
|
6212
6616
|
"potentiometer_vert": potentiometer_vert_default,
|
6213
6617
|
"potentiometer2_horz": potentiometer2_horz_default,
|