schematic-symbols 0.0.63 → 0.0.64
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 +441 -242
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/njfet_transistor_horz.ts +20 -0
- package/symbols/njfet_transistor_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -3020,6 +3020,203 @@ ref9.x = val8.x;
|
|
3020
3020
|
val8.y += 0.15;
|
3021
3021
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
3022
3022
|
|
3023
|
+
// assets/generated/njfet_transistor.json
|
3024
|
+
var njfet_transistor_default = {
|
3025
|
+
paths: {
|
3026
|
+
path11: {
|
3027
|
+
type: "path",
|
3028
|
+
points: [
|
3029
|
+
{
|
3030
|
+
x: -0.38509374449999945,
|
3031
|
+
y: 0.00367374999999992
|
3032
|
+
},
|
3033
|
+
{
|
3034
|
+
x: 0.05876225550000025,
|
3035
|
+
y: 0.00629674999999974
|
3036
|
+
}
|
3037
|
+
],
|
3038
|
+
color: "primary",
|
3039
|
+
fill: false
|
3040
|
+
},
|
3041
|
+
path40: {
|
3042
|
+
type: "path",
|
3043
|
+
points: [
|
3044
|
+
{
|
3045
|
+
x: 0.07415065550000066,
|
3046
|
+
y: -0.18559775000000034
|
3047
|
+
},
|
3048
|
+
{
|
3049
|
+
x: 0.07322065550000101,
|
3050
|
+
y: 0.18255174999999935
|
3051
|
+
}
|
3052
|
+
],
|
3053
|
+
color: "primary",
|
3054
|
+
fill: false
|
3055
|
+
},
|
3056
|
+
"path12-1": {
|
3057
|
+
type: "path",
|
3058
|
+
points: [
|
3059
|
+
{
|
3060
|
+
x: 0.28423665550000043,
|
3061
|
+
y: -0.53233025
|
3062
|
+
},
|
3063
|
+
{
|
3064
|
+
x: 0.2836366555000003,
|
3065
|
+
y: -0.10600584999999985
|
3066
|
+
}
|
3067
|
+
],
|
3068
|
+
color: "primary",
|
3069
|
+
fill: false
|
3070
|
+
},
|
3071
|
+
"path12-1-5": {
|
3072
|
+
type: "path",
|
3073
|
+
points: [
|
3074
|
+
{
|
3075
|
+
x: 0.2912404555000001,
|
3076
|
+
y: 0.5298821500000002
|
3077
|
+
},
|
3078
|
+
{
|
3079
|
+
x: 0.29184045550000004,
|
3080
|
+
y: 0.10355795000000012
|
3081
|
+
}
|
3082
|
+
],
|
3083
|
+
color: "primary",
|
3084
|
+
fill: false
|
3085
|
+
},
|
3086
|
+
path2: {
|
3087
|
+
type: "path",
|
3088
|
+
points: [
|
3089
|
+
{
|
3090
|
+
x: 0.07425025549999931,
|
3091
|
+
y: -0.10788365000000044
|
3092
|
+
},
|
3093
|
+
{
|
3094
|
+
x: 0.29146205549999915,
|
3095
|
+
y: -0.10659565000000004
|
3096
|
+
}
|
3097
|
+
],
|
3098
|
+
color: "primary",
|
3099
|
+
fill: false
|
3100
|
+
},
|
3101
|
+
"path2-5": {
|
3102
|
+
type: "path",
|
3103
|
+
points: [
|
3104
|
+
{
|
3105
|
+
x: 0.07425025549999931,
|
3106
|
+
y: 0.10232114999999986
|
3107
|
+
},
|
3108
|
+
{
|
3109
|
+
x: 0.29146205549999915,
|
3110
|
+
y: 0.10360915000000026
|
3111
|
+
}
|
3112
|
+
],
|
3113
|
+
color: "primary",
|
3114
|
+
fill: false
|
3115
|
+
},
|
3116
|
+
path15: {
|
3117
|
+
type: "path",
|
3118
|
+
points: [
|
3119
|
+
{
|
3120
|
+
x: -0.0829488445000004,
|
3121
|
+
y: -0.06153284999999986
|
3122
|
+
},
|
3123
|
+
{
|
3124
|
+
x: -0.0829488445000004,
|
3125
|
+
y: 0.06535114999999969
|
3126
|
+
},
|
3127
|
+
{
|
3128
|
+
x: 0.005945155500000077,
|
3129
|
+
y: 0.0026521499999998532
|
3130
|
+
}
|
3131
|
+
],
|
3132
|
+
color: "primary",
|
3133
|
+
fill: true
|
3134
|
+
}
|
3135
|
+
},
|
3136
|
+
texts: {
|
3137
|
+
top1: {
|
3138
|
+
type: "text",
|
3139
|
+
text: "{REF}",
|
3140
|
+
x: -0.15156024449999927,
|
3141
|
+
y: -0.36092494999999936
|
3142
|
+
},
|
3143
|
+
bottom1: {
|
3144
|
+
type: "text",
|
3145
|
+
text: "{VAL}",
|
3146
|
+
x: 0.0393233555000001,
|
3147
|
+
y: 0.42489435000000064
|
3148
|
+
}
|
3149
|
+
},
|
3150
|
+
refblocks: {
|
3151
|
+
top1: {
|
3152
|
+
x: 0.2843894554999997,
|
3153
|
+
y: -0.5519248499999992
|
3154
|
+
},
|
3155
|
+
bottom1: {
|
3156
|
+
x: 0.29108805550000105,
|
3157
|
+
y: 0.5519248499999994
|
3158
|
+
},
|
3159
|
+
left1: {
|
3160
|
+
x: -0.3990097444999998,
|
3161
|
+
y: 0.004526550000000462
|
3162
|
+
}
|
3163
|
+
},
|
3164
|
+
bounds: {
|
3165
|
+
minX: -0.4271681854999998,
|
3166
|
+
maxX: 0.42716818549999985,
|
3167
|
+
minY: -0.5800832909999992,
|
3168
|
+
maxY: 0.5800832909999993,
|
3169
|
+
width: 1,
|
3170
|
+
height: 1.1601665819999987,
|
3171
|
+
centerX: 27755575615628914e-33,
|
3172
|
+
centerY: 5551115123125783e-32
|
3173
|
+
},
|
3174
|
+
circles: {
|
3175
|
+
path1: {
|
3176
|
+
type: "circle",
|
3177
|
+
x: 0.13862605549999985,
|
3178
|
+
y: -0.003454549999999612,
|
3179
|
+
radius: 0.28854213,
|
3180
|
+
color: "primary",
|
3181
|
+
fill: false
|
3182
|
+
}
|
3183
|
+
}
|
3184
|
+
};
|
3185
|
+
|
3186
|
+
// symbols/njfet_transistor_horz.ts
|
3187
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = njfet_transistor_default;
|
3188
|
+
var njfet_transistor_horz_default = defineSymbol({
|
3189
|
+
primitives: [
|
3190
|
+
...Object.values(paths17),
|
3191
|
+
...Object.values(circles11),
|
3192
|
+
{ ...texts21.top1, anchor: "middle_right", x: 0 },
|
3193
|
+
{ ...texts21.bottom1, anchor: "middle_right", x: 0 }
|
3194
|
+
],
|
3195
|
+
ports: [
|
3196
|
+
{ ...refblocks17.top1, labels: ["1", "drain"] },
|
3197
|
+
// TODO add more "standard" labels
|
3198
|
+
{ ...refblocks17.bottom1, labels: ["2", "source"] },
|
3199
|
+
// TODO add more "standard" labels
|
3200
|
+
{ ...refblocks17.left1, labels: ["3", "gate"] }
|
3201
|
+
// TODO add more "standard" labels
|
3202
|
+
],
|
3203
|
+
size: { width: bounds17.width, height: bounds17.height },
|
3204
|
+
center: { x: bounds17.centerX, y: bounds17.centerY }
|
3205
|
+
});
|
3206
|
+
|
3207
|
+
// symbols/njfet_transistor_vert.ts
|
3208
|
+
var rotatedSymbol9 = rotateSymbol(njfet_transistor_horz_default);
|
3209
|
+
var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
3210
|
+
var val9 = texts22.find((t) => t.text === "{VAL}");
|
3211
|
+
val9.x = -0.35;
|
3212
|
+
val9.y = 0;
|
3213
|
+
val9.anchor = "middle_right";
|
3214
|
+
var ref10 = texts22.find((t) => t.text === "{REF}");
|
3215
|
+
ref10.y = 0;
|
3216
|
+
ref10.x = 0.35;
|
3217
|
+
ref10.anchor = "middle_left";
|
3218
|
+
var njfet_transistor_vert_default = rotatedSymbol9;
|
3219
|
+
|
3023
3220
|
// assets/generated/photodiode.json
|
3024
3221
|
var photodiode_default = {
|
3025
3222
|
paths: {
|
@@ -3245,11 +3442,11 @@ var photodiode_default = {
|
|
3245
3442
|
};
|
3246
3443
|
|
3247
3444
|
// symbols/photodiode_horz.ts
|
3248
|
-
var { paths:
|
3445
|
+
var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = photodiode_default;
|
3249
3446
|
var photodiode_horz_default = defineSymbol({
|
3250
3447
|
primitives: [
|
3251
|
-
...Object.values(
|
3252
|
-
...Object.values(
|
3448
|
+
...Object.values(paths18),
|
3449
|
+
...Object.values(circles12),
|
3253
3450
|
{
|
3254
3451
|
type: "text",
|
3255
3452
|
text: "{REF}",
|
@@ -3266,22 +3463,22 @@ var photodiode_horz_default = defineSymbol({
|
|
3266
3463
|
}
|
3267
3464
|
],
|
3268
3465
|
ports: [
|
3269
|
-
{ ...
|
3466
|
+
{ ...refblocks18.left1, labels: ["1"] },
|
3270
3467
|
// TODO add more "standard" labels
|
3271
|
-
{ ...
|
3468
|
+
{ ...refblocks18.right1, labels: ["2"] }
|
3272
3469
|
// TODO add more "standard" labels
|
3273
3470
|
],
|
3274
|
-
size: { width:
|
3275
|
-
center: { x:
|
3471
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3472
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3276
3473
|
});
|
3277
3474
|
|
3278
3475
|
// symbols/photodiode_vert.ts
|
3279
|
-
var
|
3280
|
-
var
|
3281
|
-
var
|
3282
|
-
|
3283
|
-
|
3284
|
-
var photodiode_vert_default =
|
3476
|
+
var rotatedSymbol10 = rotateSymbol(photodiode_horz_default);
|
3477
|
+
var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3478
|
+
var ref11 = texts24.find((t) => t.text === "{REF}");
|
3479
|
+
ref11.y = 0;
|
3480
|
+
ref11.anchor = "middle_left";
|
3481
|
+
var photodiode_vert_default = rotatedSymbol10;
|
3285
3482
|
|
3286
3483
|
// assets/generated/pjfet_transistor.json
|
3287
3484
|
var pjfet_transistor_default = {
|
@@ -3447,38 +3644,38 @@ var pjfet_transistor_default = {
|
|
3447
3644
|
};
|
3448
3645
|
|
3449
3646
|
// symbols/pjfet_transistor_horz.ts
|
3450
|
-
var { paths:
|
3647
|
+
var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = pjfet_transistor_default;
|
3451
3648
|
var pjfet_transistor_horz_default = defineSymbol({
|
3452
3649
|
primitives: [
|
3453
|
-
...Object.values(
|
3454
|
-
...Object.values(
|
3455
|
-
{ ...
|
3456
|
-
{ ...
|
3650
|
+
...Object.values(paths19),
|
3651
|
+
...Object.values(circles13),
|
3652
|
+
{ ...texts25.top1, anchor: "middle_right", x: 0 },
|
3653
|
+
{ ...texts25.bottom1, anchor: "middle_right" }
|
3457
3654
|
],
|
3458
3655
|
ports: [
|
3459
|
-
{ ...
|
3656
|
+
{ ...refblocks19.top1, labels: ["1", "drain"] },
|
3460
3657
|
// TODO add more "standard" labels
|
3461
|
-
{ ...
|
3658
|
+
{ ...refblocks19.bottom1, labels: ["2", "source"] },
|
3462
3659
|
// TODO add more "standard" labels
|
3463
|
-
{ ...
|
3660
|
+
{ ...refblocks19.left1, labels: ["3", "gate"] }
|
3464
3661
|
// TODO add more "standard" labels
|
3465
3662
|
],
|
3466
|
-
size: { width:
|
3467
|
-
center: { x:
|
3663
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3664
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3468
3665
|
});
|
3469
3666
|
|
3470
3667
|
// symbols/pjfet_transistor_vert.ts
|
3471
|
-
var
|
3472
|
-
var
|
3473
|
-
var
|
3474
|
-
|
3475
|
-
|
3476
|
-
|
3477
|
-
var
|
3478
|
-
|
3479
|
-
|
3480
|
-
|
3481
|
-
var pjfet_transistor_vert_default =
|
3668
|
+
var rotatedSymbol11 = rotateSymbol(pjfet_transistor_horz_default);
|
3669
|
+
var texts26 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3670
|
+
var val10 = texts26.find((t) => t.text === "{VAL}");
|
3671
|
+
val10.x = -0.35;
|
3672
|
+
val10.y = 0;
|
3673
|
+
val10.anchor = "middle_right";
|
3674
|
+
var ref12 = texts26.find((t) => t.text === "{REF}");
|
3675
|
+
ref12.y = 0;
|
3676
|
+
ref12.x = 0.35;
|
3677
|
+
ref12.anchor = "middle_left";
|
3678
|
+
var pjfet_transistor_vert_default = rotatedSymbol11;
|
3482
3679
|
|
3483
3680
|
// assets/generated/potentiometer.json
|
3484
3681
|
var potentiometer_default = {
|
@@ -3616,21 +3813,21 @@ var potentiometer_default = {
|
|
3616
3813
|
};
|
3617
3814
|
|
3618
3815
|
// symbols/potentiometer_horz.ts
|
3619
|
-
var { paths:
|
3816
|
+
var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20 } = potentiometer_default;
|
3620
3817
|
var potentiometer_horz_default = defineSymbol({
|
3621
3818
|
primitives: [
|
3622
|
-
...Object.values(
|
3623
|
-
{ ...
|
3624
|
-
{ ...
|
3819
|
+
...Object.values(paths20),
|
3820
|
+
{ ...texts27.bottom1, y: 0.35, anchor: "middle_top" },
|
3821
|
+
{ ...texts27.right1, anchor: "middle_left" }
|
3625
3822
|
],
|
3626
3823
|
ports: [
|
3627
|
-
{ ...
|
3824
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3628
3825
|
// TODO add more "standard" labels
|
3629
|
-
{ ...
|
3826
|
+
{ ...refblocks20.right1, labels: ["2"] }
|
3630
3827
|
// TODO add more "standard" labels
|
3631
3828
|
],
|
3632
|
-
size: { width:
|
3633
|
-
center: { x:
|
3829
|
+
size: { width: bounds20.width + 0.05, height: bounds20.height },
|
3830
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3634
3831
|
});
|
3635
3832
|
|
3636
3833
|
// symbols/potentiometer_vert.ts
|
@@ -3792,21 +3989,21 @@ var potentiometer2_default = {
|
|
3792
3989
|
};
|
3793
3990
|
|
3794
3991
|
// symbols/potentiometer2_horz.ts
|
3795
|
-
var { paths:
|
3992
|
+
var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21 } = potentiometer2_default;
|
3796
3993
|
var potentiometer2_horz_default = defineSymbol({
|
3797
3994
|
primitives: [
|
3798
|
-
...Object.values(
|
3799
|
-
{ ...
|
3800
|
-
{ ...
|
3995
|
+
...Object.values(paths21),
|
3996
|
+
{ ...texts28.bottom1, anchor: "middle_right" },
|
3997
|
+
{ ...texts28.top1, anchor: "middle_left" }
|
3801
3998
|
],
|
3802
3999
|
ports: [
|
3803
|
-
{ ...
|
4000
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3804
4001
|
// TODO add more "standard" labels
|
3805
|
-
{ ...
|
4002
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3806
4003
|
// TODO add more "standard" labels
|
3807
4004
|
],
|
3808
|
-
size: { width:
|
3809
|
-
center: { x:
|
4005
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4006
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3810
4007
|
});
|
3811
4008
|
|
3812
4009
|
// symbols/potentiometer2_vert.ts
|
@@ -3899,11 +4096,11 @@ var power_factor_meter_default = {
|
|
3899
4096
|
};
|
3900
4097
|
|
3901
4098
|
// symbols/power_factor_meter_horz.ts
|
3902
|
-
var { paths:
|
4099
|
+
var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles14 } = power_factor_meter_default;
|
3903
4100
|
var power_factor_meter_horz_default = defineSymbol({
|
3904
4101
|
primitives: [
|
3905
|
-
...Object.values(
|
3906
|
-
...Object.values(
|
4102
|
+
...Object.values(paths22),
|
4103
|
+
...Object.values(circles14),
|
3907
4104
|
// { ...texts.top1, anchor: "middle_left" },
|
3908
4105
|
{
|
3909
4106
|
type: "text",
|
@@ -3930,28 +4127,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
3930
4127
|
}
|
3931
4128
|
],
|
3932
4129
|
ports: [
|
3933
|
-
{ ...
|
4130
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
3934
4131
|
// TODO add more "standard" labels
|
3935
|
-
{ ...
|
4132
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
3936
4133
|
// TODO add more "standard" labels
|
3937
4134
|
],
|
3938
|
-
size: { width:
|
3939
|
-
center: { x:
|
4135
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4136
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
3940
4137
|
});
|
3941
4138
|
|
3942
4139
|
// symbols/power_factor_meter_vert.ts
|
3943
|
-
var
|
3944
|
-
var
|
3945
|
-
var
|
3946
|
-
var
|
3947
|
-
var text_cos =
|
3948
|
-
|
3949
|
-
|
3950
|
-
|
3951
|
-
|
4140
|
+
var rotatedSymbol12 = rotateSymbol(power_factor_meter_horz_default);
|
4141
|
+
var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
4142
|
+
var ref13 = texts30.find((t) => t.text === "{REF}");
|
4143
|
+
var val11 = texts30.find((t) => t.text === "{VAL}");
|
4144
|
+
var text_cos = texts30.find((t) => t.text === "COS \u03C6");
|
4145
|
+
ref13.x = 0.35;
|
4146
|
+
ref13.y = 0;
|
4147
|
+
val11.x = -0.6;
|
4148
|
+
val11.y = 0;
|
3952
4149
|
text_cos.x = -0.1;
|
3953
4150
|
text_cos.y = 0;
|
3954
|
-
var power_factor_meter_vert_default =
|
4151
|
+
var power_factor_meter_vert_default = rotatedSymbol12;
|
3955
4152
|
|
3956
4153
|
// assets/generated/push_button_normally_closed_momentary.json
|
3957
4154
|
var push_button_normally_closed_momentary_default = {
|
@@ -4054,37 +4251,37 @@ var push_button_normally_closed_momentary_default = {
|
|
4054
4251
|
};
|
4055
4252
|
|
4056
4253
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
4057
|
-
var { paths:
|
4254
|
+
var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23 } = push_button_normally_closed_momentary_default;
|
4058
4255
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
4059
4256
|
primitives: [
|
4060
|
-
...Object.values(
|
4061
|
-
{ ...
|
4062
|
-
{ ...
|
4257
|
+
...Object.values(paths23),
|
4258
|
+
{ ...texts31.top1, anchor: "middle_bottom" },
|
4259
|
+
{ ...texts31.bottom1, anchor: "middle_top" }
|
4063
4260
|
],
|
4064
4261
|
ports: [
|
4065
|
-
{ ...
|
4262
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4066
4263
|
// TODO add more "standard" labels
|
4067
|
-
{ ...
|
4264
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4068
4265
|
// TODO add more "standard" labels
|
4069
4266
|
],
|
4070
|
-
size: { width:
|
4071
|
-
center: { x:
|
4267
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4268
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4072
4269
|
});
|
4073
4270
|
|
4074
4271
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
4075
4272
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
4076
|
-
var
|
4273
|
+
var ref14 = rotated6.primitives.find(
|
4077
4274
|
(p) => p.type === "text" && p.text === "{REF}"
|
4078
4275
|
);
|
4079
|
-
var
|
4276
|
+
var val12 = rotated6.primitives.find(
|
4080
4277
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4081
4278
|
);
|
4082
|
-
|
4083
|
-
|
4084
|
-
|
4085
|
-
|
4086
|
-
|
4087
|
-
|
4279
|
+
ref14.anchor = "middle_left";
|
4280
|
+
val12.anchor = "middle_right";
|
4281
|
+
ref14.x = ref14.x - 0.03;
|
4282
|
+
ref14.y = ref14.y;
|
4283
|
+
val12.x = val12.x;
|
4284
|
+
val12.y = 0;
|
4088
4285
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
4089
4286
|
|
4090
4287
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -4188,37 +4385,37 @@ var push_button_normally_open_momentary_default = {
|
|
4188
4385
|
};
|
4189
4386
|
|
4190
4387
|
// symbols/push_button_normally_open_momentary_horz.ts
|
4191
|
-
var { paths:
|
4388
|
+
var { paths: paths24, texts: texts32, bounds: bounds24, refblocks: refblocks24 } = push_button_normally_open_momentary_default;
|
4192
4389
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
4193
4390
|
primitives: [
|
4194
|
-
...Object.values(
|
4195
|
-
{ ...
|
4196
|
-
{ ...
|
4391
|
+
...Object.values(paths24),
|
4392
|
+
{ ...texts32.top1, anchor: "middle_bottom" },
|
4393
|
+
{ ...texts32.bottom1, anchor: "middle_top" }
|
4197
4394
|
],
|
4198
4395
|
ports: [
|
4199
|
-
{ ...
|
4396
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4200
4397
|
// TODO add more "standard" labels
|
4201
|
-
{ ...
|
4398
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4202
4399
|
// TODO add more "standard" labels
|
4203
4400
|
],
|
4204
|
-
size: { width:
|
4205
|
-
center: { x:
|
4401
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4402
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4206
4403
|
});
|
4207
4404
|
|
4208
4405
|
// symbols/push_button_normally_open_momentary_vert.ts
|
4209
4406
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
4210
|
-
var
|
4407
|
+
var ref15 = rotated7.primitives.find(
|
4211
4408
|
(p) => p.type === "text" && p.text === "{REF}"
|
4212
4409
|
);
|
4213
|
-
var
|
4410
|
+
var val13 = rotated7.primitives.find(
|
4214
4411
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4215
4412
|
);
|
4216
|
-
|
4217
|
-
|
4218
|
-
|
4219
|
-
|
4220
|
-
|
4221
|
-
|
4413
|
+
ref15.anchor = "middle_left";
|
4414
|
+
val13.anchor = "middle_right";
|
4415
|
+
ref15.x = ref15.x + 0.1;
|
4416
|
+
ref15.y = ref15.y;
|
4417
|
+
val13.x = val13.x;
|
4418
|
+
val13.y = 0;
|
4222
4419
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
4223
4420
|
|
4224
4421
|
// assets/generated/resonator.json
|
@@ -4567,11 +4764,11 @@ var resonator_default = {
|
|
4567
4764
|
};
|
4568
4765
|
|
4569
4766
|
// symbols/resonator_horz.ts
|
4570
|
-
var { paths:
|
4767
|
+
var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = resonator_default;
|
4571
4768
|
var resonator_horz_default = defineSymbol({
|
4572
4769
|
primitives: [
|
4573
|
-
...Object.values(
|
4574
|
-
...Object.values(
|
4770
|
+
...Object.values(paths25),
|
4771
|
+
...Object.values(circles15),
|
4575
4772
|
// { ...texts.top1, anchor: "middle_left" },
|
4576
4773
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4577
4774
|
{
|
@@ -4590,15 +4787,15 @@ var resonator_horz_default = defineSymbol({
|
|
4590
4787
|
}
|
4591
4788
|
],
|
4592
4789
|
ports: [
|
4593
|
-
{ ...
|
4790
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4594
4791
|
// TODO add more "standard" labels
|
4595
|
-
{ ...
|
4792
|
+
{ ...refblocks25.right1, labels: ["2"] },
|
4596
4793
|
// TODO add more "standard" labels
|
4597
|
-
{ ...
|
4794
|
+
{ ...refblocks25.right2, labels: ["3"] }
|
4598
4795
|
// TODO add more "standard" labels
|
4599
4796
|
],
|
4600
|
-
size: { width:
|
4601
|
-
center: { x:
|
4797
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4798
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4602
4799
|
});
|
4603
4800
|
|
4604
4801
|
// symbols/resonator_vert.ts
|
@@ -4796,34 +4993,34 @@ var schottky_diode_default = {
|
|
4796
4993
|
};
|
4797
4994
|
|
4798
4995
|
// symbols/schottky_diode_horz.ts
|
4799
|
-
var { paths:
|
4996
|
+
var { paths: paths26, texts: texts34, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = schottky_diode_default;
|
4800
4997
|
var schottky_diode_horz_default = defineSymbol({
|
4801
4998
|
primitives: [
|
4802
|
-
...Object.values(
|
4803
|
-
...Object.values(
|
4804
|
-
{ ...
|
4805
|
-
{ ...
|
4999
|
+
...Object.values(paths26),
|
5000
|
+
...Object.values(circles16),
|
5001
|
+
{ ...texts34.top1, anchor: "middle_bottom" },
|
5002
|
+
{ ...texts34.bottom1, anchor: "middle_top" }
|
4806
5003
|
],
|
4807
5004
|
ports: [
|
4808
|
-
{ ...
|
5005
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4809
5006
|
// TODO add more "standard" labels
|
4810
|
-
{ ...
|
5007
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4811
5008
|
// TODO add more "standard" labels
|
4812
5009
|
],
|
4813
|
-
size: { width:
|
4814
|
-
center: { x:
|
5010
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5011
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4815
5012
|
});
|
4816
5013
|
|
4817
5014
|
// symbols/schottky_diode_vert.ts
|
4818
5015
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
4819
|
-
var
|
5016
|
+
var ref16 = rotated8.primitives.find(
|
4820
5017
|
(p) => p.type === "text" && p.text === "{REF}"
|
4821
5018
|
);
|
4822
|
-
var
|
5019
|
+
var val14 = rotated8.primitives.find(
|
4823
5020
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4824
5021
|
);
|
4825
|
-
|
4826
|
-
|
5022
|
+
ref16.anchor = "middle_left";
|
5023
|
+
val14.anchor = "middle_right";
|
4827
5024
|
var schottky_diode_vert_default = rotated8;
|
4828
5025
|
|
4829
5026
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -4970,35 +5167,35 @@ var silicon_controlled_rectifier_default = {
|
|
4970
5167
|
};
|
4971
5168
|
|
4972
5169
|
// symbols/silicon_controlled_rectifier_horz.ts
|
4973
|
-
var { paths:
|
5170
|
+
var { paths: paths27, texts: texts35, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = silicon_controlled_rectifier_default;
|
4974
5171
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
4975
5172
|
primitives: [
|
4976
|
-
...Object.values(
|
4977
|
-
...Object.values(
|
4978
|
-
{ ...
|
4979
|
-
{ ...
|
5173
|
+
...Object.values(paths27),
|
5174
|
+
...Object.values(circles17),
|
5175
|
+
{ ...texts35.top1, anchor: "middle_left" },
|
5176
|
+
{ ...texts35.bottom1, anchor: "middle_top" }
|
4980
5177
|
],
|
4981
5178
|
ports: [
|
4982
|
-
{ ...
|
5179
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
4983
5180
|
// TODO add more "standard" labels
|
4984
|
-
{ ...
|
5181
|
+
{ ...refblocks27.right1, labels: ["2"] },
|
4985
5182
|
// TODO add more "standard" labels
|
4986
|
-
{ ...
|
5183
|
+
{ ...refblocks27.bottom1, labels: ["3"] }
|
4987
5184
|
// TODO add more "standard" labels
|
4988
5185
|
],
|
4989
|
-
size: { width:
|
4990
|
-
center: { x:
|
5186
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5187
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
4991
5188
|
});
|
4992
5189
|
|
4993
5190
|
// symbols/silicon_controlled_rectifier_vert.ts
|
4994
|
-
var
|
4995
|
-
var
|
5191
|
+
var rotatedSymbol13 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
5192
|
+
var texts36 = rotatedSymbol13.primitives.filter(
|
4996
5193
|
(primitive) => primitive.type === "text"
|
4997
5194
|
);
|
4998
|
-
var
|
4999
|
-
|
5000
|
-
|
5001
|
-
var silicon_controlled_rectifier_vert_default =
|
5195
|
+
var ref17 = texts36.find((text) => text.text === "{REF}");
|
5196
|
+
ref17.y = 0;
|
5197
|
+
ref17.anchor = "middle_left";
|
5198
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol13;
|
5002
5199
|
|
5003
5200
|
// assets/generated/step_recovery_diode.json
|
5004
5201
|
var step_recovery_diode_default = {
|
@@ -5162,11 +5359,11 @@ var step_recovery_diode_default = {
|
|
5162
5359
|
};
|
5163
5360
|
|
5164
5361
|
// symbols/step_recovery_diode_horz.ts
|
5165
|
-
var { paths:
|
5362
|
+
var { paths: paths28, texts: texts37, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = step_recovery_diode_default;
|
5166
5363
|
var step_recovery_diode_horz_default = defineSymbol({
|
5167
5364
|
primitives: [
|
5168
|
-
...Object.values(
|
5169
|
-
...Object.values(
|
5365
|
+
...Object.values(paths28),
|
5366
|
+
...Object.values(circles18),
|
5170
5367
|
// { ...texts.top1, anchor: "middle_left" },
|
5171
5368
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5172
5369
|
{
|
@@ -5185,13 +5382,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
5185
5382
|
}
|
5186
5383
|
],
|
5187
5384
|
ports: [
|
5188
|
-
{ ...
|
5385
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5189
5386
|
// TODO add more "standard" labels
|
5190
|
-
{ ...
|
5387
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5191
5388
|
// TODO add more "standard" labels
|
5192
5389
|
],
|
5193
|
-
size: { width:
|
5194
|
-
center: { x:
|
5390
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5391
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5195
5392
|
});
|
5196
5393
|
|
5197
5394
|
// symbols/step_recovery_diode_vert.ts
|
@@ -5388,36 +5585,36 @@ var triac_default = {
|
|
5388
5585
|
};
|
5389
5586
|
|
5390
5587
|
// symbols/triac_horz.ts
|
5391
|
-
var { paths:
|
5588
|
+
var { paths: paths29, texts: texts38, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = triac_default;
|
5392
5589
|
var triac_horz_default = defineSymbol({
|
5393
5590
|
primitives: [
|
5394
|
-
...Object.values(
|
5395
|
-
...Object.values(
|
5396
|
-
{ ...
|
5397
|
-
{ ...
|
5591
|
+
...Object.values(paths29),
|
5592
|
+
...Object.values(circles19),
|
5593
|
+
{ ...texts38.top1, anchor: "middle_left" },
|
5594
|
+
{ ...texts38.bottom1, anchor: "middle_top" }
|
5398
5595
|
],
|
5399
5596
|
ports: [
|
5400
|
-
{ ...
|
5597
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5401
5598
|
// TODO add more "standard" labels
|
5402
|
-
{ ...
|
5599
|
+
{ ...refblocks29.right1, labels: ["2"] },
|
5403
5600
|
// TODO add more "standard" labels
|
5404
|
-
{ ...
|
5601
|
+
{ ...refblocks29.bottom1, labels: ["3"] }
|
5405
5602
|
// TODO add more "standard" labels
|
5406
5603
|
],
|
5407
|
-
size: { width:
|
5408
|
-
center: { x:
|
5604
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5605
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5409
5606
|
});
|
5410
5607
|
|
5411
5608
|
// symbols/triac_vert.ts
|
5412
|
-
var
|
5413
|
-
var
|
5609
|
+
var rotatedSymbol14 = rotateSymbol(triac_horz_default);
|
5610
|
+
var texts39 = rotatedSymbol14.primitives.filter(
|
5414
5611
|
(primitive) => primitive.type === "text"
|
5415
5612
|
);
|
5416
|
-
var
|
5417
|
-
var
|
5418
|
-
|
5419
|
-
|
5420
|
-
var triac_vert_default =
|
5613
|
+
var ref18 = texts39.find((text) => text.text === "{REF}");
|
5614
|
+
var val15 = texts39.find((text) => text.text === "{VAL}");
|
5615
|
+
ref18.y = 0;
|
5616
|
+
val15.y = 0;
|
5617
|
+
var triac_vert_default = rotatedSymbol14;
|
5421
5618
|
|
5422
5619
|
// assets/generated/tunnel_diode.json
|
5423
5620
|
var tunnel_diode_default = {
|
@@ -5581,34 +5778,34 @@ var tunnel_diode_default = {
|
|
5581
5778
|
};
|
5582
5779
|
|
5583
5780
|
// symbols/tunnel_diode_horz.ts
|
5584
|
-
var { paths:
|
5781
|
+
var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = tunnel_diode_default;
|
5585
5782
|
var tunnel_diode_horz_default = defineSymbol({
|
5586
5783
|
primitives: [
|
5587
|
-
...Object.values(
|
5588
|
-
...Object.values(
|
5589
|
-
{ ...
|
5590
|
-
{ ...
|
5784
|
+
...Object.values(paths30),
|
5785
|
+
...Object.values(circles20),
|
5786
|
+
{ ...texts40.top1, anchor: "middle_bottom" },
|
5787
|
+
{ ...texts40.bottom1, anchor: "middle_top" }
|
5591
5788
|
],
|
5592
5789
|
ports: [
|
5593
|
-
{ ...
|
5790
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5594
5791
|
// TODO add more "standard" labels
|
5595
|
-
{ ...
|
5792
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
5596
5793
|
// TODO add more "standard" labels
|
5597
5794
|
],
|
5598
|
-
size: { width:
|
5599
|
-
center: { x:
|
5795
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5796
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5600
5797
|
});
|
5601
5798
|
|
5602
5799
|
// symbols/tunnel_diode_vert.ts
|
5603
5800
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
5604
|
-
var
|
5801
|
+
var ref19 = rotated9.primitives.find(
|
5605
5802
|
(p) => p.type === "text" && p.text === "{REF}"
|
5606
5803
|
);
|
5607
|
-
var
|
5804
|
+
var val16 = rotated9.primitives.find(
|
5608
5805
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5609
5806
|
);
|
5610
|
-
|
5611
|
-
|
5807
|
+
ref19.anchor = "middle_left";
|
5808
|
+
val16.anchor = "middle_right";
|
5612
5809
|
var tunnel_diode_vert_default = rotated9;
|
5613
5810
|
|
5614
5811
|
// assets/generated/unijunction_transistor.json
|
@@ -5779,37 +5976,37 @@ var unijunction_transistor_default = {
|
|
5779
5976
|
};
|
5780
5977
|
|
5781
5978
|
// symbols/unijunction_transistor_horz.ts
|
5782
|
-
var { paths:
|
5979
|
+
var { paths: paths31, texts: texts41, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = unijunction_transistor_default;
|
5783
5980
|
var unijunction_transistor_horz_default = defineSymbol({
|
5784
5981
|
primitives: [
|
5785
|
-
...Object.values(
|
5786
|
-
...Object.values(
|
5787
|
-
{ ...
|
5788
|
-
{ ...
|
5982
|
+
...Object.values(paths31),
|
5983
|
+
...Object.values(circles21),
|
5984
|
+
{ ...texts41.top1, anchor: "middle_left" },
|
5985
|
+
{ ...texts41.bottom1, anchor: "middle_right" }
|
5789
5986
|
],
|
5790
5987
|
ports: [
|
5791
|
-
{ ...
|
5988
|
+
{ ...refblocks31.top1, labels: ["1"] },
|
5792
5989
|
// TODO add more "standard" labels
|
5793
|
-
{ ...
|
5990
|
+
{ ...refblocks31.bottom1, labels: ["2"] },
|
5794
5991
|
// TODO add more "standard" labels
|
5795
|
-
{ ...
|
5992
|
+
{ ...refblocks31.left1, labels: ["3"] }
|
5796
5993
|
// TODO add more "standard" labels
|
5797
5994
|
],
|
5798
|
-
size: { width:
|
5799
|
-
center: { x:
|
5995
|
+
size: { width: bounds31.width, height: bounds31.height },
|
5996
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5800
5997
|
});
|
5801
5998
|
|
5802
5999
|
// symbols/unijunction_transistor_vert.ts
|
5803
|
-
var
|
5804
|
-
var
|
6000
|
+
var rotatedSymbol15 = rotateSymbol(unijunction_transistor_horz_default);
|
6001
|
+
var texts42 = rotatedSymbol15.primitives.filter(
|
5805
6002
|
(primitive) => primitive.type === "text"
|
5806
6003
|
);
|
5807
|
-
var
|
5808
|
-
|
5809
|
-
var
|
5810
|
-
|
5811
|
-
|
5812
|
-
var unijunction_transistor_vert_default =
|
6004
|
+
var ref20 = texts42.find((text) => text.text === "{REF}");
|
6005
|
+
ref20.y = 0.1;
|
6006
|
+
var val17 = texts42.find((text) => text.text === "{VAL}");
|
6007
|
+
val17.y = 0.1;
|
6008
|
+
val17.x = -0.4;
|
6009
|
+
var unijunction_transistor_vert_default = rotatedSymbol15;
|
5813
6010
|
|
5814
6011
|
// assets/generated/var_meter.json
|
5815
6012
|
var var_meter_default = {
|
@@ -5898,33 +6095,33 @@ var var_meter_default = {
|
|
5898
6095
|
};
|
5899
6096
|
|
5900
6097
|
// symbols/var_meter_horz.ts
|
5901
|
-
var { paths:
|
6098
|
+
var { paths: paths32, texts: texts43, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = var_meter_default;
|
5902
6099
|
var var_meter_horz_default = defineSymbol({
|
5903
6100
|
primitives: [
|
5904
|
-
...Object.values(
|
5905
|
-
...Object.values(
|
6101
|
+
...Object.values(paths32),
|
6102
|
+
...Object.values(circles22),
|
5906
6103
|
{
|
5907
|
-
...
|
6104
|
+
...texts43.top1,
|
5908
6105
|
x: 0,
|
5909
6106
|
y: -0.3594553499999995,
|
5910
6107
|
anchor: "middle_bottom"
|
5911
6108
|
},
|
5912
6109
|
{
|
5913
|
-
...
|
6110
|
+
...texts43.bottom1,
|
5914
6111
|
x: 0,
|
5915
6112
|
y: 0.35,
|
5916
6113
|
anchor: "middle_top"
|
5917
6114
|
},
|
5918
|
-
{ ...
|
6115
|
+
{ ...texts43.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
5919
6116
|
],
|
5920
6117
|
ports: [
|
5921
|
-
{ ...
|
6118
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
5922
6119
|
// TODO add more "standard" labels
|
5923
|
-
{ ...
|
6120
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
5924
6121
|
// TODO add more "standard" labels
|
5925
6122
|
],
|
5926
|
-
size: { width:
|
5927
|
-
center: { x:
|
6123
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6124
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5928
6125
|
});
|
5929
6126
|
|
5930
6127
|
// symbols/var_meter_vert.ts
|
@@ -6077,34 +6274,34 @@ var varactor_diode_default = {
|
|
6077
6274
|
};
|
6078
6275
|
|
6079
6276
|
// symbols/varactor_diode_horz.ts
|
6080
|
-
var { paths:
|
6277
|
+
var { paths: paths33, texts: texts44, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = varactor_diode_default;
|
6081
6278
|
var varactor_diode_horz_default = defineSymbol({
|
6082
6279
|
primitives: [
|
6083
|
-
...Object.values(
|
6084
|
-
...Object.values(
|
6085
|
-
{ ...
|
6086
|
-
{ ...
|
6280
|
+
...Object.values(paths33),
|
6281
|
+
...Object.values(circles23),
|
6282
|
+
{ ...texts44.top1, anchor: "middle_bottom" },
|
6283
|
+
{ ...texts44.bottom1, anchor: "middle_top" }
|
6087
6284
|
],
|
6088
6285
|
ports: [
|
6089
|
-
{ ...
|
6286
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6090
6287
|
// TODO add more "standard" labels
|
6091
|
-
{ ...
|
6288
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6092
6289
|
// TODO add more "standard" labels
|
6093
6290
|
],
|
6094
|
-
size: { width:
|
6095
|
-
center: { x:
|
6291
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6292
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6096
6293
|
});
|
6097
6294
|
|
6098
6295
|
// symbols/varactor_diode_vert.ts
|
6099
6296
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
6100
|
-
var
|
6297
|
+
var ref21 = rotated10.primitives.find(
|
6101
6298
|
(p) => p.type === "text" && p.text === "{REF}"
|
6102
6299
|
);
|
6103
|
-
var
|
6300
|
+
var val18 = rotated10.primitives.find(
|
6104
6301
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6105
6302
|
);
|
6106
|
-
|
6107
|
-
|
6303
|
+
ref21.anchor = "middle_left";
|
6304
|
+
val18.anchor = "middle_right";
|
6108
6305
|
var varactor_diode_vert_default = rotated10;
|
6109
6306
|
|
6110
6307
|
// assets/generated/varistor.json
|
@@ -6239,26 +6436,26 @@ var varistor_default = {
|
|
6239
6436
|
};
|
6240
6437
|
|
6241
6438
|
// symbols/varistor_horz.ts
|
6242
|
-
var { paths:
|
6439
|
+
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34 } = varistor_default;
|
6243
6440
|
var varistor_horz_default = defineSymbol({
|
6244
6441
|
primitives: [
|
6245
|
-
...Object.values(
|
6246
|
-
{ ...
|
6247
|
-
{ ...
|
6442
|
+
...Object.values(paths34),
|
6443
|
+
{ ...texts45.top1, anchor: "middle_left" },
|
6444
|
+
{ ...texts45.bottom1, anchor: "middle_right" }
|
6248
6445
|
],
|
6249
6446
|
ports: [
|
6250
6447
|
{
|
6251
|
-
...
|
6448
|
+
...refblocks34.left1,
|
6252
6449
|
labels: ["1", "-"]
|
6253
6450
|
},
|
6254
6451
|
{
|
6255
|
-
...
|
6452
|
+
...refblocks34.right1,
|
6256
6453
|
labels: ["2", "+"]
|
6257
6454
|
}
|
6258
6455
|
],
|
6259
|
-
size: { width:
|
6456
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6260
6457
|
//{ width: 1, height: 0.24 },
|
6261
|
-
center: { x:
|
6458
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6262
6459
|
});
|
6263
6460
|
|
6264
6461
|
// symbols/varistor_vert.ts
|
@@ -6364,11 +6561,11 @@ var volt_meter_default = {
|
|
6364
6561
|
};
|
6365
6562
|
|
6366
6563
|
// symbols/volt_meter_horz.ts
|
6367
|
-
var { paths:
|
6564
|
+
var { paths: paths35, texts: texts46, bounds: bounds35, circles: circles24, refblocks: refblocks35 } = volt_meter_default;
|
6368
6565
|
var volt_meter_horz_default = defineSymbol({
|
6369
6566
|
primitives: [
|
6370
|
-
...Object.values(
|
6371
|
-
...Object.values(
|
6567
|
+
...Object.values(paths35),
|
6568
|
+
...Object.values(circles24),
|
6372
6569
|
{
|
6373
6570
|
type: "text",
|
6374
6571
|
text: "{REF}",
|
@@ -6385,13 +6582,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
6385
6582
|
}
|
6386
6583
|
],
|
6387
6584
|
ports: [
|
6388
|
-
{ ...
|
6585
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6389
6586
|
// TODO add more "standard" labels
|
6390
|
-
{ ...
|
6587
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6391
6588
|
// TODO add more "standard" labels
|
6392
6589
|
],
|
6393
|
-
size: { width:
|
6394
|
-
center: { x:
|
6590
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6591
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6395
6592
|
});
|
6396
6593
|
|
6397
6594
|
// symbols/volt_meter_vert.ts
|
@@ -6544,34 +6741,34 @@ var zener_diode_default = {
|
|
6544
6741
|
};
|
6545
6742
|
|
6546
6743
|
// symbols/zener_diode_horz.ts
|
6547
|
-
var { paths:
|
6744
|
+
var { paths: paths36, texts: texts47, bounds: bounds36, refblocks: refblocks36, circles: circles25 } = zener_diode_default;
|
6548
6745
|
var zener_diode_horz_default = defineSymbol({
|
6549
6746
|
primitives: [
|
6550
|
-
...Object.values(
|
6551
|
-
...Object.values(
|
6552
|
-
{ ...
|
6553
|
-
{ ...
|
6747
|
+
...Object.values(paths36),
|
6748
|
+
...Object.values(circles25),
|
6749
|
+
{ ...texts47.top1, anchor: "middle_bottom" },
|
6750
|
+
{ ...texts47.bottom1, anchor: "middle_top" }
|
6554
6751
|
],
|
6555
6752
|
ports: [
|
6556
|
-
{ ...
|
6753
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6557
6754
|
// TODO add more "standard" labels
|
6558
|
-
{ ...
|
6755
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6559
6756
|
// TODO add more "standard" labels
|
6560
6757
|
],
|
6561
|
-
size: { width:
|
6562
|
-
center: { x:
|
6758
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6759
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6563
6760
|
});
|
6564
6761
|
|
6565
6762
|
// symbols/zener_diode_vert.ts
|
6566
6763
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6567
|
-
var
|
6764
|
+
var ref22 = rotated11.primitives.find(
|
6568
6765
|
(p) => p.type === "text" && p.text === "{REF}"
|
6569
6766
|
);
|
6570
|
-
var
|
6767
|
+
var val19 = rotated11.primitives.find(
|
6571
6768
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6572
6769
|
);
|
6573
|
-
|
6574
|
-
|
6770
|
+
ref22.anchor = "middle_left";
|
6771
|
+
val19.anchor = "middle_right";
|
6575
6772
|
var zener_diode_vert_default = rotated11;
|
6576
6773
|
|
6577
6774
|
// generated/symbols-index.ts
|
@@ -6608,6 +6805,8 @@ var symbols_index_default = {
|
|
6608
6805
|
"led_vert": led_vert_default,
|
6609
6806
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|
6610
6807
|
"mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
|
6808
|
+
"njfet_transistor_horz": njfet_transistor_horz_default,
|
6809
|
+
"njfet_transistor_vert": njfet_transistor_vert_default,
|
6611
6810
|
"photodiode_horz": photodiode_horz_default,
|
6612
6811
|
"photodiode_vert": photodiode_vert_default,
|
6613
6812
|
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|