schematic-symbols 0.0.65 → 0.0.66
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js
CHANGED
@@ -3020,6 +3020,233 @@ 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/n_channel_d_mosfet_transistor.json
|
3024
|
+
var n_channel_d_mosfet_transistor_default = {
|
3025
|
+
paths: {
|
3026
|
+
path11: {
|
3027
|
+
type: "path",
|
3028
|
+
points: [
|
3029
|
+
{
|
3030
|
+
x: -0.39274354450000026,
|
3031
|
+
y: 0.10329954999999957
|
3032
|
+
},
|
3033
|
+
{
|
3034
|
+
x: 0.05111245549999932,
|
3035
|
+
y: 0.1059225499999994
|
3036
|
+
}
|
3037
|
+
],
|
3038
|
+
color: "primary",
|
3039
|
+
fill: false
|
3040
|
+
},
|
3041
|
+
path40: {
|
3042
|
+
type: "path",
|
3043
|
+
points: [
|
3044
|
+
{
|
3045
|
+
x: 0.09373835550000087,
|
3046
|
+
y: -0.18559775000000034
|
3047
|
+
},
|
3048
|
+
{
|
3049
|
+
x: 0.09280835550000122,
|
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.30382435550000064,
|
3061
|
+
y: -0.53233025
|
3062
|
+
},
|
3063
|
+
{
|
3064
|
+
x: 0.3032243555000005,
|
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.3108281555000003,
|
3076
|
+
y: 0.5323308500000001
|
3077
|
+
},
|
3078
|
+
{
|
3079
|
+
x: 0.31142815550000025,
|
3080
|
+
y: 0.005876249999999805
|
3081
|
+
}
|
3082
|
+
],
|
3083
|
+
color: "primary",
|
3084
|
+
fill: false
|
3085
|
+
},
|
3086
|
+
path2: {
|
3087
|
+
type: "path",
|
3088
|
+
points: [
|
3089
|
+
{
|
3090
|
+
x: 0.09383795549999951,
|
3091
|
+
y: -0.10788365000000044
|
3092
|
+
},
|
3093
|
+
{
|
3094
|
+
x: 0.31104975549999936,
|
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.09383795549999951,
|
3106
|
+
y: 0.10232114999999986
|
3107
|
+
},
|
3108
|
+
{
|
3109
|
+
x: 0.31104975549999936,
|
3110
|
+
y: 0.10360915000000026
|
3111
|
+
}
|
3112
|
+
],
|
3113
|
+
color: "primary",
|
3114
|
+
fill: false
|
3115
|
+
},
|
3116
|
+
path15: {
|
3117
|
+
type: "path",
|
3118
|
+
points: [
|
3119
|
+
{
|
3120
|
+
x: 0.27419885550000034,
|
3121
|
+
y: 0.04077644999999963
|
3122
|
+
},
|
3123
|
+
{
|
3124
|
+
x: 0.27419885550000034,
|
3125
|
+
y: -0.030615650000000327
|
3126
|
+
},
|
3127
|
+
{
|
3128
|
+
x: 0.2024438555000001,
|
3129
|
+
y: 0.004662050000000084
|
3130
|
+
}
|
3131
|
+
],
|
3132
|
+
color: "primary",
|
3133
|
+
fill: true
|
3134
|
+
},
|
3135
|
+
"path2-0": {
|
3136
|
+
type: "path",
|
3137
|
+
points: [
|
3138
|
+
{
|
3139
|
+
x: 0.09383795549999951,
|
3140
|
+
y: 0.004018049999999551
|
3141
|
+
},
|
3142
|
+
{
|
3143
|
+
x: 0.31104975549999936,
|
3144
|
+
y: 0.005306049999999729
|
3145
|
+
}
|
3146
|
+
],
|
3147
|
+
color: "primary",
|
3148
|
+
fill: false
|
3149
|
+
},
|
3150
|
+
"path12-1-0": {
|
3151
|
+
type: "path",
|
3152
|
+
points: [
|
3153
|
+
{
|
3154
|
+
x: 0.05171245550000081,
|
3155
|
+
y: -0.16715385000000005
|
3156
|
+
},
|
3157
|
+
{
|
3158
|
+
x: 0.05111245550000065,
|
3159
|
+
y: 0.10592255000000006
|
3160
|
+
}
|
3161
|
+
],
|
3162
|
+
color: "primary",
|
3163
|
+
fill: false
|
3164
|
+
}
|
3165
|
+
},
|
3166
|
+
texts: {
|
3167
|
+
top1: {
|
3168
|
+
type: "text",
|
3169
|
+
text: "{REF}",
|
3170
|
+
x: -0.13197254449999907,
|
3171
|
+
y: -0.36092494999999936
|
3172
|
+
},
|
3173
|
+
bottom1: {
|
3174
|
+
type: "text",
|
3175
|
+
text: "{VAL}",
|
3176
|
+
x: 0.05891105550000031,
|
3177
|
+
y: 0.42489435000000064
|
3178
|
+
}
|
3179
|
+
},
|
3180
|
+
refblocks: {
|
3181
|
+
top1: {
|
3182
|
+
x: 0.30397715549999993,
|
3183
|
+
y: -0.5519248499999992
|
3184
|
+
},
|
3185
|
+
bottom1: {
|
3186
|
+
x: 0.31067575550000126,
|
3187
|
+
y: 0.5519248499999994
|
3188
|
+
},
|
3189
|
+
left1: {
|
3190
|
+
x: -0.41859744450000025,
|
3191
|
+
y: 0.10250625000000024
|
3192
|
+
}
|
3193
|
+
},
|
3194
|
+
bounds: {
|
3195
|
+
minX: -0.4467558855000002,
|
3196
|
+
maxX: 0.44675588550000006,
|
3197
|
+
minY: -0.5800832909999992,
|
3198
|
+
maxY: 0.5800832909999993,
|
3199
|
+
width: 1,
|
3200
|
+
height: 1.1601665819999987,
|
3201
|
+
centerX: -8326672684688674e-32,
|
3202
|
+
centerY: 5551115123125783e-32
|
3203
|
+
},
|
3204
|
+
circles: {
|
3205
|
+
path1: {
|
3206
|
+
type: "circle",
|
3207
|
+
x: 0.15821375550000005,
|
3208
|
+
y: -0.003454549999999612,
|
3209
|
+
radius: 0.28854213,
|
3210
|
+
color: "primary",
|
3211
|
+
fill: false
|
3212
|
+
}
|
3213
|
+
}
|
3214
|
+
};
|
3215
|
+
|
3216
|
+
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
3217
|
+
var { paths: paths17, texts: texts21, bounds: bounds17, refblocks: refblocks17, circles: circles11 } = n_channel_d_mosfet_transistor_default;
|
3218
|
+
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
3219
|
+
primitives: [
|
3220
|
+
...Object.values(paths17),
|
3221
|
+
...Object.values(circles11),
|
3222
|
+
{ ...texts21.top1, anchor: "middle_right", x: 0 },
|
3223
|
+
{ ...texts21.bottom1, anchor: "middle_right", x: 0 }
|
3224
|
+
],
|
3225
|
+
ports: [
|
3226
|
+
{ ...refblocks17.top1, labels: ["1", "drain"] },
|
3227
|
+
// TODO add more "standard" labels
|
3228
|
+
{ ...refblocks17.bottom1, labels: ["2", "source"] },
|
3229
|
+
// TODO add more "standard" labels
|
3230
|
+
{ ...refblocks17.left1, labels: ["3", "gate"] }
|
3231
|
+
// TODO add more "standard" labels
|
3232
|
+
],
|
3233
|
+
size: { width: bounds17.width, height: bounds17.height },
|
3234
|
+
center: { x: bounds17.centerX, y: bounds17.centerY }
|
3235
|
+
});
|
3236
|
+
|
3237
|
+
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
3238
|
+
var rotatedSymbol9 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
3239
|
+
var texts22 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
3240
|
+
var val9 = texts22.find((t) => t.text === "{VAL}");
|
3241
|
+
val9.x = -0.35;
|
3242
|
+
val9.y = 0;
|
3243
|
+
val9.anchor = "middle_right";
|
3244
|
+
var ref10 = texts22.find((t) => t.text === "{REF}");
|
3245
|
+
ref10.y = 0;
|
3246
|
+
ref10.x = 0.35;
|
3247
|
+
ref10.anchor = "middle_left";
|
3248
|
+
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
|
3249
|
+
|
3023
3250
|
// assets/generated/njfet_transistor.json
|
3024
3251
|
var njfet_transistor_default = {
|
3025
3252
|
paths: {
|
@@ -3184,38 +3411,38 @@ var njfet_transistor_default = {
|
|
3184
3411
|
};
|
3185
3412
|
|
3186
3413
|
// symbols/njfet_transistor_horz.ts
|
3187
|
-
var { paths:
|
3414
|
+
var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = njfet_transistor_default;
|
3188
3415
|
var njfet_transistor_horz_default = defineSymbol({
|
3189
3416
|
primitives: [
|
3190
|
-
...Object.values(
|
3191
|
-
...Object.values(
|
3192
|
-
{ ...
|
3193
|
-
{ ...
|
3417
|
+
...Object.values(paths18),
|
3418
|
+
...Object.values(circles12),
|
3419
|
+
{ ...texts23.top1, anchor: "middle_right", x: 0 },
|
3420
|
+
{ ...texts23.bottom1, anchor: "middle_right", x: 0 }
|
3194
3421
|
],
|
3195
3422
|
ports: [
|
3196
|
-
{ ...
|
3423
|
+
{ ...refblocks18.top1, labels: ["1", "drain"] },
|
3197
3424
|
// TODO add more "standard" labels
|
3198
|
-
{ ...
|
3425
|
+
{ ...refblocks18.bottom1, labels: ["2", "source"] },
|
3199
3426
|
// TODO add more "standard" labels
|
3200
|
-
{ ...
|
3427
|
+
{ ...refblocks18.left1, labels: ["3", "gate"] }
|
3201
3428
|
// TODO add more "standard" labels
|
3202
3429
|
],
|
3203
|
-
size: { width:
|
3204
|
-
center: { x:
|
3430
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3431
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3205
3432
|
});
|
3206
3433
|
|
3207
3434
|
// symbols/njfet_transistor_vert.ts
|
3208
|
-
var
|
3209
|
-
var
|
3210
|
-
var
|
3211
|
-
|
3212
|
-
|
3213
|
-
|
3214
|
-
var
|
3215
|
-
|
3216
|
-
|
3217
|
-
|
3218
|
-
var njfet_transistor_vert_default =
|
3435
|
+
var rotatedSymbol10 = rotateSymbol(njfet_transistor_horz_default);
|
3436
|
+
var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3437
|
+
var val10 = texts24.find((t) => t.text === "{VAL}");
|
3438
|
+
val10.x = -0.35;
|
3439
|
+
val10.y = 0;
|
3440
|
+
val10.anchor = "middle_right";
|
3441
|
+
var ref11 = texts24.find((t) => t.text === "{REF}");
|
3442
|
+
ref11.y = 0;
|
3443
|
+
ref11.x = 0.35;
|
3444
|
+
ref11.anchor = "middle_left";
|
3445
|
+
var njfet_transistor_vert_default = rotatedSymbol10;
|
3219
3446
|
|
3220
3447
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
3221
3448
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -3411,38 +3638,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
3411
3638
|
};
|
3412
3639
|
|
3413
3640
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
3414
|
-
var { paths:
|
3641
|
+
var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = p_channel_d_mosfet_transistor_default;
|
3415
3642
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
3416
3643
|
primitives: [
|
3417
|
-
...Object.values(
|
3418
|
-
...Object.values(
|
3419
|
-
{ ...
|
3420
|
-
{ ...
|
3644
|
+
...Object.values(paths19),
|
3645
|
+
...Object.values(circles13),
|
3646
|
+
{ ...texts25.top1, anchor: "middle_right", x: 0 },
|
3647
|
+
{ ...texts25.bottom1, anchor: "middle_right", x: 0 }
|
3421
3648
|
],
|
3422
3649
|
ports: [
|
3423
|
-
{ ...
|
3650
|
+
{ ...refblocks19.top1, labels: ["1", "drain"] },
|
3424
3651
|
// TODO add more "standard" labels
|
3425
|
-
{ ...
|
3652
|
+
{ ...refblocks19.bottom1, labels: ["2", "source"] },
|
3426
3653
|
// TODO add more "standard" labels
|
3427
|
-
{ ...
|
3654
|
+
{ ...refblocks19.left1, labels: ["3", "gate"] }
|
3428
3655
|
// TODO add more "standard" labels
|
3429
3656
|
],
|
3430
|
-
size: { width:
|
3431
|
-
center: { x:
|
3657
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3658
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3432
3659
|
});
|
3433
3660
|
|
3434
3661
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
3435
|
-
var
|
3436
|
-
var
|
3437
|
-
var
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3441
|
-
var
|
3442
|
-
|
3443
|
-
|
3444
|
-
|
3445
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
3662
|
+
var rotatedSymbol11 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
3663
|
+
var texts26 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3664
|
+
var val11 = texts26.find((t) => t.text === "{VAL}");
|
3665
|
+
val11.x = -0.35;
|
3666
|
+
val11.y = 0;
|
3667
|
+
val11.anchor = "middle_right";
|
3668
|
+
var ref12 = texts26.find((t) => t.text === "{REF}");
|
3669
|
+
ref12.y = 0;
|
3670
|
+
ref12.x = 0.35;
|
3671
|
+
ref12.anchor = "middle_left";
|
3672
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol11;
|
3446
3673
|
|
3447
3674
|
// assets/generated/photodiode.json
|
3448
3675
|
var photodiode_default = {
|
@@ -3669,11 +3896,11 @@ var photodiode_default = {
|
|
3669
3896
|
};
|
3670
3897
|
|
3671
3898
|
// symbols/photodiode_horz.ts
|
3672
|
-
var { paths:
|
3899
|
+
var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = photodiode_default;
|
3673
3900
|
var photodiode_horz_default = defineSymbol({
|
3674
3901
|
primitives: [
|
3675
|
-
...Object.values(
|
3676
|
-
...Object.values(
|
3902
|
+
...Object.values(paths20),
|
3903
|
+
...Object.values(circles14),
|
3677
3904
|
{
|
3678
3905
|
type: "text",
|
3679
3906
|
text: "{REF}",
|
@@ -3690,22 +3917,22 @@ var photodiode_horz_default = defineSymbol({
|
|
3690
3917
|
}
|
3691
3918
|
],
|
3692
3919
|
ports: [
|
3693
|
-
{ ...
|
3920
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3694
3921
|
// TODO add more "standard" labels
|
3695
|
-
{ ...
|
3922
|
+
{ ...refblocks20.right1, labels: ["2"] }
|
3696
3923
|
// TODO add more "standard" labels
|
3697
3924
|
],
|
3698
|
-
size: { width:
|
3699
|
-
center: { x:
|
3925
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3926
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3700
3927
|
});
|
3701
3928
|
|
3702
3929
|
// symbols/photodiode_vert.ts
|
3703
|
-
var
|
3704
|
-
var
|
3705
|
-
var
|
3706
|
-
|
3707
|
-
|
3708
|
-
var photodiode_vert_default =
|
3930
|
+
var rotatedSymbol12 = rotateSymbol(photodiode_horz_default);
|
3931
|
+
var texts28 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
3932
|
+
var ref13 = texts28.find((t) => t.text === "{REF}");
|
3933
|
+
ref13.y = 0;
|
3934
|
+
ref13.anchor = "middle_left";
|
3935
|
+
var photodiode_vert_default = rotatedSymbol12;
|
3709
3936
|
|
3710
3937
|
// assets/generated/pjfet_transistor.json
|
3711
3938
|
var pjfet_transistor_default = {
|
@@ -3871,38 +4098,38 @@ var pjfet_transistor_default = {
|
|
3871
4098
|
};
|
3872
4099
|
|
3873
4100
|
// symbols/pjfet_transistor_horz.ts
|
3874
|
-
var { paths:
|
4101
|
+
var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = pjfet_transistor_default;
|
3875
4102
|
var pjfet_transistor_horz_default = defineSymbol({
|
3876
4103
|
primitives: [
|
3877
|
-
...Object.values(
|
3878
|
-
...Object.values(
|
3879
|
-
{ ...
|
3880
|
-
{ ...
|
4104
|
+
...Object.values(paths21),
|
4105
|
+
...Object.values(circles15),
|
4106
|
+
{ ...texts29.top1, anchor: "middle_right", x: 0 },
|
4107
|
+
{ ...texts29.bottom1, anchor: "middle_right" }
|
3881
4108
|
],
|
3882
4109
|
ports: [
|
3883
|
-
{ ...
|
4110
|
+
{ ...refblocks21.top1, labels: ["1", "drain"] },
|
3884
4111
|
// TODO add more "standard" labels
|
3885
|
-
{ ...
|
4112
|
+
{ ...refblocks21.bottom1, labels: ["2", "source"] },
|
3886
4113
|
// TODO add more "standard" labels
|
3887
|
-
{ ...
|
4114
|
+
{ ...refblocks21.left1, labels: ["3", "gate"] }
|
3888
4115
|
// TODO add more "standard" labels
|
3889
4116
|
],
|
3890
|
-
size: { width:
|
3891
|
-
center: { x:
|
4117
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4118
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3892
4119
|
});
|
3893
4120
|
|
3894
4121
|
// symbols/pjfet_transistor_vert.ts
|
3895
|
-
var
|
3896
|
-
var
|
3897
|
-
var
|
3898
|
-
|
3899
|
-
|
3900
|
-
|
3901
|
-
var
|
3902
|
-
|
3903
|
-
|
3904
|
-
|
3905
|
-
var pjfet_transistor_vert_default =
|
4122
|
+
var rotatedSymbol13 = rotateSymbol(pjfet_transistor_horz_default);
|
4123
|
+
var texts30 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
4124
|
+
var val12 = texts30.find((t) => t.text === "{VAL}");
|
4125
|
+
val12.x = -0.35;
|
4126
|
+
val12.y = 0;
|
4127
|
+
val12.anchor = "middle_right";
|
4128
|
+
var ref14 = texts30.find((t) => t.text === "{REF}");
|
4129
|
+
ref14.y = 0;
|
4130
|
+
ref14.x = 0.35;
|
4131
|
+
ref14.anchor = "middle_left";
|
4132
|
+
var pjfet_transistor_vert_default = rotatedSymbol13;
|
3906
4133
|
|
3907
4134
|
// assets/generated/potentiometer.json
|
3908
4135
|
var potentiometer_default = {
|
@@ -4040,21 +4267,21 @@ var potentiometer_default = {
|
|
4040
4267
|
};
|
4041
4268
|
|
4042
4269
|
// symbols/potentiometer_horz.ts
|
4043
|
-
var { paths:
|
4270
|
+
var { paths: paths22, texts: texts31, bounds: bounds22, refblocks: refblocks22 } = potentiometer_default;
|
4044
4271
|
var potentiometer_horz_default = defineSymbol({
|
4045
4272
|
primitives: [
|
4046
|
-
...Object.values(
|
4047
|
-
{ ...
|
4048
|
-
{ ...
|
4273
|
+
...Object.values(paths22),
|
4274
|
+
{ ...texts31.bottom1, y: 0.35, anchor: "middle_top" },
|
4275
|
+
{ ...texts31.right1, anchor: "middle_left" }
|
4049
4276
|
],
|
4050
4277
|
ports: [
|
4051
|
-
{ ...
|
4278
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4052
4279
|
// TODO add more "standard" labels
|
4053
|
-
{ ...
|
4280
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4054
4281
|
// TODO add more "standard" labels
|
4055
4282
|
],
|
4056
|
-
size: { width:
|
4057
|
-
center: { x:
|
4283
|
+
size: { width: bounds22.width + 0.05, height: bounds22.height },
|
4284
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4058
4285
|
});
|
4059
4286
|
|
4060
4287
|
// symbols/potentiometer_vert.ts
|
@@ -4216,21 +4443,21 @@ var potentiometer2_default = {
|
|
4216
4443
|
};
|
4217
4444
|
|
4218
4445
|
// symbols/potentiometer2_horz.ts
|
4219
|
-
var { paths:
|
4446
|
+
var { paths: paths23, texts: texts32, bounds: bounds23, refblocks: refblocks23 } = potentiometer2_default;
|
4220
4447
|
var potentiometer2_horz_default = defineSymbol({
|
4221
4448
|
primitives: [
|
4222
|
-
...Object.values(
|
4223
|
-
{ ...
|
4224
|
-
{ ...
|
4449
|
+
...Object.values(paths23),
|
4450
|
+
{ ...texts32.bottom1, anchor: "middle_right" },
|
4451
|
+
{ ...texts32.top1, anchor: "middle_left" }
|
4225
4452
|
],
|
4226
4453
|
ports: [
|
4227
|
-
{ ...
|
4454
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4228
4455
|
// TODO add more "standard" labels
|
4229
|
-
{ ...
|
4456
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4230
4457
|
// TODO add more "standard" labels
|
4231
4458
|
],
|
4232
|
-
size: { width:
|
4233
|
-
center: { x:
|
4459
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4460
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4234
4461
|
});
|
4235
4462
|
|
4236
4463
|
// symbols/potentiometer2_vert.ts
|
@@ -4323,11 +4550,11 @@ var power_factor_meter_default = {
|
|
4323
4550
|
};
|
4324
4551
|
|
4325
4552
|
// symbols/power_factor_meter_horz.ts
|
4326
|
-
var { paths:
|
4553
|
+
var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles16 } = power_factor_meter_default;
|
4327
4554
|
var power_factor_meter_horz_default = defineSymbol({
|
4328
4555
|
primitives: [
|
4329
|
-
...Object.values(
|
4330
|
-
...Object.values(
|
4556
|
+
...Object.values(paths24),
|
4557
|
+
...Object.values(circles16),
|
4331
4558
|
// { ...texts.top1, anchor: "middle_left" },
|
4332
4559
|
{
|
4333
4560
|
type: "text",
|
@@ -4354,28 +4581,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
4354
4581
|
}
|
4355
4582
|
],
|
4356
4583
|
ports: [
|
4357
|
-
{ ...
|
4584
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4358
4585
|
// TODO add more "standard" labels
|
4359
|
-
{ ...
|
4586
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4360
4587
|
// TODO add more "standard" labels
|
4361
4588
|
],
|
4362
|
-
size: { width:
|
4363
|
-
center: { x:
|
4589
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4590
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4364
4591
|
});
|
4365
4592
|
|
4366
4593
|
// symbols/power_factor_meter_vert.ts
|
4367
|
-
var
|
4368
|
-
var
|
4369
|
-
var
|
4370
|
-
var
|
4371
|
-
var text_cos =
|
4372
|
-
|
4373
|
-
|
4374
|
-
|
4375
|
-
|
4594
|
+
var rotatedSymbol14 = rotateSymbol(power_factor_meter_horz_default);
|
4595
|
+
var texts34 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
4596
|
+
var ref15 = texts34.find((t) => t.text === "{REF}");
|
4597
|
+
var val13 = texts34.find((t) => t.text === "{VAL}");
|
4598
|
+
var text_cos = texts34.find((t) => t.text === "COS \u03C6");
|
4599
|
+
ref15.x = 0.35;
|
4600
|
+
ref15.y = 0;
|
4601
|
+
val13.x = -0.6;
|
4602
|
+
val13.y = 0;
|
4376
4603
|
text_cos.x = -0.1;
|
4377
4604
|
text_cos.y = 0;
|
4378
|
-
var power_factor_meter_vert_default =
|
4605
|
+
var power_factor_meter_vert_default = rotatedSymbol14;
|
4379
4606
|
|
4380
4607
|
// assets/generated/push_button_normally_closed_momentary.json
|
4381
4608
|
var push_button_normally_closed_momentary_default = {
|
@@ -4478,37 +4705,37 @@ var push_button_normally_closed_momentary_default = {
|
|
4478
4705
|
};
|
4479
4706
|
|
4480
4707
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
4481
|
-
var { paths:
|
4708
|
+
var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25 } = push_button_normally_closed_momentary_default;
|
4482
4709
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
4483
4710
|
primitives: [
|
4484
|
-
...Object.values(
|
4485
|
-
{ ...
|
4486
|
-
{ ...
|
4711
|
+
...Object.values(paths25),
|
4712
|
+
{ ...texts35.top1, anchor: "middle_bottom" },
|
4713
|
+
{ ...texts35.bottom1, anchor: "middle_top" }
|
4487
4714
|
],
|
4488
4715
|
ports: [
|
4489
|
-
{ ...
|
4716
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4490
4717
|
// TODO add more "standard" labels
|
4491
|
-
{ ...
|
4718
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4492
4719
|
// TODO add more "standard" labels
|
4493
4720
|
],
|
4494
|
-
size: { width:
|
4495
|
-
center: { x:
|
4721
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4722
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4496
4723
|
});
|
4497
4724
|
|
4498
4725
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
4499
4726
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
4500
|
-
var
|
4727
|
+
var ref16 = rotated6.primitives.find(
|
4501
4728
|
(p) => p.type === "text" && p.text === "{REF}"
|
4502
4729
|
);
|
4503
|
-
var
|
4730
|
+
var val14 = rotated6.primitives.find(
|
4504
4731
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4505
4732
|
);
|
4506
|
-
|
4507
|
-
|
4508
|
-
|
4509
|
-
|
4510
|
-
|
4511
|
-
|
4733
|
+
ref16.anchor = "middle_left";
|
4734
|
+
val14.anchor = "middle_right";
|
4735
|
+
ref16.x = ref16.x - 0.03;
|
4736
|
+
ref16.y = ref16.y;
|
4737
|
+
val14.x = val14.x;
|
4738
|
+
val14.y = 0;
|
4512
4739
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
4513
4740
|
|
4514
4741
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -4612,37 +4839,37 @@ var push_button_normally_open_momentary_default = {
|
|
4612
4839
|
};
|
4613
4840
|
|
4614
4841
|
// symbols/push_button_normally_open_momentary_horz.ts
|
4615
|
-
var { paths:
|
4842
|
+
var { paths: paths26, texts: texts36, bounds: bounds26, refblocks: refblocks26 } = push_button_normally_open_momentary_default;
|
4616
4843
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
4617
4844
|
primitives: [
|
4618
|
-
...Object.values(
|
4619
|
-
{ ...
|
4620
|
-
{ ...
|
4845
|
+
...Object.values(paths26),
|
4846
|
+
{ ...texts36.top1, anchor: "middle_bottom" },
|
4847
|
+
{ ...texts36.bottom1, anchor: "middle_top" }
|
4621
4848
|
],
|
4622
4849
|
ports: [
|
4623
|
-
{ ...
|
4850
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4624
4851
|
// TODO add more "standard" labels
|
4625
|
-
{ ...
|
4852
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4626
4853
|
// TODO add more "standard" labels
|
4627
4854
|
],
|
4628
|
-
size: { width:
|
4629
|
-
center: { x:
|
4855
|
+
size: { width: bounds26.width, height: bounds26.height },
|
4856
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4630
4857
|
});
|
4631
4858
|
|
4632
4859
|
// symbols/push_button_normally_open_momentary_vert.ts
|
4633
4860
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
4634
|
-
var
|
4861
|
+
var ref17 = rotated7.primitives.find(
|
4635
4862
|
(p) => p.type === "text" && p.text === "{REF}"
|
4636
4863
|
);
|
4637
|
-
var
|
4864
|
+
var val15 = rotated7.primitives.find(
|
4638
4865
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4639
4866
|
);
|
4640
|
-
|
4641
|
-
|
4642
|
-
|
4643
|
-
|
4644
|
-
|
4645
|
-
|
4867
|
+
ref17.anchor = "middle_left";
|
4868
|
+
val15.anchor = "middle_right";
|
4869
|
+
ref17.x = ref17.x + 0.1;
|
4870
|
+
ref17.y = ref17.y;
|
4871
|
+
val15.x = val15.x;
|
4872
|
+
val15.y = 0;
|
4646
4873
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
4647
4874
|
|
4648
4875
|
// assets/generated/resonator.json
|
@@ -4991,11 +5218,11 @@ var resonator_default = {
|
|
4991
5218
|
};
|
4992
5219
|
|
4993
5220
|
// symbols/resonator_horz.ts
|
4994
|
-
var { paths:
|
5221
|
+
var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = resonator_default;
|
4995
5222
|
var resonator_horz_default = defineSymbol({
|
4996
5223
|
primitives: [
|
4997
|
-
...Object.values(
|
4998
|
-
...Object.values(
|
5224
|
+
...Object.values(paths27),
|
5225
|
+
...Object.values(circles17),
|
4999
5226
|
// { ...texts.top1, anchor: "middle_left" },
|
5000
5227
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5001
5228
|
{
|
@@ -5014,15 +5241,15 @@ var resonator_horz_default = defineSymbol({
|
|
5014
5241
|
}
|
5015
5242
|
],
|
5016
5243
|
ports: [
|
5017
|
-
{ ...
|
5244
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
5018
5245
|
// TODO add more "standard" labels
|
5019
|
-
{ ...
|
5246
|
+
{ ...refblocks27.right1, labels: ["2"] },
|
5020
5247
|
// TODO add more "standard" labels
|
5021
|
-
{ ...
|
5248
|
+
{ ...refblocks27.right2, labels: ["3"] }
|
5022
5249
|
// TODO add more "standard" labels
|
5023
5250
|
],
|
5024
|
-
size: { width:
|
5025
|
-
center: { x:
|
5251
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5252
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5026
5253
|
});
|
5027
5254
|
|
5028
5255
|
// symbols/resonator_vert.ts
|
@@ -5220,34 +5447,34 @@ var schottky_diode_default = {
|
|
5220
5447
|
};
|
5221
5448
|
|
5222
5449
|
// symbols/schottky_diode_horz.ts
|
5223
|
-
var { paths:
|
5450
|
+
var { paths: paths28, texts: texts38, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = schottky_diode_default;
|
5224
5451
|
var schottky_diode_horz_default = defineSymbol({
|
5225
5452
|
primitives: [
|
5226
|
-
...Object.values(
|
5227
|
-
...Object.values(
|
5228
|
-
{ ...
|
5229
|
-
{ ...
|
5453
|
+
...Object.values(paths28),
|
5454
|
+
...Object.values(circles18),
|
5455
|
+
{ ...texts38.top1, anchor: "middle_bottom" },
|
5456
|
+
{ ...texts38.bottom1, anchor: "middle_top" }
|
5230
5457
|
],
|
5231
5458
|
ports: [
|
5232
|
-
{ ...
|
5459
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5233
5460
|
// TODO add more "standard" labels
|
5234
|
-
{ ...
|
5461
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5235
5462
|
// TODO add more "standard" labels
|
5236
5463
|
],
|
5237
|
-
size: { width:
|
5238
|
-
center: { x:
|
5464
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5465
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5239
5466
|
});
|
5240
5467
|
|
5241
5468
|
// symbols/schottky_diode_vert.ts
|
5242
5469
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
5243
|
-
var
|
5470
|
+
var ref18 = rotated8.primitives.find(
|
5244
5471
|
(p) => p.type === "text" && p.text === "{REF}"
|
5245
5472
|
);
|
5246
|
-
var
|
5473
|
+
var val16 = rotated8.primitives.find(
|
5247
5474
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5248
5475
|
);
|
5249
|
-
|
5250
|
-
|
5476
|
+
ref18.anchor = "middle_left";
|
5477
|
+
val16.anchor = "middle_right";
|
5251
5478
|
var schottky_diode_vert_default = rotated8;
|
5252
5479
|
|
5253
5480
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -5394,35 +5621,35 @@ var silicon_controlled_rectifier_default = {
|
|
5394
5621
|
};
|
5395
5622
|
|
5396
5623
|
// symbols/silicon_controlled_rectifier_horz.ts
|
5397
|
-
var { paths:
|
5624
|
+
var { paths: paths29, texts: texts39, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = silicon_controlled_rectifier_default;
|
5398
5625
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
5399
5626
|
primitives: [
|
5400
|
-
...Object.values(
|
5401
|
-
...Object.values(
|
5402
|
-
{ ...
|
5403
|
-
{ ...
|
5627
|
+
...Object.values(paths29),
|
5628
|
+
...Object.values(circles19),
|
5629
|
+
{ ...texts39.top1, anchor: "middle_left" },
|
5630
|
+
{ ...texts39.bottom1, anchor: "middle_top" }
|
5404
5631
|
],
|
5405
5632
|
ports: [
|
5406
|
-
{ ...
|
5633
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5407
5634
|
// TODO add more "standard" labels
|
5408
|
-
{ ...
|
5635
|
+
{ ...refblocks29.right1, labels: ["2"] },
|
5409
5636
|
// TODO add more "standard" labels
|
5410
|
-
{ ...
|
5637
|
+
{ ...refblocks29.bottom1, labels: ["3"] }
|
5411
5638
|
// TODO add more "standard" labels
|
5412
5639
|
],
|
5413
|
-
size: { width:
|
5414
|
-
center: { x:
|
5640
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5641
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5415
5642
|
});
|
5416
5643
|
|
5417
5644
|
// symbols/silicon_controlled_rectifier_vert.ts
|
5418
|
-
var
|
5419
|
-
var
|
5645
|
+
var rotatedSymbol15 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
5646
|
+
var texts40 = rotatedSymbol15.primitives.filter(
|
5420
5647
|
(primitive) => primitive.type === "text"
|
5421
5648
|
);
|
5422
|
-
var
|
5423
|
-
|
5424
|
-
|
5425
|
-
var silicon_controlled_rectifier_vert_default =
|
5649
|
+
var ref19 = texts40.find((text) => text.text === "{REF}");
|
5650
|
+
ref19.y = 0;
|
5651
|
+
ref19.anchor = "middle_left";
|
5652
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol15;
|
5426
5653
|
|
5427
5654
|
// assets/generated/step_recovery_diode.json
|
5428
5655
|
var step_recovery_diode_default = {
|
@@ -5586,11 +5813,11 @@ var step_recovery_diode_default = {
|
|
5586
5813
|
};
|
5587
5814
|
|
5588
5815
|
// symbols/step_recovery_diode_horz.ts
|
5589
|
-
var { paths:
|
5816
|
+
var { paths: paths30, texts: texts41, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = step_recovery_diode_default;
|
5590
5817
|
var step_recovery_diode_horz_default = defineSymbol({
|
5591
5818
|
primitives: [
|
5592
|
-
...Object.values(
|
5593
|
-
...Object.values(
|
5819
|
+
...Object.values(paths30),
|
5820
|
+
...Object.values(circles20),
|
5594
5821
|
// { ...texts.top1, anchor: "middle_left" },
|
5595
5822
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5596
5823
|
{
|
@@ -5609,13 +5836,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
5609
5836
|
}
|
5610
5837
|
],
|
5611
5838
|
ports: [
|
5612
|
-
{ ...
|
5839
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5613
5840
|
// TODO add more "standard" labels
|
5614
|
-
{ ...
|
5841
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
5615
5842
|
// TODO add more "standard" labels
|
5616
5843
|
],
|
5617
|
-
size: { width:
|
5618
|
-
center: { x:
|
5844
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5845
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5619
5846
|
});
|
5620
5847
|
|
5621
5848
|
// symbols/step_recovery_diode_vert.ts
|
@@ -5812,36 +6039,36 @@ var triac_default = {
|
|
5812
6039
|
};
|
5813
6040
|
|
5814
6041
|
// symbols/triac_horz.ts
|
5815
|
-
var { paths:
|
6042
|
+
var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = triac_default;
|
5816
6043
|
var triac_horz_default = defineSymbol({
|
5817
6044
|
primitives: [
|
5818
|
-
...Object.values(
|
5819
|
-
...Object.values(
|
5820
|
-
{ ...
|
5821
|
-
{ ...
|
6045
|
+
...Object.values(paths31),
|
6046
|
+
...Object.values(circles21),
|
6047
|
+
{ ...texts42.top1, anchor: "middle_left" },
|
6048
|
+
{ ...texts42.bottom1, anchor: "middle_top" }
|
5822
6049
|
],
|
5823
6050
|
ports: [
|
5824
|
-
{ ...
|
6051
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5825
6052
|
// TODO add more "standard" labels
|
5826
|
-
{ ...
|
6053
|
+
{ ...refblocks31.right1, labels: ["2"] },
|
5827
6054
|
// TODO add more "standard" labels
|
5828
|
-
{ ...
|
6055
|
+
{ ...refblocks31.bottom1, labels: ["3"] }
|
5829
6056
|
// TODO add more "standard" labels
|
5830
6057
|
],
|
5831
|
-
size: { width:
|
5832
|
-
center: { x:
|
6058
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6059
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5833
6060
|
});
|
5834
6061
|
|
5835
6062
|
// symbols/triac_vert.ts
|
5836
|
-
var
|
5837
|
-
var
|
6063
|
+
var rotatedSymbol16 = rotateSymbol(triac_horz_default);
|
6064
|
+
var texts43 = rotatedSymbol16.primitives.filter(
|
5838
6065
|
(primitive) => primitive.type === "text"
|
5839
6066
|
);
|
5840
|
-
var
|
5841
|
-
var
|
5842
|
-
|
5843
|
-
|
5844
|
-
var triac_vert_default =
|
6067
|
+
var ref20 = texts43.find((text) => text.text === "{REF}");
|
6068
|
+
var val17 = texts43.find((text) => text.text === "{VAL}");
|
6069
|
+
ref20.y = 0;
|
6070
|
+
val17.y = 0;
|
6071
|
+
var triac_vert_default = rotatedSymbol16;
|
5845
6072
|
|
5846
6073
|
// assets/generated/tunnel_diode.json
|
5847
6074
|
var tunnel_diode_default = {
|
@@ -6005,34 +6232,34 @@ var tunnel_diode_default = {
|
|
6005
6232
|
};
|
6006
6233
|
|
6007
6234
|
// symbols/tunnel_diode_horz.ts
|
6008
|
-
var { paths:
|
6235
|
+
var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = tunnel_diode_default;
|
6009
6236
|
var tunnel_diode_horz_default = defineSymbol({
|
6010
6237
|
primitives: [
|
6011
|
-
...Object.values(
|
6012
|
-
...Object.values(
|
6013
|
-
{ ...
|
6014
|
-
{ ...
|
6238
|
+
...Object.values(paths32),
|
6239
|
+
...Object.values(circles22),
|
6240
|
+
{ ...texts44.top1, anchor: "middle_bottom" },
|
6241
|
+
{ ...texts44.bottom1, anchor: "middle_top" }
|
6015
6242
|
],
|
6016
6243
|
ports: [
|
6017
|
-
{ ...
|
6244
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6018
6245
|
// TODO add more "standard" labels
|
6019
|
-
{ ...
|
6246
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6020
6247
|
// TODO add more "standard" labels
|
6021
6248
|
],
|
6022
|
-
size: { width:
|
6023
|
-
center: { x:
|
6249
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6250
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6024
6251
|
});
|
6025
6252
|
|
6026
6253
|
// symbols/tunnel_diode_vert.ts
|
6027
6254
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
6028
|
-
var
|
6255
|
+
var ref21 = rotated9.primitives.find(
|
6029
6256
|
(p) => p.type === "text" && p.text === "{REF}"
|
6030
6257
|
);
|
6031
|
-
var
|
6258
|
+
var val18 = rotated9.primitives.find(
|
6032
6259
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6033
6260
|
);
|
6034
|
-
|
6035
|
-
|
6261
|
+
ref21.anchor = "middle_left";
|
6262
|
+
val18.anchor = "middle_right";
|
6036
6263
|
var tunnel_diode_vert_default = rotated9;
|
6037
6264
|
|
6038
6265
|
// assets/generated/unijunction_transistor.json
|
@@ -6203,37 +6430,37 @@ var unijunction_transistor_default = {
|
|
6203
6430
|
};
|
6204
6431
|
|
6205
6432
|
// symbols/unijunction_transistor_horz.ts
|
6206
|
-
var { paths:
|
6433
|
+
var { paths: paths33, texts: texts45, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = unijunction_transistor_default;
|
6207
6434
|
var unijunction_transistor_horz_default = defineSymbol({
|
6208
6435
|
primitives: [
|
6209
|
-
...Object.values(
|
6210
|
-
...Object.values(
|
6211
|
-
{ ...
|
6212
|
-
{ ...
|
6436
|
+
...Object.values(paths33),
|
6437
|
+
...Object.values(circles23),
|
6438
|
+
{ ...texts45.top1, anchor: "middle_left" },
|
6439
|
+
{ ...texts45.bottom1, anchor: "middle_right" }
|
6213
6440
|
],
|
6214
6441
|
ports: [
|
6215
|
-
{ ...
|
6442
|
+
{ ...refblocks33.top1, labels: ["1"] },
|
6216
6443
|
// TODO add more "standard" labels
|
6217
|
-
{ ...
|
6444
|
+
{ ...refblocks33.bottom1, labels: ["2"] },
|
6218
6445
|
// TODO add more "standard" labels
|
6219
|
-
{ ...
|
6446
|
+
{ ...refblocks33.left1, labels: ["3"] }
|
6220
6447
|
// TODO add more "standard" labels
|
6221
6448
|
],
|
6222
|
-
size: { width:
|
6223
|
-
center: { x:
|
6449
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6450
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6224
6451
|
});
|
6225
6452
|
|
6226
6453
|
// symbols/unijunction_transistor_vert.ts
|
6227
|
-
var
|
6228
|
-
var
|
6454
|
+
var rotatedSymbol17 = rotateSymbol(unijunction_transistor_horz_default);
|
6455
|
+
var texts46 = rotatedSymbol17.primitives.filter(
|
6229
6456
|
(primitive) => primitive.type === "text"
|
6230
6457
|
);
|
6231
|
-
var
|
6232
|
-
|
6233
|
-
var
|
6234
|
-
|
6235
|
-
|
6236
|
-
var unijunction_transistor_vert_default =
|
6458
|
+
var ref22 = texts46.find((text) => text.text === "{REF}");
|
6459
|
+
ref22.y = 0.1;
|
6460
|
+
var val19 = texts46.find((text) => text.text === "{VAL}");
|
6461
|
+
val19.y = 0.1;
|
6462
|
+
val19.x = -0.4;
|
6463
|
+
var unijunction_transistor_vert_default = rotatedSymbol17;
|
6237
6464
|
|
6238
6465
|
// assets/generated/var_meter.json
|
6239
6466
|
var var_meter_default = {
|
@@ -6322,33 +6549,33 @@ var var_meter_default = {
|
|
6322
6549
|
};
|
6323
6550
|
|
6324
6551
|
// symbols/var_meter_horz.ts
|
6325
|
-
var { paths:
|
6552
|
+
var { paths: paths34, texts: texts47, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = var_meter_default;
|
6326
6553
|
var var_meter_horz_default = defineSymbol({
|
6327
6554
|
primitives: [
|
6328
|
-
...Object.values(
|
6329
|
-
...Object.values(
|
6555
|
+
...Object.values(paths34),
|
6556
|
+
...Object.values(circles24),
|
6330
6557
|
{
|
6331
|
-
...
|
6558
|
+
...texts47.top1,
|
6332
6559
|
x: 0,
|
6333
6560
|
y: -0.3594553499999995,
|
6334
6561
|
anchor: "middle_bottom"
|
6335
6562
|
},
|
6336
6563
|
{
|
6337
|
-
...
|
6564
|
+
...texts47.bottom1,
|
6338
6565
|
x: 0,
|
6339
6566
|
y: 0.35,
|
6340
6567
|
anchor: "middle_top"
|
6341
6568
|
},
|
6342
|
-
{ ...
|
6569
|
+
{ ...texts47.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
6343
6570
|
],
|
6344
6571
|
ports: [
|
6345
|
-
{ ...
|
6572
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6346
6573
|
// TODO add more "standard" labels
|
6347
|
-
{ ...
|
6574
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6348
6575
|
// TODO add more "standard" labels
|
6349
6576
|
],
|
6350
|
-
size: { width:
|
6351
|
-
center: { x:
|
6577
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6578
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6352
6579
|
});
|
6353
6580
|
|
6354
6581
|
// symbols/var_meter_vert.ts
|
@@ -6501,34 +6728,34 @@ var varactor_diode_default = {
|
|
6501
6728
|
};
|
6502
6729
|
|
6503
6730
|
// symbols/varactor_diode_horz.ts
|
6504
|
-
var { paths:
|
6731
|
+
var { paths: paths35, texts: texts48, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = varactor_diode_default;
|
6505
6732
|
var varactor_diode_horz_default = defineSymbol({
|
6506
6733
|
primitives: [
|
6507
|
-
...Object.values(
|
6508
|
-
...Object.values(
|
6509
|
-
{ ...
|
6510
|
-
{ ...
|
6734
|
+
...Object.values(paths35),
|
6735
|
+
...Object.values(circles25),
|
6736
|
+
{ ...texts48.top1, anchor: "middle_bottom" },
|
6737
|
+
{ ...texts48.bottom1, anchor: "middle_top" }
|
6511
6738
|
],
|
6512
6739
|
ports: [
|
6513
|
-
{ ...
|
6740
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6514
6741
|
// TODO add more "standard" labels
|
6515
|
-
{ ...
|
6742
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6516
6743
|
// TODO add more "standard" labels
|
6517
6744
|
],
|
6518
|
-
size: { width:
|
6519
|
-
center: { x:
|
6745
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6746
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6520
6747
|
});
|
6521
6748
|
|
6522
6749
|
// symbols/varactor_diode_vert.ts
|
6523
6750
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
6524
|
-
var
|
6751
|
+
var ref23 = rotated10.primitives.find(
|
6525
6752
|
(p) => p.type === "text" && p.text === "{REF}"
|
6526
6753
|
);
|
6527
|
-
var
|
6754
|
+
var val20 = rotated10.primitives.find(
|
6528
6755
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6529
6756
|
);
|
6530
|
-
|
6531
|
-
|
6757
|
+
ref23.anchor = "middle_left";
|
6758
|
+
val20.anchor = "middle_right";
|
6532
6759
|
var varactor_diode_vert_default = rotated10;
|
6533
6760
|
|
6534
6761
|
// assets/generated/varistor.json
|
@@ -6663,26 +6890,26 @@ var varistor_default = {
|
|
6663
6890
|
};
|
6664
6891
|
|
6665
6892
|
// symbols/varistor_horz.ts
|
6666
|
-
var { paths:
|
6893
|
+
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36 } = varistor_default;
|
6667
6894
|
var varistor_horz_default = defineSymbol({
|
6668
6895
|
primitives: [
|
6669
|
-
...Object.values(
|
6670
|
-
{ ...
|
6671
|
-
{ ...
|
6896
|
+
...Object.values(paths36),
|
6897
|
+
{ ...texts49.top1, anchor: "middle_left" },
|
6898
|
+
{ ...texts49.bottom1, anchor: "middle_right" }
|
6672
6899
|
],
|
6673
6900
|
ports: [
|
6674
6901
|
{
|
6675
|
-
...
|
6902
|
+
...refblocks36.left1,
|
6676
6903
|
labels: ["1", "-"]
|
6677
6904
|
},
|
6678
6905
|
{
|
6679
|
-
...
|
6906
|
+
...refblocks36.right1,
|
6680
6907
|
labels: ["2", "+"]
|
6681
6908
|
}
|
6682
6909
|
],
|
6683
|
-
size: { width:
|
6910
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6684
6911
|
//{ width: 1, height: 0.24 },
|
6685
|
-
center: { x:
|
6912
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6686
6913
|
});
|
6687
6914
|
|
6688
6915
|
// symbols/varistor_vert.ts
|
@@ -6788,11 +7015,11 @@ var volt_meter_default = {
|
|
6788
7015
|
};
|
6789
7016
|
|
6790
7017
|
// symbols/volt_meter_horz.ts
|
6791
|
-
var { paths:
|
7018
|
+
var { paths: paths37, texts: texts50, bounds: bounds37, circles: circles26, refblocks: refblocks37 } = volt_meter_default;
|
6792
7019
|
var volt_meter_horz_default = defineSymbol({
|
6793
7020
|
primitives: [
|
6794
|
-
...Object.values(
|
6795
|
-
...Object.values(
|
7021
|
+
...Object.values(paths37),
|
7022
|
+
...Object.values(circles26),
|
6796
7023
|
{
|
6797
7024
|
type: "text",
|
6798
7025
|
text: "{REF}",
|
@@ -6809,13 +7036,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
6809
7036
|
}
|
6810
7037
|
],
|
6811
7038
|
ports: [
|
6812
|
-
{ ...
|
7039
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
6813
7040
|
// TODO add more "standard" labels
|
6814
|
-
{ ...
|
7041
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
6815
7042
|
// TODO add more "standard" labels
|
6816
7043
|
],
|
6817
|
-
size: { width:
|
6818
|
-
center: { x:
|
7044
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7045
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6819
7046
|
});
|
6820
7047
|
|
6821
7048
|
// symbols/volt_meter_vert.ts
|
@@ -6968,34 +7195,34 @@ var zener_diode_default = {
|
|
6968
7195
|
};
|
6969
7196
|
|
6970
7197
|
// symbols/zener_diode_horz.ts
|
6971
|
-
var { paths:
|
7198
|
+
var { paths: paths38, texts: texts51, bounds: bounds38, refblocks: refblocks38, circles: circles27 } = zener_diode_default;
|
6972
7199
|
var zener_diode_horz_default = defineSymbol({
|
6973
7200
|
primitives: [
|
6974
|
-
...Object.values(
|
6975
|
-
...Object.values(
|
6976
|
-
{ ...
|
6977
|
-
{ ...
|
7201
|
+
...Object.values(paths38),
|
7202
|
+
...Object.values(circles27),
|
7203
|
+
{ ...texts51.top1, anchor: "middle_bottom" },
|
7204
|
+
{ ...texts51.bottom1, anchor: "middle_top" }
|
6978
7205
|
],
|
6979
7206
|
ports: [
|
6980
|
-
{ ...
|
7207
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
6981
7208
|
// TODO add more "standard" labels
|
6982
|
-
{ ...
|
7209
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
6983
7210
|
// TODO add more "standard" labels
|
6984
7211
|
],
|
6985
|
-
size: { width:
|
6986
|
-
center: { x:
|
7212
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7213
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
6987
7214
|
});
|
6988
7215
|
|
6989
7216
|
// symbols/zener_diode_vert.ts
|
6990
7217
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6991
|
-
var
|
7218
|
+
var ref24 = rotated11.primitives.find(
|
6992
7219
|
(p) => p.type === "text" && p.text === "{REF}"
|
6993
7220
|
);
|
6994
|
-
var
|
7221
|
+
var val21 = rotated11.primitives.find(
|
6995
7222
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6996
7223
|
);
|
6997
|
-
|
6998
|
-
|
7224
|
+
ref24.anchor = "middle_left";
|
7225
|
+
val21.anchor = "middle_right";
|
6999
7226
|
var zener_diode_vert_default = rotated11;
|
7000
7227
|
|
7001
7228
|
// generated/symbols-index.ts
|
@@ -7032,6 +7259,8 @@ var symbols_index_default = {
|
|
7032
7259
|
"led_vert": led_vert_default,
|
7033
7260
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|
7034
7261
|
"mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
|
7262
|
+
"n_channel_d_mosfet_transistor_horz": n_channel_d_mosfet_transistor_horz_default,
|
7263
|
+
"n_channel_d_mosfet_transistor_vert": n_channel_d_mosfet_transistor_vert_default,
|
7035
7264
|
"njfet_transistor_horz": njfet_transistor_horz_default,
|
7036
7265
|
"njfet_transistor_vert": njfet_transistor_vert_default,
|
7037
7266
|
"p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
|