schematic-symbols 0.0.81 → 0.0.83
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 +721 -463
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/light_dependent_resistor_horz.ts +20 -0
- package/symbols/light_dependent_resistor_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -3503,6 +3503,262 @@ val8.y = ref9.y;
|
|
3503
3503
|
val8.x = -0.3;
|
3504
3504
|
var led_vert_default = rotated3;
|
3505
3505
|
|
3506
|
+
// assets/generated/light_dependent_resistor.json
|
3507
|
+
var light_dependent_resistor_default = {
|
3508
|
+
paths: {
|
3509
|
+
path11: {
|
3510
|
+
type: "path",
|
3511
|
+
points: [
|
3512
|
+
{
|
3513
|
+
x: -0.5053201665812097,
|
3514
|
+
y: -0.010839730805804138
|
3515
|
+
},
|
3516
|
+
{
|
3517
|
+
x: -0.1829962316128657,
|
3518
|
+
y: -0.010839730805804138
|
3519
|
+
}
|
3520
|
+
],
|
3521
|
+
color: "primary",
|
3522
|
+
fill: false
|
3523
|
+
},
|
3524
|
+
"path11-2": {
|
3525
|
+
type: "path",
|
3526
|
+
points: [
|
3527
|
+
{
|
3528
|
+
x: -0.1674747072814866,
|
3529
|
+
y: -0.11471502212593476
|
3530
|
+
},
|
3531
|
+
{
|
3532
|
+
x: -0.1674747072814866,
|
3533
|
+
y: 0.07736981415388478
|
3534
|
+
}
|
3535
|
+
],
|
3536
|
+
color: "primary",
|
3537
|
+
fill: false
|
3538
|
+
},
|
3539
|
+
"path11-5": {
|
3540
|
+
type: "path",
|
3541
|
+
points: [
|
3542
|
+
{
|
3543
|
+
x: -0.1674747072814866,
|
3544
|
+
y: -0.11632056223474518
|
3545
|
+
},
|
3546
|
+
{
|
3547
|
+
x: 0.16018133830019532,
|
3548
|
+
y: -0.11632056223474518
|
3549
|
+
}
|
3550
|
+
],
|
3551
|
+
color: "primary",
|
3552
|
+
fill: false
|
3553
|
+
},
|
3554
|
+
"path11-5-5": {
|
3555
|
+
type: "path",
|
3556
|
+
points: [
|
3557
|
+
{
|
3558
|
+
x: -0.1674747072814866,
|
3559
|
+
y: 0.07736981415388478
|
3560
|
+
},
|
3561
|
+
{
|
3562
|
+
x: 0.16018133830019532,
|
3563
|
+
y: 0.07736981415388478
|
3564
|
+
}
|
3565
|
+
],
|
3566
|
+
color: "primary",
|
3567
|
+
fill: false
|
3568
|
+
},
|
3569
|
+
path12: {
|
3570
|
+
type: "path",
|
3571
|
+
points: [
|
3572
|
+
{
|
3573
|
+
x: 0.17205869804197382,
|
3574
|
+
y: -0.010839950577224311
|
3575
|
+
},
|
3576
|
+
{
|
3577
|
+
x: 0.5116721586832798,
|
3578
|
+
y: -0.010839950577224311
|
3579
|
+
}
|
3580
|
+
],
|
3581
|
+
color: "primary",
|
3582
|
+
fill: false
|
3583
|
+
},
|
3584
|
+
"path11-2-1": {
|
3585
|
+
type: "path",
|
3586
|
+
points: [
|
3587
|
+
{
|
3588
|
+
x: 0.16064490317338742,
|
3589
|
+
y: -0.11622177498145403
|
3590
|
+
},
|
3591
|
+
{
|
3592
|
+
x: 0.16064490317338742,
|
3593
|
+
y: 0.07727135655772521
|
3594
|
+
}
|
3595
|
+
],
|
3596
|
+
color: "primary",
|
3597
|
+
fill: false
|
3598
|
+
},
|
3599
|
+
"path25-0-9": {
|
3600
|
+
type: "path",
|
3601
|
+
points: [
|
3602
|
+
{
|
3603
|
+
x: -0.40391896081308554,
|
3604
|
+
y: -0.2111951150487743
|
3605
|
+
},
|
3606
|
+
{
|
3607
|
+
x: -0.32538818309991635,
|
3608
|
+
y: -0.1776462385858042
|
3609
|
+
},
|
3610
|
+
{
|
3611
|
+
x: -0.33843942905204627,
|
3612
|
+
y: -0.26928059146906413
|
3613
|
+
}
|
3614
|
+
],
|
3615
|
+
color: "primary",
|
3616
|
+
fill: true
|
3617
|
+
},
|
3618
|
+
"path78-6-5": {
|
3619
|
+
type: "path",
|
3620
|
+
points: [
|
3621
|
+
{
|
3622
|
+
x: -0.4470989190253618,
|
3623
|
+
y: -0.3351265263866847
|
3624
|
+
},
|
3625
|
+
{
|
3626
|
+
x: -0.4385525777085817,
|
3627
|
+
y: -0.32468848279378437
|
3628
|
+
},
|
3629
|
+
{
|
3630
|
+
x: -0.3520048317368336,
|
3631
|
+
y: -0.21897414423109507
|
3632
|
+
},
|
3633
|
+
{
|
3634
|
+
x: -0.3516268465799328,
|
3635
|
+
y: -0.21798517284109487
|
3636
|
+
}
|
3637
|
+
],
|
3638
|
+
color: "primary",
|
3639
|
+
fill: false
|
3640
|
+
},
|
3641
|
+
"path25-0-9-0": {
|
3642
|
+
type: "path",
|
3643
|
+
points: [
|
3644
|
+
{
|
3645
|
+
x: -0.30220674110432255,
|
3646
|
+
y: -0.3403193953841548
|
3647
|
+
},
|
3648
|
+
{
|
3649
|
+
x: -0.22367596339115314,
|
3650
|
+
y: -0.30677051892118534
|
3651
|
+
},
|
3652
|
+
{
|
3653
|
+
x: -0.23672720934328306,
|
3654
|
+
y: -0.3984048718044453
|
3655
|
+
}
|
3656
|
+
],
|
3657
|
+
color: "primary",
|
3658
|
+
fill: true
|
3659
|
+
},
|
3660
|
+
"path78-6-5-9": {
|
3661
|
+
type: "path",
|
3662
|
+
points: [
|
3663
|
+
{
|
3664
|
+
x: -0.3453866993165988,
|
3665
|
+
y: -0.464250806722065
|
3666
|
+
},
|
3667
|
+
{
|
3668
|
+
x: -0.3368403579998187,
|
3669
|
+
y: -0.45381276312916397
|
3670
|
+
},
|
3671
|
+
{
|
3672
|
+
x: -0.2502926120280704,
|
3673
|
+
y: -0.34809842456647466
|
3674
|
+
},
|
3675
|
+
{
|
3676
|
+
x: -0.24991462687116983,
|
3677
|
+
y: -0.34710945317647446
|
3678
|
+
}
|
3679
|
+
],
|
3680
|
+
color: "primary",
|
3681
|
+
fill: false
|
3682
|
+
}
|
3683
|
+
},
|
3684
|
+
texts: {
|
3685
|
+
top1: {
|
3686
|
+
type: "text",
|
3687
|
+
text: "{REF}",
|
3688
|
+
x: -0.1679477702432366,
|
3689
|
+
y: -0.40859918889256375
|
3690
|
+
},
|
3691
|
+
bottom1: {
|
3692
|
+
type: "text",
|
3693
|
+
text: "{VAL}",
|
3694
|
+
x: -0.006410773639930811,
|
3695
|
+
y: 0.464250806722065
|
3696
|
+
}
|
3697
|
+
},
|
3698
|
+
refblocks: {
|
3699
|
+
left1: {
|
3700
|
+
x: -0.5247194309452994,
|
3701
|
+
y: -0.009902515585214156
|
3702
|
+
},
|
3703
|
+
right1: {
|
3704
|
+
x: 0.5247194309452992,
|
3705
|
+
y: -0.010997416799653603
|
3706
|
+
}
|
3707
|
+
},
|
3708
|
+
bounds: {
|
3709
|
+
minX: -0.5520103866874645,
|
3710
|
+
maxX: 0.5520103866874643,
|
3711
|
+
minY: -0.5085991888925637,
|
3712
|
+
maxY: 0.464250806722065,
|
3713
|
+
width: 1.1040207733749288,
|
3714
|
+
height: 0.6228499956146287,
|
3715
|
+
centerX: -11102230246251565e-32,
|
3716
|
+
centerY: -0.022174191085249373
|
3717
|
+
},
|
3718
|
+
circles: {
|
3719
|
+
path1: {
|
3720
|
+
type: "circle",
|
3721
|
+
x: -0.003646732950281173,
|
3722
|
+
y: -0.018672603986024328,
|
3723
|
+
radius: 0.2796529289238723,
|
3724
|
+
color: "primary",
|
3725
|
+
fill: false
|
3726
|
+
}
|
3727
|
+
}
|
3728
|
+
};
|
3729
|
+
|
3730
|
+
// symbols/light_dependent_resistor_horz.ts
|
3731
|
+
var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles15 } = light_dependent_resistor_default;
|
3732
|
+
var light_dependent_resistor_horz_default = defineSymbol({
|
3733
|
+
primitives: [
|
3734
|
+
...Object.values(paths20),
|
3735
|
+
...Object.values(circles15),
|
3736
|
+
{ ...texts25.top1, anchor: "middle_left", x: 0 },
|
3737
|
+
{ ...texts25.bottom1, anchor: "middle_left", x: 0 }
|
3738
|
+
],
|
3739
|
+
ports: [
|
3740
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3741
|
+
// TODO add more "standard" labels
|
3742
|
+
{ ...refblocks20.right1, labels: ["2"] }
|
3743
|
+
// TODO add more "standard" labels
|
3744
|
+
],
|
3745
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3746
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3747
|
+
});
|
3748
|
+
|
3749
|
+
// symbols/light_dependent_resistor_vert.ts
|
3750
|
+
var rotatedSymbol10 = rotateSymbol(light_dependent_resistor_horz_default);
|
3751
|
+
var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3752
|
+
var val9 = texts26.find((t) => t.text === "{VAL}");
|
3753
|
+
val9.x = -0.35;
|
3754
|
+
val9.y = 0;
|
3755
|
+
val9.anchor = "middle_right";
|
3756
|
+
var ref10 = texts26.find((t) => t.text === "{REF}");
|
3757
|
+
ref10.y = 0;
|
3758
|
+
ref10.x = 0.35;
|
3759
|
+
ref10.anchor = "middle_left";
|
3760
|
+
var light_dependent_resistor_vert_default = rotatedSymbol10;
|
3761
|
+
|
3506
3762
|
// assets/generated/mosfet_depletion_normally_on.json
|
3507
3763
|
var mosfet_depletion_normally_on_default = {
|
3508
3764
|
paths: {
|
@@ -3774,37 +4030,37 @@ var mosfet_depletion_normally_on_default = {
|
|
3774
4030
|
};
|
3775
4031
|
|
3776
4032
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
3777
|
-
var { paths:
|
4033
|
+
var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21 } = mosfet_depletion_normally_on_default;
|
3778
4034
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
3779
4035
|
primitives: [
|
3780
|
-
...Object.values(
|
3781
|
-
{ ...
|
3782
|
-
{ ...
|
4036
|
+
...Object.values(paths21),
|
4037
|
+
{ ...texts27.right1, anchor: "middle_left" },
|
4038
|
+
{ ...texts27.right2, anchor: "middle_left" }
|
3783
4039
|
],
|
3784
4040
|
ports: [
|
3785
|
-
{ ...
|
4041
|
+
{ ...refblocks21.top1, labels: ["1"] },
|
3786
4042
|
// TODO add more "standard" labels
|
3787
|
-
{ ...
|
4043
|
+
{ ...refblocks21.bottom1, labels: ["2"] },
|
3788
4044
|
// TODO add more "standard" labels
|
3789
|
-
{ ...
|
4045
|
+
{ ...refblocks21.left1, labels: ["3"] }
|
3790
4046
|
// TODO add more "standard" labels
|
3791
4047
|
],
|
3792
|
-
size: { width:
|
3793
|
-
center: { x:
|
4048
|
+
size: { width: bounds21.width + 0.4, height: bounds21.height },
|
4049
|
+
center: { x: bounds21.centerX + 0.2, y: bounds21.centerY }
|
3794
4050
|
});
|
3795
4051
|
|
3796
4052
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
3797
4053
|
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
3798
|
-
var
|
4054
|
+
var ref11 = rotated4.primitives.find(
|
3799
4055
|
(p) => p.type === "text" && p.text === "{REF}"
|
3800
4056
|
);
|
3801
|
-
var
|
4057
|
+
var val10 = rotated4.primitives.find(
|
3802
4058
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3803
4059
|
);
|
3804
|
-
|
3805
|
-
|
3806
|
-
|
3807
|
-
|
4060
|
+
ref11.anchor = "middle_top";
|
4061
|
+
val10.anchor = "middle_top";
|
4062
|
+
ref11.x = val10.x;
|
4063
|
+
val10.y += 0.15;
|
3808
4064
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
3809
4065
|
|
3810
4066
|
// assets/generated/mushroom_head_normally_open_momentary.json
|
@@ -4416,36 +4672,36 @@ var mushroom_head_normally_open_momentary_default = {
|
|
4416
4672
|
};
|
4417
4673
|
|
4418
4674
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
4419
|
-
var { paths:
|
4675
|
+
var { paths: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = mushroom_head_normally_open_momentary_default;
|
4420
4676
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
4421
4677
|
primitives: [
|
4422
|
-
...Object.values(
|
4423
|
-
...Object.values(
|
4424
|
-
{ ...
|
4425
|
-
{ ...
|
4678
|
+
...Object.values(paths22),
|
4679
|
+
...Object.values(circles16),
|
4680
|
+
{ ...texts28.top1, anchor: "middle_bottom", x: 0 },
|
4681
|
+
{ ...texts28.bottom1, anchor: "middle_top", x: 0 }
|
4426
4682
|
],
|
4427
4683
|
ports: [
|
4428
|
-
{ ...
|
4429
|
-
{ ...
|
4684
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4685
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4430
4686
|
],
|
4431
|
-
size: { width:
|
4432
|
-
center: { x:
|
4687
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4688
|
+
center: { x: bounds22.centerX + 6e-3, y: bounds22.centerY + 0.06 }
|
4433
4689
|
});
|
4434
4690
|
|
4435
4691
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
4436
4692
|
var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
|
4437
|
-
var
|
4693
|
+
var ref12 = rotated5.primitives.find(
|
4438
4694
|
(p) => p.type === "text" && p.text === "{REF}"
|
4439
4695
|
);
|
4440
|
-
var
|
4696
|
+
var val11 = rotated5.primitives.find(
|
4441
4697
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4442
4698
|
);
|
4443
|
-
|
4444
|
-
|
4445
|
-
|
4446
|
-
|
4447
|
-
|
4448
|
-
|
4699
|
+
ref12.anchor = "middle_left";
|
4700
|
+
val11.anchor = "middle_right";
|
4701
|
+
ref12.x = ref12.x - 0.03;
|
4702
|
+
ref12.y = ref12.y;
|
4703
|
+
val11.x = val11.x;
|
4704
|
+
val11.y = 0;
|
4449
4705
|
var mushroom_head_normally_open_momentary_vert_default = rotated5;
|
4450
4706
|
|
4451
4707
|
// assets/generated/n_channel_d_mosfet_transistor.json
|
@@ -4642,38 +4898,38 @@ var n_channel_d_mosfet_transistor_default = {
|
|
4642
4898
|
};
|
4643
4899
|
|
4644
4900
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
4645
|
-
var { paths:
|
4901
|
+
var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = n_channel_d_mosfet_transistor_default;
|
4646
4902
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
4647
4903
|
primitives: [
|
4648
|
-
...Object.values(
|
4649
|
-
...Object.values(
|
4650
|
-
{ ...
|
4651
|
-
{ ...
|
4904
|
+
...Object.values(paths23),
|
4905
|
+
...Object.values(circles17),
|
4906
|
+
{ ...texts29.top1, anchor: "middle_right", x: 0 },
|
4907
|
+
{ ...texts29.bottom1, anchor: "middle_right", x: 0 }
|
4652
4908
|
],
|
4653
4909
|
ports: [
|
4654
|
-
{ ...
|
4910
|
+
{ ...refblocks23.top1, labels: ["1", "drain"] },
|
4655
4911
|
// TODO add more "standard" labels
|
4656
|
-
{ ...
|
4912
|
+
{ ...refblocks23.bottom1, labels: ["2", "source"] },
|
4657
4913
|
// TODO add more "standard" labels
|
4658
|
-
{ ...
|
4914
|
+
{ ...refblocks23.left1, labels: ["3", "gate"] }
|
4659
4915
|
// TODO add more "standard" labels
|
4660
4916
|
],
|
4661
|
-
size: { width:
|
4662
|
-
center: { x:
|
4917
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4918
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4663
4919
|
});
|
4664
4920
|
|
4665
4921
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
4666
|
-
var
|
4667
|
-
var
|
4668
|
-
var
|
4669
|
-
|
4670
|
-
|
4671
|
-
|
4672
|
-
var
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4676
|
-
var n_channel_d_mosfet_transistor_vert_default =
|
4922
|
+
var rotatedSymbol11 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
4923
|
+
var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
4924
|
+
var val12 = texts30.find((t) => t.text === "{VAL}");
|
4925
|
+
val12.x = -0.35;
|
4926
|
+
val12.y = 0;
|
4927
|
+
val12.anchor = "middle_right";
|
4928
|
+
var ref13 = texts30.find((t) => t.text === "{REF}");
|
4929
|
+
ref13.y = 0;
|
4930
|
+
ref13.x = 0.35;
|
4931
|
+
ref13.anchor = "middle_left";
|
4932
|
+
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
|
4677
4933
|
|
4678
4934
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
4679
4935
|
var n_channel_e_mosfet_transistor_default = {
|
@@ -4899,38 +5155,38 @@ var n_channel_e_mosfet_transistor_default = {
|
|
4899
5155
|
};
|
4900
5156
|
|
4901
5157
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
4902
|
-
var { paths:
|
5158
|
+
var { paths: paths24, texts: texts31, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = n_channel_e_mosfet_transistor_default;
|
4903
5159
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
4904
5160
|
primitives: [
|
4905
|
-
...Object.values(
|
4906
|
-
...Object.values(
|
4907
|
-
{ ...
|
4908
|
-
{ ...
|
5161
|
+
...Object.values(paths24),
|
5162
|
+
...Object.values(circles18),
|
5163
|
+
{ ...texts31.top1, anchor: "middle_right", x: 0 },
|
5164
|
+
{ ...texts31.bottom1, anchor: "middle_right", x: 0 }
|
4909
5165
|
],
|
4910
5166
|
ports: [
|
4911
|
-
{ ...
|
5167
|
+
{ ...refblocks24.top1, labels: ["1", "drain"] },
|
4912
5168
|
// TODO add more "standard" labels
|
4913
|
-
{ ...
|
5169
|
+
{ ...refblocks24.bottom1, labels: ["2", "source"] },
|
4914
5170
|
// TODO add more "standard" labels
|
4915
|
-
{ ...
|
5171
|
+
{ ...refblocks24.left1, labels: ["3", "gate"] }
|
4916
5172
|
// TODO add more "standard" labels
|
4917
5173
|
],
|
4918
|
-
size: { width:
|
4919
|
-
center: { x:
|
5174
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5175
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4920
5176
|
});
|
4921
5177
|
|
4922
5178
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
4923
|
-
var
|
4924
|
-
var
|
4925
|
-
var
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
var
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
var n_channel_e_mosfet_transistor_vert_default =
|
5179
|
+
var rotatedSymbol12 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
5180
|
+
var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
5181
|
+
var val13 = texts32.find((t) => t.text === "{VAL}");
|
5182
|
+
val13.x = -0.35;
|
5183
|
+
val13.y = 0;
|
5184
|
+
val13.anchor = "middle_right";
|
5185
|
+
var ref14 = texts32.find((t) => t.text === "{REF}");
|
5186
|
+
ref14.y = 0;
|
5187
|
+
ref14.x = 0.35;
|
5188
|
+
ref14.anchor = "middle_left";
|
5189
|
+
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol12;
|
4934
5190
|
|
4935
5191
|
// assets/generated/njfet_transistor.json
|
4936
5192
|
var njfet_transistor_default = {
|
@@ -5096,38 +5352,38 @@ var njfet_transistor_default = {
|
|
5096
5352
|
};
|
5097
5353
|
|
5098
5354
|
// symbols/njfet_transistor_horz.ts
|
5099
|
-
var { paths:
|
5355
|
+
var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = njfet_transistor_default;
|
5100
5356
|
var njfet_transistor_horz_default = defineSymbol({
|
5101
5357
|
primitives: [
|
5102
|
-
...Object.values(
|
5103
|
-
...Object.values(
|
5104
|
-
{ ...
|
5105
|
-
{ ...
|
5358
|
+
...Object.values(paths25),
|
5359
|
+
...Object.values(circles19),
|
5360
|
+
{ ...texts33.top1, anchor: "middle_right", x: 0 },
|
5361
|
+
{ ...texts33.bottom1, anchor: "middle_right", x: 0 }
|
5106
5362
|
],
|
5107
5363
|
ports: [
|
5108
|
-
{ ...
|
5364
|
+
{ ...refblocks25.top1, labels: ["1", "drain"] },
|
5109
5365
|
// TODO add more "standard" labels
|
5110
|
-
{ ...
|
5366
|
+
{ ...refblocks25.bottom1, labels: ["2", "source"] },
|
5111
5367
|
// TODO add more "standard" labels
|
5112
|
-
{ ...
|
5368
|
+
{ ...refblocks25.left1, labels: ["3", "gate"] }
|
5113
5369
|
// TODO add more "standard" labels
|
5114
5370
|
],
|
5115
|
-
size: { width:
|
5116
|
-
center: { x:
|
5371
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5372
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
5117
5373
|
});
|
5118
5374
|
|
5119
5375
|
// symbols/njfet_transistor_vert.ts
|
5120
|
-
var
|
5121
|
-
var
|
5122
|
-
var
|
5123
|
-
|
5124
|
-
|
5125
|
-
|
5126
|
-
var
|
5127
|
-
|
5128
|
-
|
5129
|
-
|
5130
|
-
var njfet_transistor_vert_default =
|
5376
|
+
var rotatedSymbol13 = rotateSymbol(njfet_transistor_horz_default);
|
5377
|
+
var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
5378
|
+
var val14 = texts34.find((t) => t.text === "{VAL}");
|
5379
|
+
val14.x = -0.35;
|
5380
|
+
val14.y = 0;
|
5381
|
+
val14.anchor = "middle_right";
|
5382
|
+
var ref15 = texts34.find((t) => t.text === "{REF}");
|
5383
|
+
ref15.y = 0;
|
5384
|
+
ref15.x = 0.35;
|
5385
|
+
ref15.anchor = "middle_left";
|
5386
|
+
var njfet_transistor_vert_default = rotatedSymbol13;
|
5131
5387
|
|
5132
5388
|
// assets/generated/npn_bipolar_transistor.json
|
5133
5389
|
var npn_bipolar_transistor_default = {
|
@@ -5293,11 +5549,11 @@ var npn_bipolar_transistor_default = {
|
|
5293
5549
|
};
|
5294
5550
|
|
5295
5551
|
// symbols/npn_bipolar_transistor_horz.ts
|
5296
|
-
var { paths:
|
5552
|
+
var { paths: paths26, texts: texts35, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = npn_bipolar_transistor_default;
|
5297
5553
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
5298
5554
|
primitives: [
|
5299
|
-
...Object.values(
|
5300
|
-
...Object.values(
|
5555
|
+
...Object.values(paths26),
|
5556
|
+
...Object.values(circles20),
|
5301
5557
|
{
|
5302
5558
|
type: "text",
|
5303
5559
|
text: "{REF}",
|
@@ -5314,20 +5570,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
5314
5570
|
}
|
5315
5571
|
],
|
5316
5572
|
ports: [
|
5317
|
-
{ ...
|
5318
|
-
{ ...
|
5319
|
-
{ ...
|
5573
|
+
{ ...refblocks26.top1, labels: ["1", "collector"] },
|
5574
|
+
{ ...refblocks26.bottom1, labels: ["2", "emitter"] },
|
5575
|
+
{ ...refblocks26.left1, labels: ["3", "base"] }
|
5320
5576
|
],
|
5321
|
-
size: { width:
|
5322
|
-
center: { x:
|
5577
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5578
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
5323
5579
|
});
|
5324
5580
|
|
5325
5581
|
// symbols/npn_bipolar_transistor_vert.ts
|
5326
|
-
var
|
5327
|
-
var
|
5328
|
-
var
|
5329
|
-
|
5330
|
-
var npn_bipolar_transistor_vert_default =
|
5582
|
+
var rotatedSymbol14 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
5583
|
+
var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
5584
|
+
var ref16 = texts36.find((t) => t.text === "{REF}");
|
5585
|
+
ref16.anchor = "middle_left";
|
5586
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol14;
|
5331
5587
|
|
5332
5588
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
5333
5589
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -5523,38 +5779,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
5523
5779
|
};
|
5524
5780
|
|
5525
5781
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
5526
|
-
var { paths:
|
5782
|
+
var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = p_channel_d_mosfet_transistor_default;
|
5527
5783
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
5528
5784
|
primitives: [
|
5529
|
-
...Object.values(
|
5530
|
-
...Object.values(
|
5531
|
-
{ ...
|
5532
|
-
{ ...
|
5785
|
+
...Object.values(paths27),
|
5786
|
+
...Object.values(circles21),
|
5787
|
+
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
5788
|
+
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
5533
5789
|
],
|
5534
5790
|
ports: [
|
5535
|
-
{ ...
|
5791
|
+
{ ...refblocks27.top1, labels: ["1", "drain"] },
|
5536
5792
|
// TODO add more "standard" labels
|
5537
|
-
{ ...
|
5793
|
+
{ ...refblocks27.bottom1, labels: ["2", "source"] },
|
5538
5794
|
// TODO add more "standard" labels
|
5539
|
-
{ ...
|
5795
|
+
{ ...refblocks27.left1, labels: ["3", "gate"] }
|
5540
5796
|
// TODO add more "standard" labels
|
5541
5797
|
],
|
5542
|
-
size: { width:
|
5543
|
-
center: { x:
|
5798
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5799
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5544
5800
|
});
|
5545
5801
|
|
5546
5802
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
5547
|
-
var
|
5548
|
-
var
|
5549
|
-
var
|
5550
|
-
|
5551
|
-
|
5552
|
-
|
5553
|
-
var
|
5554
|
-
|
5555
|
-
|
5556
|
-
|
5557
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
5803
|
+
var rotatedSymbol15 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
5804
|
+
var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
5805
|
+
var val15 = texts38.find((t) => t.text === "{VAL}");
|
5806
|
+
val15.x = -0.35;
|
5807
|
+
val15.y = 0;
|
5808
|
+
val15.anchor = "middle_right";
|
5809
|
+
var ref17 = texts38.find((t) => t.text === "{REF}");
|
5810
|
+
ref17.y = 0;
|
5811
|
+
ref17.x = 0.35;
|
5812
|
+
ref17.anchor = "middle_left";
|
5813
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol15;
|
5558
5814
|
|
5559
5815
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
5560
5816
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -5780,38 +6036,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
5780
6036
|
};
|
5781
6037
|
|
5782
6038
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
5783
|
-
var { paths:
|
6039
|
+
var { paths: paths28, texts: texts39, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = p_channel_e_mosfet_transistor_default;
|
5784
6040
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
5785
6041
|
primitives: [
|
5786
|
-
...Object.values(
|
5787
|
-
...Object.values(
|
5788
|
-
{ ...
|
5789
|
-
{ ...
|
6042
|
+
...Object.values(paths28),
|
6043
|
+
...Object.values(circles22),
|
6044
|
+
{ ...texts39.top1, anchor: "middle_right", x: 0 },
|
6045
|
+
{ ...texts39.bottom1, anchor: "middle_right", x: 0 }
|
5790
6046
|
],
|
5791
6047
|
ports: [
|
5792
|
-
{ ...
|
6048
|
+
{ ...refblocks28.top1, labels: ["1", "drain"] },
|
5793
6049
|
// TODO add more "standard" labels
|
5794
|
-
{ ...
|
6050
|
+
{ ...refblocks28.bottom1, labels: ["2", "source"] },
|
5795
6051
|
// TODO add more "standard" labels
|
5796
|
-
{ ...
|
6052
|
+
{ ...refblocks28.left1, labels: ["3", "gate"] }
|
5797
6053
|
// TODO add more "standard" labels
|
5798
6054
|
],
|
5799
|
-
size: { width:
|
5800
|
-
center: { x:
|
6055
|
+
size: { width: bounds28.width, height: bounds28.height },
|
6056
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5801
6057
|
});
|
5802
6058
|
|
5803
6059
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
5804
|
-
var
|
5805
|
-
var
|
5806
|
-
var
|
5807
|
-
|
5808
|
-
|
5809
|
-
|
5810
|
-
var
|
5811
|
-
|
5812
|
-
|
5813
|
-
|
5814
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
6060
|
+
var rotatedSymbol16 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
6061
|
+
var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
6062
|
+
var val16 = texts40.find((t) => t.text === "{VAL}");
|
6063
|
+
val16.x = -0.35;
|
6064
|
+
val16.y = 0;
|
6065
|
+
val16.anchor = "middle_right";
|
6066
|
+
var ref18 = texts40.find((t) => t.text === "{REF}");
|
6067
|
+
ref18.y = 0;
|
6068
|
+
ref18.x = 0.35;
|
6069
|
+
ref18.anchor = "middle_left";
|
6070
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol16;
|
5815
6071
|
|
5816
6072
|
// assets/generated/photodiode.json
|
5817
6073
|
var photodiode_default = {
|
@@ -6038,11 +6294,11 @@ var photodiode_default = {
|
|
6038
6294
|
};
|
6039
6295
|
|
6040
6296
|
// symbols/photodiode_horz.ts
|
6041
|
-
var { paths:
|
6297
|
+
var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = photodiode_default;
|
6042
6298
|
var photodiode_horz_default = defineSymbol({
|
6043
6299
|
primitives: [
|
6044
|
-
...Object.values(
|
6045
|
-
...Object.values(
|
6300
|
+
...Object.values(paths29),
|
6301
|
+
...Object.values(circles23),
|
6046
6302
|
{
|
6047
6303
|
type: "text",
|
6048
6304
|
text: "{REF}",
|
@@ -6059,22 +6315,22 @@ var photodiode_horz_default = defineSymbol({
|
|
6059
6315
|
}
|
6060
6316
|
],
|
6061
6317
|
ports: [
|
6062
|
-
{ ...
|
6318
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
6063
6319
|
// TODO add more "standard" labels
|
6064
|
-
{ ...
|
6320
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
6065
6321
|
// TODO add more "standard" labels
|
6066
6322
|
],
|
6067
|
-
size: { width:
|
6068
|
-
center: { x:
|
6323
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6324
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
6069
6325
|
});
|
6070
6326
|
|
6071
6327
|
// symbols/photodiode_vert.ts
|
6072
|
-
var
|
6073
|
-
var
|
6074
|
-
var
|
6075
|
-
|
6076
|
-
|
6077
|
-
var photodiode_vert_default =
|
6328
|
+
var rotatedSymbol17 = rotateSymbol(photodiode_horz_default);
|
6329
|
+
var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
6330
|
+
var ref19 = texts42.find((t) => t.text === "{REF}");
|
6331
|
+
ref19.y = 0;
|
6332
|
+
ref19.anchor = "middle_left";
|
6333
|
+
var photodiode_vert_default = rotatedSymbol17;
|
6078
6334
|
|
6079
6335
|
// assets/generated/pjfet_transistor.json
|
6080
6336
|
var pjfet_transistor_default = {
|
@@ -6240,39 +6496,39 @@ var pjfet_transistor_default = {
|
|
6240
6496
|
};
|
6241
6497
|
|
6242
6498
|
// symbols/pjfet_transistor_horz.ts
|
6243
|
-
var { paths:
|
6499
|
+
var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = pjfet_transistor_default;
|
6244
6500
|
var pjfet_transistor_horz_default = defineSymbol({
|
6245
6501
|
primitives: [
|
6246
|
-
...Object.values(
|
6247
|
-
...Object.values(
|
6248
|
-
{ ...
|
6249
|
-
{ ...
|
6502
|
+
...Object.values(paths30),
|
6503
|
+
...Object.values(circles24),
|
6504
|
+
{ ...texts43.top1, anchor: "middle_right", x: 0 },
|
6505
|
+
{ ...texts43.bottom1, anchor: "middle_right" }
|
6250
6506
|
],
|
6251
6507
|
ports: [
|
6252
|
-
{ ...
|
6508
|
+
{ ...refblocks30.top1, labels: ["1", "drain"] },
|
6253
6509
|
// TODO add more "standard" labels
|
6254
|
-
{ ...
|
6510
|
+
{ ...refblocks30.bottom1, labels: ["2", "source"] },
|
6255
6511
|
// TODO add more "standard" labels
|
6256
|
-
{ ...
|
6512
|
+
{ ...refblocks30.left1, labels: ["3", "gate"] }
|
6257
6513
|
// TODO add more "standard" labels
|
6258
6514
|
],
|
6259
|
-
size: { width:
|
6260
|
-
center: { x:
|
6515
|
+
size: { width: bounds30.width, height: bounds30.height },
|
6516
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
6261
6517
|
});
|
6262
6518
|
|
6263
|
-
// symbols/pjfet_transistor_vert.ts
|
6264
|
-
var
|
6265
|
-
var
|
6266
|
-
var
|
6267
|
-
|
6268
|
-
|
6269
|
-
|
6270
|
-
var
|
6271
|
-
|
6272
|
-
|
6273
|
-
|
6274
|
-
var pjfet_transistor_vert_default =
|
6275
|
-
|
6519
|
+
// symbols/pjfet_transistor_vert.ts
|
6520
|
+
var rotatedSymbol18 = rotateSymbol(pjfet_transistor_horz_default);
|
6521
|
+
var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
6522
|
+
var val17 = texts44.find((t) => t.text === "{VAL}");
|
6523
|
+
val17.x = -0.35;
|
6524
|
+
val17.y = 0;
|
6525
|
+
val17.anchor = "middle_right";
|
6526
|
+
var ref20 = texts44.find((t) => t.text === "{REF}");
|
6527
|
+
ref20.y = 0;
|
6528
|
+
ref20.x = 0.35;
|
6529
|
+
ref20.anchor = "middle_left";
|
6530
|
+
var pjfet_transistor_vert_default = rotatedSymbol18;
|
6531
|
+
|
6276
6532
|
// assets/generated/pnp_bipolar_transistor.json
|
6277
6533
|
var pnp_bipolar_transistor_default = {
|
6278
6534
|
paths: {
|
@@ -6437,11 +6693,11 @@ var pnp_bipolar_transistor_default = {
|
|
6437
6693
|
};
|
6438
6694
|
|
6439
6695
|
// symbols/pnp_bipolar_transistor_horz.ts
|
6440
|
-
var { paths:
|
6696
|
+
var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31, circles: circles25 } = pnp_bipolar_transistor_default;
|
6441
6697
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
6442
6698
|
primitives: [
|
6443
|
-
...Object.values(
|
6444
|
-
...Object.values(
|
6699
|
+
...Object.values(paths31),
|
6700
|
+
...Object.values(circles25),
|
6445
6701
|
{
|
6446
6702
|
type: "text",
|
6447
6703
|
text: "{REF}",
|
@@ -6458,20 +6714,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
6458
6714
|
}
|
6459
6715
|
],
|
6460
6716
|
ports: [
|
6461
|
-
{ ...
|
6462
|
-
{ ...
|
6463
|
-
{ ...
|
6717
|
+
{ ...refblocks31.top1, labels: ["1", "collector"] },
|
6718
|
+
{ ...refblocks31.bottom1, labels: ["2", "emitter"] },
|
6719
|
+
{ ...refblocks31.left1, labels: ["3", "base"] }
|
6464
6720
|
],
|
6465
|
-
size: { width:
|
6466
|
-
center: { x:
|
6721
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6722
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6467
6723
|
});
|
6468
6724
|
|
6469
6725
|
// symbols/pnp_bipolar_transistor_vert.ts
|
6470
|
-
var
|
6471
|
-
var
|
6472
|
-
var
|
6473
|
-
|
6474
|
-
var pnp_bipolar_transistor_vert_default =
|
6726
|
+
var rotatedSymbol19 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
6727
|
+
var texts46 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
|
6728
|
+
var ref21 = texts46.find((t) => t.text === "{REF}");
|
6729
|
+
ref21.anchor = "middle_left";
|
6730
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol19;
|
6475
6731
|
|
6476
6732
|
// assets/generated/potentiometer.json
|
6477
6733
|
var potentiometer_default = {
|
@@ -6588,21 +6844,21 @@ var potentiometer_default = {
|
|
6588
6844
|
};
|
6589
6845
|
|
6590
6846
|
// symbols/potentiometer_horz.ts
|
6591
|
-
var { paths:
|
6847
|
+
var { paths: paths32, texts: texts47, bounds: bounds32, refblocks: refblocks32 } = potentiometer_default;
|
6592
6848
|
var potentiometer_horz_default = defineSymbol({
|
6593
6849
|
primitives: [
|
6594
|
-
...Object.values(
|
6595
|
-
{ ...
|
6596
|
-
{ ...
|
6850
|
+
...Object.values(paths32),
|
6851
|
+
{ ...texts47.bottom1, y: 0.35, anchor: "middle_top" },
|
6852
|
+
{ ...texts47.top1, anchor: "middle_left" }
|
6597
6853
|
],
|
6598
6854
|
ports: [
|
6599
|
-
{ ...
|
6855
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6600
6856
|
// TODO add more "standard" labels
|
6601
|
-
{ ...
|
6857
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6602
6858
|
// TODO add more "standard" labels
|
6603
6859
|
],
|
6604
|
-
size: { width:
|
6605
|
-
center: { x:
|
6860
|
+
size: { width: bounds32.width + 0.05, height: bounds32.height },
|
6861
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6606
6862
|
});
|
6607
6863
|
|
6608
6864
|
// symbols/potentiometer_vert.ts
|
@@ -6765,21 +7021,21 @@ var potentiometer2_default = {
|
|
6765
7021
|
};
|
6766
7022
|
|
6767
7023
|
// symbols/potentiometer2_horz.ts
|
6768
|
-
var { paths:
|
7024
|
+
var { paths: paths33, texts: texts48, bounds: bounds33, refblocks: refblocks33 } = potentiometer2_default;
|
6769
7025
|
var potentiometer2_horz_default = defineSymbol({
|
6770
7026
|
primitives: [
|
6771
|
-
...Object.values(
|
6772
|
-
{ ...
|
6773
|
-
{ ...
|
7027
|
+
...Object.values(paths33),
|
7028
|
+
{ ...texts48.bottom1, anchor: "middle_right" },
|
7029
|
+
{ ...texts48.top1, anchor: "middle_left" }
|
6774
7030
|
],
|
6775
7031
|
ports: [
|
6776
|
-
{ ...
|
7032
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6777
7033
|
// TODO add more "standard" labels
|
6778
|
-
{ ...
|
7034
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6779
7035
|
// TODO add more "standard" labels
|
6780
7036
|
],
|
6781
|
-
size: { width:
|
6782
|
-
center: { x:
|
7037
|
+
size: { width: bounds33.width, height: bounds33.height },
|
7038
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6783
7039
|
});
|
6784
7040
|
|
6785
7041
|
// symbols/potentiometer2_vert.ts
|
@@ -6872,11 +7128,11 @@ var power_factor_meter_default = {
|
|
6872
7128
|
};
|
6873
7129
|
|
6874
7130
|
// symbols/power_factor_meter_horz.ts
|
6875
|
-
var { paths:
|
7131
|
+
var { paths: paths34, texts: texts49, bounds: bounds34, refblocks: refblocks34, circles: circles26 } = power_factor_meter_default;
|
6876
7132
|
var power_factor_meter_horz_default = defineSymbol({
|
6877
7133
|
primitives: [
|
6878
|
-
...Object.values(
|
6879
|
-
...Object.values(
|
7134
|
+
...Object.values(paths34),
|
7135
|
+
...Object.values(circles26),
|
6880
7136
|
// { ...texts.top1, anchor: "middle_left" },
|
6881
7137
|
{
|
6882
7138
|
type: "text",
|
@@ -6903,28 +7159,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
6903
7159
|
}
|
6904
7160
|
],
|
6905
7161
|
ports: [
|
6906
|
-
{ ...
|
7162
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6907
7163
|
// TODO add more "standard" labels
|
6908
|
-
{ ...
|
7164
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6909
7165
|
// TODO add more "standard" labels
|
6910
7166
|
],
|
6911
|
-
size: { width:
|
6912
|
-
center: { x:
|
7167
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7168
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6913
7169
|
});
|
6914
7170
|
|
6915
7171
|
// symbols/power_factor_meter_vert.ts
|
6916
|
-
var
|
6917
|
-
var
|
6918
|
-
var
|
6919
|
-
var
|
6920
|
-
var text_cos =
|
6921
|
-
|
6922
|
-
|
6923
|
-
|
6924
|
-
|
7172
|
+
var rotatedSymbol20 = rotateSymbol(power_factor_meter_horz_default);
|
7173
|
+
var texts50 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
|
7174
|
+
var ref22 = texts50.find((t) => t.text === "{REF}");
|
7175
|
+
var val18 = texts50.find((t) => t.text === "{VAL}");
|
7176
|
+
var text_cos = texts50.find((t) => t.text === "COS \u03C6");
|
7177
|
+
ref22.x = 0.35;
|
7178
|
+
ref22.y = 0;
|
7179
|
+
val18.x = -0.6;
|
7180
|
+
val18.y = 0;
|
6925
7181
|
text_cos.x = -0.1;
|
6926
7182
|
text_cos.y = 0;
|
6927
|
-
var power_factor_meter_vert_default =
|
7183
|
+
var power_factor_meter_vert_default = rotatedSymbol20;
|
6928
7184
|
|
6929
7185
|
// assets/generated/push_button_normally_closed_momentary.json
|
6930
7186
|
var push_button_normally_closed_momentary_default = {
|
@@ -7028,37 +7284,37 @@ var push_button_normally_closed_momentary_default = {
|
|
7028
7284
|
};
|
7029
7285
|
|
7030
7286
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
7031
|
-
var { paths:
|
7287
|
+
var { paths: paths35, texts: texts51, bounds: bounds35, refblocks: refblocks35 } = push_button_normally_closed_momentary_default;
|
7032
7288
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
7033
7289
|
primitives: [
|
7034
|
-
...Object.values(
|
7035
|
-
{ ...
|
7036
|
-
{ ...
|
7290
|
+
...Object.values(paths35),
|
7291
|
+
{ ...texts51.top1, anchor: "middle_bottom" },
|
7292
|
+
{ ...texts51.bottom1, anchor: "middle_top" }
|
7037
7293
|
],
|
7038
7294
|
ports: [
|
7039
|
-
{ ...
|
7295
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
7040
7296
|
// TODO add more "standard" labels
|
7041
|
-
{ ...
|
7297
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
7042
7298
|
// TODO add more "standard" labels
|
7043
7299
|
],
|
7044
|
-
size: { width:
|
7045
|
-
center: { x:
|
7300
|
+
size: { width: bounds35.width, height: bounds35.height },
|
7301
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
7046
7302
|
});
|
7047
7303
|
|
7048
7304
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
7049
7305
|
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
7050
|
-
var
|
7306
|
+
var ref23 = rotated7.primitives.find(
|
7051
7307
|
(p) => p.type === "text" && p.text === "{REF}"
|
7052
7308
|
);
|
7053
|
-
var
|
7309
|
+
var val19 = rotated7.primitives.find(
|
7054
7310
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7055
7311
|
);
|
7056
|
-
|
7057
|
-
|
7058
|
-
|
7059
|
-
|
7060
|
-
|
7061
|
-
|
7312
|
+
ref23.anchor = "middle_left";
|
7313
|
+
val19.anchor = "middle_right";
|
7314
|
+
ref23.x = ref23.x - 0.03;
|
7315
|
+
ref23.y = ref23.y;
|
7316
|
+
val19.x = val19.x;
|
7317
|
+
val19.y = 0;
|
7062
7318
|
var push_button_normally_closed_momentary_vert_default = rotated7;
|
7063
7319
|
|
7064
7320
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -7163,37 +7419,37 @@ var push_button_normally_open_momentary_default = {
|
|
7163
7419
|
};
|
7164
7420
|
|
7165
7421
|
// symbols/push_button_normally_open_momentary_horz.ts
|
7166
|
-
var { paths:
|
7422
|
+
var { paths: paths36, texts: texts52, bounds: bounds36, refblocks: refblocks36 } = push_button_normally_open_momentary_default;
|
7167
7423
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
7168
7424
|
primitives: [
|
7169
|
-
...Object.values(
|
7170
|
-
{ ...
|
7171
|
-
{ ...
|
7425
|
+
...Object.values(paths36),
|
7426
|
+
{ ...texts52.top1, anchor: "middle_bottom" },
|
7427
|
+
{ ...texts52.bottom1, anchor: "middle_top" }
|
7172
7428
|
],
|
7173
7429
|
ports: [
|
7174
|
-
{ ...
|
7430
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
7175
7431
|
// TODO add more "standard" labels
|
7176
|
-
{ ...
|
7432
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
7177
7433
|
// TODO add more "standard" labels
|
7178
7434
|
],
|
7179
|
-
size: { width:
|
7180
|
-
center: { x:
|
7435
|
+
size: { width: bounds36.width, height: bounds36.height },
|
7436
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
7181
7437
|
});
|
7182
7438
|
|
7183
7439
|
// symbols/push_button_normally_open_momentary_vert.ts
|
7184
7440
|
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
7185
|
-
var
|
7441
|
+
var ref24 = rotated8.primitives.find(
|
7186
7442
|
(p) => p.type === "text" && p.text === "{REF}"
|
7187
7443
|
);
|
7188
|
-
var
|
7444
|
+
var val20 = rotated8.primitives.find(
|
7189
7445
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7190
7446
|
);
|
7191
|
-
|
7192
|
-
|
7193
|
-
|
7194
|
-
|
7195
|
-
|
7196
|
-
|
7447
|
+
ref24.anchor = "middle_left";
|
7448
|
+
val20.anchor = "middle_right";
|
7449
|
+
ref24.x = ref24.x + 0.1;
|
7450
|
+
ref24.y = ref24.y;
|
7451
|
+
val20.x = val20.x;
|
7452
|
+
val20.y = 0;
|
7197
7453
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
7198
7454
|
|
7199
7455
|
// assets/generated/rectifier_diode.json
|
@@ -7606,38 +7862,38 @@ var rectifier_diode_default = {
|
|
7606
7862
|
};
|
7607
7863
|
|
7608
7864
|
// symbols/rectifier_diode_horz.ts
|
7609
|
-
var { paths:
|
7865
|
+
var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = rectifier_diode_default;
|
7610
7866
|
var rectifier_diode_horz_default = defineSymbol({
|
7611
7867
|
primitives: [
|
7612
|
-
...Object.values(
|
7613
|
-
...Object.values(
|
7614
|
-
{ ...
|
7615
|
-
{ ...
|
7868
|
+
...Object.values(paths37),
|
7869
|
+
...Object.values(circles27),
|
7870
|
+
{ ...texts53.top1, anchor: "middle_right" },
|
7871
|
+
{ ...texts53.bottom1, anchor: "middle_right" }
|
7616
7872
|
],
|
7617
7873
|
ports: [
|
7618
|
-
{ ...
|
7874
|
+
{ ...refblocks37.top1, labels: ["1"] },
|
7619
7875
|
// TODO add more "standard" labels
|
7620
|
-
{ ...
|
7876
|
+
{ ...refblocks37.bottom1, labels: ["2"] },
|
7621
7877
|
// TODO add more "standard" labels
|
7622
|
-
{ ...
|
7878
|
+
{ ...refblocks37.left1, labels: ["3"] },
|
7623
7879
|
// TODO add more "standard" labels
|
7624
|
-
{ ...
|
7880
|
+
{ ...refblocks37.right1, labels: ["4"] }
|
7625
7881
|
// TODO add more "standard" labels
|
7626
7882
|
],
|
7627
|
-
size: { width:
|
7628
|
-
center: { x:
|
7883
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7884
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
7629
7885
|
});
|
7630
7886
|
|
7631
7887
|
// symbols/rectifier_diode_vert.ts
|
7632
7888
|
var rotated9 = rotateSymbol(rectifier_diode_horz_default);
|
7633
|
-
var
|
7889
|
+
var ref25 = rotated9.primitives.find(
|
7634
7890
|
(p) => p.type === "text" && p.text === "{REF}"
|
7635
7891
|
);
|
7636
|
-
var
|
7892
|
+
var val21 = rotated9.primitives.find(
|
7637
7893
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7638
7894
|
);
|
7639
|
-
|
7640
|
-
|
7895
|
+
ref25.anchor = "middle_left";
|
7896
|
+
val21.anchor = "middle_right";
|
7641
7897
|
var rectifier_diode_vert_default = rotated9;
|
7642
7898
|
|
7643
7899
|
// assets/generated/resonator.json
|
@@ -7986,11 +8242,11 @@ var resonator_default = {
|
|
7986
8242
|
};
|
7987
8243
|
|
7988
8244
|
// symbols/resonator_horz.ts
|
7989
|
-
var { paths:
|
8245
|
+
var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = resonator_default;
|
7990
8246
|
var resonator_horz_default = defineSymbol({
|
7991
8247
|
primitives: [
|
7992
|
-
...Object.values(
|
7993
|
-
...Object.values(
|
8248
|
+
...Object.values(paths38),
|
8249
|
+
...Object.values(circles28),
|
7994
8250
|
// { ...texts.top1, anchor: "middle_left" },
|
7995
8251
|
// { ...texts.bottom1, anchor: "middle_left" },
|
7996
8252
|
{
|
@@ -8009,15 +8265,15 @@ var resonator_horz_default = defineSymbol({
|
|
8009
8265
|
}
|
8010
8266
|
],
|
8011
8267
|
ports: [
|
8012
|
-
{ ...
|
8268
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
8013
8269
|
// TODO add more "standard" labels
|
8014
|
-
{ ...
|
8270
|
+
{ ...refblocks38.right1, labels: ["2"] },
|
8015
8271
|
// TODO add more "standard" labels
|
8016
|
-
{ ...
|
8272
|
+
{ ...refblocks38.right2, labels: ["3"] }
|
8017
8273
|
// TODO add more "standard" labels
|
8018
8274
|
],
|
8019
|
-
size: { width:
|
8020
|
-
center: { x:
|
8275
|
+
size: { width: bounds38.width, height: bounds38.height },
|
8276
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
8021
8277
|
});
|
8022
8278
|
|
8023
8279
|
// symbols/resonator_vert.ts
|
@@ -8215,34 +8471,34 @@ var schottky_diode_default = {
|
|
8215
8471
|
};
|
8216
8472
|
|
8217
8473
|
// symbols/schottky_diode_horz.ts
|
8218
|
-
var { paths:
|
8474
|
+
var { paths: paths39, texts: texts55, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = schottky_diode_default;
|
8219
8475
|
var schottky_diode_horz_default = defineSymbol({
|
8220
8476
|
primitives: [
|
8221
|
-
...Object.values(
|
8222
|
-
...Object.values(
|
8223
|
-
{ ...
|
8224
|
-
{ ...
|
8477
|
+
...Object.values(paths39),
|
8478
|
+
...Object.values(circles29),
|
8479
|
+
{ ...texts55.top1, anchor: "middle_bottom" },
|
8480
|
+
{ ...texts55.bottom1, anchor: "middle_top" }
|
8225
8481
|
],
|
8226
8482
|
ports: [
|
8227
|
-
{ ...
|
8483
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
8228
8484
|
// TODO add more "standard" labels
|
8229
|
-
{ ...
|
8485
|
+
{ ...refblocks39.right1, labels: ["2"] }
|
8230
8486
|
// TODO add more "standard" labels
|
8231
8487
|
],
|
8232
|
-
size: { width:
|
8233
|
-
center: { x:
|
8488
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8489
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
8234
8490
|
});
|
8235
8491
|
|
8236
8492
|
// symbols/schottky_diode_vert.ts
|
8237
8493
|
var rotated10 = rotateSymbol(schottky_diode_horz_default);
|
8238
|
-
var
|
8494
|
+
var ref26 = rotated10.primitives.find(
|
8239
8495
|
(p) => p.type === "text" && p.text === "{REF}"
|
8240
8496
|
);
|
8241
|
-
var
|
8497
|
+
var val22 = rotated10.primitives.find(
|
8242
8498
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8243
8499
|
);
|
8244
|
-
|
8245
|
-
|
8500
|
+
ref26.anchor = "middle_left";
|
8501
|
+
val22.anchor = "middle_right";
|
8246
8502
|
var schottky_diode_vert_default = rotated10;
|
8247
8503
|
|
8248
8504
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -8389,35 +8645,35 @@ var silicon_controlled_rectifier_default = {
|
|
8389
8645
|
};
|
8390
8646
|
|
8391
8647
|
// symbols/silicon_controlled_rectifier_horz.ts
|
8392
|
-
var { paths:
|
8648
|
+
var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = silicon_controlled_rectifier_default;
|
8393
8649
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
8394
8650
|
primitives: [
|
8395
|
-
...Object.values(
|
8396
|
-
...Object.values(
|
8397
|
-
{ ...
|
8398
|
-
{ ...
|
8651
|
+
...Object.values(paths40),
|
8652
|
+
...Object.values(circles30),
|
8653
|
+
{ ...texts56.top1, anchor: "middle_left" },
|
8654
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
8399
8655
|
],
|
8400
8656
|
ports: [
|
8401
|
-
{ ...
|
8657
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
8402
8658
|
// TODO add more "standard" labels
|
8403
|
-
{ ...
|
8659
|
+
{ ...refblocks40.right1, labels: ["2"] },
|
8404
8660
|
// TODO add more "standard" labels
|
8405
|
-
{ ...
|
8661
|
+
{ ...refblocks40.bottom1, labels: ["3"] }
|
8406
8662
|
// TODO add more "standard" labels
|
8407
8663
|
],
|
8408
|
-
size: { width:
|
8409
|
-
center: { x:
|
8664
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8665
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
8410
8666
|
});
|
8411
8667
|
|
8412
8668
|
// symbols/silicon_controlled_rectifier_vert.ts
|
8413
|
-
var
|
8414
|
-
var
|
8669
|
+
var rotatedSymbol21 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
8670
|
+
var texts57 = rotatedSymbol21.primitives.filter(
|
8415
8671
|
(primitive) => primitive.type === "text"
|
8416
8672
|
);
|
8417
|
-
var
|
8418
|
-
|
8419
|
-
|
8420
|
-
var silicon_controlled_rectifier_vert_default =
|
8673
|
+
var ref27 = texts57.find((text) => text.text === "{REF}");
|
8674
|
+
ref27.y = 0;
|
8675
|
+
ref27.anchor = "middle_left";
|
8676
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol21;
|
8421
8677
|
|
8422
8678
|
// assets/generated/SPDT_switch.json
|
8423
8679
|
var SPDT_switch_default = {
|
@@ -8537,38 +8793,38 @@ var SPDT_switch_default = {
|
|
8537
8793
|
};
|
8538
8794
|
|
8539
8795
|
// symbols/SPDT_switch_horz.ts
|
8540
|
-
var { paths:
|
8796
|
+
var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = SPDT_switch_default;
|
8541
8797
|
var SPDT_switch_horz_default = defineSymbol({
|
8542
8798
|
primitives: [
|
8543
|
-
...Object.values(
|
8544
|
-
...Object.values(
|
8545
|
-
{ ...
|
8546
|
-
{ ...
|
8799
|
+
...Object.values(paths41),
|
8800
|
+
...Object.values(circles31),
|
8801
|
+
{ ...texts58.top1, anchor: "middle_bottom", x: -0.01 },
|
8802
|
+
{ ...texts58.bottom1, anchor: "middle_top", x: -0.01 }
|
8547
8803
|
],
|
8548
8804
|
ports: [
|
8549
|
-
{ ...
|
8805
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
8550
8806
|
// TODO add more "standard" labels
|
8551
|
-
{ ...
|
8807
|
+
{ ...refblocks41.right1, labels: ["3"] },
|
8552
8808
|
// TODO add more "standard" labels
|
8553
|
-
{ ...
|
8809
|
+
{ ...refblocks41.right2, labels: ["2"] }
|
8554
8810
|
// TODO add more "standard" labels
|
8555
8811
|
],
|
8556
|
-
size: { width:
|
8557
|
-
center: { x:
|
8812
|
+
size: { width: bounds41.width, height: bounds41.height },
|
8813
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
8558
8814
|
});
|
8559
8815
|
|
8560
8816
|
// symbols/SPDT_switch_vert.ts
|
8561
|
-
var
|
8562
|
-
var
|
8563
|
-
var
|
8564
|
-
|
8565
|
-
|
8566
|
-
|
8567
|
-
var
|
8568
|
-
|
8569
|
-
|
8570
|
-
|
8571
|
-
var SPDT_switch_vert_default =
|
8817
|
+
var rotatedSymbol22 = rotateSymbol(SPDT_switch_horz_default);
|
8818
|
+
var texts59 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8819
|
+
var val23 = texts59.find((t) => t.text === "{VAL}");
|
8820
|
+
val23.anchor = "middle_right";
|
8821
|
+
val23.x = -0.3;
|
8822
|
+
val23.y = 0;
|
8823
|
+
var ref28 = texts59.find((t) => t.text === "{REF}");
|
8824
|
+
ref28.anchor = "middle_left";
|
8825
|
+
ref28.x = 0.3;
|
8826
|
+
ref28.y = 0;
|
8827
|
+
var SPDT_switch_vert_default = rotatedSymbol22;
|
8572
8828
|
|
8573
8829
|
// assets/generated/SPST_switch.json
|
8574
8830
|
var SPST_switch_default = {
|
@@ -8665,36 +8921,36 @@ var SPST_switch_default = {
|
|
8665
8921
|
};
|
8666
8922
|
|
8667
8923
|
// symbols/SPST_switch_horz.ts
|
8668
|
-
var { paths:
|
8924
|
+
var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = SPST_switch_default;
|
8669
8925
|
var SPST_switch_horz_default = defineSymbol({
|
8670
8926
|
primitives: [
|
8671
|
-
...Object.values(
|
8672
|
-
...Object.values(
|
8673
|
-
{ ...
|
8674
|
-
{ ...
|
8927
|
+
...Object.values(paths42),
|
8928
|
+
...Object.values(circles32),
|
8929
|
+
{ ...texts60.top1, anchor: "middle_bottom", x: 0 },
|
8930
|
+
{ ...texts60.bottom1, anchor: "middle_top", x: 0 }
|
8675
8931
|
],
|
8676
8932
|
ports: [
|
8677
|
-
{ ...
|
8933
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
8678
8934
|
// TODO add more "standard" labels
|
8679
|
-
{ ...
|
8935
|
+
{ ...refblocks42.right1, labels: ["2"] }
|
8680
8936
|
// TODO add more "standard" labels
|
8681
8937
|
],
|
8682
|
-
size: { width:
|
8683
|
-
center: { x:
|
8938
|
+
size: { width: bounds42.width, height: bounds42.height },
|
8939
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
8684
8940
|
});
|
8685
8941
|
|
8686
8942
|
// symbols/SPST_switch_vert.ts
|
8687
|
-
var
|
8688
|
-
var
|
8689
|
-
var
|
8690
|
-
|
8691
|
-
|
8692
|
-
|
8693
|
-
var
|
8694
|
-
|
8695
|
-
|
8696
|
-
|
8697
|
-
var SPST_switch_vert_default =
|
8943
|
+
var rotatedSymbol23 = rotateSymbol(SPST_switch_horz_default);
|
8944
|
+
var texts61 = rotatedSymbol23.primitives.filter((p) => p.type === "text");
|
8945
|
+
var val24 = texts61.find((t) => t.text === "{VAL}");
|
8946
|
+
val24.anchor = "middle_right";
|
8947
|
+
val24.x = -0.3;
|
8948
|
+
val24.y = 0;
|
8949
|
+
var ref29 = texts61.find((t) => t.text === "{REF}");
|
8950
|
+
ref29.anchor = "middle_left";
|
8951
|
+
ref29.x = 0.3;
|
8952
|
+
ref29.y = 0;
|
8953
|
+
var SPST_switch_vert_default = rotatedSymbol23;
|
8698
8954
|
|
8699
8955
|
// assets/generated/step_recovery_diode.json
|
8700
8956
|
var step_recovery_diode_default = {
|
@@ -8858,11 +9114,11 @@ var step_recovery_diode_default = {
|
|
8858
9114
|
};
|
8859
9115
|
|
8860
9116
|
// symbols/step_recovery_diode_horz.ts
|
8861
|
-
var { paths:
|
9117
|
+
var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = step_recovery_diode_default;
|
8862
9118
|
var step_recovery_diode_horz_default = defineSymbol({
|
8863
9119
|
primitives: [
|
8864
|
-
...Object.values(
|
8865
|
-
...Object.values(
|
9120
|
+
...Object.values(paths43),
|
9121
|
+
...Object.values(circles33),
|
8866
9122
|
// { ...texts.top1, anchor: "middle_left" },
|
8867
9123
|
// { ...texts.bottom1, anchor: "middle_left" },
|
8868
9124
|
{
|
@@ -8881,13 +9137,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
8881
9137
|
}
|
8882
9138
|
],
|
8883
9139
|
ports: [
|
8884
|
-
{ ...
|
9140
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
8885
9141
|
// TODO add more "standard" labels
|
8886
|
-
{ ...
|
9142
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
8887
9143
|
// TODO add more "standard" labels
|
8888
9144
|
],
|
8889
|
-
size: { width:
|
8890
|
-
center: { x:
|
9145
|
+
size: { width: bounds43.width, height: bounds43.height },
|
9146
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
8891
9147
|
});
|
8892
9148
|
|
8893
9149
|
// symbols/step_recovery_diode_vert.ts
|
@@ -9084,36 +9340,36 @@ var triac_default = {
|
|
9084
9340
|
};
|
9085
9341
|
|
9086
9342
|
// symbols/triac_horz.ts
|
9087
|
-
var { paths:
|
9343
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = triac_default;
|
9088
9344
|
var triac_horz_default = defineSymbol({
|
9089
9345
|
primitives: [
|
9090
|
-
...Object.values(
|
9091
|
-
...Object.values(
|
9092
|
-
{ ...
|
9093
|
-
{ ...
|
9346
|
+
...Object.values(paths44),
|
9347
|
+
...Object.values(circles34),
|
9348
|
+
{ ...texts63.top1, anchor: "middle_left" },
|
9349
|
+
{ ...texts63.bottom1, anchor: "middle_top" }
|
9094
9350
|
],
|
9095
9351
|
ports: [
|
9096
|
-
{ ...
|
9352
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
9097
9353
|
// TODO add more "standard" labels
|
9098
|
-
{ ...
|
9354
|
+
{ ...refblocks44.right1, labels: ["2"] },
|
9099
9355
|
// TODO add more "standard" labels
|
9100
|
-
{ ...
|
9356
|
+
{ ...refblocks44.bottom1, labels: ["3"] }
|
9101
9357
|
// TODO add more "standard" labels
|
9102
9358
|
],
|
9103
|
-
size: { width:
|
9104
|
-
center: { x:
|
9359
|
+
size: { width: bounds44.width, height: bounds44.height },
|
9360
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
9105
9361
|
});
|
9106
9362
|
|
9107
9363
|
// symbols/triac_vert.ts
|
9108
|
-
var
|
9109
|
-
var
|
9364
|
+
var rotatedSymbol24 = rotateSymbol(triac_horz_default);
|
9365
|
+
var texts64 = rotatedSymbol24.primitives.filter(
|
9110
9366
|
(primitive) => primitive.type === "text"
|
9111
9367
|
);
|
9112
|
-
var
|
9113
|
-
var
|
9114
|
-
|
9115
|
-
|
9116
|
-
var triac_vert_default =
|
9368
|
+
var ref30 = texts64.find((text) => text.text === "{REF}");
|
9369
|
+
var val25 = texts64.find((text) => text.text === "{VAL}");
|
9370
|
+
ref30.y = 0;
|
9371
|
+
val25.y = 0;
|
9372
|
+
var triac_vert_default = rotatedSymbol24;
|
9117
9373
|
|
9118
9374
|
// assets/generated/tunnel_diode.json
|
9119
9375
|
var tunnel_diode_default = {
|
@@ -9277,34 +9533,34 @@ var tunnel_diode_default = {
|
|
9277
9533
|
};
|
9278
9534
|
|
9279
9535
|
// symbols/tunnel_diode_horz.ts
|
9280
|
-
var { paths:
|
9536
|
+
var { paths: paths45, texts: texts65, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = tunnel_diode_default;
|
9281
9537
|
var tunnel_diode_horz_default = defineSymbol({
|
9282
9538
|
primitives: [
|
9283
|
-
...Object.values(
|
9284
|
-
...Object.values(
|
9285
|
-
{ ...
|
9286
|
-
{ ...
|
9539
|
+
...Object.values(paths45),
|
9540
|
+
...Object.values(circles35),
|
9541
|
+
{ ...texts65.top1, anchor: "middle_bottom" },
|
9542
|
+
{ ...texts65.bottom1, anchor: "middle_top" }
|
9287
9543
|
],
|
9288
9544
|
ports: [
|
9289
|
-
{ ...
|
9545
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
9290
9546
|
// TODO add more "standard" labels
|
9291
|
-
{ ...
|
9547
|
+
{ ...refblocks45.right1, labels: ["2"] }
|
9292
9548
|
// TODO add more "standard" labels
|
9293
9549
|
],
|
9294
|
-
size: { width:
|
9295
|
-
center: { x:
|
9550
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9551
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
9296
9552
|
});
|
9297
9553
|
|
9298
9554
|
// symbols/tunnel_diode_vert.ts
|
9299
9555
|
var rotated11 = rotateSymbol(tunnel_diode_horz_default);
|
9300
|
-
var
|
9556
|
+
var ref31 = rotated11.primitives.find(
|
9301
9557
|
(p) => p.type === "text" && p.text === "{REF}"
|
9302
9558
|
);
|
9303
|
-
var
|
9559
|
+
var val26 = rotated11.primitives.find(
|
9304
9560
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9305
9561
|
);
|
9306
|
-
|
9307
|
-
|
9562
|
+
ref31.anchor = "middle_left";
|
9563
|
+
val26.anchor = "middle_right";
|
9308
9564
|
var tunnel_diode_vert_default = rotated11;
|
9309
9565
|
|
9310
9566
|
// assets/generated/unijunction_transistor.json
|
@@ -9475,37 +9731,37 @@ var unijunction_transistor_default = {
|
|
9475
9731
|
};
|
9476
9732
|
|
9477
9733
|
// symbols/unijunction_transistor_horz.ts
|
9478
|
-
var { paths:
|
9734
|
+
var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = unijunction_transistor_default;
|
9479
9735
|
var unijunction_transistor_horz_default = defineSymbol({
|
9480
9736
|
primitives: [
|
9481
|
-
...Object.values(
|
9482
|
-
...Object.values(
|
9483
|
-
{ ...
|
9484
|
-
{ ...
|
9737
|
+
...Object.values(paths46),
|
9738
|
+
...Object.values(circles36),
|
9739
|
+
{ ...texts66.top1, anchor: "middle_left" },
|
9740
|
+
{ ...texts66.bottom1, anchor: "middle_right" }
|
9485
9741
|
],
|
9486
9742
|
ports: [
|
9487
|
-
{ ...
|
9743
|
+
{ ...refblocks46.top1, labels: ["1"] },
|
9488
9744
|
// TODO add more "standard" labels
|
9489
|
-
{ ...
|
9745
|
+
{ ...refblocks46.bottom1, labels: ["2"] },
|
9490
9746
|
// TODO add more "standard" labels
|
9491
|
-
{ ...
|
9747
|
+
{ ...refblocks46.left1, labels: ["3"] }
|
9492
9748
|
// TODO add more "standard" labels
|
9493
9749
|
],
|
9494
|
-
size: { width:
|
9495
|
-
center: { x:
|
9750
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9751
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
9496
9752
|
});
|
9497
9753
|
|
9498
9754
|
// symbols/unijunction_transistor_vert.ts
|
9499
|
-
var
|
9500
|
-
var
|
9755
|
+
var rotatedSymbol25 = rotateSymbol(unijunction_transistor_horz_default);
|
9756
|
+
var texts67 = rotatedSymbol25.primitives.filter(
|
9501
9757
|
(primitive) => primitive.type === "text"
|
9502
9758
|
);
|
9503
|
-
var
|
9504
|
-
|
9505
|
-
var
|
9506
|
-
|
9507
|
-
|
9508
|
-
var unijunction_transistor_vert_default =
|
9759
|
+
var ref32 = texts67.find((text) => text.text === "{REF}");
|
9760
|
+
ref32.y = 0.1;
|
9761
|
+
var val27 = texts67.find((text) => text.text === "{VAL}");
|
9762
|
+
val27.y = 0.1;
|
9763
|
+
val27.x = -0.4;
|
9764
|
+
var unijunction_transistor_vert_default = rotatedSymbol25;
|
9509
9765
|
|
9510
9766
|
// assets/generated/var_meter.json
|
9511
9767
|
var var_meter_default = {
|
@@ -9594,33 +9850,33 @@ var var_meter_default = {
|
|
9594
9850
|
};
|
9595
9851
|
|
9596
9852
|
// symbols/var_meter_horz.ts
|
9597
|
-
var { paths:
|
9853
|
+
var { paths: paths47, texts: texts68, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = var_meter_default;
|
9598
9854
|
var var_meter_horz_default = defineSymbol({
|
9599
9855
|
primitives: [
|
9600
|
-
...Object.values(
|
9601
|
-
...Object.values(
|
9856
|
+
...Object.values(paths47),
|
9857
|
+
...Object.values(circles37),
|
9602
9858
|
{
|
9603
|
-
...
|
9859
|
+
...texts68.top1,
|
9604
9860
|
x: 0,
|
9605
9861
|
y: -0.3594553499999995,
|
9606
9862
|
anchor: "middle_bottom"
|
9607
9863
|
},
|
9608
9864
|
{
|
9609
|
-
...
|
9865
|
+
...texts68.bottom1,
|
9610
9866
|
x: 0,
|
9611
9867
|
y: 0.35,
|
9612
9868
|
anchor: "middle_top"
|
9613
9869
|
},
|
9614
|
-
{ ...
|
9870
|
+
{ ...texts68.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
9615
9871
|
],
|
9616
9872
|
ports: [
|
9617
|
-
{ ...
|
9873
|
+
{ ...refblocks47.left1, labels: ["1"] },
|
9618
9874
|
// TODO add more "standard" labels
|
9619
|
-
{ ...
|
9875
|
+
{ ...refblocks47.right1, labels: ["2"] }
|
9620
9876
|
// TODO add more "standard" labels
|
9621
9877
|
],
|
9622
|
-
size: { width:
|
9623
|
-
center: { x:
|
9878
|
+
size: { width: bounds47.width, height: bounds47.height },
|
9879
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
9624
9880
|
});
|
9625
9881
|
|
9626
9882
|
// symbols/var_meter_vert.ts
|
@@ -9773,34 +10029,34 @@ var varactor_diode_default = {
|
|
9773
10029
|
};
|
9774
10030
|
|
9775
10031
|
// symbols/varactor_diode_horz.ts
|
9776
|
-
var { paths:
|
10032
|
+
var { paths: paths48, texts: texts69, bounds: bounds48, refblocks: refblocks48, circles: circles38 } = varactor_diode_default;
|
9777
10033
|
var varactor_diode_horz_default = defineSymbol({
|
9778
10034
|
primitives: [
|
9779
|
-
...Object.values(
|
9780
|
-
...Object.values(
|
9781
|
-
{ ...
|
9782
|
-
{ ...
|
10035
|
+
...Object.values(paths48),
|
10036
|
+
...Object.values(circles38),
|
10037
|
+
{ ...texts69.top1, anchor: "middle_bottom" },
|
10038
|
+
{ ...texts69.bottom1, anchor: "middle_top" }
|
9783
10039
|
],
|
9784
10040
|
ports: [
|
9785
|
-
{ ...
|
10041
|
+
{ ...refblocks48.left1, labels: ["1"] },
|
9786
10042
|
// TODO add more "standard" labels
|
9787
|
-
{ ...
|
10043
|
+
{ ...refblocks48.right1, labels: ["2"] }
|
9788
10044
|
// TODO add more "standard" labels
|
9789
10045
|
],
|
9790
|
-
size: { width:
|
9791
|
-
center: { x:
|
10046
|
+
size: { width: bounds48.width, height: bounds48.height },
|
10047
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
9792
10048
|
});
|
9793
10049
|
|
9794
10050
|
// symbols/varactor_diode_vert.ts
|
9795
10051
|
var rotated12 = rotateSymbol(varactor_diode_horz_default);
|
9796
|
-
var
|
10052
|
+
var ref33 = rotated12.primitives.find(
|
9797
10053
|
(p) => p.type === "text" && p.text === "{REF}"
|
9798
10054
|
);
|
9799
|
-
var
|
10055
|
+
var val28 = rotated12.primitives.find(
|
9800
10056
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9801
10057
|
);
|
9802
|
-
|
9803
|
-
|
10058
|
+
ref33.anchor = "middle_left";
|
10059
|
+
val28.anchor = "middle_right";
|
9804
10060
|
var varactor_diode_vert_default = rotated12;
|
9805
10061
|
|
9806
10062
|
// assets/generated/varistor.json
|
@@ -9936,26 +10192,26 @@ var varistor_default = {
|
|
9936
10192
|
};
|
9937
10193
|
|
9938
10194
|
// symbols/varistor_horz.ts
|
9939
|
-
var { paths:
|
10195
|
+
var { paths: paths49, texts: texts70, bounds: bounds49, refblocks: refblocks49 } = varistor_default;
|
9940
10196
|
var varistor_horz_default = defineSymbol({
|
9941
10197
|
primitives: [
|
9942
|
-
...Object.values(
|
9943
|
-
{ ...
|
9944
|
-
{ ...
|
10198
|
+
...Object.values(paths49),
|
10199
|
+
{ ...texts70.top1, anchor: "middle_left" },
|
10200
|
+
{ ...texts70.bottom1, anchor: "middle_right" }
|
9945
10201
|
],
|
9946
10202
|
ports: [
|
9947
10203
|
{
|
9948
|
-
...
|
10204
|
+
...refblocks49.left1,
|
9949
10205
|
labels: ["1", "-"]
|
9950
10206
|
},
|
9951
10207
|
{
|
9952
|
-
...
|
10208
|
+
...refblocks49.right1,
|
9953
10209
|
labels: ["2", "+"]
|
9954
10210
|
}
|
9955
10211
|
],
|
9956
|
-
size: { width:
|
10212
|
+
size: { width: bounds49.width, height: bounds49.height },
|
9957
10213
|
//{ width: 1, height: 0.24 },
|
9958
|
-
center: { x:
|
10214
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
9959
10215
|
});
|
9960
10216
|
|
9961
10217
|
// symbols/varistor_vert.ts
|
@@ -10061,11 +10317,11 @@ var volt_meter_default = {
|
|
10061
10317
|
};
|
10062
10318
|
|
10063
10319
|
// symbols/volt_meter_horz.ts
|
10064
|
-
var { paths:
|
10320
|
+
var { paths: paths50, texts: texts71, bounds: bounds50, circles: circles39, refblocks: refblocks50 } = volt_meter_default;
|
10065
10321
|
var volt_meter_horz_default = defineSymbol({
|
10066
10322
|
primitives: [
|
10067
|
-
...Object.values(
|
10068
|
-
...Object.values(
|
10323
|
+
...Object.values(paths50),
|
10324
|
+
...Object.values(circles39),
|
10069
10325
|
{
|
10070
10326
|
type: "text",
|
10071
10327
|
text: "{REF}",
|
@@ -10082,13 +10338,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
10082
10338
|
}
|
10083
10339
|
],
|
10084
10340
|
ports: [
|
10085
|
-
{ ...
|
10341
|
+
{ ...refblocks50.left1, labels: ["1"] },
|
10086
10342
|
// TODO add more "standard" labels
|
10087
|
-
{ ...
|
10343
|
+
{ ...refblocks50.right1, labels: ["2"] }
|
10088
10344
|
// TODO add more "standard" labels
|
10089
10345
|
],
|
10090
|
-
size: { width:
|
10091
|
-
center: { x:
|
10346
|
+
size: { width: bounds50.width, height: bounds50.height },
|
10347
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
10092
10348
|
});
|
10093
10349
|
|
10094
10350
|
// symbols/volt_meter_vert.ts
|
@@ -10241,34 +10497,34 @@ var zener_diode_default = {
|
|
10241
10497
|
};
|
10242
10498
|
|
10243
10499
|
// symbols/zener_diode_horz.ts
|
10244
|
-
var { paths:
|
10500
|
+
var { paths: paths51, texts: texts72, bounds: bounds51, refblocks: refblocks51, circles: circles40 } = zener_diode_default;
|
10245
10501
|
var zener_diode_horz_default = defineSymbol({
|
10246
10502
|
primitives: [
|
10247
|
-
...Object.values(
|
10248
|
-
...Object.values(
|
10249
|
-
{ ...
|
10250
|
-
{ ...
|
10503
|
+
...Object.values(paths51),
|
10504
|
+
...Object.values(circles40),
|
10505
|
+
{ ...texts72.top1, anchor: "middle_bottom" },
|
10506
|
+
{ ...texts72.bottom1, anchor: "middle_top" }
|
10251
10507
|
],
|
10252
10508
|
ports: [
|
10253
|
-
{ ...
|
10509
|
+
{ ...refblocks51.left1, labels: ["1"] },
|
10254
10510
|
// TODO add more "standard" labels
|
10255
|
-
{ ...
|
10511
|
+
{ ...refblocks51.right1, labels: ["2"] }
|
10256
10512
|
// TODO add more "standard" labels
|
10257
10513
|
],
|
10258
|
-
size: { width:
|
10259
|
-
center: { x:
|
10514
|
+
size: { width: bounds51.width, height: bounds51.height },
|
10515
|
+
center: { x: bounds51.centerX, y: bounds51.centerY }
|
10260
10516
|
});
|
10261
10517
|
|
10262
10518
|
// symbols/zener_diode_vert.ts
|
10263
10519
|
var rotated13 = rotateSymbol(zener_diode_horz_default);
|
10264
|
-
var
|
10520
|
+
var ref34 = rotated13.primitives.find(
|
10265
10521
|
(p) => p.type === "text" && p.text === "{REF}"
|
10266
10522
|
);
|
10267
|
-
var
|
10523
|
+
var val29 = rotated13.primitives.find(
|
10268
10524
|
(p) => p.type === "text" && p.text === "{VAL}"
|
10269
10525
|
);
|
10270
|
-
|
10271
|
-
|
10526
|
+
ref34.anchor = "middle_left";
|
10527
|
+
val29.anchor = "middle_right";
|
10272
10528
|
var zener_diode_vert_default = rotated13;
|
10273
10529
|
|
10274
10530
|
// generated/symbols-index.ts
|
@@ -10311,6 +10567,8 @@ var symbols_index_default = {
|
|
10311
10567
|
"laser_diode_vert": laser_diode_vert_default,
|
10312
10568
|
"led_horz": led_horz_default,
|
10313
10569
|
"led_vert": led_vert_default,
|
10570
|
+
"light_dependent_resistor_horz": light_dependent_resistor_horz_default,
|
10571
|
+
"light_dependent_resistor_vert": light_dependent_resistor_vert_default,
|
10314
10572
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|
10315
10573
|
"mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
|
10316
10574
|
"mushroom_head_normally_open_momentary_horz": mushroom_head_normally_open_momentary_horz_default,
|