schematic-symbols 0.0.73 → 0.0.74
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +424 -222
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- 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,35 @@ 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;
|
6259
6459
|
|
6260
6460
|
// assets/generated/SPDT_switch.json
|
6261
6461
|
var SPDT_switch_default = {
|
@@ -6375,38 +6575,38 @@ var SPDT_switch_default = {
|
|
6375
6575
|
};
|
6376
6576
|
|
6377
6577
|
// symbols/SPDT_switch_horz.ts
|
6378
|
-
var { paths:
|
6578
|
+
var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = SPDT_switch_default;
|
6379
6579
|
var SPDT_switch_horz_default = defineSymbol({
|
6380
6580
|
primitives: [
|
6381
|
-
...Object.values(
|
6382
|
-
...Object.values(
|
6383
|
-
{ ...
|
6384
|
-
{ ...
|
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 }
|
6385
6585
|
],
|
6386
6586
|
ports: [
|
6387
|
-
{ ...
|
6587
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6388
6588
|
// TODO add more "standard" labels
|
6389
|
-
{ ...
|
6589
|
+
{ ...refblocks34.right1, labels: ["3"] },
|
6390
6590
|
// TODO add more "standard" labels
|
6391
|
-
{ ...
|
6591
|
+
{ ...refblocks34.right2, labels: ["2"] }
|
6392
6592
|
// TODO add more "standard" labels
|
6393
6593
|
],
|
6394
|
-
size: { width:
|
6395
|
-
center: { x:
|
6594
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6595
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6396
6596
|
});
|
6397
6597
|
|
6398
6598
|
// symbols/SPDT_switch_vert.ts
|
6399
|
-
var
|
6400
|
-
var
|
6401
|
-
var val18 =
|
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}");
|
6402
6602
|
val18.anchor = "middle_right";
|
6403
6603
|
val18.x = -0.3;
|
6404
6604
|
val18.y = 0;
|
6405
|
-
var
|
6406
|
-
|
6407
|
-
|
6408
|
-
|
6409
|
-
var SPDT_switch_vert_default =
|
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;
|
6410
6610
|
|
6411
6611
|
// assets/generated/SPST_switch.json
|
6412
6612
|
var SPST_switch_default = {
|
@@ -6503,36 +6703,36 @@ var SPST_switch_default = {
|
|
6503
6703
|
};
|
6504
6704
|
|
6505
6705
|
// symbols/SPST_switch_horz.ts
|
6506
|
-
var { paths:
|
6706
|
+
var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = SPST_switch_default;
|
6507
6707
|
var SPST_switch_horz_default = defineSymbol({
|
6508
6708
|
primitives: [
|
6509
|
-
...Object.values(
|
6510
|
-
...Object.values(
|
6511
|
-
{ ...
|
6512
|
-
{ ...
|
6709
|
+
...Object.values(paths35),
|
6710
|
+
...Object.values(circles25),
|
6711
|
+
{ ...texts50.top1, anchor: "middle_bottom", x: 0 },
|
6712
|
+
{ ...texts50.bottom1, anchor: "middle_top", x: 0 }
|
6513
6713
|
],
|
6514
6714
|
ports: [
|
6515
|
-
{ ...
|
6715
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6516
6716
|
// TODO add more "standard" labels
|
6517
|
-
{ ...
|
6717
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6518
6718
|
// TODO add more "standard" labels
|
6519
6719
|
],
|
6520
|
-
size: { width:
|
6521
|
-
center: { x:
|
6720
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6721
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6522
6722
|
});
|
6523
6723
|
|
6524
6724
|
// symbols/SPST_switch_vert.ts
|
6525
|
-
var
|
6526
|
-
var
|
6527
|
-
var val19 =
|
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}");
|
6528
6728
|
val19.anchor = "middle_right";
|
6529
6729
|
val19.x = -0.3;
|
6530
6730
|
val19.y = 0;
|
6531
|
-
var
|
6532
|
-
|
6533
|
-
|
6534
|
-
|
6535
|
-
var SPST_switch_vert_default =
|
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;
|
6536
6736
|
|
6537
6737
|
// assets/generated/step_recovery_diode.json
|
6538
6738
|
var step_recovery_diode_default = {
|
@@ -6696,11 +6896,11 @@ var step_recovery_diode_default = {
|
|
6696
6896
|
};
|
6697
6897
|
|
6698
6898
|
// symbols/step_recovery_diode_horz.ts
|
6699
|
-
var { paths:
|
6899
|
+
var { paths: paths36, texts: texts52, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = step_recovery_diode_default;
|
6700
6900
|
var step_recovery_diode_horz_default = defineSymbol({
|
6701
6901
|
primitives: [
|
6702
|
-
...Object.values(
|
6703
|
-
...Object.values(
|
6902
|
+
...Object.values(paths36),
|
6903
|
+
...Object.values(circles26),
|
6704
6904
|
// { ...texts.top1, anchor: "middle_left" },
|
6705
6905
|
// { ...texts.bottom1, anchor: "middle_left" },
|
6706
6906
|
{
|
@@ -6719,13 +6919,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
6719
6919
|
}
|
6720
6920
|
],
|
6721
6921
|
ports: [
|
6722
|
-
{ ...
|
6922
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6723
6923
|
// TODO add more "standard" labels
|
6724
|
-
{ ...
|
6924
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6725
6925
|
// TODO add more "standard" labels
|
6726
6926
|
],
|
6727
|
-
size: { width:
|
6728
|
-
center: { x:
|
6927
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6928
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6729
6929
|
});
|
6730
6930
|
|
6731
6931
|
// symbols/step_recovery_diode_vert.ts
|
@@ -6922,36 +7122,36 @@ var triac_default = {
|
|
6922
7122
|
};
|
6923
7123
|
|
6924
7124
|
// symbols/triac_horz.ts
|
6925
|
-
var { paths:
|
7125
|
+
var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = triac_default;
|
6926
7126
|
var triac_horz_default = defineSymbol({
|
6927
7127
|
primitives: [
|
6928
|
-
...Object.values(
|
6929
|
-
...Object.values(
|
6930
|
-
{ ...
|
6931
|
-
{ ...
|
7128
|
+
...Object.values(paths37),
|
7129
|
+
...Object.values(circles27),
|
7130
|
+
{ ...texts53.top1, anchor: "middle_left" },
|
7131
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
6932
7132
|
],
|
6933
7133
|
ports: [
|
6934
|
-
{ ...
|
7134
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
6935
7135
|
// TODO add more "standard" labels
|
6936
|
-
{ ...
|
7136
|
+
{ ...refblocks37.right1, labels: ["2"] },
|
6937
7137
|
// TODO add more "standard" labels
|
6938
|
-
{ ...
|
7138
|
+
{ ...refblocks37.bottom1, labels: ["3"] }
|
6939
7139
|
// TODO add more "standard" labels
|
6940
7140
|
],
|
6941
|
-
size: { width:
|
6942
|
-
center: { x:
|
7141
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7142
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6943
7143
|
});
|
6944
7144
|
|
6945
7145
|
// symbols/triac_vert.ts
|
6946
|
-
var
|
6947
|
-
var
|
7146
|
+
var rotatedSymbol21 = rotateSymbol(triac_horz_default);
|
7147
|
+
var texts54 = rotatedSymbol21.primitives.filter(
|
6948
7148
|
(primitive) => primitive.type === "text"
|
6949
7149
|
);
|
6950
|
-
var
|
6951
|
-
var val20 =
|
6952
|
-
|
7150
|
+
var ref25 = texts54.find((text) => text.text === "{REF}");
|
7151
|
+
var val20 = texts54.find((text) => text.text === "{VAL}");
|
7152
|
+
ref25.y = 0;
|
6953
7153
|
val20.y = 0;
|
6954
|
-
var triac_vert_default =
|
7154
|
+
var triac_vert_default = rotatedSymbol21;
|
6955
7155
|
|
6956
7156
|
// assets/generated/tunnel_diode.json
|
6957
7157
|
var tunnel_diode_default = {
|
@@ -7115,33 +7315,33 @@ var tunnel_diode_default = {
|
|
7115
7315
|
};
|
7116
7316
|
|
7117
7317
|
// symbols/tunnel_diode_horz.ts
|
7118
|
-
var { paths:
|
7318
|
+
var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = tunnel_diode_default;
|
7119
7319
|
var tunnel_diode_horz_default = defineSymbol({
|
7120
7320
|
primitives: [
|
7121
|
-
...Object.values(
|
7122
|
-
...Object.values(
|
7123
|
-
{ ...
|
7124
|
-
{ ...
|
7321
|
+
...Object.values(paths38),
|
7322
|
+
...Object.values(circles28),
|
7323
|
+
{ ...texts55.top1, anchor: "middle_bottom" },
|
7324
|
+
{ ...texts55.bottom1, anchor: "middle_top" }
|
7125
7325
|
],
|
7126
7326
|
ports: [
|
7127
|
-
{ ...
|
7327
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
7128
7328
|
// TODO add more "standard" labels
|
7129
|
-
{ ...
|
7329
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
7130
7330
|
// TODO add more "standard" labels
|
7131
7331
|
],
|
7132
|
-
size: { width:
|
7133
|
-
center: { x:
|
7332
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7333
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7134
7334
|
});
|
7135
7335
|
|
7136
7336
|
// symbols/tunnel_diode_vert.ts
|
7137
7337
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
7138
|
-
var
|
7338
|
+
var ref26 = rotated9.primitives.find(
|
7139
7339
|
(p) => p.type === "text" && p.text === "{REF}"
|
7140
7340
|
);
|
7141
7341
|
var val21 = rotated9.primitives.find(
|
7142
7342
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7143
7343
|
);
|
7144
|
-
|
7344
|
+
ref26.anchor = "middle_left";
|
7145
7345
|
val21.anchor = "middle_right";
|
7146
7346
|
var tunnel_diode_vert_default = rotated9;
|
7147
7347
|
|
@@ -7313,37 +7513,37 @@ var unijunction_transistor_default = {
|
|
7313
7513
|
};
|
7314
7514
|
|
7315
7515
|
// symbols/unijunction_transistor_horz.ts
|
7316
|
-
var { paths:
|
7516
|
+
var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = unijunction_transistor_default;
|
7317
7517
|
var unijunction_transistor_horz_default = defineSymbol({
|
7318
7518
|
primitives: [
|
7319
|
-
...Object.values(
|
7320
|
-
...Object.values(
|
7321
|
-
{ ...
|
7322
|
-
{ ...
|
7519
|
+
...Object.values(paths39),
|
7520
|
+
...Object.values(circles29),
|
7521
|
+
{ ...texts56.top1, anchor: "middle_left" },
|
7522
|
+
{ ...texts56.bottom1, anchor: "middle_right" }
|
7323
7523
|
],
|
7324
7524
|
ports: [
|
7325
|
-
{ ...
|
7525
|
+
{ ...refblocks39.top1, labels: ["1"] },
|
7326
7526
|
// TODO add more "standard" labels
|
7327
|
-
{ ...
|
7527
|
+
{ ...refblocks39.bottom1, labels: ["2"] },
|
7328
7528
|
// TODO add more "standard" labels
|
7329
|
-
{ ...
|
7529
|
+
{ ...refblocks39.left1, labels: ["3"] }
|
7330
7530
|
// TODO add more "standard" labels
|
7331
7531
|
],
|
7332
|
-
size: { width:
|
7333
|
-
center: { x:
|
7532
|
+
size: { width: bounds39.width, height: bounds39.height },
|
7533
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7334
7534
|
});
|
7335
7535
|
|
7336
7536
|
// symbols/unijunction_transistor_vert.ts
|
7337
|
-
var
|
7338
|
-
var
|
7537
|
+
var rotatedSymbol22 = rotateSymbol(unijunction_transistor_horz_default);
|
7538
|
+
var texts57 = rotatedSymbol22.primitives.filter(
|
7339
7539
|
(primitive) => primitive.type === "text"
|
7340
7540
|
);
|
7341
|
-
var
|
7342
|
-
|
7343
|
-
var val22 =
|
7541
|
+
var ref27 = texts57.find((text) => text.text === "{REF}");
|
7542
|
+
ref27.y = 0.1;
|
7543
|
+
var val22 = texts57.find((text) => text.text === "{VAL}");
|
7344
7544
|
val22.y = 0.1;
|
7345
7545
|
val22.x = -0.4;
|
7346
|
-
var unijunction_transistor_vert_default =
|
7546
|
+
var unijunction_transistor_vert_default = rotatedSymbol22;
|
7347
7547
|
|
7348
7548
|
// assets/generated/var_meter.json
|
7349
7549
|
var var_meter_default = {
|
@@ -7432,33 +7632,33 @@ var var_meter_default = {
|
|
7432
7632
|
};
|
7433
7633
|
|
7434
7634
|
// symbols/var_meter_horz.ts
|
7435
|
-
var { paths:
|
7635
|
+
var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = var_meter_default;
|
7436
7636
|
var var_meter_horz_default = defineSymbol({
|
7437
7637
|
primitives: [
|
7438
|
-
...Object.values(
|
7439
|
-
...Object.values(
|
7638
|
+
...Object.values(paths40),
|
7639
|
+
...Object.values(circles30),
|
7440
7640
|
{
|
7441
|
-
...
|
7641
|
+
...texts58.top1,
|
7442
7642
|
x: 0,
|
7443
7643
|
y: -0.3594553499999995,
|
7444
7644
|
anchor: "middle_bottom"
|
7445
7645
|
},
|
7446
7646
|
{
|
7447
|
-
...
|
7647
|
+
...texts58.bottom1,
|
7448
7648
|
x: 0,
|
7449
7649
|
y: 0.35,
|
7450
7650
|
anchor: "middle_top"
|
7451
7651
|
},
|
7452
|
-
{ ...
|
7652
|
+
{ ...texts58.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
7453
7653
|
],
|
7454
7654
|
ports: [
|
7455
|
-
{ ...
|
7655
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
7456
7656
|
// TODO add more "standard" labels
|
7457
|
-
{ ...
|
7657
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
7458
7658
|
// TODO add more "standard" labels
|
7459
7659
|
],
|
7460
|
-
size: { width:
|
7461
|
-
center: { x:
|
7660
|
+
size: { width: bounds40.width, height: bounds40.height },
|
7661
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7462
7662
|
});
|
7463
7663
|
|
7464
7664
|
// symbols/var_meter_vert.ts
|
@@ -7611,33 +7811,33 @@ var varactor_diode_default = {
|
|
7611
7811
|
};
|
7612
7812
|
|
7613
7813
|
// symbols/varactor_diode_horz.ts
|
7614
|
-
var { paths:
|
7814
|
+
var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = varactor_diode_default;
|
7615
7815
|
var varactor_diode_horz_default = defineSymbol({
|
7616
7816
|
primitives: [
|
7617
|
-
...Object.values(
|
7618
|
-
...Object.values(
|
7619
|
-
{ ...
|
7620
|
-
{ ...
|
7817
|
+
...Object.values(paths41),
|
7818
|
+
...Object.values(circles31),
|
7819
|
+
{ ...texts59.top1, anchor: "middle_bottom" },
|
7820
|
+
{ ...texts59.bottom1, anchor: "middle_top" }
|
7621
7821
|
],
|
7622
7822
|
ports: [
|
7623
|
-
{ ...
|
7823
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
7624
7824
|
// TODO add more "standard" labels
|
7625
|
-
{ ...
|
7825
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
7626
7826
|
// TODO add more "standard" labels
|
7627
7827
|
],
|
7628
|
-
size: { width:
|
7629
|
-
center: { x:
|
7828
|
+
size: { width: bounds41.width, height: bounds41.height },
|
7829
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
7630
7830
|
});
|
7631
7831
|
|
7632
7832
|
// symbols/varactor_diode_vert.ts
|
7633
7833
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
7634
|
-
var
|
7834
|
+
var ref28 = rotated10.primitives.find(
|
7635
7835
|
(p) => p.type === "text" && p.text === "{REF}"
|
7636
7836
|
);
|
7637
7837
|
var val23 = rotated10.primitives.find(
|
7638
7838
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7639
7839
|
);
|
7640
|
-
|
7840
|
+
ref28.anchor = "middle_left";
|
7641
7841
|
val23.anchor = "middle_right";
|
7642
7842
|
var varactor_diode_vert_default = rotated10;
|
7643
7843
|
|
@@ -7773,26 +7973,26 @@ var varistor_default = {
|
|
7773
7973
|
};
|
7774
7974
|
|
7775
7975
|
// symbols/varistor_horz.ts
|
7776
|
-
var { paths:
|
7976
|
+
var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42 } = varistor_default;
|
7777
7977
|
var varistor_horz_default = defineSymbol({
|
7778
7978
|
primitives: [
|
7779
|
-
...Object.values(
|
7780
|
-
{ ...
|
7781
|
-
{ ...
|
7979
|
+
...Object.values(paths42),
|
7980
|
+
{ ...texts60.top1, anchor: "middle_left" },
|
7981
|
+
{ ...texts60.bottom1, anchor: "middle_right" }
|
7782
7982
|
],
|
7783
7983
|
ports: [
|
7784
7984
|
{
|
7785
|
-
...
|
7985
|
+
...refblocks42.left1,
|
7786
7986
|
labels: ["1", "-"]
|
7787
7987
|
},
|
7788
7988
|
{
|
7789
|
-
...
|
7989
|
+
...refblocks42.right1,
|
7790
7990
|
labels: ["2", "+"]
|
7791
7991
|
}
|
7792
7992
|
],
|
7793
|
-
size: { width:
|
7993
|
+
size: { width: bounds42.width, height: bounds42.height },
|
7794
7994
|
//{ width: 1, height: 0.24 },
|
7795
|
-
center: { x:
|
7995
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
7796
7996
|
});
|
7797
7997
|
|
7798
7998
|
// symbols/varistor_vert.ts
|
@@ -7898,11 +8098,11 @@ var volt_meter_default = {
|
|
7898
8098
|
};
|
7899
8099
|
|
7900
8100
|
// symbols/volt_meter_horz.ts
|
7901
|
-
var { paths:
|
8101
|
+
var { paths: paths43, texts: texts61, bounds: bounds43, circles: circles32, refblocks: refblocks43 } = volt_meter_default;
|
7902
8102
|
var volt_meter_horz_default = defineSymbol({
|
7903
8103
|
primitives: [
|
7904
|
-
...Object.values(
|
7905
|
-
...Object.values(
|
8104
|
+
...Object.values(paths43),
|
8105
|
+
...Object.values(circles32),
|
7906
8106
|
{
|
7907
8107
|
type: "text",
|
7908
8108
|
text: "{REF}",
|
@@ -7919,13 +8119,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
7919
8119
|
}
|
7920
8120
|
],
|
7921
8121
|
ports: [
|
7922
|
-
{ ...
|
8122
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
7923
8123
|
// TODO add more "standard" labels
|
7924
|
-
{ ...
|
8124
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
7925
8125
|
// TODO add more "standard" labels
|
7926
8126
|
],
|
7927
|
-
size: { width:
|
7928
|
-
center: { x:
|
8127
|
+
size: { width: bounds43.width, height: bounds43.height },
|
8128
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
7929
8129
|
});
|
7930
8130
|
|
7931
8131
|
// symbols/volt_meter_vert.ts
|
@@ -8078,33 +8278,33 @@ var zener_diode_default = {
|
|
8078
8278
|
};
|
8079
8279
|
|
8080
8280
|
// symbols/zener_diode_horz.ts
|
8081
|
-
var { paths:
|
8281
|
+
var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles33 } = zener_diode_default;
|
8082
8282
|
var zener_diode_horz_default = defineSymbol({
|
8083
8283
|
primitives: [
|
8084
|
-
...Object.values(
|
8085
|
-
...Object.values(
|
8086
|
-
{ ...
|
8087
|
-
{ ...
|
8284
|
+
...Object.values(paths44),
|
8285
|
+
...Object.values(circles33),
|
8286
|
+
{ ...texts62.top1, anchor: "middle_bottom" },
|
8287
|
+
{ ...texts62.bottom1, anchor: "middle_top" }
|
8088
8288
|
],
|
8089
8289
|
ports: [
|
8090
|
-
{ ...
|
8290
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
8091
8291
|
// TODO add more "standard" labels
|
8092
|
-
{ ...
|
8292
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
8093
8293
|
// TODO add more "standard" labels
|
8094
8294
|
],
|
8095
|
-
size: { width:
|
8096
|
-
center: { x:
|
8295
|
+
size: { width: bounds44.width, height: bounds44.height },
|
8296
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
8097
8297
|
});
|
8098
8298
|
|
8099
8299
|
// symbols/zener_diode_vert.ts
|
8100
8300
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
8101
|
-
var
|
8301
|
+
var ref29 = rotated11.primitives.find(
|
8102
8302
|
(p) => p.type === "text" && p.text === "{REF}"
|
8103
8303
|
);
|
8104
8304
|
var val24 = rotated11.primitives.find(
|
8105
8305
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8106
8306
|
);
|
8107
|
-
|
8307
|
+
ref29.anchor = "middle_left";
|
8108
8308
|
val24.anchor = "middle_right";
|
8109
8309
|
var zener_diode_vert_default = rotated11;
|
8110
8310
|
|
@@ -8158,6 +8358,8 @@ var symbols_index_default = {
|
|
8158
8358
|
"photodiode_vert": photodiode_vert_default,
|
8159
8359
|
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|
8160
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,
|
8161
8363
|
"potentiometer_horz": potentiometer_horz_default,
|
8162
8364
|
"potentiometer_vert": potentiometer_vert_default,
|
8163
8365
|
"potentiometer2_horz": potentiometer2_horz_default,
|