schematic-symbols 0.0.61 → 0.0.62
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +556 -351
- 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/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
|
@@ -3042,11 +3245,11 @@ var photodiode_default = {
|
|
3042
3245
|
};
|
3043
3246
|
|
3044
3247
|
// symbols/photodiode_horz.ts
|
3045
|
-
var { paths:
|
3248
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = photodiode_default;
|
3046
3249
|
var photodiode_horz_default = defineSymbol({
|
3047
3250
|
primitives: [
|
3048
|
-
...Object.values(
|
3049
|
-
...Object.values(
|
3251
|
+
...Object.values(paths17),
|
3252
|
+
...Object.values(circles11),
|
3050
3253
|
{
|
3051
3254
|
type: "text",
|
3052
3255
|
text: "{REF}",
|
@@ -3063,22 +3266,22 @@ var photodiode_horz_default = defineSymbol({
|
|
3063
3266
|
}
|
3064
3267
|
],
|
3065
3268
|
ports: [
|
3066
|
-
{ ...
|
3269
|
+
{ ...refblocks17.left1, labels: ["1"] },
|
3067
3270
|
// TODO add more "standard" labels
|
3068
|
-
{ ...
|
3271
|
+
{ ...refblocks17.right1, labels: ["2"] }
|
3069
3272
|
// TODO add more "standard" labels
|
3070
3273
|
],
|
3071
|
-
size: { width:
|
3072
|
-
center: { x:
|
3274
|
+
size: { width: bounds17.width, height: bounds17.height },
|
3275
|
+
center: { x: bounds17.centerX, y: bounds17.centerY }
|
3073
3276
|
});
|
3074
3277
|
|
3075
3278
|
// symbols/photodiode_vert.ts
|
3076
|
-
var
|
3077
|
-
var
|
3078
|
-
var
|
3079
|
-
|
3080
|
-
|
3081
|
-
var photodiode_vert_default =
|
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;
|
3082
3285
|
|
3083
3286
|
// assets/generated/potentiometer.json
|
3084
3287
|
var potentiometer_default = {
|
@@ -3216,21 +3419,21 @@ var potentiometer_default = {
|
|
3216
3419
|
};
|
3217
3420
|
|
3218
3421
|
// symbols/potentiometer_horz.ts
|
3219
|
-
var { paths:
|
3422
|
+
var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18 } = potentiometer_default;
|
3220
3423
|
var potentiometer_horz_default = defineSymbol({
|
3221
3424
|
primitives: [
|
3222
|
-
...Object.values(
|
3223
|
-
{ ...
|
3224
|
-
{ ...
|
3425
|
+
...Object.values(paths18),
|
3426
|
+
{ ...texts23.bottom1, y: 0.35, anchor: "middle_top" },
|
3427
|
+
{ ...texts23.right1, anchor: "middle_left" }
|
3225
3428
|
],
|
3226
3429
|
ports: [
|
3227
|
-
{ ...
|
3430
|
+
{ ...refblocks18.left1, labels: ["1"] },
|
3228
3431
|
// TODO add more "standard" labels
|
3229
|
-
{ ...
|
3432
|
+
{ ...refblocks18.right1, labels: ["2"] }
|
3230
3433
|
// TODO add more "standard" labels
|
3231
3434
|
],
|
3232
|
-
size: { width:
|
3233
|
-
center: { x:
|
3435
|
+
size: { width: bounds18.width + 0.05, height: bounds18.height },
|
3436
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3234
3437
|
});
|
3235
3438
|
|
3236
3439
|
// symbols/potentiometer_vert.ts
|
@@ -3392,21 +3595,21 @@ var potentiometer2_default = {
|
|
3392
3595
|
};
|
3393
3596
|
|
3394
3597
|
// symbols/potentiometer2_horz.ts
|
3395
|
-
var { paths:
|
3598
|
+
var { paths: paths19, texts: texts24, bounds: bounds19, refblocks: refblocks19 } = potentiometer2_default;
|
3396
3599
|
var potentiometer2_horz_default = defineSymbol({
|
3397
3600
|
primitives: [
|
3398
|
-
...Object.values(
|
3399
|
-
{ ...
|
3400
|
-
{ ...
|
3601
|
+
...Object.values(paths19),
|
3602
|
+
{ ...texts24.bottom1, anchor: "middle_right" },
|
3603
|
+
{ ...texts24.top1, anchor: "middle_left" }
|
3401
3604
|
],
|
3402
3605
|
ports: [
|
3403
|
-
{ ...
|
3606
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
3404
3607
|
// TODO add more "standard" labels
|
3405
|
-
{ ...
|
3608
|
+
{ ...refblocks19.right1, labels: ["2"] }
|
3406
3609
|
// TODO add more "standard" labels
|
3407
3610
|
],
|
3408
|
-
size: { width:
|
3409
|
-
center: { x:
|
3611
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3612
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3410
3613
|
});
|
3411
3614
|
|
3412
3615
|
// symbols/potentiometer2_vert.ts
|
@@ -3499,11 +3702,11 @@ var power_factor_meter_default = {
|
|
3499
3702
|
};
|
3500
3703
|
|
3501
3704
|
// symbols/power_factor_meter_horz.ts
|
3502
|
-
var { paths:
|
3705
|
+
var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles12 } = power_factor_meter_default;
|
3503
3706
|
var power_factor_meter_horz_default = defineSymbol({
|
3504
3707
|
primitives: [
|
3505
|
-
...Object.values(
|
3506
|
-
...Object.values(
|
3708
|
+
...Object.values(paths20),
|
3709
|
+
...Object.values(circles12),
|
3507
3710
|
// { ...texts.top1, anchor: "middle_left" },
|
3508
3711
|
{
|
3509
3712
|
type: "text",
|
@@ -3530,28 +3733,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
3530
3733
|
}
|
3531
3734
|
],
|
3532
3735
|
ports: [
|
3533
|
-
{ ...
|
3736
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3534
3737
|
// TODO add more "standard" labels
|
3535
|
-
{ ...
|
3738
|
+
{ ...refblocks20.right1, labels: ["2"] }
|
3536
3739
|
// TODO add more "standard" labels
|
3537
3740
|
],
|
3538
|
-
size: { width:
|
3539
|
-
center: { x:
|
3741
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3742
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3540
3743
|
});
|
3541
3744
|
|
3542
3745
|
// symbols/power_factor_meter_vert.ts
|
3543
|
-
var
|
3544
|
-
var
|
3545
|
-
var
|
3546
|
-
var
|
3547
|
-
var text_cos =
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3551
|
-
|
3746
|
+
var rotatedSymbol10 = rotateSymbol(power_factor_meter_horz_default);
|
3747
|
+
var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3748
|
+
var ref11 = texts26.find((t) => t.text === "{REF}");
|
3749
|
+
var val9 = texts26.find((t) => t.text === "{VAL}");
|
3750
|
+
var text_cos = texts26.find((t) => t.text === "COS \u03C6");
|
3751
|
+
ref11.x = 0.35;
|
3752
|
+
ref11.y = 0;
|
3753
|
+
val9.x = -0.6;
|
3754
|
+
val9.y = 0;
|
3552
3755
|
text_cos.x = -0.1;
|
3553
3756
|
text_cos.y = 0;
|
3554
|
-
var power_factor_meter_vert_default =
|
3757
|
+
var power_factor_meter_vert_default = rotatedSymbol10;
|
3555
3758
|
|
3556
3759
|
// assets/generated/push_button_normally_closed_momentary.json
|
3557
3760
|
var push_button_normally_closed_momentary_default = {
|
@@ -3654,37 +3857,37 @@ var push_button_normally_closed_momentary_default = {
|
|
3654
3857
|
};
|
3655
3858
|
|
3656
3859
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
3657
|
-
var { paths:
|
3860
|
+
var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21 } = push_button_normally_closed_momentary_default;
|
3658
3861
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
3659
3862
|
primitives: [
|
3660
|
-
...Object.values(
|
3661
|
-
{ ...
|
3662
|
-
{ ...
|
3863
|
+
...Object.values(paths21),
|
3864
|
+
{ ...texts27.top1, anchor: "middle_bottom" },
|
3865
|
+
{ ...texts27.bottom1, anchor: "middle_top" }
|
3663
3866
|
],
|
3664
3867
|
ports: [
|
3665
|
-
{ ...
|
3868
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3666
3869
|
// TODO add more "standard" labels
|
3667
|
-
{ ...
|
3870
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3668
3871
|
// TODO add more "standard" labels
|
3669
3872
|
],
|
3670
|
-
size: { width:
|
3671
|
-
center: { x:
|
3873
|
+
size: { width: bounds21.width, height: bounds21.height },
|
3874
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3672
3875
|
});
|
3673
3876
|
|
3674
3877
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
3675
3878
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
3676
|
-
var
|
3879
|
+
var ref12 = rotated6.primitives.find(
|
3677
3880
|
(p) => p.type === "text" && p.text === "{REF}"
|
3678
3881
|
);
|
3679
|
-
var
|
3882
|
+
var val10 = rotated6.primitives.find(
|
3680
3883
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3681
3884
|
);
|
3682
|
-
|
3683
|
-
|
3684
|
-
|
3685
|
-
|
3686
|
-
|
3687
|
-
|
3885
|
+
ref12.anchor = "middle_left";
|
3886
|
+
val10.anchor = "middle_right";
|
3887
|
+
ref12.x = ref12.x - 0.03;
|
3888
|
+
ref12.y = ref12.y;
|
3889
|
+
val10.x = val10.x;
|
3890
|
+
val10.y = 0;
|
3688
3891
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
3689
3892
|
|
3690
3893
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -3788,37 +3991,37 @@ var push_button_normally_open_momentary_default = {
|
|
3788
3991
|
};
|
3789
3992
|
|
3790
3993
|
// symbols/push_button_normally_open_momentary_horz.ts
|
3791
|
-
var { paths:
|
3994
|
+
var { paths: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22 } = push_button_normally_open_momentary_default;
|
3792
3995
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
3793
3996
|
primitives: [
|
3794
|
-
...Object.values(
|
3795
|
-
{ ...
|
3796
|
-
{ ...
|
3997
|
+
...Object.values(paths22),
|
3998
|
+
{ ...texts28.top1, anchor: "middle_bottom" },
|
3999
|
+
{ ...texts28.bottom1, anchor: "middle_top" }
|
3797
4000
|
],
|
3798
4001
|
ports: [
|
3799
|
-
{ ...
|
4002
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
3800
4003
|
// TODO add more "standard" labels
|
3801
|
-
{ ...
|
4004
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
3802
4005
|
// TODO add more "standard" labels
|
3803
4006
|
],
|
3804
|
-
size: { width:
|
3805
|
-
center: { x:
|
4007
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4008
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
3806
4009
|
});
|
3807
4010
|
|
3808
4011
|
// symbols/push_button_normally_open_momentary_vert.ts
|
3809
4012
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
3810
|
-
var
|
4013
|
+
var ref13 = rotated7.primitives.find(
|
3811
4014
|
(p) => p.type === "text" && p.text === "{REF}"
|
3812
4015
|
);
|
3813
|
-
var
|
4016
|
+
var val11 = rotated7.primitives.find(
|
3814
4017
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3815
4018
|
);
|
3816
|
-
|
3817
|
-
|
3818
|
-
|
3819
|
-
|
3820
|
-
|
3821
|
-
|
4019
|
+
ref13.anchor = "middle_left";
|
4020
|
+
val11.anchor = "middle_right";
|
4021
|
+
ref13.x = ref13.x + 0.1;
|
4022
|
+
ref13.y = ref13.y;
|
4023
|
+
val11.x = val11.x;
|
4024
|
+
val11.y = 0;
|
3822
4025
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
3823
4026
|
|
3824
4027
|
// assets/generated/resonator.json
|
@@ -4167,11 +4370,11 @@ var resonator_default = {
|
|
4167
4370
|
};
|
4168
4371
|
|
4169
4372
|
// symbols/resonator_horz.ts
|
4170
|
-
var { paths:
|
4373
|
+
var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles13 } = resonator_default;
|
4171
4374
|
var resonator_horz_default = defineSymbol({
|
4172
4375
|
primitives: [
|
4173
|
-
...Object.values(
|
4174
|
-
...Object.values(
|
4376
|
+
...Object.values(paths23),
|
4377
|
+
...Object.values(circles13),
|
4175
4378
|
// { ...texts.top1, anchor: "middle_left" },
|
4176
4379
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4177
4380
|
{
|
@@ -4190,15 +4393,15 @@ var resonator_horz_default = defineSymbol({
|
|
4190
4393
|
}
|
4191
4394
|
],
|
4192
4395
|
ports: [
|
4193
|
-
{ ...
|
4396
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4194
4397
|
// TODO add more "standard" labels
|
4195
|
-
{ ...
|
4398
|
+
{ ...refblocks23.right1, labels: ["2"] },
|
4196
4399
|
// TODO add more "standard" labels
|
4197
|
-
{ ...
|
4400
|
+
{ ...refblocks23.right2, labels: ["3"] }
|
4198
4401
|
// TODO add more "standard" labels
|
4199
4402
|
],
|
4200
|
-
size: { width:
|
4201
|
-
center: { x:
|
4403
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4404
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4202
4405
|
});
|
4203
4406
|
|
4204
4407
|
// symbols/resonator_vert.ts
|
@@ -4396,34 +4599,34 @@ var schottky_diode_default = {
|
|
4396
4599
|
};
|
4397
4600
|
|
4398
4601
|
// symbols/schottky_diode_horz.ts
|
4399
|
-
var { paths:
|
4602
|
+
var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles14 } = schottky_diode_default;
|
4400
4603
|
var schottky_diode_horz_default = defineSymbol({
|
4401
4604
|
primitives: [
|
4402
|
-
...Object.values(
|
4403
|
-
...Object.values(
|
4404
|
-
{ ...
|
4405
|
-
{ ...
|
4605
|
+
...Object.values(paths24),
|
4606
|
+
...Object.values(circles14),
|
4607
|
+
{ ...texts30.top1, anchor: "middle_bottom" },
|
4608
|
+
{ ...texts30.bottom1, anchor: "middle_top" }
|
4406
4609
|
],
|
4407
4610
|
ports: [
|
4408
|
-
{ ...
|
4611
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4409
4612
|
// TODO add more "standard" labels
|
4410
|
-
{ ...
|
4613
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4411
4614
|
// TODO add more "standard" labels
|
4412
4615
|
],
|
4413
|
-
size: { width:
|
4414
|
-
center: { x:
|
4616
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4617
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4415
4618
|
});
|
4416
4619
|
|
4417
4620
|
// symbols/schottky_diode_vert.ts
|
4418
4621
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
4419
|
-
var
|
4622
|
+
var ref14 = rotated8.primitives.find(
|
4420
4623
|
(p) => p.type === "text" && p.text === "{REF}"
|
4421
4624
|
);
|
4422
|
-
var
|
4625
|
+
var val12 = rotated8.primitives.find(
|
4423
4626
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4424
4627
|
);
|
4425
|
-
|
4426
|
-
|
4628
|
+
ref14.anchor = "middle_left";
|
4629
|
+
val12.anchor = "middle_right";
|
4427
4630
|
var schottky_diode_vert_default = rotated8;
|
4428
4631
|
|
4429
4632
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -4570,35 +4773,35 @@ var silicon_controlled_rectifier_default = {
|
|
4570
4773
|
};
|
4571
4774
|
|
4572
4775
|
// symbols/silicon_controlled_rectifier_horz.ts
|
4573
|
-
var { paths:
|
4776
|
+
var { paths: paths25, texts: texts31, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = silicon_controlled_rectifier_default;
|
4574
4777
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
4575
4778
|
primitives: [
|
4576
|
-
...Object.values(
|
4577
|
-
...Object.values(
|
4578
|
-
{ ...
|
4579
|
-
{ ...
|
4779
|
+
...Object.values(paths25),
|
4780
|
+
...Object.values(circles15),
|
4781
|
+
{ ...texts31.top1, anchor: "middle_left" },
|
4782
|
+
{ ...texts31.bottom1, anchor: "middle_top" }
|
4580
4783
|
],
|
4581
4784
|
ports: [
|
4582
|
-
{ ...
|
4785
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4583
4786
|
// TODO add more "standard" labels
|
4584
|
-
{ ...
|
4787
|
+
{ ...refblocks25.right1, labels: ["2"] },
|
4585
4788
|
// TODO add more "standard" labels
|
4586
|
-
{ ...
|
4789
|
+
{ ...refblocks25.bottom1, labels: ["3"] }
|
4587
4790
|
// TODO add more "standard" labels
|
4588
4791
|
],
|
4589
|
-
size: { width:
|
4590
|
-
center: { x:
|
4792
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4793
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4591
4794
|
});
|
4592
4795
|
|
4593
4796
|
// symbols/silicon_controlled_rectifier_vert.ts
|
4594
|
-
var
|
4595
|
-
var
|
4797
|
+
var rotatedSymbol11 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
4798
|
+
var texts32 = rotatedSymbol11.primitives.filter(
|
4596
4799
|
(primitive) => primitive.type === "text"
|
4597
4800
|
);
|
4598
|
-
var
|
4599
|
-
|
4600
|
-
|
4601
|
-
var silicon_controlled_rectifier_vert_default =
|
4801
|
+
var ref15 = texts32.find((text) => text.text === "{REF}");
|
4802
|
+
ref15.y = 0;
|
4803
|
+
ref15.anchor = "middle_left";
|
4804
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol11;
|
4602
4805
|
|
4603
4806
|
// assets/generated/step_recovery_diode.json
|
4604
4807
|
var step_recovery_diode_default = {
|
@@ -4762,11 +4965,11 @@ var step_recovery_diode_default = {
|
|
4762
4965
|
};
|
4763
4966
|
|
4764
4967
|
// symbols/step_recovery_diode_horz.ts
|
4765
|
-
var { paths:
|
4968
|
+
var { paths: paths26, texts: texts33, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = step_recovery_diode_default;
|
4766
4969
|
var step_recovery_diode_horz_default = defineSymbol({
|
4767
4970
|
primitives: [
|
4768
|
-
...Object.values(
|
4769
|
-
...Object.values(
|
4971
|
+
...Object.values(paths26),
|
4972
|
+
...Object.values(circles16),
|
4770
4973
|
// { ...texts.top1, anchor: "middle_left" },
|
4771
4974
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4772
4975
|
{
|
@@ -4785,13 +4988,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
4785
4988
|
}
|
4786
4989
|
],
|
4787
4990
|
ports: [
|
4788
|
-
{ ...
|
4991
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4789
4992
|
// TODO add more "standard" labels
|
4790
|
-
{ ...
|
4993
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4791
4994
|
// TODO add more "standard" labels
|
4792
4995
|
],
|
4793
|
-
size: { width:
|
4794
|
-
center: { x:
|
4996
|
+
size: { width: bounds26.width, height: bounds26.height },
|
4997
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4795
4998
|
});
|
4796
4999
|
|
4797
5000
|
// symbols/step_recovery_diode_vert.ts
|
@@ -4988,36 +5191,36 @@ var triac_default = {
|
|
4988
5191
|
};
|
4989
5192
|
|
4990
5193
|
// symbols/triac_horz.ts
|
4991
|
-
var { paths:
|
5194
|
+
var { paths: paths27, texts: texts34, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = triac_default;
|
4992
5195
|
var triac_horz_default = defineSymbol({
|
4993
5196
|
primitives: [
|
4994
|
-
...Object.values(
|
4995
|
-
...Object.values(
|
4996
|
-
{ ...
|
4997
|
-
{ ...
|
5197
|
+
...Object.values(paths27),
|
5198
|
+
...Object.values(circles17),
|
5199
|
+
{ ...texts34.top1, anchor: "middle_left" },
|
5200
|
+
{ ...texts34.bottom1, anchor: "middle_top" }
|
4998
5201
|
],
|
4999
5202
|
ports: [
|
5000
|
-
{ ...
|
5203
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
5001
5204
|
// TODO add more "standard" labels
|
5002
|
-
{ ...
|
5205
|
+
{ ...refblocks27.right1, labels: ["2"] },
|
5003
5206
|
// TODO add more "standard" labels
|
5004
|
-
{ ...
|
5207
|
+
{ ...refblocks27.bottom1, labels: ["3"] }
|
5005
5208
|
// TODO add more "standard" labels
|
5006
5209
|
],
|
5007
|
-
size: { width:
|
5008
|
-
center: { x:
|
5210
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5211
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5009
5212
|
});
|
5010
5213
|
|
5011
5214
|
// symbols/triac_vert.ts
|
5012
|
-
var
|
5013
|
-
var
|
5215
|
+
var rotatedSymbol12 = rotateSymbol(triac_horz_default);
|
5216
|
+
var texts35 = rotatedSymbol12.primitives.filter(
|
5014
5217
|
(primitive) => primitive.type === "text"
|
5015
5218
|
);
|
5016
|
-
var
|
5017
|
-
var
|
5018
|
-
|
5019
|
-
|
5020
|
-
var triac_vert_default =
|
5219
|
+
var ref16 = texts35.find((text) => text.text === "{REF}");
|
5220
|
+
var val13 = texts35.find((text) => text.text === "{VAL}");
|
5221
|
+
ref16.y = 0;
|
5222
|
+
val13.y = 0;
|
5223
|
+
var triac_vert_default = rotatedSymbol12;
|
5021
5224
|
|
5022
5225
|
// assets/generated/tunnel_diode.json
|
5023
5226
|
var tunnel_diode_default = {
|
@@ -5181,34 +5384,34 @@ var tunnel_diode_default = {
|
|
5181
5384
|
};
|
5182
5385
|
|
5183
5386
|
// symbols/tunnel_diode_horz.ts
|
5184
|
-
var { paths:
|
5387
|
+
var { paths: paths28, texts: texts36, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = tunnel_diode_default;
|
5185
5388
|
var tunnel_diode_horz_default = defineSymbol({
|
5186
5389
|
primitives: [
|
5187
|
-
...Object.values(
|
5188
|
-
...Object.values(
|
5189
|
-
{ ...
|
5190
|
-
{ ...
|
5390
|
+
...Object.values(paths28),
|
5391
|
+
...Object.values(circles18),
|
5392
|
+
{ ...texts36.top1, anchor: "middle_bottom" },
|
5393
|
+
{ ...texts36.bottom1, anchor: "middle_top" }
|
5191
5394
|
],
|
5192
5395
|
ports: [
|
5193
|
-
{ ...
|
5396
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5194
5397
|
// TODO add more "standard" labels
|
5195
|
-
{ ...
|
5398
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5196
5399
|
// TODO add more "standard" labels
|
5197
5400
|
],
|
5198
|
-
size: { width:
|
5199
|
-
center: { x:
|
5401
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5402
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5200
5403
|
});
|
5201
5404
|
|
5202
5405
|
// symbols/tunnel_diode_vert.ts
|
5203
5406
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
5204
|
-
var
|
5407
|
+
var ref17 = rotated9.primitives.find(
|
5205
5408
|
(p) => p.type === "text" && p.text === "{REF}"
|
5206
5409
|
);
|
5207
|
-
var
|
5410
|
+
var val14 = rotated9.primitives.find(
|
5208
5411
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5209
5412
|
);
|
5210
|
-
|
5211
|
-
|
5413
|
+
ref17.anchor = "middle_left";
|
5414
|
+
val14.anchor = "middle_right";
|
5212
5415
|
var tunnel_diode_vert_default = rotated9;
|
5213
5416
|
|
5214
5417
|
// assets/generated/unijunction_transistor.json
|
@@ -5379,37 +5582,37 @@ var unijunction_transistor_default = {
|
|
5379
5582
|
};
|
5380
5583
|
|
5381
5584
|
// symbols/unijunction_transistor_horz.ts
|
5382
|
-
var { paths:
|
5585
|
+
var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = unijunction_transistor_default;
|
5383
5586
|
var unijunction_transistor_horz_default = defineSymbol({
|
5384
5587
|
primitives: [
|
5385
|
-
...Object.values(
|
5386
|
-
...Object.values(
|
5387
|
-
{ ...
|
5388
|
-
{ ...
|
5588
|
+
...Object.values(paths29),
|
5589
|
+
...Object.values(circles19),
|
5590
|
+
{ ...texts37.top1, anchor: "middle_left" },
|
5591
|
+
{ ...texts37.bottom1, anchor: "middle_right" }
|
5389
5592
|
],
|
5390
5593
|
ports: [
|
5391
|
-
{ ...
|
5594
|
+
{ ...refblocks29.top1, labels: ["1"] },
|
5392
5595
|
// TODO add more "standard" labels
|
5393
|
-
{ ...
|
5596
|
+
{ ...refblocks29.bottom1, labels: ["2"] },
|
5394
5597
|
// TODO add more "standard" labels
|
5395
|
-
{ ...
|
5598
|
+
{ ...refblocks29.left1, labels: ["3"] }
|
5396
5599
|
// TODO add more "standard" labels
|
5397
5600
|
],
|
5398
|
-
size: { width:
|
5399
|
-
center: { x:
|
5601
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5602
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5400
5603
|
});
|
5401
5604
|
|
5402
5605
|
// symbols/unijunction_transistor_vert.ts
|
5403
|
-
var
|
5404
|
-
var
|
5606
|
+
var rotatedSymbol13 = rotateSymbol(unijunction_transistor_horz_default);
|
5607
|
+
var texts38 = rotatedSymbol13.primitives.filter(
|
5405
5608
|
(primitive) => primitive.type === "text"
|
5406
5609
|
);
|
5407
|
-
var
|
5408
|
-
|
5409
|
-
var
|
5410
|
-
|
5411
|
-
|
5412
|
-
var unijunction_transistor_vert_default =
|
5610
|
+
var ref18 = texts38.find((text) => text.text === "{REF}");
|
5611
|
+
ref18.y = 0.1;
|
5612
|
+
var val15 = texts38.find((text) => text.text === "{VAL}");
|
5613
|
+
val15.y = 0.1;
|
5614
|
+
val15.x = -0.4;
|
5615
|
+
var unijunction_transistor_vert_default = rotatedSymbol13;
|
5413
5616
|
|
5414
5617
|
// assets/generated/var_meter.json
|
5415
5618
|
var var_meter_default = {
|
@@ -5498,33 +5701,33 @@ var var_meter_default = {
|
|
5498
5701
|
};
|
5499
5702
|
|
5500
5703
|
// symbols/var_meter_horz.ts
|
5501
|
-
var { paths:
|
5704
|
+
var { paths: paths30, texts: texts39, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = var_meter_default;
|
5502
5705
|
var var_meter_horz_default = defineSymbol({
|
5503
5706
|
primitives: [
|
5504
|
-
...Object.values(
|
5505
|
-
...Object.values(
|
5707
|
+
...Object.values(paths30),
|
5708
|
+
...Object.values(circles20),
|
5506
5709
|
{
|
5507
|
-
...
|
5710
|
+
...texts39.top1,
|
5508
5711
|
x: 0,
|
5509
5712
|
y: -0.3594553499999995,
|
5510
5713
|
anchor: "middle_bottom"
|
5511
5714
|
},
|
5512
5715
|
{
|
5513
|
-
...
|
5716
|
+
...texts39.bottom1,
|
5514
5717
|
x: 0,
|
5515
5718
|
y: 0.35,
|
5516
5719
|
anchor: "middle_top"
|
5517
5720
|
},
|
5518
|
-
{ ...
|
5721
|
+
{ ...texts39.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
5519
5722
|
],
|
5520
5723
|
ports: [
|
5521
|
-
{ ...
|
5724
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5522
5725
|
// TODO add more "standard" labels
|
5523
|
-
{ ...
|
5726
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
5524
5727
|
// TODO add more "standard" labels
|
5525
5728
|
],
|
5526
|
-
size: { width:
|
5527
|
-
center: { x:
|
5729
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5730
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5528
5731
|
});
|
5529
5732
|
|
5530
5733
|
// symbols/var_meter_vert.ts
|
@@ -5677,34 +5880,34 @@ var varactor_diode_default = {
|
|
5677
5880
|
};
|
5678
5881
|
|
5679
5882
|
// symbols/varactor_diode_horz.ts
|
5680
|
-
var { paths:
|
5883
|
+
var { paths: paths31, texts: texts40, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = varactor_diode_default;
|
5681
5884
|
var varactor_diode_horz_default = defineSymbol({
|
5682
5885
|
primitives: [
|
5683
|
-
...Object.values(
|
5684
|
-
...Object.values(
|
5685
|
-
{ ...
|
5686
|
-
{ ...
|
5886
|
+
...Object.values(paths31),
|
5887
|
+
...Object.values(circles21),
|
5888
|
+
{ ...texts40.top1, anchor: "middle_bottom" },
|
5889
|
+
{ ...texts40.bottom1, anchor: "middle_top" }
|
5687
5890
|
],
|
5688
5891
|
ports: [
|
5689
|
-
{ ...
|
5892
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5690
5893
|
// TODO add more "standard" labels
|
5691
|
-
{ ...
|
5894
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
5692
5895
|
// TODO add more "standard" labels
|
5693
5896
|
],
|
5694
|
-
size: { width:
|
5695
|
-
center: { x:
|
5897
|
+
size: { width: bounds31.width, height: bounds31.height },
|
5898
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5696
5899
|
});
|
5697
5900
|
|
5698
5901
|
// symbols/varactor_diode_vert.ts
|
5699
5902
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
5700
|
-
var
|
5903
|
+
var ref19 = rotated10.primitives.find(
|
5701
5904
|
(p) => p.type === "text" && p.text === "{REF}"
|
5702
5905
|
);
|
5703
|
-
var
|
5906
|
+
var val16 = rotated10.primitives.find(
|
5704
5907
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5705
5908
|
);
|
5706
|
-
|
5707
|
-
|
5909
|
+
ref19.anchor = "middle_left";
|
5910
|
+
val16.anchor = "middle_right";
|
5708
5911
|
var varactor_diode_vert_default = rotated10;
|
5709
5912
|
|
5710
5913
|
// assets/generated/varistor.json
|
@@ -5839,26 +6042,26 @@ var varistor_default = {
|
|
5839
6042
|
};
|
5840
6043
|
|
5841
6044
|
// symbols/varistor_horz.ts
|
5842
|
-
var { paths:
|
6045
|
+
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32 } = varistor_default;
|
5843
6046
|
var varistor_horz_default = defineSymbol({
|
5844
6047
|
primitives: [
|
5845
|
-
...Object.values(
|
5846
|
-
{ ...
|
5847
|
-
{ ...
|
6048
|
+
...Object.values(paths32),
|
6049
|
+
{ ...texts41.top1, anchor: "middle_left" },
|
6050
|
+
{ ...texts41.bottom1, anchor: "middle_right" }
|
5848
6051
|
],
|
5849
6052
|
ports: [
|
5850
6053
|
{
|
5851
|
-
...
|
6054
|
+
...refblocks32.left1,
|
5852
6055
|
labels: ["1", "-"]
|
5853
6056
|
},
|
5854
6057
|
{
|
5855
|
-
...
|
6058
|
+
...refblocks32.right1,
|
5856
6059
|
labels: ["2", "+"]
|
5857
6060
|
}
|
5858
6061
|
],
|
5859
|
-
size: { width:
|
6062
|
+
size: { width: bounds32.width, height: bounds32.height },
|
5860
6063
|
//{ width: 1, height: 0.24 },
|
5861
|
-
center: { x:
|
6064
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5862
6065
|
});
|
5863
6066
|
|
5864
6067
|
// symbols/varistor_vert.ts
|
@@ -5964,11 +6167,11 @@ var volt_meter_default = {
|
|
5964
6167
|
};
|
5965
6168
|
|
5966
6169
|
// symbols/volt_meter_horz.ts
|
5967
|
-
var { paths:
|
6170
|
+
var { paths: paths33, texts: texts42, bounds: bounds33, circles: circles22, refblocks: refblocks33 } = volt_meter_default;
|
5968
6171
|
var volt_meter_horz_default = defineSymbol({
|
5969
6172
|
primitives: [
|
5970
|
-
...Object.values(
|
5971
|
-
...Object.values(
|
6173
|
+
...Object.values(paths33),
|
6174
|
+
...Object.values(circles22),
|
5972
6175
|
{
|
5973
6176
|
type: "text",
|
5974
6177
|
text: "{REF}",
|
@@ -5985,13 +6188,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
5985
6188
|
}
|
5986
6189
|
],
|
5987
6190
|
ports: [
|
5988
|
-
{ ...
|
6191
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
5989
6192
|
// TODO add more "standard" labels
|
5990
|
-
{ ...
|
6193
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
5991
6194
|
// TODO add more "standard" labels
|
5992
6195
|
],
|
5993
|
-
size: { width:
|
5994
|
-
center: { x:
|
6196
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6197
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
5995
6198
|
});
|
5996
6199
|
|
5997
6200
|
// symbols/volt_meter_vert.ts
|
@@ -6144,34 +6347,34 @@ var zener_diode_default = {
|
|
6144
6347
|
};
|
6145
6348
|
|
6146
6349
|
// symbols/zener_diode_horz.ts
|
6147
|
-
var { paths:
|
6350
|
+
var { paths: paths34, texts: texts43, bounds: bounds34, refblocks: refblocks34, circles: circles23 } = zener_diode_default;
|
6148
6351
|
var zener_diode_horz_default = defineSymbol({
|
6149
6352
|
primitives: [
|
6150
|
-
...Object.values(
|
6151
|
-
...Object.values(
|
6152
|
-
{ ...
|
6153
|
-
{ ...
|
6353
|
+
...Object.values(paths34),
|
6354
|
+
...Object.values(circles23),
|
6355
|
+
{ ...texts43.top1, anchor: "middle_bottom" },
|
6356
|
+
{ ...texts43.bottom1, anchor: "middle_top" }
|
6154
6357
|
],
|
6155
6358
|
ports: [
|
6156
|
-
{ ...
|
6359
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6157
6360
|
// TODO add more "standard" labels
|
6158
|
-
{ ...
|
6361
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6159
6362
|
// TODO add more "standard" labels
|
6160
6363
|
],
|
6161
|
-
size: { width:
|
6162
|
-
center: { x:
|
6364
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6365
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6163
6366
|
});
|
6164
6367
|
|
6165
6368
|
// symbols/zener_diode_vert.ts
|
6166
6369
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6167
|
-
var
|
6370
|
+
var ref20 = rotated11.primitives.find(
|
6168
6371
|
(p) => p.type === "text" && p.text === "{REF}"
|
6169
6372
|
);
|
6170
|
-
var
|
6373
|
+
var val17 = rotated11.primitives.find(
|
6171
6374
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6172
6375
|
);
|
6173
|
-
|
6174
|
-
|
6376
|
+
ref20.anchor = "middle_left";
|
6377
|
+
val17.anchor = "middle_right";
|
6175
6378
|
var zener_diode_vert_default = rotated11;
|
6176
6379
|
|
6177
6380
|
// generated/symbols-index.ts
|
@@ -6186,6 +6389,8 @@ var symbols_index_default = {
|
|
6186
6389
|
"capacitor_vert": capacitor_vert_default,
|
6187
6390
|
"constant_current_diode_horz": constant_current_diode_horz_default,
|
6188
6391
|
"constant_current_diode_vert": constant_current_diode_vert_default,
|
6392
|
+
"crystal_horz": crystal_horz_default,
|
6393
|
+
"crystal_vert": crystal_vert_default,
|
6189
6394
|
"dc_ammeter_horz": dc_ammeter_horz_default,
|
6190
6395
|
"dc_ammeter_vert": dc_ammeter_vert_default,
|
6191
6396
|
"dc_voltmeter_horz": dc_voltmeter_horz_default,
|