schematic-symbols 0.0.94 → 0.0.95
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +4 -2
- package/dist/index.js +254 -256
- package/dist/index.js.map +1 -1
- package/drawing/rotateSymbol.ts +4 -4
- package/package.json +1 -1
- package/symbols/led_down.ts +4 -0
- package/symbols/led_left.ts +4 -0
- package/symbols/led_right.ts +20 -0
- package/symbols/led_up.ts +4 -0
- package/symbols/led_horz.ts +0 -18
- package/symbols/led_vert.ts +0 -22
package/dist/index.js
CHANGED
@@ -224,13 +224,13 @@ var rotateAnchor = (anchor, orientation = "right") => {
|
|
224
224
|
case "left":
|
225
225
|
switch (anchor) {
|
226
226
|
case "middle_top":
|
227
|
-
return "
|
227
|
+
return "middle_bottom";
|
228
228
|
case "middle_bottom":
|
229
|
-
return "
|
229
|
+
return "middle_top";
|
230
230
|
case "middle_left":
|
231
|
-
return "
|
231
|
+
return "middle_right";
|
232
232
|
case "middle_right":
|
233
|
-
return "
|
233
|
+
return "middle_left";
|
234
234
|
}
|
235
235
|
break;
|
236
236
|
case "right":
|
@@ -5157,37 +5157,33 @@ var led_default = {
|
|
5157
5157
|
circles: {}
|
5158
5158
|
};
|
5159
5159
|
|
5160
|
-
// symbols/
|
5161
|
-
var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24 } = led_default;
|
5162
|
-
var
|
5160
|
+
// symbols/led_right.ts
|
5161
|
+
var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24, circles: circles21 } = led_default;
|
5162
|
+
var led_right_default = defineSymbol({
|
5163
5163
|
primitives: [
|
5164
5164
|
...Object.values(paths24),
|
5165
|
-
|
5166
|
-
{ ...texts28.
|
5165
|
+
...Object.values(circles21),
|
5166
|
+
{ ...texts28.bottom1, anchor: "middle_top" },
|
5167
|
+
{ ...texts28.right1, anchor: "middle_bottom" }
|
5167
5168
|
],
|
5168
5169
|
ports: [
|
5169
|
-
{ ...refblocks24.left1, labels: ["1"
|
5170
|
-
|
5170
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
5171
|
+
// TODO add more "standard" labels
|
5172
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
5173
|
+
// TODO add more "standard" labels
|
5171
5174
|
],
|
5172
5175
|
size: { width: bounds24.width, height: bounds24.height },
|
5173
|
-
center: { x: bounds24.centerX, y: bounds24.centerY
|
5176
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
5174
5177
|
});
|
5175
5178
|
|
5176
|
-
// symbols/
|
5177
|
-
var
|
5178
|
-
|
5179
|
-
|
5180
|
-
);
|
5181
|
-
|
5182
|
-
|
5183
|
-
);
|
5184
|
-
ref10.anchor = "middle_left";
|
5185
|
-
val9.anchor = "middle_right";
|
5186
|
-
ref10.x += 0.1;
|
5187
|
-
ref10.y += 0.017;
|
5188
|
-
val9.y = ref10.y;
|
5189
|
-
val9.x = -0.3;
|
5190
|
-
var led_vert_default = rotated3;
|
5179
|
+
// symbols/led_down.ts
|
5180
|
+
var led_down_default = rotateSymbol(led_right_default, "down");
|
5181
|
+
|
5182
|
+
// symbols/led_left.ts
|
5183
|
+
var led_left_default = rotateSymbol(led_right_default, "left");
|
5184
|
+
|
5185
|
+
// symbols/led_up.ts
|
5186
|
+
var led_up_default = rotateSymbol(led_right_default, "up");
|
5191
5187
|
|
5192
5188
|
// assets/generated/light_dependent_resistor.json
|
5193
5189
|
var light_dependent_resistor_default = {
|
@@ -5414,11 +5410,11 @@ var light_dependent_resistor_default = {
|
|
5414
5410
|
};
|
5415
5411
|
|
5416
5412
|
// symbols/light_dependent_resistor_horz.ts
|
5417
|
-
var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles:
|
5413
|
+
var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles22 } = light_dependent_resistor_default;
|
5418
5414
|
var light_dependent_resistor_horz_default = defineSymbol({
|
5419
5415
|
primitives: [
|
5420
5416
|
...Object.values(paths25),
|
5421
|
-
...Object.values(
|
5417
|
+
...Object.values(circles22),
|
5422
5418
|
{ ...texts29.top1, anchor: "middle_left", x: 0 },
|
5423
5419
|
{ ...texts29.bottom1, anchor: "middle_left", x: 0 }
|
5424
5420
|
],
|
@@ -5435,14 +5431,14 @@ var light_dependent_resistor_horz_default = defineSymbol({
|
|
5435
5431
|
// symbols/light_dependent_resistor_vert.ts
|
5436
5432
|
var rotatedSymbol12 = rotateSymbol(light_dependent_resistor_horz_default);
|
5437
5433
|
var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
5438
|
-
var
|
5439
|
-
|
5440
|
-
|
5441
|
-
|
5442
|
-
var
|
5443
|
-
|
5444
|
-
|
5445
|
-
|
5434
|
+
var val9 = texts30.find((t) => t.text === "{VAL}");
|
5435
|
+
val9.x = -0.35;
|
5436
|
+
val9.y = 0;
|
5437
|
+
val9.anchor = "middle_right";
|
5438
|
+
var ref10 = texts30.find((t) => t.text === "{REF}");
|
5439
|
+
ref10.y = 0;
|
5440
|
+
ref10.x = 0.35;
|
5441
|
+
ref10.anchor = "middle_left";
|
5446
5442
|
var light_dependent_resistor_vert_default = rotatedSymbol12;
|
5447
5443
|
|
5448
5444
|
// assets/generated/mosfet_depletion_normally_on.json
|
@@ -5736,18 +5732,18 @@ var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
|
5736
5732
|
});
|
5737
5733
|
|
5738
5734
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
5739
|
-
var
|
5740
|
-
var
|
5735
|
+
var rotated3 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
5736
|
+
var ref11 = rotated3.primitives.find(
|
5741
5737
|
(p) => p.type === "text" && p.text === "{REF}"
|
5742
5738
|
);
|
5743
|
-
var
|
5739
|
+
var val10 = rotated3.primitives.find(
|
5744
5740
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5745
5741
|
);
|
5746
|
-
|
5747
|
-
|
5748
|
-
|
5749
|
-
|
5750
|
-
var mosfet_depletion_normally_on_vert_default =
|
5742
|
+
ref11.anchor = "middle_top";
|
5743
|
+
val10.anchor = "middle_top";
|
5744
|
+
ref11.x = val10.x;
|
5745
|
+
val10.y += 0.15;
|
5746
|
+
var mosfet_depletion_normally_on_vert_default = rotated3;
|
5751
5747
|
|
5752
5748
|
// assets/generated/mushroom_head_normally_open_momentary.json
|
5753
5749
|
var mushroom_head_normally_open_momentary_default = {
|
@@ -6358,11 +6354,11 @@ var mushroom_head_normally_open_momentary_default = {
|
|
6358
6354
|
};
|
6359
6355
|
|
6360
6356
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
6361
|
-
var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles:
|
6357
|
+
var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles23 } = mushroom_head_normally_open_momentary_default;
|
6362
6358
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
6363
6359
|
primitives: [
|
6364
6360
|
...Object.values(paths27),
|
6365
|
-
...Object.values(
|
6361
|
+
...Object.values(circles23),
|
6366
6362
|
{ ...texts32.top1, anchor: "middle_bottom", x: 0 },
|
6367
6363
|
{ ...texts32.bottom1, anchor: "middle_top", x: 0 }
|
6368
6364
|
],
|
@@ -6375,20 +6371,20 @@ var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
|
6375
6371
|
});
|
6376
6372
|
|
6377
6373
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
6378
|
-
var
|
6379
|
-
var
|
6374
|
+
var rotated4 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
|
6375
|
+
var ref12 = rotated4.primitives.find(
|
6380
6376
|
(p) => p.type === "text" && p.text === "{REF}"
|
6381
6377
|
);
|
6382
|
-
var
|
6378
|
+
var val11 = rotated4.primitives.find(
|
6383
6379
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6384
6380
|
);
|
6385
|
-
|
6386
|
-
|
6387
|
-
|
6388
|
-
|
6389
|
-
|
6390
|
-
|
6391
|
-
var mushroom_head_normally_open_momentary_vert_default =
|
6381
|
+
ref12.anchor = "middle_left";
|
6382
|
+
val11.anchor = "middle_right";
|
6383
|
+
ref12.x = ref12.x - 0.03;
|
6384
|
+
ref12.y = ref12.y;
|
6385
|
+
val11.x = val11.x;
|
6386
|
+
val11.y = 0;
|
6387
|
+
var mushroom_head_normally_open_momentary_vert_default = rotated4;
|
6392
6388
|
|
6393
6389
|
// assets/generated/n_channel_d_mosfet_transistor.json
|
6394
6390
|
var n_channel_d_mosfet_transistor_default = {
|
@@ -6584,11 +6580,11 @@ var n_channel_d_mosfet_transistor_default = {
|
|
6584
6580
|
};
|
6585
6581
|
|
6586
6582
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
6587
|
-
var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles:
|
6583
|
+
var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles24 } = n_channel_d_mosfet_transistor_default;
|
6588
6584
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
6589
6585
|
primitives: [
|
6590
6586
|
...Object.values(paths28),
|
6591
|
-
...Object.values(
|
6587
|
+
...Object.values(circles24),
|
6592
6588
|
{ ...texts33.top1, anchor: "middle_right", x: 0 },
|
6593
6589
|
{ ...texts33.bottom1, anchor: "middle_right", x: 0 }
|
6594
6590
|
],
|
@@ -6607,14 +6603,14 @@ var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
|
6607
6603
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
6608
6604
|
var rotatedSymbol13 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
6609
6605
|
var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
6610
|
-
var
|
6611
|
-
|
6612
|
-
|
6613
|
-
|
6614
|
-
var
|
6615
|
-
|
6616
|
-
|
6617
|
-
|
6606
|
+
var val12 = texts34.find((t) => t.text === "{VAL}");
|
6607
|
+
val12.x = -0.35;
|
6608
|
+
val12.y = 0;
|
6609
|
+
val12.anchor = "middle_right";
|
6610
|
+
var ref13 = texts34.find((t) => t.text === "{REF}");
|
6611
|
+
ref13.y = 0;
|
6612
|
+
ref13.x = 0.35;
|
6613
|
+
ref13.anchor = "middle_left";
|
6618
6614
|
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
|
6619
6615
|
|
6620
6616
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
@@ -6841,11 +6837,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
6841
6837
|
};
|
6842
6838
|
|
6843
6839
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
6844
|
-
var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles:
|
6840
|
+
var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles25 } = n_channel_e_mosfet_transistor_default;
|
6845
6841
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
6846
6842
|
primitives: [
|
6847
6843
|
...Object.values(paths29),
|
6848
|
-
...Object.values(
|
6844
|
+
...Object.values(circles25),
|
6849
6845
|
{ ...texts35.top1, anchor: "middle_right", x: 0 },
|
6850
6846
|
{ ...texts35.bottom1, anchor: "middle_right", x: 0 }
|
6851
6847
|
],
|
@@ -6864,14 +6860,14 @@ var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
|
6864
6860
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
6865
6861
|
var rotatedSymbol14 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
6866
6862
|
var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
6867
|
-
var
|
6868
|
-
|
6869
|
-
|
6870
|
-
|
6871
|
-
var
|
6872
|
-
|
6873
|
-
|
6874
|
-
|
6863
|
+
var val13 = texts36.find((t) => t.text === "{VAL}");
|
6864
|
+
val13.x = -0.35;
|
6865
|
+
val13.y = 0;
|
6866
|
+
val13.anchor = "middle_right";
|
6867
|
+
var ref14 = texts36.find((t) => t.text === "{REF}");
|
6868
|
+
ref14.y = 0;
|
6869
|
+
ref14.x = 0.35;
|
6870
|
+
ref14.anchor = "middle_left";
|
6875
6871
|
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
|
6876
6872
|
|
6877
6873
|
// assets/generated/njfet_transistor.json
|
@@ -7038,11 +7034,11 @@ var njfet_transistor_default = {
|
|
7038
7034
|
};
|
7039
7035
|
|
7040
7036
|
// symbols/njfet_transistor_horz.ts
|
7041
|
-
var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles:
|
7037
|
+
var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles26 } = njfet_transistor_default;
|
7042
7038
|
var njfet_transistor_horz_default = defineSymbol({
|
7043
7039
|
primitives: [
|
7044
7040
|
...Object.values(paths30),
|
7045
|
-
...Object.values(
|
7041
|
+
...Object.values(circles26),
|
7046
7042
|
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
7047
7043
|
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
7048
7044
|
],
|
@@ -7061,14 +7057,14 @@ var njfet_transistor_horz_default = defineSymbol({
|
|
7061
7057
|
// symbols/njfet_transistor_vert.ts
|
7062
7058
|
var rotatedSymbol15 = rotateSymbol(njfet_transistor_horz_default);
|
7063
7059
|
var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
7064
|
-
var
|
7065
|
-
|
7066
|
-
|
7067
|
-
|
7068
|
-
var
|
7069
|
-
|
7070
|
-
|
7071
|
-
|
7060
|
+
var val14 = texts38.find((t) => t.text === "{VAL}");
|
7061
|
+
val14.x = -0.35;
|
7062
|
+
val14.y = 0;
|
7063
|
+
val14.anchor = "middle_right";
|
7064
|
+
var ref15 = texts38.find((t) => t.text === "{REF}");
|
7065
|
+
ref15.y = 0;
|
7066
|
+
ref15.x = 0.35;
|
7067
|
+
ref15.anchor = "middle_left";
|
7072
7068
|
var njfet_transistor_vert_default = rotatedSymbol15;
|
7073
7069
|
|
7074
7070
|
// assets/generated/npn_bipolar_transistor.json
|
@@ -7235,11 +7231,11 @@ var npn_bipolar_transistor_default = {
|
|
7235
7231
|
};
|
7236
7232
|
|
7237
7233
|
// symbols/npn_bipolar_transistor_horz.ts
|
7238
|
-
var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles:
|
7234
|
+
var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles27 } = npn_bipolar_transistor_default;
|
7239
7235
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
7240
7236
|
primitives: [
|
7241
7237
|
...Object.values(paths31),
|
7242
|
-
...Object.values(
|
7238
|
+
...Object.values(circles27),
|
7243
7239
|
{
|
7244
7240
|
type: "text",
|
7245
7241
|
text: "{REF}",
|
@@ -7267,8 +7263,8 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
7267
7263
|
// symbols/npn_bipolar_transistor_vert.ts
|
7268
7264
|
var rotatedSymbol16 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
7269
7265
|
var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
7270
|
-
var
|
7271
|
-
|
7266
|
+
var ref16 = texts40.find((t) => t.text === "{REF}");
|
7267
|
+
ref16.anchor = "middle_left";
|
7272
7268
|
var npn_bipolar_transistor_vert_default = rotatedSymbol16;
|
7273
7269
|
|
7274
7270
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
@@ -7465,11 +7461,11 @@ var p_channel_d_mosfet_transistor_default = {
|
|
7465
7461
|
};
|
7466
7462
|
|
7467
7463
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
7468
|
-
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles:
|
7464
|
+
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles28 } = p_channel_d_mosfet_transistor_default;
|
7469
7465
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
7470
7466
|
primitives: [
|
7471
7467
|
...Object.values(paths32),
|
7472
|
-
...Object.values(
|
7468
|
+
...Object.values(circles28),
|
7473
7469
|
{ ...texts41.top1, anchor: "middle_right", x: 0 },
|
7474
7470
|
{ ...texts41.bottom1, anchor: "middle_right", x: 0 }
|
7475
7471
|
],
|
@@ -7488,14 +7484,14 @@ var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
|
7488
7484
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
7489
7485
|
var rotatedSymbol17 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
7490
7486
|
var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
7491
|
-
var
|
7492
|
-
|
7493
|
-
|
7494
|
-
|
7495
|
-
var
|
7496
|
-
|
7497
|
-
|
7498
|
-
|
7487
|
+
var val15 = texts42.find((t) => t.text === "{VAL}");
|
7488
|
+
val15.x = -0.35;
|
7489
|
+
val15.y = 0;
|
7490
|
+
val15.anchor = "middle_right";
|
7491
|
+
var ref17 = texts42.find((t) => t.text === "{REF}");
|
7492
|
+
ref17.y = 0;
|
7493
|
+
ref17.x = 0.35;
|
7494
|
+
ref17.anchor = "middle_left";
|
7499
7495
|
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol17;
|
7500
7496
|
|
7501
7497
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
@@ -7722,11 +7718,11 @@ var p_channel_e_mosfet_transistor_default = {
|
|
7722
7718
|
};
|
7723
7719
|
|
7724
7720
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
7725
|
-
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles:
|
7721
|
+
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles29 } = p_channel_e_mosfet_transistor_default;
|
7726
7722
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
7727
7723
|
primitives: [
|
7728
7724
|
...Object.values(paths33),
|
7729
|
-
...Object.values(
|
7725
|
+
...Object.values(circles29),
|
7730
7726
|
{ ...texts43.top1, anchor: "middle_right", x: 0 },
|
7731
7727
|
{ ...texts43.bottom1, anchor: "middle_right", x: 0 }
|
7732
7728
|
],
|
@@ -7745,14 +7741,14 @@ var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
|
7745
7741
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
7746
7742
|
var rotatedSymbol18 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
7747
7743
|
var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
7748
|
-
var
|
7749
|
-
|
7750
|
-
|
7751
|
-
|
7752
|
-
var
|
7753
|
-
|
7754
|
-
|
7755
|
-
|
7744
|
+
var val16 = texts44.find((t) => t.text === "{VAL}");
|
7745
|
+
val16.x = -0.35;
|
7746
|
+
val16.y = 0;
|
7747
|
+
val16.anchor = "middle_right";
|
7748
|
+
var ref18 = texts44.find((t) => t.text === "{REF}");
|
7749
|
+
ref18.y = 0;
|
7750
|
+
ref18.x = 0.35;
|
7751
|
+
ref18.anchor = "middle_left";
|
7756
7752
|
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol18;
|
7757
7753
|
|
7758
7754
|
// assets/generated/photodiode.json
|
@@ -7980,11 +7976,11 @@ var photodiode_default = {
|
|
7980
7976
|
};
|
7981
7977
|
|
7982
7978
|
// symbols/photodiode_horz.ts
|
7983
|
-
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles:
|
7979
|
+
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = photodiode_default;
|
7984
7980
|
var photodiode_horz_default = defineSymbol({
|
7985
7981
|
primitives: [
|
7986
7982
|
...Object.values(paths34),
|
7987
|
-
...Object.values(
|
7983
|
+
...Object.values(circles30),
|
7988
7984
|
{
|
7989
7985
|
type: "text",
|
7990
7986
|
text: "{REF}",
|
@@ -8013,9 +8009,9 @@ var photodiode_horz_default = defineSymbol({
|
|
8013
8009
|
// symbols/photodiode_vert.ts
|
8014
8010
|
var rotatedSymbol19 = rotateSymbol(photodiode_horz_default);
|
8015
8011
|
var texts46 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
|
8016
|
-
var
|
8017
|
-
|
8018
|
-
|
8012
|
+
var ref19 = texts46.find((t) => t.text === "{REF}");
|
8013
|
+
ref19.y = 0;
|
8014
|
+
ref19.anchor = "middle_left";
|
8019
8015
|
var photodiode_vert_default = rotatedSymbol19;
|
8020
8016
|
|
8021
8017
|
// assets/generated/pjfet_transistor.json
|
@@ -8182,11 +8178,11 @@ var pjfet_transistor_default = {
|
|
8182
8178
|
};
|
8183
8179
|
|
8184
8180
|
// symbols/pjfet_transistor_horz.ts
|
8185
|
-
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles:
|
8181
|
+
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = pjfet_transistor_default;
|
8186
8182
|
var pjfet_transistor_horz_default = defineSymbol({
|
8187
8183
|
primitives: [
|
8188
8184
|
...Object.values(paths35),
|
8189
|
-
...Object.values(
|
8185
|
+
...Object.values(circles31),
|
8190
8186
|
{ ...texts47.top1, anchor: "middle_right", x: 0 },
|
8191
8187
|
{ ...texts47.bottom1, anchor: "middle_right" }
|
8192
8188
|
],
|
@@ -8205,14 +8201,14 @@ var pjfet_transistor_horz_default = defineSymbol({
|
|
8205
8201
|
// symbols/pjfet_transistor_vert.ts
|
8206
8202
|
var rotatedSymbol20 = rotateSymbol(pjfet_transistor_horz_default);
|
8207
8203
|
var texts48 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
|
8208
|
-
var
|
8209
|
-
|
8210
|
-
|
8211
|
-
|
8212
|
-
var
|
8213
|
-
|
8214
|
-
|
8215
|
-
|
8204
|
+
var val17 = texts48.find((t) => t.text === "{VAL}");
|
8205
|
+
val17.x = -0.35;
|
8206
|
+
val17.y = 0;
|
8207
|
+
val17.anchor = "middle_right";
|
8208
|
+
var ref20 = texts48.find((t) => t.text === "{REF}");
|
8209
|
+
ref20.y = 0;
|
8210
|
+
ref20.x = 0.35;
|
8211
|
+
ref20.anchor = "middle_left";
|
8216
8212
|
var pjfet_transistor_vert_default = rotatedSymbol20;
|
8217
8213
|
|
8218
8214
|
// assets/generated/pnp_bipolar_transistor.json
|
@@ -8379,11 +8375,11 @@ var pnp_bipolar_transistor_default = {
|
|
8379
8375
|
};
|
8380
8376
|
|
8381
8377
|
// symbols/pnp_bipolar_transistor_horz.ts
|
8382
|
-
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles:
|
8378
|
+
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = pnp_bipolar_transistor_default;
|
8383
8379
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
8384
8380
|
primitives: [
|
8385
8381
|
...Object.values(paths36),
|
8386
|
-
...Object.values(
|
8382
|
+
...Object.values(circles32),
|
8387
8383
|
{
|
8388
8384
|
type: "text",
|
8389
8385
|
text: "{REF}",
|
@@ -8411,8 +8407,8 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
8411
8407
|
// symbols/pnp_bipolar_transistor_vert.ts
|
8412
8408
|
var rotatedSymbol21 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
8413
8409
|
var texts50 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
8414
|
-
var
|
8415
|
-
|
8410
|
+
var ref21 = texts50.find((t) => t.text === "{REF}");
|
8411
|
+
ref21.anchor = "middle_left";
|
8416
8412
|
var pnp_bipolar_transistor_vert_default = rotatedSymbol21;
|
8417
8413
|
|
8418
8414
|
// assets/generated/potentiometer.json
|
@@ -8548,8 +8544,8 @@ var potentiometer_horz_default = defineSymbol({
|
|
8548
8544
|
});
|
8549
8545
|
|
8550
8546
|
// symbols/potentiometer_vert.ts
|
8551
|
-
var
|
8552
|
-
var potentiometer_vert_default =
|
8547
|
+
var rotated5 = rotateSymbol(potentiometer_horz_default);
|
8548
|
+
var potentiometer_vert_default = rotated5;
|
8553
8549
|
|
8554
8550
|
// assets/generated/potentiometer2.json
|
8555
8551
|
var potentiometer2_default = {
|
@@ -8814,11 +8810,11 @@ var power_factor_meter_default = {
|
|
8814
8810
|
};
|
8815
8811
|
|
8816
8812
|
// symbols/power_factor_meter_horz.ts
|
8817
|
-
var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles:
|
8813
|
+
var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles33 } = power_factor_meter_default;
|
8818
8814
|
var power_factor_meter_horz_default = defineSymbol({
|
8819
8815
|
primitives: [
|
8820
8816
|
...Object.values(paths39),
|
8821
|
-
...Object.values(
|
8817
|
+
...Object.values(circles33),
|
8822
8818
|
// { ...texts.top1, anchor: "middle_left" },
|
8823
8819
|
{
|
8824
8820
|
type: "text",
|
@@ -8857,13 +8853,13 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
8857
8853
|
// symbols/power_factor_meter_vert.ts
|
8858
8854
|
var rotatedSymbol22 = rotateSymbol(power_factor_meter_horz_default);
|
8859
8855
|
var texts54 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8860
|
-
var
|
8861
|
-
var
|
8856
|
+
var ref22 = texts54.find((t) => t.text === "{REF}");
|
8857
|
+
var val18 = texts54.find((t) => t.text === "{VAL}");
|
8862
8858
|
var text_cos = texts54.find((t) => t.text === "COS \u03C6");
|
8863
|
-
|
8864
|
-
|
8865
|
-
|
8866
|
-
|
8859
|
+
ref22.x = 0.35;
|
8860
|
+
ref22.y = 0;
|
8861
|
+
val18.x = -0.6;
|
8862
|
+
val18.y = 0;
|
8867
8863
|
text_cos.x = -0.1;
|
8868
8864
|
text_cos.y = 0;
|
8869
8865
|
var power_factor_meter_vert_default = rotatedSymbol22;
|
@@ -8988,20 +8984,20 @@ var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
|
8988
8984
|
});
|
8989
8985
|
|
8990
8986
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
8991
|
-
var
|
8992
|
-
var
|
8987
|
+
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
8988
|
+
var ref23 = rotated6.primitives.find(
|
8993
8989
|
(p) => p.type === "text" && p.text === "{REF}"
|
8994
8990
|
);
|
8995
|
-
var
|
8991
|
+
var val19 = rotated6.primitives.find(
|
8996
8992
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8997
8993
|
);
|
8998
|
-
|
8999
|
-
|
9000
|
-
|
9001
|
-
|
9002
|
-
|
9003
|
-
|
9004
|
-
var push_button_normally_closed_momentary_vert_default =
|
8994
|
+
ref23.anchor = "middle_left";
|
8995
|
+
val19.anchor = "middle_right";
|
8996
|
+
ref23.x = ref23.x - 0.03;
|
8997
|
+
ref23.y = ref23.y;
|
8998
|
+
val19.x = val19.x;
|
8999
|
+
val19.y = 0;
|
9000
|
+
var push_button_normally_closed_momentary_vert_default = rotated6;
|
9005
9001
|
|
9006
9002
|
// assets/generated/push_button_normally_open_momentary.json
|
9007
9003
|
var push_button_normally_open_momentary_default = {
|
@@ -9123,20 +9119,20 @@ var push_button_normally_open_momentary_horz_default = defineSymbol({
|
|
9123
9119
|
});
|
9124
9120
|
|
9125
9121
|
// symbols/push_button_normally_open_momentary_vert.ts
|
9126
|
-
var
|
9127
|
-
var
|
9122
|
+
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
9123
|
+
var ref24 = rotated7.primitives.find(
|
9128
9124
|
(p) => p.type === "text" && p.text === "{REF}"
|
9129
9125
|
);
|
9130
|
-
var
|
9126
|
+
var val20 = rotated7.primitives.find(
|
9131
9127
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9132
9128
|
);
|
9133
|
-
|
9134
|
-
|
9135
|
-
|
9136
|
-
|
9137
|
-
|
9138
|
-
|
9139
|
-
var push_button_normally_open_momentary_vert_default =
|
9129
|
+
ref24.anchor = "middle_left";
|
9130
|
+
val20.anchor = "middle_right";
|
9131
|
+
ref24.x = ref24.x + 0.1;
|
9132
|
+
ref24.y = ref24.y;
|
9133
|
+
val20.x = val20.x;
|
9134
|
+
val20.y = 0;
|
9135
|
+
var push_button_normally_open_momentary_vert_default = rotated7;
|
9140
9136
|
|
9141
9137
|
// assets/generated/rectifier_diode.json
|
9142
9138
|
var rectifier_diode_default = {
|
@@ -9548,11 +9544,11 @@ var rectifier_diode_default = {
|
|
9548
9544
|
};
|
9549
9545
|
|
9550
9546
|
// symbols/rectifier_diode_horz.ts
|
9551
|
-
var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles:
|
9547
|
+
var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles34 } = rectifier_diode_default;
|
9552
9548
|
var rectifier_diode_horz_default = defineSymbol({
|
9553
9549
|
primitives: [
|
9554
9550
|
...Object.values(paths42),
|
9555
|
-
...Object.values(
|
9551
|
+
...Object.values(circles34),
|
9556
9552
|
{ ...texts57.top1, anchor: "middle_right" },
|
9557
9553
|
{ ...texts57.bottom1, anchor: "middle_right" }
|
9558
9554
|
],
|
@@ -9571,16 +9567,16 @@ var rectifier_diode_horz_default = defineSymbol({
|
|
9571
9567
|
});
|
9572
9568
|
|
9573
9569
|
// symbols/rectifier_diode_vert.ts
|
9574
|
-
var
|
9575
|
-
var
|
9570
|
+
var rotated8 = rotateSymbol(rectifier_diode_horz_default);
|
9571
|
+
var ref25 = rotated8.primitives.find(
|
9576
9572
|
(p) => p.type === "text" && p.text === "{REF}"
|
9577
9573
|
);
|
9578
|
-
var
|
9574
|
+
var val21 = rotated8.primitives.find(
|
9579
9575
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9580
9576
|
);
|
9581
|
-
|
9582
|
-
|
9583
|
-
var rectifier_diode_vert_default =
|
9577
|
+
ref25.anchor = "middle_left";
|
9578
|
+
val21.anchor = "middle_right";
|
9579
|
+
var rectifier_diode_vert_default = rotated8;
|
9584
9580
|
|
9585
9581
|
// assets/generated/resonator.json
|
9586
9582
|
var resonator_default = {
|
@@ -9928,11 +9924,11 @@ var resonator_default = {
|
|
9928
9924
|
};
|
9929
9925
|
|
9930
9926
|
// symbols/resonator_horz.ts
|
9931
|
-
var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles:
|
9927
|
+
var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles35 } = resonator_default;
|
9932
9928
|
var resonator_horz_default = defineSymbol({
|
9933
9929
|
primitives: [
|
9934
9930
|
...Object.values(paths43),
|
9935
|
-
...Object.values(
|
9931
|
+
...Object.values(circles35),
|
9936
9932
|
// { ...texts.top1, anchor: "middle_left" },
|
9937
9933
|
// { ...texts.bottom1, anchor: "middle_left" },
|
9938
9934
|
{
|
@@ -10157,11 +10153,11 @@ var schottky_diode_default = {
|
|
10157
10153
|
};
|
10158
10154
|
|
10159
10155
|
// symbols/schottky_diode_horz.ts
|
10160
|
-
var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles:
|
10156
|
+
var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles36 } = schottky_diode_default;
|
10161
10157
|
var schottky_diode_horz_default = defineSymbol({
|
10162
10158
|
primitives: [
|
10163
10159
|
...Object.values(paths44),
|
10164
|
-
...Object.values(
|
10160
|
+
...Object.values(circles36),
|
10165
10161
|
{ ...texts59.top1, anchor: "middle_bottom" },
|
10166
10162
|
{ ...texts59.bottom1, anchor: "middle_top" }
|
10167
10163
|
],
|
@@ -10176,16 +10172,16 @@ var schottky_diode_horz_default = defineSymbol({
|
|
10176
10172
|
});
|
10177
10173
|
|
10178
10174
|
// symbols/schottky_diode_vert.ts
|
10179
|
-
var
|
10180
|
-
var
|
10175
|
+
var rotated9 = rotateSymbol(schottky_diode_horz_default);
|
10176
|
+
var ref26 = rotated9.primitives.find(
|
10181
10177
|
(p) => p.type === "text" && p.text === "{REF}"
|
10182
10178
|
);
|
10183
|
-
var
|
10179
|
+
var val22 = rotated9.primitives.find(
|
10184
10180
|
(p) => p.type === "text" && p.text === "{VAL}"
|
10185
10181
|
);
|
10186
|
-
|
10187
|
-
|
10188
|
-
var schottky_diode_vert_default =
|
10182
|
+
ref26.anchor = "middle_left";
|
10183
|
+
val22.anchor = "middle_right";
|
10184
|
+
var schottky_diode_vert_default = rotated9;
|
10189
10185
|
|
10190
10186
|
// assets/generated/silicon_controlled_rectifier.json
|
10191
10187
|
var silicon_controlled_rectifier_default = {
|
@@ -10331,11 +10327,11 @@ var silicon_controlled_rectifier_default = {
|
|
10331
10327
|
};
|
10332
10328
|
|
10333
10329
|
// symbols/silicon_controlled_rectifier_horz.ts
|
10334
|
-
var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles:
|
10330
|
+
var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles37 } = silicon_controlled_rectifier_default;
|
10335
10331
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
10336
10332
|
primitives: [
|
10337
10333
|
...Object.values(paths45),
|
10338
|
-
...Object.values(
|
10334
|
+
...Object.values(circles37),
|
10339
10335
|
{ ...texts60.top1, anchor: "middle_left" },
|
10340
10336
|
{ ...texts60.bottom1, anchor: "middle_top" }
|
10341
10337
|
],
|
@@ -10356,9 +10352,9 @@ var rotatedSymbol23 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
|
10356
10352
|
var texts61 = rotatedSymbol23.primitives.filter(
|
10357
10353
|
(primitive) => primitive.type === "text"
|
10358
10354
|
);
|
10359
|
-
var
|
10360
|
-
|
10361
|
-
|
10355
|
+
var ref27 = texts61.find((text) => text.text === "{REF}");
|
10356
|
+
ref27.y = 0;
|
10357
|
+
ref27.anchor = "middle_left";
|
10362
10358
|
var silicon_controlled_rectifier_vert_default = rotatedSymbol23;
|
10363
10359
|
|
10364
10360
|
// assets/generated/SPDT_switch.json
|
@@ -10479,11 +10475,11 @@ var SPDT_switch_default = {
|
|
10479
10475
|
};
|
10480
10476
|
|
10481
10477
|
// symbols/SPDT_switch_horz.ts
|
10482
|
-
var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles:
|
10478
|
+
var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles38 } = SPDT_switch_default;
|
10483
10479
|
var SPDT_switch_horz_default = defineSymbol({
|
10484
10480
|
primitives: [
|
10485
10481
|
...Object.values(paths46),
|
10486
|
-
...Object.values(
|
10482
|
+
...Object.values(circles38),
|
10487
10483
|
{ ...texts62.top1, anchor: "middle_bottom", x: -0.01 },
|
10488
10484
|
{ ...texts62.bottom1, anchor: "middle_top", x: -0.01 }
|
10489
10485
|
],
|
@@ -10502,14 +10498,14 @@ var SPDT_switch_horz_default = defineSymbol({
|
|
10502
10498
|
// symbols/SPDT_switch_vert.ts
|
10503
10499
|
var rotatedSymbol24 = rotateSymbol(SPDT_switch_horz_default);
|
10504
10500
|
var texts63 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
|
10505
|
-
var
|
10506
|
-
|
10507
|
-
|
10508
|
-
|
10509
|
-
var
|
10510
|
-
|
10511
|
-
|
10512
|
-
|
10501
|
+
var val23 = texts63.find((t) => t.text === "{VAL}");
|
10502
|
+
val23.anchor = "middle_right";
|
10503
|
+
val23.x = -0.3;
|
10504
|
+
val23.y = 0;
|
10505
|
+
var ref28 = texts63.find((t) => t.text === "{REF}");
|
10506
|
+
ref28.anchor = "middle_left";
|
10507
|
+
ref28.x = 0.3;
|
10508
|
+
ref28.y = 0;
|
10513
10509
|
var SPDT_switch_vert_default = rotatedSymbol24;
|
10514
10510
|
|
10515
10511
|
// assets/generated/SPST_switch.json
|
@@ -10607,11 +10603,11 @@ var SPST_switch_default = {
|
|
10607
10603
|
};
|
10608
10604
|
|
10609
10605
|
// symbols/SPST_switch_horz.ts
|
10610
|
-
var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles:
|
10606
|
+
var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles39 } = SPST_switch_default;
|
10611
10607
|
var SPST_switch_horz_default = defineSymbol({
|
10612
10608
|
primitives: [
|
10613
10609
|
...Object.values(paths47),
|
10614
|
-
...Object.values(
|
10610
|
+
...Object.values(circles39),
|
10615
10611
|
{ ...texts64.top1, anchor: "middle_bottom", x: 0 },
|
10616
10612
|
{ ...texts64.bottom1, anchor: "middle_top", x: 0 }
|
10617
10613
|
],
|
@@ -10628,14 +10624,14 @@ var SPST_switch_horz_default = defineSymbol({
|
|
10628
10624
|
// symbols/SPST_switch_vert.ts
|
10629
10625
|
var rotatedSymbol25 = rotateSymbol(SPST_switch_horz_default);
|
10630
10626
|
var texts65 = rotatedSymbol25.primitives.filter((p) => p.type === "text");
|
10631
|
-
var
|
10632
|
-
|
10633
|
-
|
10634
|
-
|
10635
|
-
var
|
10636
|
-
|
10637
|
-
|
10638
|
-
|
10627
|
+
var val24 = texts65.find((t) => t.text === "{VAL}");
|
10628
|
+
val24.anchor = "middle_right";
|
10629
|
+
val24.x = -0.3;
|
10630
|
+
val24.y = 0;
|
10631
|
+
var ref29 = texts65.find((t) => t.text === "{REF}");
|
10632
|
+
ref29.anchor = "middle_left";
|
10633
|
+
ref29.x = 0.3;
|
10634
|
+
ref29.y = 0;
|
10639
10635
|
var SPST_switch_vert_default = rotatedSymbol25;
|
10640
10636
|
|
10641
10637
|
// assets/generated/step_recovery_diode.json
|
@@ -10800,11 +10796,11 @@ var step_recovery_diode_default = {
|
|
10800
10796
|
};
|
10801
10797
|
|
10802
10798
|
// symbols/step_recovery_diode_horz.ts
|
10803
|
-
var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles:
|
10799
|
+
var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles40 } = step_recovery_diode_default;
|
10804
10800
|
var step_recovery_diode_horz_default = defineSymbol({
|
10805
10801
|
primitives: [
|
10806
10802
|
...Object.values(paths48),
|
10807
|
-
...Object.values(
|
10803
|
+
...Object.values(circles40),
|
10808
10804
|
// { ...texts.top1, anchor: "middle_left" },
|
10809
10805
|
// { ...texts.bottom1, anchor: "middle_left" },
|
10810
10806
|
{
|
@@ -10922,11 +10918,11 @@ var tachometer_default = {
|
|
10922
10918
|
};
|
10923
10919
|
|
10924
10920
|
// symbols/tachometer_horz.ts
|
10925
|
-
var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles:
|
10921
|
+
var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles41 } = tachometer_default;
|
10926
10922
|
var tachometer_horz_default = defineSymbol({
|
10927
10923
|
primitives: [
|
10928
10924
|
...Object.values(paths49),
|
10929
|
-
...Object.values(
|
10925
|
+
...Object.values(circles41),
|
10930
10926
|
{
|
10931
10927
|
type: "text",
|
10932
10928
|
text: "{REF}",
|
@@ -11158,11 +11154,11 @@ var triac_default = {
|
|
11158
11154
|
};
|
11159
11155
|
|
11160
11156
|
// symbols/triac_horz.ts
|
11161
|
-
var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles:
|
11157
|
+
var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles42 } = triac_default;
|
11162
11158
|
var triac_horz_default = defineSymbol({
|
11163
11159
|
primitives: [
|
11164
11160
|
...Object.values(paths50),
|
11165
|
-
...Object.values(
|
11161
|
+
...Object.values(circles42),
|
11166
11162
|
{ ...texts68.top1, anchor: "middle_left" },
|
11167
11163
|
{ ...texts68.bottom1, anchor: "middle_top" }
|
11168
11164
|
],
|
@@ -11183,10 +11179,10 @@ var rotatedSymbol27 = rotateSymbol(triac_horz_default);
|
|
11183
11179
|
var texts69 = rotatedSymbol27.primitives.filter(
|
11184
11180
|
(primitive) => primitive.type === "text"
|
11185
11181
|
);
|
11186
|
-
var
|
11187
|
-
var
|
11188
|
-
|
11189
|
-
|
11182
|
+
var ref30 = texts69.find((text) => text.text === "{REF}");
|
11183
|
+
var val25 = texts69.find((text) => text.text === "{VAL}");
|
11184
|
+
ref30.y = 0;
|
11185
|
+
val25.y = 0;
|
11190
11186
|
var triac_vert_default = rotatedSymbol27;
|
11191
11187
|
|
11192
11188
|
// assets/generated/tunnel_diode.json
|
@@ -11351,11 +11347,11 @@ var tunnel_diode_default = {
|
|
11351
11347
|
};
|
11352
11348
|
|
11353
11349
|
// symbols/tunnel_diode_horz.ts
|
11354
|
-
var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles:
|
11350
|
+
var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles43 } = tunnel_diode_default;
|
11355
11351
|
var tunnel_diode_horz_default = defineSymbol({
|
11356
11352
|
primitives: [
|
11357
11353
|
...Object.values(paths51),
|
11358
|
-
...Object.values(
|
11354
|
+
...Object.values(circles43),
|
11359
11355
|
{ ...texts70.top1, anchor: "middle_bottom" },
|
11360
11356
|
{ ...texts70.bottom1, anchor: "middle_top" }
|
11361
11357
|
],
|
@@ -11370,16 +11366,16 @@ var tunnel_diode_horz_default = defineSymbol({
|
|
11370
11366
|
});
|
11371
11367
|
|
11372
11368
|
// symbols/tunnel_diode_vert.ts
|
11373
|
-
var
|
11374
|
-
var
|
11369
|
+
var rotated10 = rotateSymbol(tunnel_diode_horz_default);
|
11370
|
+
var ref31 = rotated10.primitives.find(
|
11375
11371
|
(p) => p.type === "text" && p.text === "{REF}"
|
11376
11372
|
);
|
11377
|
-
var
|
11373
|
+
var val26 = rotated10.primitives.find(
|
11378
11374
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11379
11375
|
);
|
11380
|
-
|
11381
|
-
|
11382
|
-
var tunnel_diode_vert_default =
|
11376
|
+
ref31.anchor = "middle_left";
|
11377
|
+
val26.anchor = "middle_right";
|
11378
|
+
var tunnel_diode_vert_default = rotated10;
|
11383
11379
|
|
11384
11380
|
// assets/generated/unijunction_transistor.json
|
11385
11381
|
var unijunction_transistor_default = {
|
@@ -11549,11 +11545,11 @@ var unijunction_transistor_default = {
|
|
11549
11545
|
};
|
11550
11546
|
|
11551
11547
|
// symbols/unijunction_transistor_horz.ts
|
11552
|
-
var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles:
|
11548
|
+
var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles44 } = unijunction_transistor_default;
|
11553
11549
|
var unijunction_transistor_horz_default = defineSymbol({
|
11554
11550
|
primitives: [
|
11555
11551
|
...Object.values(paths52),
|
11556
|
-
...Object.values(
|
11552
|
+
...Object.values(circles44),
|
11557
11553
|
{ ...texts71.top1, anchor: "middle_left" },
|
11558
11554
|
{ ...texts71.bottom1, anchor: "middle_right" }
|
11559
11555
|
],
|
@@ -11574,11 +11570,11 @@ var rotatedSymbol28 = rotateSymbol(unijunction_transistor_horz_default);
|
|
11574
11570
|
var texts72 = rotatedSymbol28.primitives.filter(
|
11575
11571
|
(primitive) => primitive.type === "text"
|
11576
11572
|
);
|
11577
|
-
var
|
11578
|
-
|
11579
|
-
var
|
11580
|
-
|
11581
|
-
|
11573
|
+
var ref32 = texts72.find((text) => text.text === "{REF}");
|
11574
|
+
ref32.y = 0.1;
|
11575
|
+
var val27 = texts72.find((text) => text.text === "{VAL}");
|
11576
|
+
val27.y = 0.1;
|
11577
|
+
val27.x = -0.4;
|
11582
11578
|
var unijunction_transistor_vert_default = rotatedSymbol28;
|
11583
11579
|
|
11584
11580
|
// assets/generated/var_meter.json
|
@@ -11668,11 +11664,11 @@ var var_meter_default = {
|
|
11668
11664
|
};
|
11669
11665
|
|
11670
11666
|
// symbols/var_meter_horz.ts
|
11671
|
-
var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles:
|
11667
|
+
var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles45 } = var_meter_default;
|
11672
11668
|
var var_meter_horz_default = defineSymbol({
|
11673
11669
|
primitives: [
|
11674
11670
|
...Object.values(paths53),
|
11675
|
-
...Object.values(
|
11671
|
+
...Object.values(circles45),
|
11676
11672
|
{
|
11677
11673
|
...texts73.top1,
|
11678
11674
|
x: 0,
|
@@ -11847,11 +11843,11 @@ var varactor_diode_default = {
|
|
11847
11843
|
};
|
11848
11844
|
|
11849
11845
|
// symbols/varactor_diode_horz.ts
|
11850
|
-
var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles:
|
11846
|
+
var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles46 } = varactor_diode_default;
|
11851
11847
|
var varactor_diode_horz_default = defineSymbol({
|
11852
11848
|
primitives: [
|
11853
11849
|
...Object.values(paths54),
|
11854
|
-
...Object.values(
|
11850
|
+
...Object.values(circles46),
|
11855
11851
|
{ ...texts74.top1, anchor: "middle_bottom" },
|
11856
11852
|
{ ...texts74.bottom1, anchor: "middle_top" }
|
11857
11853
|
],
|
@@ -11866,16 +11862,16 @@ var varactor_diode_horz_default = defineSymbol({
|
|
11866
11862
|
});
|
11867
11863
|
|
11868
11864
|
// symbols/varactor_diode_vert.ts
|
11869
|
-
var
|
11870
|
-
var
|
11865
|
+
var rotated11 = rotateSymbol(varactor_diode_horz_default);
|
11866
|
+
var ref33 = rotated11.primitives.find(
|
11871
11867
|
(p) => p.type === "text" && p.text === "{REF}"
|
11872
11868
|
);
|
11873
|
-
var
|
11869
|
+
var val28 = rotated11.primitives.find(
|
11874
11870
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11875
11871
|
);
|
11876
|
-
|
11877
|
-
|
11878
|
-
var varactor_diode_vert_default =
|
11872
|
+
ref33.anchor = "middle_left";
|
11873
|
+
val28.anchor = "middle_right";
|
11874
|
+
var varactor_diode_vert_default = rotated11;
|
11879
11875
|
|
11880
11876
|
// assets/generated/varistor.json
|
11881
11877
|
var varistor_default = {
|
@@ -12122,11 +12118,11 @@ var varmeter_default = {
|
|
12122
12118
|
};
|
12123
12119
|
|
12124
12120
|
// symbols/varmeter_horz.ts
|
12125
|
-
var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles:
|
12121
|
+
var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles47 } = varmeter_default;
|
12126
12122
|
var varmeter_horz_default = defineSymbol({
|
12127
12123
|
primitives: [
|
12128
12124
|
...Object.values(paths56),
|
12129
|
-
...Object.values(
|
12125
|
+
...Object.values(circles47),
|
12130
12126
|
{
|
12131
12127
|
type: "text",
|
12132
12128
|
text: "{REF}",
|
@@ -12267,11 +12263,11 @@ var volt_meter_default = {
|
|
12267
12263
|
};
|
12268
12264
|
|
12269
12265
|
// symbols/volt_meter_horz.ts
|
12270
|
-
var { paths: paths57, texts: texts77, bounds: bounds57, circles:
|
12266
|
+
var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles48, refblocks: refblocks57 } = volt_meter_default;
|
12271
12267
|
var volt_meter_horz_default = defineSymbol({
|
12272
12268
|
primitives: [
|
12273
12269
|
...Object.values(paths57),
|
12274
|
-
...Object.values(
|
12270
|
+
...Object.values(circles48),
|
12275
12271
|
{
|
12276
12272
|
type: "text",
|
12277
12273
|
text: "{REF}",
|
@@ -12387,11 +12383,11 @@ var watt_hour_meter_default = {
|
|
12387
12383
|
};
|
12388
12384
|
|
12389
12385
|
// symbols/watt_hour_meter_horz.ts
|
12390
|
-
var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles:
|
12386
|
+
var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles49 } = watt_hour_meter_default;
|
12391
12387
|
var watt_hour_meter_horz_default = defineSymbol({
|
12392
12388
|
primitives: [
|
12393
12389
|
...Object.values(paths58),
|
12394
|
-
...Object.values(
|
12390
|
+
...Object.values(circles49),
|
12395
12391
|
{
|
12396
12392
|
type: "text",
|
12397
12393
|
text: "{REF}",
|
@@ -12519,11 +12515,11 @@ var wattmeter_default = {
|
|
12519
12515
|
};
|
12520
12516
|
|
12521
12517
|
// symbols/wattmeter_horz.ts
|
12522
|
-
var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles:
|
12518
|
+
var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles50 } = wattmeter_default;
|
12523
12519
|
var wattmeter_horz_default = defineSymbol({
|
12524
12520
|
primitives: [
|
12525
12521
|
...Object.values(paths59),
|
12526
|
-
...Object.values(
|
12522
|
+
...Object.values(circles50),
|
12527
12523
|
{
|
12528
12524
|
type: "text",
|
12529
12525
|
text: "{REF}",
|
@@ -12711,11 +12707,11 @@ var zener_diode_default = {
|
|
12711
12707
|
};
|
12712
12708
|
|
12713
12709
|
// symbols/zener_diode_horz.ts
|
12714
|
-
var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles:
|
12710
|
+
var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles51 } = zener_diode_default;
|
12715
12711
|
var zener_diode_horz_default = defineSymbol({
|
12716
12712
|
primitives: [
|
12717
12713
|
...Object.values(paths60),
|
12718
|
-
...Object.values(
|
12714
|
+
...Object.values(circles51),
|
12719
12715
|
{ ...texts80.top1, anchor: "middle_bottom" },
|
12720
12716
|
{ ...texts80.bottom1, anchor: "middle_top" }
|
12721
12717
|
],
|
@@ -12730,16 +12726,16 @@ var zener_diode_horz_default = defineSymbol({
|
|
12730
12726
|
});
|
12731
12727
|
|
12732
12728
|
// symbols/zener_diode_vert.ts
|
12733
|
-
var
|
12734
|
-
var
|
12729
|
+
var rotated12 = rotateSymbol(zener_diode_horz_default);
|
12730
|
+
var ref34 = rotated12.primitives.find(
|
12735
12731
|
(p) => p.type === "text" && p.text === "{REF}"
|
12736
12732
|
);
|
12737
|
-
var
|
12733
|
+
var val29 = rotated12.primitives.find(
|
12738
12734
|
(p) => p.type === "text" && p.text === "{VAL}"
|
12739
12735
|
);
|
12740
|
-
|
12741
|
-
|
12742
|
-
var zener_diode_vert_default =
|
12736
|
+
ref34.anchor = "middle_left";
|
12737
|
+
val29.anchor = "middle_right";
|
12738
|
+
var zener_diode_vert_default = rotated12;
|
12743
12739
|
|
12744
12740
|
// generated/symbols-index.ts
|
12745
12741
|
var symbols_index_default = {
|
@@ -12789,8 +12785,10 @@ var symbols_index_default = {
|
|
12789
12785
|
"inductor_vert": inductor_vert_default,
|
12790
12786
|
"laser_diode_horz": laser_diode_horz_default,
|
12791
12787
|
"laser_diode_vert": laser_diode_vert_default,
|
12792
|
-
"
|
12793
|
-
"
|
12788
|
+
"led_down": led_down_default,
|
12789
|
+
"led_left": led_left_default,
|
12790
|
+
"led_right": led_right_default,
|
12791
|
+
"led_up": led_up_default,
|
12794
12792
|
"light_dependent_resistor_horz": light_dependent_resistor_horz_default,
|
12795
12793
|
"light_dependent_resistor_vert": light_dependent_resistor_vert_default,
|
12796
12794
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|