schematic-symbols 0.0.72 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +571 -216
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/SPDT_switch_horz.ts +21 -0
- package/symbols/SPDT_switch_vert.ts +20 -0
- package/symbols/pnp_bipolar_transistor_horz.ts +33 -0
- package/symbols/pnp_bipolar_transistor_vert.ts +12 -0
package/dist/index.js
CHANGED
@@ -4737,6 +4737,206 @@ ref16.x = 0.35;
|
|
4737
4737
|
ref16.anchor = "middle_left";
|
4738
4738
|
var pjfet_transistor_vert_default = rotatedSymbol15;
|
4739
4739
|
|
4740
|
+
// assets/generated/pnp_bipolar_transistor.json
|
4741
|
+
var pnp_bipolar_transistor_default = {
|
4742
|
+
paths: {
|
4743
|
+
path11: {
|
4744
|
+
type: "path",
|
4745
|
+
points: [
|
4746
|
+
{
|
4747
|
+
x: -0.3850939444999988,
|
4748
|
+
y: 0.0036735999999999436
|
4749
|
+
},
|
4750
|
+
{
|
4751
|
+
x: 0.0587620555000008,
|
4752
|
+
y: 0.0062965999999997635
|
4753
|
+
}
|
4754
|
+
],
|
4755
|
+
color: "primary",
|
4756
|
+
fill: false
|
4757
|
+
},
|
4758
|
+
"path40-0": {
|
4759
|
+
type: "path",
|
4760
|
+
points: [
|
4761
|
+
{
|
4762
|
+
x: 0.07400475550000118,
|
4763
|
+
y: -0.2689528999999997
|
4764
|
+
},
|
4765
|
+
{
|
4766
|
+
x: 0.07335475550000092,
|
4767
|
+
y: 0.2789230000000007
|
4768
|
+
}
|
4769
|
+
],
|
4770
|
+
color: "primary",
|
4771
|
+
fill: false
|
4772
|
+
},
|
4773
|
+
"path40-0-5": {
|
4774
|
+
type: "path",
|
4775
|
+
points: [
|
4776
|
+
{
|
4777
|
+
x: 0.2754149555000005,
|
4778
|
+
y: -0.24180210000000013
|
4779
|
+
},
|
4780
|
+
{
|
4781
|
+
x: 0.07955815550000045,
|
4782
|
+
y: -0.10822479999999968
|
4783
|
+
}
|
4784
|
+
],
|
4785
|
+
color: "primary",
|
4786
|
+
fill: false
|
4787
|
+
},
|
4788
|
+
"path40-0-5-0": {
|
4789
|
+
type: "path",
|
4790
|
+
points: [
|
4791
|
+
{
|
4792
|
+
x: 0.2868554555000009,
|
4793
|
+
y: 0.24134789999999984
|
4794
|
+
},
|
4795
|
+
{
|
4796
|
+
x: 0.09194705550000082,
|
4797
|
+
y: 0.10807689999999992
|
4798
|
+
}
|
4799
|
+
],
|
4800
|
+
color: "primary",
|
4801
|
+
fill: false
|
4802
|
+
},
|
4803
|
+
"path12-1-5": {
|
4804
|
+
type: "path",
|
4805
|
+
points: [
|
4806
|
+
{
|
4807
|
+
x: 0.2851204555,
|
4808
|
+
y: -0.25311099999999964
|
4809
|
+
},
|
4810
|
+
{
|
4811
|
+
x: 0.2860204555000001,
|
4812
|
+
y: -0.5377640999999995
|
4813
|
+
}
|
4814
|
+
],
|
4815
|
+
color: "primary",
|
4816
|
+
fill: false
|
4817
|
+
},
|
4818
|
+
"path12-1-5-3": {
|
4819
|
+
type: "path",
|
4820
|
+
points: [
|
4821
|
+
{
|
4822
|
+
x: 0.2851204555,
|
4823
|
+
y: 0.5376890000000012
|
4824
|
+
},
|
4825
|
+
{
|
4826
|
+
x: 0.2860204555000001,
|
4827
|
+
y: 0.25303590000000065
|
4828
|
+
}
|
4829
|
+
],
|
4830
|
+
color: "primary",
|
4831
|
+
fill: false
|
4832
|
+
},
|
4833
|
+
path15: {
|
4834
|
+
type: "path",
|
4835
|
+
points: [
|
4836
|
+
{
|
4837
|
+
x: 0.15155145550000038,
|
4838
|
+
y: 0.2268796000000004
|
4839
|
+
},
|
4840
|
+
{
|
4841
|
+
x: 0.2242753555000001,
|
4842
|
+
y: 0.12301900000000021
|
4843
|
+
},
|
4844
|
+
{
|
4845
|
+
x: 0.11557535549999942,
|
4846
|
+
y: 0.12338900000000042
|
4847
|
+
}
|
4848
|
+
],
|
4849
|
+
color: "primary",
|
4850
|
+
fill: true
|
4851
|
+
}
|
4852
|
+
},
|
4853
|
+
texts: {
|
4854
|
+
top1: {
|
4855
|
+
type: "text",
|
4856
|
+
text: "{REF}",
|
4857
|
+
x: -0.22497334449999973,
|
4858
|
+
y: -0.3596647999999991
|
4859
|
+
},
|
4860
|
+
bottom1: {
|
4861
|
+
type: "text",
|
4862
|
+
text: "{VAL}",
|
4863
|
+
x: -0.0679100444999996,
|
4864
|
+
y: 0.4129789000000006
|
4865
|
+
}
|
4866
|
+
},
|
4867
|
+
refblocks: {
|
4868
|
+
top1: {
|
4869
|
+
x: 0.28556045550000064,
|
4870
|
+
y: -0.5519250999999994
|
4871
|
+
},
|
4872
|
+
bottom1: {
|
4873
|
+
x: 0.285560455500002,
|
4874
|
+
y: 0.5519250999999992
|
4875
|
+
},
|
4876
|
+
left1: {
|
4877
|
+
x: -0.3990097444999998,
|
4878
|
+
y: 0.004526300000000871
|
4879
|
+
}
|
4880
|
+
},
|
4881
|
+
bounds: {
|
4882
|
+
minX: -0.4271681854999998,
|
4883
|
+
maxX: 0.4271681855000001,
|
4884
|
+
minY: -0.5800835409999994,
|
4885
|
+
maxY: 0.5800835409999991,
|
4886
|
+
width: 1,
|
4887
|
+
height: 1.1601670819999985,
|
4888
|
+
centerX: 13877787807814457e-32,
|
4889
|
+
centerY: -11102230246251565e-32
|
4890
|
+
},
|
4891
|
+
circles: {
|
4892
|
+
"path1-0": {
|
4893
|
+
type: "circle",
|
4894
|
+
x: 0.13862605550000007,
|
4895
|
+
y: -0.003454799999999203,
|
4896
|
+
radius: 0.28854213,
|
4897
|
+
color: "primary",
|
4898
|
+
fill: false
|
4899
|
+
}
|
4900
|
+
}
|
4901
|
+
};
|
4902
|
+
|
4903
|
+
// symbols/pnp_bipolar_transistor_horz.ts
|
4904
|
+
var { paths: paths25, texts: texts36, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = pnp_bipolar_transistor_default;
|
4905
|
+
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
4906
|
+
primitives: [
|
4907
|
+
...Object.values(paths25),
|
4908
|
+
...Object.values(circles19),
|
4909
|
+
{
|
4910
|
+
type: "text",
|
4911
|
+
text: "{REF}",
|
4912
|
+
x: -0.07,
|
4913
|
+
y: -0.3596647999999991,
|
4914
|
+
anchor: "middle_right"
|
4915
|
+
},
|
4916
|
+
{
|
4917
|
+
type: "text",
|
4918
|
+
text: "{VAL}",
|
4919
|
+
x: -0.0679100444999996,
|
4920
|
+
y: 0.4129789000000006,
|
4921
|
+
anchor: "middle_right"
|
4922
|
+
}
|
4923
|
+
],
|
4924
|
+
ports: [
|
4925
|
+
{ ...refblocks25.top1, labels: ["1", "collector"] },
|
4926
|
+
{ ...refblocks25.bottom1, labels: ["2", "emitter"] },
|
4927
|
+
{ ...refblocks25.left1, labels: ["3", "base"] }
|
4928
|
+
],
|
4929
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4930
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4931
|
+
});
|
4932
|
+
|
4933
|
+
// symbols/pnp_bipolar_transistor_vert.ts
|
4934
|
+
var rotatedSymbol16 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
4935
|
+
var texts37 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
4936
|
+
var ref17 = texts37.find((t) => t.text === "{REF}");
|
4937
|
+
ref17.anchor = "middle_left";
|
4938
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol16;
|
4939
|
+
|
4740
4940
|
// assets/generated/potentiometer.json
|
4741
4941
|
var potentiometer_default = {
|
4742
4942
|
paths: {
|
@@ -4873,21 +5073,21 @@ var potentiometer_default = {
|
|
4873
5073
|
};
|
4874
5074
|
|
4875
5075
|
// symbols/potentiometer_horz.ts
|
4876
|
-
var { paths:
|
5076
|
+
var { paths: paths26, texts: texts38, bounds: bounds26, refblocks: refblocks26 } = potentiometer_default;
|
4877
5077
|
var potentiometer_horz_default = defineSymbol({
|
4878
5078
|
primitives: [
|
4879
|
-
...Object.values(
|
4880
|
-
{ ...
|
4881
|
-
{ ...
|
5079
|
+
...Object.values(paths26),
|
5080
|
+
{ ...texts38.bottom1, y: 0.35, anchor: "middle_top" },
|
5081
|
+
{ ...texts38.right1, anchor: "middle_left" }
|
4882
5082
|
],
|
4883
5083
|
ports: [
|
4884
|
-
{ ...
|
5084
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4885
5085
|
// TODO add more "standard" labels
|
4886
|
-
{ ...
|
5086
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4887
5087
|
// TODO add more "standard" labels
|
4888
5088
|
],
|
4889
|
-
size: { width:
|
4890
|
-
center: { x:
|
5089
|
+
size: { width: bounds26.width + 0.05, height: bounds26.height },
|
5090
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4891
5091
|
});
|
4892
5092
|
|
4893
5093
|
// symbols/potentiometer_vert.ts
|
@@ -5049,21 +5249,21 @@ var potentiometer2_default = {
|
|
5049
5249
|
};
|
5050
5250
|
|
5051
5251
|
// symbols/potentiometer2_horz.ts
|
5052
|
-
var { paths:
|
5252
|
+
var { paths: paths27, texts: texts39, bounds: bounds27, refblocks: refblocks27 } = potentiometer2_default;
|
5053
5253
|
var potentiometer2_horz_default = defineSymbol({
|
5054
5254
|
primitives: [
|
5055
|
-
...Object.values(
|
5056
|
-
{ ...
|
5057
|
-
{ ...
|
5255
|
+
...Object.values(paths27),
|
5256
|
+
{ ...texts39.bottom1, anchor: "middle_right" },
|
5257
|
+
{ ...texts39.top1, anchor: "middle_left" }
|
5058
5258
|
],
|
5059
5259
|
ports: [
|
5060
|
-
{ ...
|
5260
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
5061
5261
|
// TODO add more "standard" labels
|
5062
|
-
{ ...
|
5262
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
5063
5263
|
// TODO add more "standard" labels
|
5064
5264
|
],
|
5065
|
-
size: { width:
|
5066
|
-
center: { x:
|
5265
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5266
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5067
5267
|
});
|
5068
5268
|
|
5069
5269
|
// symbols/potentiometer2_vert.ts
|
@@ -5156,11 +5356,11 @@ var power_factor_meter_default = {
|
|
5156
5356
|
};
|
5157
5357
|
|
5158
5358
|
// symbols/power_factor_meter_horz.ts
|
5159
|
-
var { paths:
|
5359
|
+
var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28, circles: circles20 } = power_factor_meter_default;
|
5160
5360
|
var power_factor_meter_horz_default = defineSymbol({
|
5161
5361
|
primitives: [
|
5162
|
-
...Object.values(
|
5163
|
-
...Object.values(
|
5362
|
+
...Object.values(paths28),
|
5363
|
+
...Object.values(circles20),
|
5164
5364
|
// { ...texts.top1, anchor: "middle_left" },
|
5165
5365
|
{
|
5166
5366
|
type: "text",
|
@@ -5187,28 +5387,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
5187
5387
|
}
|
5188
5388
|
],
|
5189
5389
|
ports: [
|
5190
|
-
{ ...
|
5390
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5191
5391
|
// TODO add more "standard" labels
|
5192
|
-
{ ...
|
5392
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5193
5393
|
// TODO add more "standard" labels
|
5194
5394
|
],
|
5195
|
-
size: { width:
|
5196
|
-
center: { x:
|
5395
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5396
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5197
5397
|
});
|
5198
5398
|
|
5199
5399
|
// symbols/power_factor_meter_vert.ts
|
5200
|
-
var
|
5201
|
-
var
|
5202
|
-
var
|
5203
|
-
var val14 =
|
5204
|
-
var text_cos =
|
5205
|
-
|
5206
|
-
|
5400
|
+
var rotatedSymbol17 = rotateSymbol(power_factor_meter_horz_default);
|
5401
|
+
var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
5402
|
+
var ref18 = texts41.find((t) => t.text === "{REF}");
|
5403
|
+
var val14 = texts41.find((t) => t.text === "{VAL}");
|
5404
|
+
var text_cos = texts41.find((t) => t.text === "COS \u03C6");
|
5405
|
+
ref18.x = 0.35;
|
5406
|
+
ref18.y = 0;
|
5207
5407
|
val14.x = -0.6;
|
5208
5408
|
val14.y = 0;
|
5209
5409
|
text_cos.x = -0.1;
|
5210
5410
|
text_cos.y = 0;
|
5211
|
-
var power_factor_meter_vert_default =
|
5411
|
+
var power_factor_meter_vert_default = rotatedSymbol17;
|
5212
5412
|
|
5213
5413
|
// assets/generated/push_button_normally_closed_momentary.json
|
5214
5414
|
var push_button_normally_closed_momentary_default = {
|
@@ -5311,35 +5511,35 @@ var push_button_normally_closed_momentary_default = {
|
|
5311
5511
|
};
|
5312
5512
|
|
5313
5513
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
5314
|
-
var { paths:
|
5514
|
+
var { paths: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = push_button_normally_closed_momentary_default;
|
5315
5515
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
5316
5516
|
primitives: [
|
5317
|
-
...Object.values(
|
5318
|
-
{ ...
|
5319
|
-
{ ...
|
5517
|
+
...Object.values(paths29),
|
5518
|
+
{ ...texts42.top1, anchor: "middle_bottom" },
|
5519
|
+
{ ...texts42.bottom1, anchor: "middle_top" }
|
5320
5520
|
],
|
5321
5521
|
ports: [
|
5322
|
-
{ ...
|
5522
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5323
5523
|
// TODO add more "standard" labels
|
5324
|
-
{ ...
|
5524
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
5325
5525
|
// TODO add more "standard" labels
|
5326
5526
|
],
|
5327
|
-
size: { width:
|
5328
|
-
center: { x:
|
5527
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5528
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5329
5529
|
});
|
5330
5530
|
|
5331
5531
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
5332
5532
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
5333
|
-
var
|
5533
|
+
var ref19 = rotated6.primitives.find(
|
5334
5534
|
(p) => p.type === "text" && p.text === "{REF}"
|
5335
5535
|
);
|
5336
5536
|
var val15 = rotated6.primitives.find(
|
5337
5537
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5338
5538
|
);
|
5339
|
-
|
5539
|
+
ref19.anchor = "middle_left";
|
5340
5540
|
val15.anchor = "middle_right";
|
5341
|
-
|
5342
|
-
|
5541
|
+
ref19.x = ref19.x - 0.03;
|
5542
|
+
ref19.y = ref19.y;
|
5343
5543
|
val15.x = val15.x;
|
5344
5544
|
val15.y = 0;
|
5345
5545
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
@@ -5445,35 +5645,35 @@ var push_button_normally_open_momentary_default = {
|
|
5445
5645
|
};
|
5446
5646
|
|
5447
5647
|
// symbols/push_button_normally_open_momentary_horz.ts
|
5448
|
-
var { paths:
|
5648
|
+
var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30 } = push_button_normally_open_momentary_default;
|
5449
5649
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
5450
5650
|
primitives: [
|
5451
|
-
...Object.values(
|
5452
|
-
{ ...
|
5453
|
-
{ ...
|
5651
|
+
...Object.values(paths30),
|
5652
|
+
{ ...texts43.top1, anchor: "middle_bottom" },
|
5653
|
+
{ ...texts43.bottom1, anchor: "middle_top" }
|
5454
5654
|
],
|
5455
5655
|
ports: [
|
5456
|
-
{ ...
|
5656
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5457
5657
|
// TODO add more "standard" labels
|
5458
|
-
{ ...
|
5658
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
5459
5659
|
// TODO add more "standard" labels
|
5460
5660
|
],
|
5461
|
-
size: { width:
|
5462
|
-
center: { x:
|
5661
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5662
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5463
5663
|
});
|
5464
5664
|
|
5465
5665
|
// symbols/push_button_normally_open_momentary_vert.ts
|
5466
5666
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
5467
|
-
var
|
5667
|
+
var ref20 = rotated7.primitives.find(
|
5468
5668
|
(p) => p.type === "text" && p.text === "{REF}"
|
5469
5669
|
);
|
5470
5670
|
var val16 = rotated7.primitives.find(
|
5471
5671
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5472
5672
|
);
|
5473
|
-
|
5673
|
+
ref20.anchor = "middle_left";
|
5474
5674
|
val16.anchor = "middle_right";
|
5475
|
-
|
5476
|
-
|
5675
|
+
ref20.x = ref20.x + 0.1;
|
5676
|
+
ref20.y = ref20.y;
|
5477
5677
|
val16.x = val16.x;
|
5478
5678
|
val16.y = 0;
|
5479
5679
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
@@ -5824,11 +6024,11 @@ var resonator_default = {
|
|
5824
6024
|
};
|
5825
6025
|
|
5826
6026
|
// symbols/resonator_horz.ts
|
5827
|
-
var { paths:
|
6027
|
+
var { paths: paths31, texts: texts44, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = resonator_default;
|
5828
6028
|
var resonator_horz_default = defineSymbol({
|
5829
6029
|
primitives: [
|
5830
|
-
...Object.values(
|
5831
|
-
...Object.values(
|
6030
|
+
...Object.values(paths31),
|
6031
|
+
...Object.values(circles21),
|
5832
6032
|
// { ...texts.top1, anchor: "middle_left" },
|
5833
6033
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5834
6034
|
{
|
@@ -5847,15 +6047,15 @@ var resonator_horz_default = defineSymbol({
|
|
5847
6047
|
}
|
5848
6048
|
],
|
5849
6049
|
ports: [
|
5850
|
-
{ ...
|
6050
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5851
6051
|
// TODO add more "standard" labels
|
5852
|
-
{ ...
|
6052
|
+
{ ...refblocks31.right1, labels: ["2"] },
|
5853
6053
|
// TODO add more "standard" labels
|
5854
|
-
{ ...
|
6054
|
+
{ ...refblocks31.right2, labels: ["3"] }
|
5855
6055
|
// TODO add more "standard" labels
|
5856
6056
|
],
|
5857
|
-
size: { width:
|
5858
|
-
center: { x:
|
6057
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6058
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5859
6059
|
});
|
5860
6060
|
|
5861
6061
|
// symbols/resonator_vert.ts
|
@@ -6053,33 +6253,33 @@ var schottky_diode_default = {
|
|
6053
6253
|
};
|
6054
6254
|
|
6055
6255
|
// symbols/schottky_diode_horz.ts
|
6056
|
-
var { paths:
|
6256
|
+
var { paths: paths32, texts: texts45, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = schottky_diode_default;
|
6057
6257
|
var schottky_diode_horz_default = defineSymbol({
|
6058
6258
|
primitives: [
|
6059
|
-
...Object.values(
|
6060
|
-
...Object.values(
|
6061
|
-
{ ...
|
6062
|
-
{ ...
|
6259
|
+
...Object.values(paths32),
|
6260
|
+
...Object.values(circles22),
|
6261
|
+
{ ...texts45.top1, anchor: "middle_bottom" },
|
6262
|
+
{ ...texts45.bottom1, anchor: "middle_top" }
|
6063
6263
|
],
|
6064
6264
|
ports: [
|
6065
|
-
{ ...
|
6265
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6066
6266
|
// TODO add more "standard" labels
|
6067
|
-
{ ...
|
6267
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6068
6268
|
// TODO add more "standard" labels
|
6069
6269
|
],
|
6070
|
-
size: { width:
|
6071
|
-
center: { x:
|
6270
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6271
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6072
6272
|
});
|
6073
6273
|
|
6074
6274
|
// symbols/schottky_diode_vert.ts
|
6075
6275
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
6076
|
-
var
|
6276
|
+
var ref21 = rotated8.primitives.find(
|
6077
6277
|
(p) => p.type === "text" && p.text === "{REF}"
|
6078
6278
|
);
|
6079
6279
|
var val17 = rotated8.primitives.find(
|
6080
6280
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6081
6281
|
);
|
6082
|
-
|
6282
|
+
ref21.anchor = "middle_left";
|
6083
6283
|
val17.anchor = "middle_right";
|
6084
6284
|
var schottky_diode_vert_default = rotated8;
|
6085
6285
|
|
@@ -6227,35 +6427,186 @@ var silicon_controlled_rectifier_default = {
|
|
6227
6427
|
};
|
6228
6428
|
|
6229
6429
|
// symbols/silicon_controlled_rectifier_horz.ts
|
6230
|
-
var { paths:
|
6430
|
+
var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = silicon_controlled_rectifier_default;
|
6231
6431
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
6232
6432
|
primitives: [
|
6233
|
-
...Object.values(
|
6234
|
-
...Object.values(
|
6235
|
-
{ ...
|
6236
|
-
{ ...
|
6433
|
+
...Object.values(paths33),
|
6434
|
+
...Object.values(circles23),
|
6435
|
+
{ ...texts46.top1, anchor: "middle_left" },
|
6436
|
+
{ ...texts46.bottom1, anchor: "middle_top" }
|
6237
6437
|
],
|
6238
6438
|
ports: [
|
6239
|
-
{ ...
|
6439
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6240
6440
|
// TODO add more "standard" labels
|
6241
|
-
{ ...
|
6441
|
+
{ ...refblocks33.right1, labels: ["2"] },
|
6242
6442
|
// TODO add more "standard" labels
|
6243
|
-
{ ...
|
6443
|
+
{ ...refblocks33.bottom1, labels: ["3"] }
|
6244
6444
|
// TODO add more "standard" labels
|
6245
6445
|
],
|
6246
|
-
size: { width:
|
6247
|
-
center: { x:
|
6446
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6447
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6248
6448
|
});
|
6249
6449
|
|
6250
6450
|
// symbols/silicon_controlled_rectifier_vert.ts
|
6251
|
-
var
|
6252
|
-
var
|
6451
|
+
var rotatedSymbol18 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
6452
|
+
var texts47 = rotatedSymbol18.primitives.filter(
|
6253
6453
|
(primitive) => primitive.type === "text"
|
6254
6454
|
);
|
6255
|
-
var
|
6256
|
-
|
6257
|
-
|
6258
|
-
var silicon_controlled_rectifier_vert_default =
|
6455
|
+
var ref22 = texts47.find((text) => text.text === "{REF}");
|
6456
|
+
ref22.y = 0;
|
6457
|
+
ref22.anchor = "middle_left";
|
6458
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol18;
|
6459
|
+
|
6460
|
+
// assets/generated/SPDT_switch.json
|
6461
|
+
var SPDT_switch_default = {
|
6462
|
+
paths: {
|
6463
|
+
path1: {
|
6464
|
+
type: "path",
|
6465
|
+
points: [
|
6466
|
+
{
|
6467
|
+
x: -0.3543583500000005,
|
6468
|
+
y: -0.027043850000000758
|
6469
|
+
},
|
6470
|
+
{
|
6471
|
+
x: -0.12792935000000005,
|
6472
|
+
y: -0.027043850000000758
|
6473
|
+
}
|
6474
|
+
],
|
6475
|
+
color: "primary",
|
6476
|
+
fill: false
|
6477
|
+
},
|
6478
|
+
"path-1-3": {
|
6479
|
+
type: "path",
|
6480
|
+
points: [
|
6481
|
+
{
|
6482
|
+
x: -0.1133669500000003,
|
6483
|
+
y: -0.027198750000000382
|
6484
|
+
},
|
6485
|
+
{
|
6486
|
+
x: 0.11208324999999997,
|
6487
|
+
y: -0.14100155000000036
|
6488
|
+
}
|
6489
|
+
],
|
6490
|
+
color: "primary",
|
6491
|
+
fill: false
|
6492
|
+
},
|
6493
|
+
path2: {
|
6494
|
+
type: "path",
|
6495
|
+
points: [
|
6496
|
+
{
|
6497
|
+
x: 0.1043477500000003,
|
6498
|
+
y: 0.06951304999999941
|
6499
|
+
},
|
6500
|
+
{
|
6501
|
+
x: 0.34508875000000017,
|
6502
|
+
y: 0.06951304999999941
|
6503
|
+
}
|
6504
|
+
],
|
6505
|
+
color: "primary",
|
6506
|
+
fill: false
|
6507
|
+
},
|
6508
|
+
path3: {
|
6509
|
+
type: "path",
|
6510
|
+
points: [
|
6511
|
+
{
|
6512
|
+
x: 0.12008575000000055,
|
6513
|
+
y: -0.1671466500000005
|
6514
|
+
},
|
6515
|
+
{
|
6516
|
+
x: 0.3608267500000004,
|
6517
|
+
y: -0.1671466500000005
|
6518
|
+
}
|
6519
|
+
],
|
6520
|
+
color: "primary",
|
6521
|
+
fill: false
|
6522
|
+
}
|
6523
|
+
},
|
6524
|
+
texts: {
|
6525
|
+
top1: {
|
6526
|
+
type: "text",
|
6527
|
+
text: "{REF}",
|
6528
|
+
x: -0.17853294999999947,
|
6529
|
+
y: -0.39216264999999995
|
6530
|
+
},
|
6531
|
+
bottom1: {
|
6532
|
+
type: "text",
|
6533
|
+
text: "{VAL}",
|
6534
|
+
x: -0.17853294999999947,
|
6535
|
+
y: 0.28216264999999996
|
6536
|
+
}
|
6537
|
+
},
|
6538
|
+
refblocks: {
|
6539
|
+
top1: {
|
6540
|
+
x: 0.10744654999999947,
|
6541
|
+
y: -0.16714664999999962
|
6542
|
+
},
|
6543
|
+
left1: {
|
6544
|
+
x: -0.3682737499999995,
|
6545
|
+
y: -0.02704385000000009
|
6546
|
+
},
|
6547
|
+
left2: {
|
6548
|
+
x: -0.11569114999999996,
|
6549
|
+
y: -0.02704385000000009
|
6550
|
+
},
|
6551
|
+
right1: {
|
6552
|
+
x: 0.3682737499999995,
|
6553
|
+
y: -0.16714664999999962
|
6554
|
+
},
|
6555
|
+
right2: {
|
6556
|
+
x: 0.3682737499999995,
|
6557
|
+
y: 0.06951305000000008
|
6558
|
+
},
|
6559
|
+
right3: {
|
6560
|
+
x: 0.10744725000000055,
|
6561
|
+
y: 0.06951305000000008
|
6562
|
+
}
|
6563
|
+
},
|
6564
|
+
bounds: {
|
6565
|
+
minX: -0.3964321909999995,
|
6566
|
+
maxX: 0.3964321909999995,
|
6567
|
+
minY: -0.4921626499999999,
|
6568
|
+
maxY: 0.40216264999999995,
|
6569
|
+
width: 1,
|
6570
|
+
height: 1,
|
6571
|
+
centerX: 0,
|
6572
|
+
centerY: -0.044999999999999984
|
6573
|
+
},
|
6574
|
+
circles: {}
|
6575
|
+
};
|
6576
|
+
|
6577
|
+
// symbols/SPDT_switch_horz.ts
|
6578
|
+
var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = SPDT_switch_default;
|
6579
|
+
var SPDT_switch_horz_default = defineSymbol({
|
6580
|
+
primitives: [
|
6581
|
+
...Object.values(paths34),
|
6582
|
+
...Object.values(circles24),
|
6583
|
+
{ ...texts48.top1, anchor: "middle_bottom", x: -0.01 },
|
6584
|
+
{ ...texts48.bottom1, anchor: "middle_top", x: -0.01 }
|
6585
|
+
],
|
6586
|
+
ports: [
|
6587
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6588
|
+
// TODO add more "standard" labels
|
6589
|
+
{ ...refblocks34.right1, labels: ["3"] },
|
6590
|
+
// TODO add more "standard" labels
|
6591
|
+
{ ...refblocks34.right2, labels: ["2"] }
|
6592
|
+
// TODO add more "standard" labels
|
6593
|
+
],
|
6594
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6595
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6596
|
+
});
|
6597
|
+
|
6598
|
+
// symbols/SPDT_switch_vert.ts
|
6599
|
+
var rotatedSymbol19 = rotateSymbol(SPDT_switch_horz_default);
|
6600
|
+
var texts49 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
|
6601
|
+
var val18 = texts49.find((t) => t.text === "{VAL}");
|
6602
|
+
val18.anchor = "middle_right";
|
6603
|
+
val18.x = -0.3;
|
6604
|
+
val18.y = 0;
|
6605
|
+
var ref23 = texts49.find((t) => t.text === "{REF}");
|
6606
|
+
ref23.anchor = "middle_left";
|
6607
|
+
ref23.x = 0.3;
|
6608
|
+
ref23.y = 0;
|
6609
|
+
var SPDT_switch_vert_default = rotatedSymbol19;
|
6259
6610
|
|
6260
6611
|
// assets/generated/SPST_switch.json
|
6261
6612
|
var SPST_switch_default = {
|
@@ -6352,36 +6703,36 @@ var SPST_switch_default = {
|
|
6352
6703
|
};
|
6353
6704
|
|
6354
6705
|
// symbols/SPST_switch_horz.ts
|
6355
|
-
var { paths:
|
6706
|
+
var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = SPST_switch_default;
|
6356
6707
|
var SPST_switch_horz_default = defineSymbol({
|
6357
6708
|
primitives: [
|
6358
|
-
...Object.values(
|
6359
|
-
...Object.values(
|
6360
|
-
{ ...
|
6361
|
-
{ ...
|
6709
|
+
...Object.values(paths35),
|
6710
|
+
...Object.values(circles25),
|
6711
|
+
{ ...texts50.top1, anchor: "middle_bottom", x: 0 },
|
6712
|
+
{ ...texts50.bottom1, anchor: "middle_top", x: 0 }
|
6362
6713
|
],
|
6363
6714
|
ports: [
|
6364
|
-
{ ...
|
6715
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6365
6716
|
// TODO add more "standard" labels
|
6366
|
-
{ ...
|
6717
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6367
6718
|
// TODO add more "standard" labels
|
6368
6719
|
],
|
6369
|
-
size: { width:
|
6370
|
-
center: { x:
|
6720
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6721
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6371
6722
|
});
|
6372
6723
|
|
6373
6724
|
// symbols/SPST_switch_vert.ts
|
6374
|
-
var
|
6375
|
-
var
|
6376
|
-
var
|
6377
|
-
|
6378
|
-
|
6379
|
-
|
6380
|
-
var
|
6381
|
-
|
6382
|
-
|
6383
|
-
|
6384
|
-
var SPST_switch_vert_default =
|
6725
|
+
var rotatedSymbol20 = rotateSymbol(SPST_switch_horz_default);
|
6726
|
+
var texts51 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
|
6727
|
+
var val19 = texts51.find((t) => t.text === "{VAL}");
|
6728
|
+
val19.anchor = "middle_right";
|
6729
|
+
val19.x = -0.3;
|
6730
|
+
val19.y = 0;
|
6731
|
+
var ref24 = texts51.find((t) => t.text === "{REF}");
|
6732
|
+
ref24.anchor = "middle_left";
|
6733
|
+
ref24.x = 0.3;
|
6734
|
+
ref24.y = 0;
|
6735
|
+
var SPST_switch_vert_default = rotatedSymbol20;
|
6385
6736
|
|
6386
6737
|
// assets/generated/step_recovery_diode.json
|
6387
6738
|
var step_recovery_diode_default = {
|
@@ -6545,11 +6896,11 @@ var step_recovery_diode_default = {
|
|
6545
6896
|
};
|
6546
6897
|
|
6547
6898
|
// symbols/step_recovery_diode_horz.ts
|
6548
|
-
var { paths:
|
6899
|
+
var { paths: paths36, texts: texts52, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = step_recovery_diode_default;
|
6549
6900
|
var step_recovery_diode_horz_default = defineSymbol({
|
6550
6901
|
primitives: [
|
6551
|
-
...Object.values(
|
6552
|
-
...Object.values(
|
6902
|
+
...Object.values(paths36),
|
6903
|
+
...Object.values(circles26),
|
6553
6904
|
// { ...texts.top1, anchor: "middle_left" },
|
6554
6905
|
// { ...texts.bottom1, anchor: "middle_left" },
|
6555
6906
|
{
|
@@ -6568,13 +6919,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
6568
6919
|
}
|
6569
6920
|
],
|
6570
6921
|
ports: [
|
6571
|
-
{ ...
|
6922
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6572
6923
|
// TODO add more "standard" labels
|
6573
|
-
{ ...
|
6924
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6574
6925
|
// TODO add more "standard" labels
|
6575
6926
|
],
|
6576
|
-
size: { width:
|
6577
|
-
center: { x:
|
6927
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6928
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6578
6929
|
});
|
6579
6930
|
|
6580
6931
|
// symbols/step_recovery_diode_vert.ts
|
@@ -6771,36 +7122,36 @@ var triac_default = {
|
|
6771
7122
|
};
|
6772
7123
|
|
6773
7124
|
// symbols/triac_horz.ts
|
6774
|
-
var { paths:
|
7125
|
+
var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = triac_default;
|
6775
7126
|
var triac_horz_default = defineSymbol({
|
6776
7127
|
primitives: [
|
6777
|
-
...Object.values(
|
6778
|
-
...Object.values(
|
6779
|
-
{ ...
|
6780
|
-
{ ...
|
7128
|
+
...Object.values(paths37),
|
7129
|
+
...Object.values(circles27),
|
7130
|
+
{ ...texts53.top1, anchor: "middle_left" },
|
7131
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
6781
7132
|
],
|
6782
7133
|
ports: [
|
6783
|
-
{ ...
|
7134
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
6784
7135
|
// TODO add more "standard" labels
|
6785
|
-
{ ...
|
7136
|
+
{ ...refblocks37.right1, labels: ["2"] },
|
6786
7137
|
// TODO add more "standard" labels
|
6787
|
-
{ ...
|
7138
|
+
{ ...refblocks37.bottom1, labels: ["3"] }
|
6788
7139
|
// TODO add more "standard" labels
|
6789
7140
|
],
|
6790
|
-
size: { width:
|
6791
|
-
center: { x:
|
7141
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7142
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6792
7143
|
});
|
6793
7144
|
|
6794
7145
|
// symbols/triac_vert.ts
|
6795
|
-
var
|
6796
|
-
var
|
7146
|
+
var rotatedSymbol21 = rotateSymbol(triac_horz_default);
|
7147
|
+
var texts54 = rotatedSymbol21.primitives.filter(
|
6797
7148
|
(primitive) => primitive.type === "text"
|
6798
7149
|
);
|
6799
|
-
var
|
6800
|
-
var
|
6801
|
-
|
6802
|
-
|
6803
|
-
var triac_vert_default =
|
7150
|
+
var ref25 = texts54.find((text) => text.text === "{REF}");
|
7151
|
+
var val20 = texts54.find((text) => text.text === "{VAL}");
|
7152
|
+
ref25.y = 0;
|
7153
|
+
val20.y = 0;
|
7154
|
+
var triac_vert_default = rotatedSymbol21;
|
6804
7155
|
|
6805
7156
|
// assets/generated/tunnel_diode.json
|
6806
7157
|
var tunnel_diode_default = {
|
@@ -6964,34 +7315,34 @@ var tunnel_diode_default = {
|
|
6964
7315
|
};
|
6965
7316
|
|
6966
7317
|
// symbols/tunnel_diode_horz.ts
|
6967
|
-
var { paths:
|
7318
|
+
var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = tunnel_diode_default;
|
6968
7319
|
var tunnel_diode_horz_default = defineSymbol({
|
6969
7320
|
primitives: [
|
6970
|
-
...Object.values(
|
6971
|
-
...Object.values(
|
6972
|
-
{ ...
|
6973
|
-
{ ...
|
7321
|
+
...Object.values(paths38),
|
7322
|
+
...Object.values(circles28),
|
7323
|
+
{ ...texts55.top1, anchor: "middle_bottom" },
|
7324
|
+
{ ...texts55.bottom1, anchor: "middle_top" }
|
6974
7325
|
],
|
6975
7326
|
ports: [
|
6976
|
-
{ ...
|
7327
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
6977
7328
|
// TODO add more "standard" labels
|
6978
|
-
{ ...
|
7329
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
6979
7330
|
// TODO add more "standard" labels
|
6980
7331
|
],
|
6981
|
-
size: { width:
|
6982
|
-
center: { x:
|
7332
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7333
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
6983
7334
|
});
|
6984
7335
|
|
6985
7336
|
// symbols/tunnel_diode_vert.ts
|
6986
7337
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
6987
|
-
var
|
7338
|
+
var ref26 = rotated9.primitives.find(
|
6988
7339
|
(p) => p.type === "text" && p.text === "{REF}"
|
6989
7340
|
);
|
6990
|
-
var
|
7341
|
+
var val21 = rotated9.primitives.find(
|
6991
7342
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6992
7343
|
);
|
6993
|
-
|
6994
|
-
|
7344
|
+
ref26.anchor = "middle_left";
|
7345
|
+
val21.anchor = "middle_right";
|
6995
7346
|
var tunnel_diode_vert_default = rotated9;
|
6996
7347
|
|
6997
7348
|
// assets/generated/unijunction_transistor.json
|
@@ -7162,37 +7513,37 @@ var unijunction_transistor_default = {
|
|
7162
7513
|
};
|
7163
7514
|
|
7164
7515
|
// symbols/unijunction_transistor_horz.ts
|
7165
|
-
var { paths:
|
7516
|
+
var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = unijunction_transistor_default;
|
7166
7517
|
var unijunction_transistor_horz_default = defineSymbol({
|
7167
7518
|
primitives: [
|
7168
|
-
...Object.values(
|
7169
|
-
...Object.values(
|
7170
|
-
{ ...
|
7171
|
-
{ ...
|
7519
|
+
...Object.values(paths39),
|
7520
|
+
...Object.values(circles29),
|
7521
|
+
{ ...texts56.top1, anchor: "middle_left" },
|
7522
|
+
{ ...texts56.bottom1, anchor: "middle_right" }
|
7172
7523
|
],
|
7173
7524
|
ports: [
|
7174
|
-
{ ...
|
7525
|
+
{ ...refblocks39.top1, labels: ["1"] },
|
7175
7526
|
// TODO add more "standard" labels
|
7176
|
-
{ ...
|
7527
|
+
{ ...refblocks39.bottom1, labels: ["2"] },
|
7177
7528
|
// TODO add more "standard" labels
|
7178
|
-
{ ...
|
7529
|
+
{ ...refblocks39.left1, labels: ["3"] }
|
7179
7530
|
// TODO add more "standard" labels
|
7180
7531
|
],
|
7181
|
-
size: { width:
|
7182
|
-
center: { x:
|
7532
|
+
size: { width: bounds39.width, height: bounds39.height },
|
7533
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7183
7534
|
});
|
7184
7535
|
|
7185
7536
|
// symbols/unijunction_transistor_vert.ts
|
7186
|
-
var
|
7187
|
-
var
|
7537
|
+
var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
|
7538
|
+
var texts57 = rotatedSymbol22.primitives.filter(
|
7188
7539
|
(primitive) => primitive.type === "text"
|
7189
7540
|
);
|
7190
|
-
var
|
7191
|
-
|
7192
|
-
var
|
7193
|
-
|
7194
|
-
|
7195
|
-
var unijunction_transistor_vert_default =
|
7541
|
+
var ref27 = texts57.find((text) => text.text === "{REF}");
|
7542
|
+
ref27.y = 0.1;
|
7543
|
+
var val22 = texts57.find((text) => text.text === "{VAL}");
|
7544
|
+
val22.y = 0.1;
|
7545
|
+
val22.x = -0.4;
|
7546
|
+
var unijunction_transistor_vert_default = rotatedSymbol22;
|
7196
7547
|
|
7197
7548
|
// assets/generated/var_meter.json
|
7198
7549
|
var var_meter_default = {
|
@@ -7281,33 +7632,33 @@ var var_meter_default = {
|
|
7281
7632
|
};
|
7282
7633
|
|
7283
7634
|
// symbols/var_meter_horz.ts
|
7284
|
-
var { paths:
|
7635
|
+
var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = var_meter_default;
|
7285
7636
|
var var_meter_horz_default = defineSymbol({
|
7286
7637
|
primitives: [
|
7287
|
-
...Object.values(
|
7288
|
-
...Object.values(
|
7638
|
+
...Object.values(paths40),
|
7639
|
+
...Object.values(circles30),
|
7289
7640
|
{
|
7290
|
-
...
|
7641
|
+
...texts58.top1,
|
7291
7642
|
x: 0,
|
7292
7643
|
y: -0.3594553499999995,
|
7293
7644
|
anchor: "middle_bottom"
|
7294
7645
|
},
|
7295
7646
|
{
|
7296
|
-
...
|
7647
|
+
...texts58.bottom1,
|
7297
7648
|
x: 0,
|
7298
7649
|
y: 0.35,
|
7299
7650
|
anchor: "middle_top"
|
7300
7651
|
},
|
7301
|
-
{ ...
|
7652
|
+
{ ...texts58.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
7302
7653
|
],
|
7303
7654
|
ports: [
|
7304
|
-
{ ...
|
7655
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
7305
7656
|
// TODO add more "standard" labels
|
7306
|
-
{ ...
|
7657
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
7307
7658
|
// TODO add more "standard" labels
|
7308
7659
|
],
|
7309
|
-
size: { width:
|
7310
|
-
center: { x:
|
7660
|
+
size: { width: bounds40.width, height: bounds40.height },
|
7661
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7311
7662
|
});
|
7312
7663
|
|
7313
7664
|
// symbols/var_meter_vert.ts
|
@@ -7460,34 +7811,34 @@ var varactor_diode_default = {
|
|
7460
7811
|
};
|
7461
7812
|
|
7462
7813
|
// symbols/varactor_diode_horz.ts
|
7463
|
-
var { paths:
|
7814
|
+
var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = varactor_diode_default;
|
7464
7815
|
var varactor_diode_horz_default = defineSymbol({
|
7465
7816
|
primitives: [
|
7466
|
-
...Object.values(
|
7467
|
-
...Object.values(
|
7468
|
-
{ ...
|
7469
|
-
{ ...
|
7817
|
+
...Object.values(paths41),
|
7818
|
+
...Object.values(circles31),
|
7819
|
+
{ ...texts59.top1, anchor: "middle_bottom" },
|
7820
|
+
{ ...texts59.bottom1, anchor: "middle_top" }
|
7470
7821
|
],
|
7471
7822
|
ports: [
|
7472
|
-
{ ...
|
7823
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
7473
7824
|
// TODO add more "standard" labels
|
7474
|
-
{ ...
|
7825
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
7475
7826
|
// TODO add more "standard" labels
|
7476
7827
|
],
|
7477
|
-
size: { width:
|
7478
|
-
center: { x:
|
7828
|
+
size: { width: bounds41.width, height: bounds41.height },
|
7829
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
7479
7830
|
});
|
7480
7831
|
|
7481
7832
|
// symbols/varactor_diode_vert.ts
|
7482
7833
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
7483
|
-
var
|
7834
|
+
var ref28 = rotated10.primitives.find(
|
7484
7835
|
(p) => p.type === "text" && p.text === "{REF}"
|
7485
7836
|
);
|
7486
|
-
var
|
7837
|
+
var val23 = rotated10.primitives.find(
|
7487
7838
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7488
7839
|
);
|
7489
|
-
|
7490
|
-
|
7840
|
+
ref28.anchor = "middle_left";
|
7841
|
+
val23.anchor = "middle_right";
|
7491
7842
|
var varactor_diode_vert_default = rotated10;
|
7492
7843
|
|
7493
7844
|
// assets/generated/varistor.json
|
@@ -7622,26 +7973,26 @@ var varistor_default = {
|
|
7622
7973
|
};
|
7623
7974
|
|
7624
7975
|
// symbols/varistor_horz.ts
|
7625
|
-
var { paths:
|
7976
|
+
var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42 } = varistor_default;
|
7626
7977
|
var varistor_horz_default = defineSymbol({
|
7627
7978
|
primitives: [
|
7628
|
-
...Object.values(
|
7629
|
-
{ ...
|
7630
|
-
{ ...
|
7979
|
+
...Object.values(paths42),
|
7980
|
+
{ ...texts60.top1, anchor: "middle_left" },
|
7981
|
+
{ ...texts60.bottom1, anchor: "middle_right" }
|
7631
7982
|
],
|
7632
7983
|
ports: [
|
7633
7984
|
{
|
7634
|
-
...
|
7985
|
+
...refblocks42.left1,
|
7635
7986
|
labels: ["1", "-"]
|
7636
7987
|
},
|
7637
7988
|
{
|
7638
|
-
...
|
7989
|
+
...refblocks42.right1,
|
7639
7990
|
labels: ["2", "+"]
|
7640
7991
|
}
|
7641
7992
|
],
|
7642
|
-
size: { width:
|
7993
|
+
size: { width: bounds42.width, height: bounds42.height },
|
7643
7994
|
//{ width: 1, height: 0.24 },
|
7644
|
-
center: { x:
|
7995
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
7645
7996
|
});
|
7646
7997
|
|
7647
7998
|
// symbols/varistor_vert.ts
|
@@ -7747,11 +8098,11 @@ var volt_meter_default = {
|
|
7747
8098
|
};
|
7748
8099
|
|
7749
8100
|
// symbols/volt_meter_horz.ts
|
7750
|
-
var { paths:
|
8101
|
+
var { paths: paths43, texts: texts61, bounds: bounds43, circles: circles32, refblocks: refblocks43 } = volt_meter_default;
|
7751
8102
|
var volt_meter_horz_default = defineSymbol({
|
7752
8103
|
primitives: [
|
7753
|
-
...Object.values(
|
7754
|
-
...Object.values(
|
8104
|
+
...Object.values(paths43),
|
8105
|
+
...Object.values(circles32),
|
7755
8106
|
{
|
7756
8107
|
type: "text",
|
7757
8108
|
text: "{REF}",
|
@@ -7768,13 +8119,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
7768
8119
|
}
|
7769
8120
|
],
|
7770
8121
|
ports: [
|
7771
|
-
{ ...
|
8122
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
7772
8123
|
// TODO add more "standard" labels
|
7773
|
-
{ ...
|
8124
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
7774
8125
|
// TODO add more "standard" labels
|
7775
8126
|
],
|
7776
|
-
size: { width:
|
7777
|
-
center: { x:
|
8127
|
+
size: { width: bounds43.width, height: bounds43.height },
|
8128
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
7778
8129
|
});
|
7779
8130
|
|
7780
8131
|
// symbols/volt_meter_vert.ts
|
@@ -7927,34 +8278,34 @@ var zener_diode_default = {
|
|
7927
8278
|
};
|
7928
8279
|
|
7929
8280
|
// symbols/zener_diode_horz.ts
|
7930
|
-
var { paths:
|
8281
|
+
var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles33 } = zener_diode_default;
|
7931
8282
|
var zener_diode_horz_default = defineSymbol({
|
7932
8283
|
primitives: [
|
7933
|
-
...Object.values(
|
7934
|
-
...Object.values(
|
7935
|
-
{ ...
|
7936
|
-
{ ...
|
8284
|
+
...Object.values(paths44),
|
8285
|
+
...Object.values(circles33),
|
8286
|
+
{ ...texts62.top1, anchor: "middle_bottom" },
|
8287
|
+
{ ...texts62.bottom1, anchor: "middle_top" }
|
7937
8288
|
],
|
7938
8289
|
ports: [
|
7939
|
-
{ ...
|
8290
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
7940
8291
|
// TODO add more "standard" labels
|
7941
|
-
{ ...
|
8292
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
7942
8293
|
// TODO add more "standard" labels
|
7943
8294
|
],
|
7944
|
-
size: { width:
|
7945
|
-
center: { x:
|
8295
|
+
size: { width: bounds44.width, height: bounds44.height },
|
8296
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
7946
8297
|
});
|
7947
8298
|
|
7948
8299
|
// symbols/zener_diode_vert.ts
|
7949
8300
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
7950
|
-
var
|
8301
|
+
var ref29 = rotated11.primitives.find(
|
7951
8302
|
(p) => p.type === "text" && p.text === "{REF}"
|
7952
8303
|
);
|
7953
|
-
var
|
8304
|
+
var val24 = rotated11.primitives.find(
|
7954
8305
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7955
8306
|
);
|
7956
|
-
|
7957
|
-
|
8307
|
+
ref29.anchor = "middle_left";
|
8308
|
+
val24.anchor = "middle_right";
|
7958
8309
|
var zener_diode_vert_default = rotated11;
|
7959
8310
|
|
7960
8311
|
// generated/symbols-index.ts
|
@@ -8007,6 +8358,8 @@ var symbols_index_default = {
|
|
8007
8358
|
"photodiode_vert": photodiode_vert_default,
|
8008
8359
|
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|
8009
8360
|
"pjfet_transistor_vert": pjfet_transistor_vert_default,
|
8361
|
+
"pnp_bipolar_transistor_horz": pnp_bipolar_transistor_horz_default,
|
8362
|
+
"pnp_bipolar_transistor_vert": pnp_bipolar_transistor_vert_default,
|
8010
8363
|
"potentiometer_horz": potentiometer_horz_default,
|
8011
8364
|
"potentiometer_vert": potentiometer_vert_default,
|
8012
8365
|
"potentiometer2_horz": potentiometer2_horz_default,
|
@@ -8023,6 +8376,8 @@ var symbols_index_default = {
|
|
8023
8376
|
"schottky_diode_vert": schottky_diode_vert_default,
|
8024
8377
|
"silicon_controlled_rectifier_horz": silicon_controlled_rectifier_horz_default,
|
8025
8378
|
"silicon_controlled_rectifier_vert": silicon_controlled_rectifier_vert_default,
|
8379
|
+
"SPDT_switch_horz": SPDT_switch_horz_default,
|
8380
|
+
"SPDT_switch_vert": SPDT_switch_vert_default,
|
8026
8381
|
"SPST_switch_horz": SPST_switch_horz_default,
|
8027
8382
|
"SPST_switch_vert": SPST_switch_vert_default,
|
8028
8383
|
"step_recovery_diode_horz": step_recovery_diode_horz_default,
|