schematic-symbols 0.0.95 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +155 -149
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/potentiometer2_horz.ts +2 -2
- package/symbols/potentiometer2_vert.ts +11 -1
package/dist/index.js
CHANGED
@@ -8707,8 +8707,8 @@ var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38 }
|
|
8707
8707
|
var potentiometer2_horz_default = defineSymbol({
|
8708
8708
|
primitives: [
|
8709
8709
|
...Object.values(paths38),
|
8710
|
-
{ ...texts52.bottom1, anchor: "
|
8711
|
-
{ ...texts52.top1, anchor: "
|
8710
|
+
{ ...texts52.bottom1, anchor: "middle_top" },
|
8711
|
+
{ ...texts52.top1, anchor: "middle_bottom" }
|
8712
8712
|
],
|
8713
8713
|
ports: [
|
8714
8714
|
{ ...refblocks38.left1, labels: ["1"] },
|
@@ -8721,7 +8721,13 @@ var potentiometer2_horz_default = defineSymbol({
|
|
8721
8721
|
});
|
8722
8722
|
|
8723
8723
|
// symbols/potentiometer2_vert.ts
|
8724
|
-
var
|
8724
|
+
var rotated6 = rotateSymbol(potentiometer2_horz_default);
|
8725
|
+
var texts53 = rotated6.primitives.filter((p) => p.type === "text");
|
8726
|
+
var val18 = texts53.find((t) => t.text === "{VAL}");
|
8727
|
+
val18.anchor = "middle_right";
|
8728
|
+
var ref22 = texts53.find((t) => t.text === "{REF}");
|
8729
|
+
ref22.anchor = "middle_left";
|
8730
|
+
var potentiometer2_vert_default = rotated6;
|
8725
8731
|
|
8726
8732
|
// assets/generated/power_factor_meter.json
|
8727
8733
|
var power_factor_meter_default = {
|
@@ -8810,7 +8816,7 @@ var power_factor_meter_default = {
|
|
8810
8816
|
};
|
8811
8817
|
|
8812
8818
|
// symbols/power_factor_meter_horz.ts
|
8813
|
-
var { paths: paths39, texts:
|
8819
|
+
var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles33 } = power_factor_meter_default;
|
8814
8820
|
var power_factor_meter_horz_default = defineSymbol({
|
8815
8821
|
primitives: [
|
8816
8822
|
...Object.values(paths39),
|
@@ -8852,14 +8858,14 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
8852
8858
|
|
8853
8859
|
// symbols/power_factor_meter_vert.ts
|
8854
8860
|
var rotatedSymbol22 = rotateSymbol(power_factor_meter_horz_default);
|
8855
|
-
var
|
8856
|
-
var
|
8857
|
-
var
|
8858
|
-
var text_cos =
|
8859
|
-
|
8860
|
-
|
8861
|
-
|
8862
|
-
|
8861
|
+
var texts55 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8862
|
+
var ref23 = texts55.find((t) => t.text === "{REF}");
|
8863
|
+
var val19 = texts55.find((t) => t.text === "{VAL}");
|
8864
|
+
var text_cos = texts55.find((t) => t.text === "COS \u03C6");
|
8865
|
+
ref23.x = 0.35;
|
8866
|
+
ref23.y = 0;
|
8867
|
+
val19.x = -0.6;
|
8868
|
+
val19.y = 0;
|
8863
8869
|
text_cos.x = -0.1;
|
8864
8870
|
text_cos.y = 0;
|
8865
8871
|
var power_factor_meter_vert_default = rotatedSymbol22;
|
@@ -8966,12 +8972,12 @@ var push_button_normally_closed_momentary_default = {
|
|
8966
8972
|
};
|
8967
8973
|
|
8968
8974
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
8969
|
-
var { paths: paths40, texts:
|
8975
|
+
var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40 } = push_button_normally_closed_momentary_default;
|
8970
8976
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
8971
8977
|
primitives: [
|
8972
8978
|
...Object.values(paths40),
|
8973
|
-
{ ...
|
8974
|
-
{ ...
|
8979
|
+
{ ...texts56.top1, anchor: "middle_bottom" },
|
8980
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
8975
8981
|
],
|
8976
8982
|
ports: [
|
8977
8983
|
{ ...refblocks40.left1, labels: ["1"] },
|
@@ -8984,20 +8990,20 @@ var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
|
8984
8990
|
});
|
8985
8991
|
|
8986
8992
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
8987
|
-
var
|
8988
|
-
var
|
8993
|
+
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
8994
|
+
var ref24 = rotated7.primitives.find(
|
8989
8995
|
(p) => p.type === "text" && p.text === "{REF}"
|
8990
8996
|
);
|
8991
|
-
var
|
8997
|
+
var val20 = rotated7.primitives.find(
|
8992
8998
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8993
8999
|
);
|
8994
|
-
|
8995
|
-
|
8996
|
-
|
8997
|
-
|
8998
|
-
|
8999
|
-
|
9000
|
-
var push_button_normally_closed_momentary_vert_default =
|
9000
|
+
ref24.anchor = "middle_left";
|
9001
|
+
val20.anchor = "middle_right";
|
9002
|
+
ref24.x = ref24.x - 0.03;
|
9003
|
+
ref24.y = ref24.y;
|
9004
|
+
val20.x = val20.x;
|
9005
|
+
val20.y = 0;
|
9006
|
+
var push_button_normally_closed_momentary_vert_default = rotated7;
|
9001
9007
|
|
9002
9008
|
// assets/generated/push_button_normally_open_momentary.json
|
9003
9009
|
var push_button_normally_open_momentary_default = {
|
@@ -9101,12 +9107,12 @@ var push_button_normally_open_momentary_default = {
|
|
9101
9107
|
};
|
9102
9108
|
|
9103
9109
|
// symbols/push_button_normally_open_momentary_horz.ts
|
9104
|
-
var { paths: paths41, texts:
|
9110
|
+
var { paths: paths41, texts: texts57, bounds: bounds41, refblocks: refblocks41 } = push_button_normally_open_momentary_default;
|
9105
9111
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
9106
9112
|
primitives: [
|
9107
9113
|
...Object.values(paths41),
|
9108
|
-
{ ...
|
9109
|
-
{ ...
|
9114
|
+
{ ...texts57.top1, anchor: "middle_bottom" },
|
9115
|
+
{ ...texts57.bottom1, anchor: "middle_top" }
|
9110
9116
|
],
|
9111
9117
|
ports: [
|
9112
9118
|
{ ...refblocks41.left1, labels: ["1"] },
|
@@ -9119,20 +9125,20 @@ var push_button_normally_open_momentary_horz_default = defineSymbol({
|
|
9119
9125
|
});
|
9120
9126
|
|
9121
9127
|
// symbols/push_button_normally_open_momentary_vert.ts
|
9122
|
-
var
|
9123
|
-
var
|
9128
|
+
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
9129
|
+
var ref25 = rotated8.primitives.find(
|
9124
9130
|
(p) => p.type === "text" && p.text === "{REF}"
|
9125
9131
|
);
|
9126
|
-
var
|
9132
|
+
var val21 = rotated8.primitives.find(
|
9127
9133
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9128
9134
|
);
|
9129
|
-
|
9130
|
-
|
9131
|
-
|
9132
|
-
|
9133
|
-
|
9134
|
-
|
9135
|
-
var push_button_normally_open_momentary_vert_default =
|
9135
|
+
ref25.anchor = "middle_left";
|
9136
|
+
val21.anchor = "middle_right";
|
9137
|
+
ref25.x = ref25.x + 0.1;
|
9138
|
+
ref25.y = ref25.y;
|
9139
|
+
val21.x = val21.x;
|
9140
|
+
val21.y = 0;
|
9141
|
+
var push_button_normally_open_momentary_vert_default = rotated8;
|
9136
9142
|
|
9137
9143
|
// assets/generated/rectifier_diode.json
|
9138
9144
|
var rectifier_diode_default = {
|
@@ -9544,13 +9550,13 @@ var rectifier_diode_default = {
|
|
9544
9550
|
};
|
9545
9551
|
|
9546
9552
|
// symbols/rectifier_diode_horz.ts
|
9547
|
-
var { paths: paths42, texts:
|
9553
|
+
var { paths: paths42, texts: texts58, bounds: bounds42, refblocks: refblocks42, circles: circles34 } = rectifier_diode_default;
|
9548
9554
|
var rectifier_diode_horz_default = defineSymbol({
|
9549
9555
|
primitives: [
|
9550
9556
|
...Object.values(paths42),
|
9551
9557
|
...Object.values(circles34),
|
9552
|
-
{ ...
|
9553
|
-
{ ...
|
9558
|
+
{ ...texts58.top1, anchor: "middle_right" },
|
9559
|
+
{ ...texts58.bottom1, anchor: "middle_right" }
|
9554
9560
|
],
|
9555
9561
|
ports: [
|
9556
9562
|
{ ...refblocks42.top1, labels: ["1"] },
|
@@ -9567,16 +9573,16 @@ var rectifier_diode_horz_default = defineSymbol({
|
|
9567
9573
|
});
|
9568
9574
|
|
9569
9575
|
// symbols/rectifier_diode_vert.ts
|
9570
|
-
var
|
9571
|
-
var
|
9576
|
+
var rotated9 = rotateSymbol(rectifier_diode_horz_default);
|
9577
|
+
var ref26 = rotated9.primitives.find(
|
9572
9578
|
(p) => p.type === "text" && p.text === "{REF}"
|
9573
9579
|
);
|
9574
|
-
var
|
9580
|
+
var val22 = rotated9.primitives.find(
|
9575
9581
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9576
9582
|
);
|
9577
|
-
|
9578
|
-
|
9579
|
-
var rectifier_diode_vert_default =
|
9583
|
+
ref26.anchor = "middle_left";
|
9584
|
+
val22.anchor = "middle_right";
|
9585
|
+
var rectifier_diode_vert_default = rotated9;
|
9580
9586
|
|
9581
9587
|
// assets/generated/resonator.json
|
9582
9588
|
var resonator_default = {
|
@@ -9924,7 +9930,7 @@ var resonator_default = {
|
|
9924
9930
|
};
|
9925
9931
|
|
9926
9932
|
// symbols/resonator_horz.ts
|
9927
|
-
var { paths: paths43, texts:
|
9933
|
+
var { paths: paths43, texts: texts59, bounds: bounds43, refblocks: refblocks43, circles: circles35 } = resonator_default;
|
9928
9934
|
var resonator_horz_default = defineSymbol({
|
9929
9935
|
primitives: [
|
9930
9936
|
...Object.values(paths43),
|
@@ -10153,13 +10159,13 @@ var schottky_diode_default = {
|
|
10153
10159
|
};
|
10154
10160
|
|
10155
10161
|
// symbols/schottky_diode_horz.ts
|
10156
|
-
var { paths: paths44, texts:
|
10162
|
+
var { paths: paths44, texts: texts60, bounds: bounds44, refblocks: refblocks44, circles: circles36 } = schottky_diode_default;
|
10157
10163
|
var schottky_diode_horz_default = defineSymbol({
|
10158
10164
|
primitives: [
|
10159
10165
|
...Object.values(paths44),
|
10160
10166
|
...Object.values(circles36),
|
10161
|
-
{ ...
|
10162
|
-
{ ...
|
10167
|
+
{ ...texts60.top1, anchor: "middle_bottom" },
|
10168
|
+
{ ...texts60.bottom1, anchor: "middle_top" }
|
10163
10169
|
],
|
10164
10170
|
ports: [
|
10165
10171
|
{ ...refblocks44.left1, labels: ["1"] },
|
@@ -10172,16 +10178,16 @@ var schottky_diode_horz_default = defineSymbol({
|
|
10172
10178
|
});
|
10173
10179
|
|
10174
10180
|
// symbols/schottky_diode_vert.ts
|
10175
|
-
var
|
10176
|
-
var
|
10181
|
+
var rotated10 = rotateSymbol(schottky_diode_horz_default);
|
10182
|
+
var ref27 = rotated10.primitives.find(
|
10177
10183
|
(p) => p.type === "text" && p.text === "{REF}"
|
10178
10184
|
);
|
10179
|
-
var
|
10185
|
+
var val23 = rotated10.primitives.find(
|
10180
10186
|
(p) => p.type === "text" && p.text === "{VAL}"
|
10181
10187
|
);
|
10182
|
-
|
10183
|
-
|
10184
|
-
var schottky_diode_vert_default =
|
10188
|
+
ref27.anchor = "middle_left";
|
10189
|
+
val23.anchor = "middle_right";
|
10190
|
+
var schottky_diode_vert_default = rotated10;
|
10185
10191
|
|
10186
10192
|
// assets/generated/silicon_controlled_rectifier.json
|
10187
10193
|
var silicon_controlled_rectifier_default = {
|
@@ -10327,13 +10333,13 @@ var silicon_controlled_rectifier_default = {
|
|
10327
10333
|
};
|
10328
10334
|
|
10329
10335
|
// symbols/silicon_controlled_rectifier_horz.ts
|
10330
|
-
var { paths: paths45, texts:
|
10336
|
+
var { paths: paths45, texts: texts61, bounds: bounds45, refblocks: refblocks45, circles: circles37 } = silicon_controlled_rectifier_default;
|
10331
10337
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
10332
10338
|
primitives: [
|
10333
10339
|
...Object.values(paths45),
|
10334
10340
|
...Object.values(circles37),
|
10335
|
-
{ ...
|
10336
|
-
{ ...
|
10341
|
+
{ ...texts61.top1, anchor: "middle_left" },
|
10342
|
+
{ ...texts61.bottom1, anchor: "middle_top" }
|
10337
10343
|
],
|
10338
10344
|
ports: [
|
10339
10345
|
{ ...refblocks45.left1, labels: ["1"] },
|
@@ -10349,12 +10355,12 @@ var silicon_controlled_rectifier_horz_default = defineSymbol({
|
|
10349
10355
|
|
10350
10356
|
// symbols/silicon_controlled_rectifier_vert.ts
|
10351
10357
|
var rotatedSymbol23 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
10352
|
-
var
|
10358
|
+
var texts62 = rotatedSymbol23.primitives.filter(
|
10353
10359
|
(primitive) => primitive.type === "text"
|
10354
10360
|
);
|
10355
|
-
var
|
10356
|
-
|
10357
|
-
|
10361
|
+
var ref28 = texts62.find((text) => text.text === "{REF}");
|
10362
|
+
ref28.y = 0;
|
10363
|
+
ref28.anchor = "middle_left";
|
10358
10364
|
var silicon_controlled_rectifier_vert_default = rotatedSymbol23;
|
10359
10365
|
|
10360
10366
|
// assets/generated/SPDT_switch.json
|
@@ -10475,13 +10481,13 @@ var SPDT_switch_default = {
|
|
10475
10481
|
};
|
10476
10482
|
|
10477
10483
|
// symbols/SPDT_switch_horz.ts
|
10478
|
-
var { paths: paths46, texts:
|
10484
|
+
var { paths: paths46, texts: texts63, bounds: bounds46, refblocks: refblocks46, circles: circles38 } = SPDT_switch_default;
|
10479
10485
|
var SPDT_switch_horz_default = defineSymbol({
|
10480
10486
|
primitives: [
|
10481
10487
|
...Object.values(paths46),
|
10482
10488
|
...Object.values(circles38),
|
10483
|
-
{ ...
|
10484
|
-
{ ...
|
10489
|
+
{ ...texts63.top1, anchor: "middle_bottom", x: -0.01 },
|
10490
|
+
{ ...texts63.bottom1, anchor: "middle_top", x: -0.01 }
|
10485
10491
|
],
|
10486
10492
|
ports: [
|
10487
10493
|
{ ...refblocks46.left1, labels: ["1"] },
|
@@ -10497,15 +10503,15 @@ var SPDT_switch_horz_default = defineSymbol({
|
|
10497
10503
|
|
10498
10504
|
// symbols/SPDT_switch_vert.ts
|
10499
10505
|
var rotatedSymbol24 = rotateSymbol(SPDT_switch_horz_default);
|
10500
|
-
var
|
10501
|
-
var
|
10502
|
-
|
10503
|
-
|
10504
|
-
|
10505
|
-
var
|
10506
|
-
|
10507
|
-
|
10508
|
-
|
10506
|
+
var texts64 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
|
10507
|
+
var val24 = texts64.find((t) => t.text === "{VAL}");
|
10508
|
+
val24.anchor = "middle_right";
|
10509
|
+
val24.x = -0.3;
|
10510
|
+
val24.y = 0;
|
10511
|
+
var ref29 = texts64.find((t) => t.text === "{REF}");
|
10512
|
+
ref29.anchor = "middle_left";
|
10513
|
+
ref29.x = 0.3;
|
10514
|
+
ref29.y = 0;
|
10509
10515
|
var SPDT_switch_vert_default = rotatedSymbol24;
|
10510
10516
|
|
10511
10517
|
// assets/generated/SPST_switch.json
|
@@ -10603,13 +10609,13 @@ var SPST_switch_default = {
|
|
10603
10609
|
};
|
10604
10610
|
|
10605
10611
|
// symbols/SPST_switch_horz.ts
|
10606
|
-
var { paths: paths47, texts:
|
10612
|
+
var { paths: paths47, texts: texts65, bounds: bounds47, refblocks: refblocks47, circles: circles39 } = SPST_switch_default;
|
10607
10613
|
var SPST_switch_horz_default = defineSymbol({
|
10608
10614
|
primitives: [
|
10609
10615
|
...Object.values(paths47),
|
10610
10616
|
...Object.values(circles39),
|
10611
|
-
{ ...
|
10612
|
-
{ ...
|
10617
|
+
{ ...texts65.top1, anchor: "middle_bottom", x: 0 },
|
10618
|
+
{ ...texts65.bottom1, anchor: "middle_top", x: 0 }
|
10613
10619
|
],
|
10614
10620
|
ports: [
|
10615
10621
|
{ ...refblocks47.left1, labels: ["1"] },
|
@@ -10623,15 +10629,15 @@ var SPST_switch_horz_default = defineSymbol({
|
|
10623
10629
|
|
10624
10630
|
// symbols/SPST_switch_vert.ts
|
10625
10631
|
var rotatedSymbol25 = rotateSymbol(SPST_switch_horz_default);
|
10626
|
-
var
|
10627
|
-
var
|
10628
|
-
|
10629
|
-
|
10630
|
-
|
10631
|
-
var
|
10632
|
-
|
10633
|
-
|
10634
|
-
|
10632
|
+
var texts66 = rotatedSymbol25.primitives.filter((p) => p.type === "text");
|
10633
|
+
var val25 = texts66.find((t) => t.text === "{VAL}");
|
10634
|
+
val25.anchor = "middle_right";
|
10635
|
+
val25.x = -0.3;
|
10636
|
+
val25.y = 0;
|
10637
|
+
var ref30 = texts66.find((t) => t.text === "{REF}");
|
10638
|
+
ref30.anchor = "middle_left";
|
10639
|
+
ref30.x = 0.3;
|
10640
|
+
ref30.y = 0;
|
10635
10641
|
var SPST_switch_vert_default = rotatedSymbol25;
|
10636
10642
|
|
10637
10643
|
// assets/generated/step_recovery_diode.json
|
@@ -10796,7 +10802,7 @@ var step_recovery_diode_default = {
|
|
10796
10802
|
};
|
10797
10803
|
|
10798
10804
|
// symbols/step_recovery_diode_horz.ts
|
10799
|
-
var { paths: paths48, texts:
|
10805
|
+
var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles40 } = step_recovery_diode_default;
|
10800
10806
|
var step_recovery_diode_horz_default = defineSymbol({
|
10801
10807
|
primitives: [
|
10802
10808
|
...Object.values(paths48),
|
@@ -10918,7 +10924,7 @@ var tachometer_default = {
|
|
10918
10924
|
};
|
10919
10925
|
|
10920
10926
|
// symbols/tachometer_horz.ts
|
10921
|
-
var { paths: paths49, texts:
|
10927
|
+
var { paths: paths49, texts: texts68, bounds: bounds49, refblocks: refblocks49, circles: circles41 } = tachometer_default;
|
10922
10928
|
var tachometer_horz_default = defineSymbol({
|
10923
10929
|
primitives: [
|
10924
10930
|
...Object.values(paths49),
|
@@ -10937,7 +10943,7 @@ var tachometer_horz_default = defineSymbol({
|
|
10937
10943
|
y: 0.35,
|
10938
10944
|
anchor: "middle_top"
|
10939
10945
|
},
|
10940
|
-
{ ...
|
10946
|
+
{ ...texts68.left1, anchor: "center", fontSize: 0.2 }
|
10941
10947
|
],
|
10942
10948
|
ports: [
|
10943
10949
|
{ ...refblocks49.left1, labels: ["1"] },
|
@@ -11154,13 +11160,13 @@ var triac_default = {
|
|
11154
11160
|
};
|
11155
11161
|
|
11156
11162
|
// symbols/triac_horz.ts
|
11157
|
-
var { paths: paths50, texts:
|
11163
|
+
var { paths: paths50, texts: texts69, bounds: bounds50, refblocks: refblocks50, circles: circles42 } = triac_default;
|
11158
11164
|
var triac_horz_default = defineSymbol({
|
11159
11165
|
primitives: [
|
11160
11166
|
...Object.values(paths50),
|
11161
11167
|
...Object.values(circles42),
|
11162
|
-
{ ...
|
11163
|
-
{ ...
|
11168
|
+
{ ...texts69.top1, anchor: "middle_left" },
|
11169
|
+
{ ...texts69.bottom1, anchor: "middle_top" }
|
11164
11170
|
],
|
11165
11171
|
ports: [
|
11166
11172
|
{ ...refblocks50.left1, labels: ["1"] },
|
@@ -11176,13 +11182,13 @@ var triac_horz_default = defineSymbol({
|
|
11176
11182
|
|
11177
11183
|
// symbols/triac_vert.ts
|
11178
11184
|
var rotatedSymbol27 = rotateSymbol(triac_horz_default);
|
11179
|
-
var
|
11185
|
+
var texts70 = rotatedSymbol27.primitives.filter(
|
11180
11186
|
(primitive) => primitive.type === "text"
|
11181
11187
|
);
|
11182
|
-
var
|
11183
|
-
var
|
11184
|
-
|
11185
|
-
|
11188
|
+
var ref31 = texts70.find((text) => text.text === "{REF}");
|
11189
|
+
var val26 = texts70.find((text) => text.text === "{VAL}");
|
11190
|
+
ref31.y = 0;
|
11191
|
+
val26.y = 0;
|
11186
11192
|
var triac_vert_default = rotatedSymbol27;
|
11187
11193
|
|
11188
11194
|
// assets/generated/tunnel_diode.json
|
@@ -11347,13 +11353,13 @@ var tunnel_diode_default = {
|
|
11347
11353
|
};
|
11348
11354
|
|
11349
11355
|
// symbols/tunnel_diode_horz.ts
|
11350
|
-
var { paths: paths51, texts:
|
11356
|
+
var { paths: paths51, texts: texts71, bounds: bounds51, refblocks: refblocks51, circles: circles43 } = tunnel_diode_default;
|
11351
11357
|
var tunnel_diode_horz_default = defineSymbol({
|
11352
11358
|
primitives: [
|
11353
11359
|
...Object.values(paths51),
|
11354
11360
|
...Object.values(circles43),
|
11355
|
-
{ ...
|
11356
|
-
{ ...
|
11361
|
+
{ ...texts71.top1, anchor: "middle_bottom" },
|
11362
|
+
{ ...texts71.bottom1, anchor: "middle_top" }
|
11357
11363
|
],
|
11358
11364
|
ports: [
|
11359
11365
|
{ ...refblocks51.left1, labels: ["1"] },
|
@@ -11366,16 +11372,16 @@ var tunnel_diode_horz_default = defineSymbol({
|
|
11366
11372
|
});
|
11367
11373
|
|
11368
11374
|
// symbols/tunnel_diode_vert.ts
|
11369
|
-
var
|
11370
|
-
var
|
11375
|
+
var rotated11 = rotateSymbol(tunnel_diode_horz_default);
|
11376
|
+
var ref32 = rotated11.primitives.find(
|
11371
11377
|
(p) => p.type === "text" && p.text === "{REF}"
|
11372
11378
|
);
|
11373
|
-
var
|
11379
|
+
var val27 = rotated11.primitives.find(
|
11374
11380
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11375
11381
|
);
|
11376
|
-
|
11377
|
-
|
11378
|
-
var tunnel_diode_vert_default =
|
11382
|
+
ref32.anchor = "middle_left";
|
11383
|
+
val27.anchor = "middle_right";
|
11384
|
+
var tunnel_diode_vert_default = rotated11;
|
11379
11385
|
|
11380
11386
|
// assets/generated/unijunction_transistor.json
|
11381
11387
|
var unijunction_transistor_default = {
|
@@ -11545,13 +11551,13 @@ var unijunction_transistor_default = {
|
|
11545
11551
|
};
|
11546
11552
|
|
11547
11553
|
// symbols/unijunction_transistor_horz.ts
|
11548
|
-
var { paths: paths52, texts:
|
11554
|
+
var { paths: paths52, texts: texts72, bounds: bounds52, refblocks: refblocks52, circles: circles44 } = unijunction_transistor_default;
|
11549
11555
|
var unijunction_transistor_horz_default = defineSymbol({
|
11550
11556
|
primitives: [
|
11551
11557
|
...Object.values(paths52),
|
11552
11558
|
...Object.values(circles44),
|
11553
|
-
{ ...
|
11554
|
-
{ ...
|
11559
|
+
{ ...texts72.top1, anchor: "middle_left" },
|
11560
|
+
{ ...texts72.bottom1, anchor: "middle_right" }
|
11555
11561
|
],
|
11556
11562
|
ports: [
|
11557
11563
|
{ ...refblocks52.top1, labels: ["1"] },
|
@@ -11567,14 +11573,14 @@ var unijunction_transistor_horz_default = defineSymbol({
|
|
11567
11573
|
|
11568
11574
|
// symbols/unijunction_transistor_vert.ts
|
11569
11575
|
var rotatedSymbol28 = rotateSymbol(unijunction_transistor_horz_default);
|
11570
|
-
var
|
11576
|
+
var texts73 = rotatedSymbol28.primitives.filter(
|
11571
11577
|
(primitive) => primitive.type === "text"
|
11572
11578
|
);
|
11573
|
-
var
|
11574
|
-
|
11575
|
-
var
|
11576
|
-
|
11577
|
-
|
11579
|
+
var ref33 = texts73.find((text) => text.text === "{REF}");
|
11580
|
+
ref33.y = 0.1;
|
11581
|
+
var val28 = texts73.find((text) => text.text === "{VAL}");
|
11582
|
+
val28.y = 0.1;
|
11583
|
+
val28.x = -0.4;
|
11578
11584
|
var unijunction_transistor_vert_default = rotatedSymbol28;
|
11579
11585
|
|
11580
11586
|
// assets/generated/var_meter.json
|
@@ -11664,24 +11670,24 @@ var var_meter_default = {
|
|
11664
11670
|
};
|
11665
11671
|
|
11666
11672
|
// symbols/var_meter_horz.ts
|
11667
|
-
var { paths: paths53, texts:
|
11673
|
+
var { paths: paths53, texts: texts74, bounds: bounds53, refblocks: refblocks53, circles: circles45 } = var_meter_default;
|
11668
11674
|
var var_meter_horz_default = defineSymbol({
|
11669
11675
|
primitives: [
|
11670
11676
|
...Object.values(paths53),
|
11671
11677
|
...Object.values(circles45),
|
11672
11678
|
{
|
11673
|
-
...
|
11679
|
+
...texts74.top1,
|
11674
11680
|
x: 0,
|
11675
11681
|
y: -0.3594553499999995,
|
11676
11682
|
anchor: "middle_bottom"
|
11677
11683
|
},
|
11678
11684
|
{
|
11679
|
-
...
|
11685
|
+
...texts74.bottom1,
|
11680
11686
|
x: 0,
|
11681
11687
|
y: 0.35,
|
11682
11688
|
anchor: "middle_top"
|
11683
11689
|
},
|
11684
|
-
{ ...
|
11690
|
+
{ ...texts74.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
11685
11691
|
],
|
11686
11692
|
ports: [
|
11687
11693
|
{ ...refblocks53.left1, labels: ["1"] },
|
@@ -11843,13 +11849,13 @@ var varactor_diode_default = {
|
|
11843
11849
|
};
|
11844
11850
|
|
11845
11851
|
// symbols/varactor_diode_horz.ts
|
11846
|
-
var { paths: paths54, texts:
|
11852
|
+
var { paths: paths54, texts: texts75, bounds: bounds54, refblocks: refblocks54, circles: circles46 } = varactor_diode_default;
|
11847
11853
|
var varactor_diode_horz_default = defineSymbol({
|
11848
11854
|
primitives: [
|
11849
11855
|
...Object.values(paths54),
|
11850
11856
|
...Object.values(circles46),
|
11851
|
-
{ ...
|
11852
|
-
{ ...
|
11857
|
+
{ ...texts75.top1, anchor: "middle_bottom" },
|
11858
|
+
{ ...texts75.bottom1, anchor: "middle_top" }
|
11853
11859
|
],
|
11854
11860
|
ports: [
|
11855
11861
|
{ ...refblocks54.left1, labels: ["1"] },
|
@@ -11862,16 +11868,16 @@ var varactor_diode_horz_default = defineSymbol({
|
|
11862
11868
|
});
|
11863
11869
|
|
11864
11870
|
// symbols/varactor_diode_vert.ts
|
11865
|
-
var
|
11866
|
-
var
|
11871
|
+
var rotated12 = rotateSymbol(varactor_diode_horz_default);
|
11872
|
+
var ref34 = rotated12.primitives.find(
|
11867
11873
|
(p) => p.type === "text" && p.text === "{REF}"
|
11868
11874
|
);
|
11869
|
-
var
|
11875
|
+
var val29 = rotated12.primitives.find(
|
11870
11876
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11871
11877
|
);
|
11872
|
-
|
11873
|
-
|
11874
|
-
var varactor_diode_vert_default =
|
11878
|
+
ref34.anchor = "middle_left";
|
11879
|
+
val29.anchor = "middle_right";
|
11880
|
+
var varactor_diode_vert_default = rotated12;
|
11875
11881
|
|
11876
11882
|
// assets/generated/varistor.json
|
11877
11883
|
var varistor_default = {
|
@@ -12006,12 +12012,12 @@ var varistor_default = {
|
|
12006
12012
|
};
|
12007
12013
|
|
12008
12014
|
// symbols/varistor_horz.ts
|
12009
|
-
var { paths: paths55, texts:
|
12015
|
+
var { paths: paths55, texts: texts76, bounds: bounds55, refblocks: refblocks55 } = varistor_default;
|
12010
12016
|
var varistor_horz_default = defineSymbol({
|
12011
12017
|
primitives: [
|
12012
12018
|
...Object.values(paths55),
|
12013
|
-
{ ...
|
12014
|
-
{ ...
|
12019
|
+
{ ...texts76.top1, anchor: "middle_left" },
|
12020
|
+
{ ...texts76.bottom1, anchor: "middle_right" }
|
12015
12021
|
],
|
12016
12022
|
ports: [
|
12017
12023
|
{
|
@@ -12118,7 +12124,7 @@ var varmeter_default = {
|
|
12118
12124
|
};
|
12119
12125
|
|
12120
12126
|
// symbols/varmeter_horz.ts
|
12121
|
-
var { paths: paths56, texts:
|
12127
|
+
var { paths: paths56, texts: texts77, bounds: bounds56, refblocks: refblocks56, circles: circles47 } = varmeter_default;
|
12122
12128
|
var varmeter_horz_default = defineSymbol({
|
12123
12129
|
primitives: [
|
12124
12130
|
...Object.values(paths56),
|
@@ -12137,7 +12143,7 @@ var varmeter_horz_default = defineSymbol({
|
|
12137
12143
|
y: 0.35,
|
12138
12144
|
anchor: "middle_top"
|
12139
12145
|
},
|
12140
|
-
{ ...
|
12146
|
+
{ ...texts77.left1, anchor: "center", fontSize: 0.2 }
|
12141
12147
|
],
|
12142
12148
|
ports: [
|
12143
12149
|
{ ...refblocks56.left1, labels: ["1"] },
|
@@ -12263,7 +12269,7 @@ var volt_meter_default = {
|
|
12263
12269
|
};
|
12264
12270
|
|
12265
12271
|
// symbols/volt_meter_horz.ts
|
12266
|
-
var { paths: paths57, texts:
|
12272
|
+
var { paths: paths57, texts: texts78, bounds: bounds57, circles: circles48, refblocks: refblocks57 } = volt_meter_default;
|
12267
12273
|
var volt_meter_horz_default = defineSymbol({
|
12268
12274
|
primitives: [
|
12269
12275
|
...Object.values(paths57),
|
@@ -12383,7 +12389,7 @@ var watt_hour_meter_default = {
|
|
12383
12389
|
};
|
12384
12390
|
|
12385
12391
|
// symbols/watt_hour_meter_horz.ts
|
12386
|
-
var { paths: paths58, texts:
|
12392
|
+
var { paths: paths58, texts: texts79, bounds: bounds58, refblocks: refblocks58, circles: circles49 } = watt_hour_meter_default;
|
12387
12393
|
var watt_hour_meter_horz_default = defineSymbol({
|
12388
12394
|
primitives: [
|
12389
12395
|
...Object.values(paths58),
|
@@ -12402,7 +12408,7 @@ var watt_hour_meter_horz_default = defineSymbol({
|
|
12402
12408
|
y: 0.35,
|
12403
12409
|
anchor: "middle_top"
|
12404
12410
|
},
|
12405
|
-
{ ...
|
12411
|
+
{ ...texts79.left1, anchor: "center", fontSize: 0.2 }
|
12406
12412
|
],
|
12407
12413
|
ports: [
|
12408
12414
|
{ ...refblocks58.left1, labels: ["1"] },
|
@@ -12515,7 +12521,7 @@ var wattmeter_default = {
|
|
12515
12521
|
};
|
12516
12522
|
|
12517
12523
|
// symbols/wattmeter_horz.ts
|
12518
|
-
var { paths: paths59, texts:
|
12524
|
+
var { paths: paths59, texts: texts80, bounds: bounds59, refblocks: refblocks59, circles: circles50 } = wattmeter_default;
|
12519
12525
|
var wattmeter_horz_default = defineSymbol({
|
12520
12526
|
primitives: [
|
12521
12527
|
...Object.values(paths59),
|
@@ -12534,7 +12540,7 @@ var wattmeter_horz_default = defineSymbol({
|
|
12534
12540
|
y: 0.35,
|
12535
12541
|
anchor: "middle_top"
|
12536
12542
|
},
|
12537
|
-
{ ...
|
12543
|
+
{ ...texts80.left1, anchor: "center", fontSize: 0.3 }
|
12538
12544
|
],
|
12539
12545
|
ports: [
|
12540
12546
|
{ ...refblocks59.left1, labels: ["1"] },
|
@@ -12707,13 +12713,13 @@ var zener_diode_default = {
|
|
12707
12713
|
};
|
12708
12714
|
|
12709
12715
|
// symbols/zener_diode_horz.ts
|
12710
|
-
var { paths: paths60, texts:
|
12716
|
+
var { paths: paths60, texts: texts81, bounds: bounds60, refblocks: refblocks60, circles: circles51 } = zener_diode_default;
|
12711
12717
|
var zener_diode_horz_default = defineSymbol({
|
12712
12718
|
primitives: [
|
12713
12719
|
...Object.values(paths60),
|
12714
12720
|
...Object.values(circles51),
|
12715
|
-
{ ...
|
12716
|
-
{ ...
|
12721
|
+
{ ...texts81.top1, anchor: "middle_bottom" },
|
12722
|
+
{ ...texts81.bottom1, anchor: "middle_top" }
|
12717
12723
|
],
|
12718
12724
|
ports: [
|
12719
12725
|
{ ...refblocks60.left1, labels: ["1"] },
|
@@ -12726,16 +12732,16 @@ var zener_diode_horz_default = defineSymbol({
|
|
12726
12732
|
});
|
12727
12733
|
|
12728
12734
|
// symbols/zener_diode_vert.ts
|
12729
|
-
var
|
12730
|
-
var
|
12735
|
+
var rotated13 = rotateSymbol(zener_diode_horz_default);
|
12736
|
+
var ref35 = rotated13.primitives.find(
|
12731
12737
|
(p) => p.type === "text" && p.text === "{REF}"
|
12732
12738
|
);
|
12733
|
-
var
|
12739
|
+
var val30 = rotated13.primitives.find(
|
12734
12740
|
(p) => p.type === "text" && p.text === "{VAL}"
|
12735
12741
|
);
|
12736
|
-
|
12737
|
-
|
12738
|
-
var zener_diode_vert_default =
|
12742
|
+
ref35.anchor = "middle_left";
|
12743
|
+
val30.anchor = "middle_right";
|
12744
|
+
var zener_diode_vert_default = rotated13;
|
12739
12745
|
|
12740
12746
|
// generated/symbols-index.ts
|
12741
12747
|
var symbols_index_default = {
|