schematic-symbols 0.0.64 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js
CHANGED
@@ -3217,6 +3217,233 @@ ref10.x = 0.35;
|
|
3217
3217
|
ref10.anchor = "middle_left";
|
3218
3218
|
var njfet_transistor_vert_default = rotatedSymbol9;
|
3219
3219
|
|
3220
|
+
// assets/generated/p_channel_d_mosfet_transistor.json
|
3221
|
+
var p_channel_d_mosfet_transistor_default = {
|
3222
|
+
paths: {
|
3223
|
+
path11: {
|
3224
|
+
type: "path",
|
3225
|
+
points: [
|
3226
|
+
{
|
3227
|
+
x: -0.39274354450000026,
|
3228
|
+
y: 0.10329954999999957
|
3229
|
+
},
|
3230
|
+
{
|
3231
|
+
x: 0.05111245549999932,
|
3232
|
+
y: 0.1059225499999994
|
3233
|
+
}
|
3234
|
+
],
|
3235
|
+
color: "primary",
|
3236
|
+
fill: false
|
3237
|
+
},
|
3238
|
+
path40: {
|
3239
|
+
type: "path",
|
3240
|
+
points: [
|
3241
|
+
{
|
3242
|
+
x: 0.09373835550000087,
|
3243
|
+
y: -0.18559775000000034
|
3244
|
+
},
|
3245
|
+
{
|
3246
|
+
x: 0.09280835550000122,
|
3247
|
+
y: 0.18255174999999935
|
3248
|
+
}
|
3249
|
+
],
|
3250
|
+
color: "primary",
|
3251
|
+
fill: false
|
3252
|
+
},
|
3253
|
+
"path12-1": {
|
3254
|
+
type: "path",
|
3255
|
+
points: [
|
3256
|
+
{
|
3257
|
+
x: 0.30382435550000064,
|
3258
|
+
y: -0.53233025
|
3259
|
+
},
|
3260
|
+
{
|
3261
|
+
x: 0.3032243555000005,
|
3262
|
+
y: -0.10600584999999985
|
3263
|
+
}
|
3264
|
+
],
|
3265
|
+
color: "primary",
|
3266
|
+
fill: false
|
3267
|
+
},
|
3268
|
+
"path12-1-5": {
|
3269
|
+
type: "path",
|
3270
|
+
points: [
|
3271
|
+
{
|
3272
|
+
x: 0.3108281555000003,
|
3273
|
+
y: 0.5323308500000001
|
3274
|
+
},
|
3275
|
+
{
|
3276
|
+
x: 0.31142815550000025,
|
3277
|
+
y: 0.005876249999999805
|
3278
|
+
}
|
3279
|
+
],
|
3280
|
+
color: "primary",
|
3281
|
+
fill: false
|
3282
|
+
},
|
3283
|
+
path2: {
|
3284
|
+
type: "path",
|
3285
|
+
points: [
|
3286
|
+
{
|
3287
|
+
x: 0.09383795549999951,
|
3288
|
+
y: -0.10788365000000044
|
3289
|
+
},
|
3290
|
+
{
|
3291
|
+
x: 0.31104975549999936,
|
3292
|
+
y: -0.10659565000000004
|
3293
|
+
}
|
3294
|
+
],
|
3295
|
+
color: "primary",
|
3296
|
+
fill: false
|
3297
|
+
},
|
3298
|
+
"path2-5": {
|
3299
|
+
type: "path",
|
3300
|
+
points: [
|
3301
|
+
{
|
3302
|
+
x: 0.09383795549999951,
|
3303
|
+
y: 0.10232114999999986
|
3304
|
+
},
|
3305
|
+
{
|
3306
|
+
x: 0.31104975549999936,
|
3307
|
+
y: 0.10360915000000026
|
3308
|
+
}
|
3309
|
+
],
|
3310
|
+
color: "primary",
|
3311
|
+
fill: false
|
3312
|
+
},
|
3313
|
+
path15: {
|
3314
|
+
type: "path",
|
3315
|
+
points: [
|
3316
|
+
{
|
3317
|
+
x: 0.20244405549999955,
|
3318
|
+
y: -0.03061555000000049
|
3319
|
+
},
|
3320
|
+
{
|
3321
|
+
x: 0.20244405549999955,
|
3322
|
+
y: 0.04077654999999947
|
3323
|
+
},
|
3324
|
+
{
|
3325
|
+
x: 0.2741990554999998,
|
3326
|
+
y: 0.0054987499999992195
|
3327
|
+
}
|
3328
|
+
],
|
3329
|
+
color: "primary",
|
3330
|
+
fill: true
|
3331
|
+
},
|
3332
|
+
"path2-0": {
|
3333
|
+
type: "path",
|
3334
|
+
points: [
|
3335
|
+
{
|
3336
|
+
x: 0.09383795549999951,
|
3337
|
+
y: 0.004018049999999551
|
3338
|
+
},
|
3339
|
+
{
|
3340
|
+
x: 0.31104975549999936,
|
3341
|
+
y: 0.005306049999999729
|
3342
|
+
}
|
3343
|
+
],
|
3344
|
+
color: "primary",
|
3345
|
+
fill: false
|
3346
|
+
},
|
3347
|
+
"path12-1-0": {
|
3348
|
+
type: "path",
|
3349
|
+
points: [
|
3350
|
+
{
|
3351
|
+
x: 0.05171245550000081,
|
3352
|
+
y: -0.16715385000000005
|
3353
|
+
},
|
3354
|
+
{
|
3355
|
+
x: 0.05111245550000065,
|
3356
|
+
y: 0.10592255000000006
|
3357
|
+
}
|
3358
|
+
],
|
3359
|
+
color: "primary",
|
3360
|
+
fill: false
|
3361
|
+
}
|
3362
|
+
},
|
3363
|
+
texts: {
|
3364
|
+
top1: {
|
3365
|
+
type: "text",
|
3366
|
+
text: "{REF}",
|
3367
|
+
x: -0.13197254449999907,
|
3368
|
+
y: -0.36092494999999936
|
3369
|
+
},
|
3370
|
+
bottom1: {
|
3371
|
+
type: "text",
|
3372
|
+
text: "{VAL}",
|
3373
|
+
x: 0.05891105550000031,
|
3374
|
+
y: 0.42489435000000064
|
3375
|
+
}
|
3376
|
+
},
|
3377
|
+
refblocks: {
|
3378
|
+
top1: {
|
3379
|
+
x: 0.30397715549999993,
|
3380
|
+
y: -0.5519248499999992
|
3381
|
+
},
|
3382
|
+
bottom1: {
|
3383
|
+
x: 0.31067575550000126,
|
3384
|
+
y: 0.5519248499999994
|
3385
|
+
},
|
3386
|
+
left1: {
|
3387
|
+
x: -0.41859744450000025,
|
3388
|
+
y: 0.10250625000000024
|
3389
|
+
}
|
3390
|
+
},
|
3391
|
+
bounds: {
|
3392
|
+
minX: -0.4467558855000002,
|
3393
|
+
maxX: 0.44675588550000006,
|
3394
|
+
minY: -0.5800832909999992,
|
3395
|
+
maxY: 0.5800832909999993,
|
3396
|
+
width: 1,
|
3397
|
+
height: 1.1601665819999987,
|
3398
|
+
centerX: -8326672684688674e-32,
|
3399
|
+
centerY: 5551115123125783e-32
|
3400
|
+
},
|
3401
|
+
circles: {
|
3402
|
+
path1: {
|
3403
|
+
type: "circle",
|
3404
|
+
x: 0.15821375550000005,
|
3405
|
+
y: -0.003454549999999612,
|
3406
|
+
radius: 0.28854213,
|
3407
|
+
color: "primary",
|
3408
|
+
fill: false
|
3409
|
+
}
|
3410
|
+
}
|
3411
|
+
};
|
3412
|
+
|
3413
|
+
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
3414
|
+
var { paths: paths18, texts: texts23, bounds: bounds18, refblocks: refblocks18, circles: circles12 } = p_channel_d_mosfet_transistor_default;
|
3415
|
+
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
3416
|
+
primitives: [
|
3417
|
+
...Object.values(paths18),
|
3418
|
+
...Object.values(circles12),
|
3419
|
+
{ ...texts23.top1, anchor: "middle_right", x: 0 },
|
3420
|
+
{ ...texts23.bottom1, anchor: "middle_right", x: 0 }
|
3421
|
+
],
|
3422
|
+
ports: [
|
3423
|
+
{ ...refblocks18.top1, labels: ["1", "drain"] },
|
3424
|
+
// TODO add more "standard" labels
|
3425
|
+
{ ...refblocks18.bottom1, labels: ["2", "source"] },
|
3426
|
+
// TODO add more "standard" labels
|
3427
|
+
{ ...refblocks18.left1, labels: ["3", "gate"] }
|
3428
|
+
// TODO add more "standard" labels
|
3429
|
+
],
|
3430
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3431
|
+
center: { x: bounds18.centerX, y: bounds18.centerY }
|
3432
|
+
});
|
3433
|
+
|
3434
|
+
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
3435
|
+
var rotatedSymbol10 = rotateSymbol(p_channel_d_mosfet_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 p_channel_d_mosfet_transistor_vert_default = rotatedSymbol10;
|
3446
|
+
|
3220
3447
|
// assets/generated/photodiode.json
|
3221
3448
|
var photodiode_default = {
|
3222
3449
|
paths: {
|
@@ -3442,11 +3669,11 @@ var photodiode_default = {
|
|
3442
3669
|
};
|
3443
3670
|
|
3444
3671
|
// symbols/photodiode_horz.ts
|
3445
|
-
var { paths:
|
3672
|
+
var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = photodiode_default;
|
3446
3673
|
var photodiode_horz_default = defineSymbol({
|
3447
3674
|
primitives: [
|
3448
|
-
...Object.values(
|
3449
|
-
...Object.values(
|
3675
|
+
...Object.values(paths19),
|
3676
|
+
...Object.values(circles13),
|
3450
3677
|
{
|
3451
3678
|
type: "text",
|
3452
3679
|
text: "{REF}",
|
@@ -3463,22 +3690,22 @@ var photodiode_horz_default = defineSymbol({
|
|
3463
3690
|
}
|
3464
3691
|
],
|
3465
3692
|
ports: [
|
3466
|
-
{ ...
|
3693
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
3467
3694
|
// TODO add more "standard" labels
|
3468
|
-
{ ...
|
3695
|
+
{ ...refblocks19.right1, labels: ["2"] }
|
3469
3696
|
// TODO add more "standard" labels
|
3470
3697
|
],
|
3471
|
-
size: { width:
|
3472
|
-
center: { x:
|
3698
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3699
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3473
3700
|
});
|
3474
3701
|
|
3475
3702
|
// symbols/photodiode_vert.ts
|
3476
|
-
var
|
3477
|
-
var
|
3478
|
-
var
|
3479
|
-
|
3480
|
-
|
3481
|
-
var photodiode_vert_default =
|
3703
|
+
var rotatedSymbol11 = rotateSymbol(photodiode_horz_default);
|
3704
|
+
var texts26 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3705
|
+
var ref12 = texts26.find((t) => t.text === "{REF}");
|
3706
|
+
ref12.y = 0;
|
3707
|
+
ref12.anchor = "middle_left";
|
3708
|
+
var photodiode_vert_default = rotatedSymbol11;
|
3482
3709
|
|
3483
3710
|
// assets/generated/pjfet_transistor.json
|
3484
3711
|
var pjfet_transistor_default = {
|
@@ -3644,38 +3871,38 @@ var pjfet_transistor_default = {
|
|
3644
3871
|
};
|
3645
3872
|
|
3646
3873
|
// symbols/pjfet_transistor_horz.ts
|
3647
|
-
var { paths:
|
3874
|
+
var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = pjfet_transistor_default;
|
3648
3875
|
var pjfet_transistor_horz_default = defineSymbol({
|
3649
3876
|
primitives: [
|
3650
|
-
...Object.values(
|
3651
|
-
...Object.values(
|
3652
|
-
{ ...
|
3653
|
-
{ ...
|
3877
|
+
...Object.values(paths20),
|
3878
|
+
...Object.values(circles14),
|
3879
|
+
{ ...texts27.top1, anchor: "middle_right", x: 0 },
|
3880
|
+
{ ...texts27.bottom1, anchor: "middle_right" }
|
3654
3881
|
],
|
3655
3882
|
ports: [
|
3656
|
-
{ ...
|
3883
|
+
{ ...refblocks20.top1, labels: ["1", "drain"] },
|
3657
3884
|
// TODO add more "standard" labels
|
3658
|
-
{ ...
|
3885
|
+
{ ...refblocks20.bottom1, labels: ["2", "source"] },
|
3659
3886
|
// TODO add more "standard" labels
|
3660
|
-
{ ...
|
3887
|
+
{ ...refblocks20.left1, labels: ["3", "gate"] }
|
3661
3888
|
// TODO add more "standard" labels
|
3662
3889
|
],
|
3663
|
-
size: { width:
|
3664
|
-
center: { x:
|
3890
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3891
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3665
3892
|
});
|
3666
3893
|
|
3667
3894
|
// symbols/pjfet_transistor_vert.ts
|
3668
|
-
var
|
3669
|
-
var
|
3670
|
-
var
|
3671
|
-
|
3672
|
-
|
3673
|
-
|
3674
|
-
var
|
3675
|
-
|
3676
|
-
|
3677
|
-
|
3678
|
-
var pjfet_transistor_vert_default =
|
3895
|
+
var rotatedSymbol12 = rotateSymbol(pjfet_transistor_horz_default);
|
3896
|
+
var texts28 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
3897
|
+
var val11 = texts28.find((t) => t.text === "{VAL}");
|
3898
|
+
val11.x = -0.35;
|
3899
|
+
val11.y = 0;
|
3900
|
+
val11.anchor = "middle_right";
|
3901
|
+
var ref13 = texts28.find((t) => t.text === "{REF}");
|
3902
|
+
ref13.y = 0;
|
3903
|
+
ref13.x = 0.35;
|
3904
|
+
ref13.anchor = "middle_left";
|
3905
|
+
var pjfet_transistor_vert_default = rotatedSymbol12;
|
3679
3906
|
|
3680
3907
|
// assets/generated/potentiometer.json
|
3681
3908
|
var potentiometer_default = {
|
@@ -3813,21 +4040,21 @@ var potentiometer_default = {
|
|
3813
4040
|
};
|
3814
4041
|
|
3815
4042
|
// symbols/potentiometer_horz.ts
|
3816
|
-
var { paths:
|
4043
|
+
var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21 } = potentiometer_default;
|
3817
4044
|
var potentiometer_horz_default = defineSymbol({
|
3818
4045
|
primitives: [
|
3819
|
-
...Object.values(
|
3820
|
-
{ ...
|
3821
|
-
{ ...
|
4046
|
+
...Object.values(paths21),
|
4047
|
+
{ ...texts29.bottom1, y: 0.35, anchor: "middle_top" },
|
4048
|
+
{ ...texts29.right1, anchor: "middle_left" }
|
3822
4049
|
],
|
3823
4050
|
ports: [
|
3824
|
-
{ ...
|
4051
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3825
4052
|
// TODO add more "standard" labels
|
3826
|
-
{ ...
|
4053
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3827
4054
|
// TODO add more "standard" labels
|
3828
4055
|
],
|
3829
|
-
size: { width:
|
3830
|
-
center: { x:
|
4056
|
+
size: { width: bounds21.width + 0.05, height: bounds21.height },
|
4057
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3831
4058
|
});
|
3832
4059
|
|
3833
4060
|
// symbols/potentiometer_vert.ts
|
@@ -3989,21 +4216,21 @@ var potentiometer2_default = {
|
|
3989
4216
|
};
|
3990
4217
|
|
3991
4218
|
// symbols/potentiometer2_horz.ts
|
3992
|
-
var { paths:
|
4219
|
+
var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22 } = potentiometer2_default;
|
3993
4220
|
var potentiometer2_horz_default = defineSymbol({
|
3994
4221
|
primitives: [
|
3995
|
-
...Object.values(
|
3996
|
-
{ ...
|
3997
|
-
{ ...
|
4222
|
+
...Object.values(paths22),
|
4223
|
+
{ ...texts30.bottom1, anchor: "middle_right" },
|
4224
|
+
{ ...texts30.top1, anchor: "middle_left" }
|
3998
4225
|
],
|
3999
4226
|
ports: [
|
4000
|
-
{ ...
|
4227
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4001
4228
|
// TODO add more "standard" labels
|
4002
|
-
{ ...
|
4229
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4003
4230
|
// TODO add more "standard" labels
|
4004
4231
|
],
|
4005
|
-
size: { width:
|
4006
|
-
center: { x:
|
4232
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4233
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4007
4234
|
});
|
4008
4235
|
|
4009
4236
|
// symbols/potentiometer2_vert.ts
|
@@ -4096,11 +4323,11 @@ var power_factor_meter_default = {
|
|
4096
4323
|
};
|
4097
4324
|
|
4098
4325
|
// symbols/power_factor_meter_horz.ts
|
4099
|
-
var { paths:
|
4326
|
+
var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles15 } = power_factor_meter_default;
|
4100
4327
|
var power_factor_meter_horz_default = defineSymbol({
|
4101
4328
|
primitives: [
|
4102
|
-
...Object.values(
|
4103
|
-
...Object.values(
|
4329
|
+
...Object.values(paths23),
|
4330
|
+
...Object.values(circles15),
|
4104
4331
|
// { ...texts.top1, anchor: "middle_left" },
|
4105
4332
|
{
|
4106
4333
|
type: "text",
|
@@ -4127,28 +4354,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
4127
4354
|
}
|
4128
4355
|
],
|
4129
4356
|
ports: [
|
4130
|
-
{ ...
|
4357
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4131
4358
|
// TODO add more "standard" labels
|
4132
|
-
{ ...
|
4359
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4133
4360
|
// TODO add more "standard" labels
|
4134
4361
|
],
|
4135
|
-
size: { width:
|
4136
|
-
center: { x:
|
4362
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4363
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4137
4364
|
});
|
4138
4365
|
|
4139
4366
|
// symbols/power_factor_meter_vert.ts
|
4140
|
-
var
|
4141
|
-
var
|
4142
|
-
var
|
4143
|
-
var
|
4144
|
-
var text_cos =
|
4145
|
-
|
4146
|
-
|
4147
|
-
|
4148
|
-
|
4367
|
+
var rotatedSymbol13 = rotateSymbol(power_factor_meter_horz_default);
|
4368
|
+
var texts32 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
4369
|
+
var ref14 = texts32.find((t) => t.text === "{REF}");
|
4370
|
+
var val12 = texts32.find((t) => t.text === "{VAL}");
|
4371
|
+
var text_cos = texts32.find((t) => t.text === "COS \u03C6");
|
4372
|
+
ref14.x = 0.35;
|
4373
|
+
ref14.y = 0;
|
4374
|
+
val12.x = -0.6;
|
4375
|
+
val12.y = 0;
|
4149
4376
|
text_cos.x = -0.1;
|
4150
4377
|
text_cos.y = 0;
|
4151
|
-
var power_factor_meter_vert_default =
|
4378
|
+
var power_factor_meter_vert_default = rotatedSymbol13;
|
4152
4379
|
|
4153
4380
|
// assets/generated/push_button_normally_closed_momentary.json
|
4154
4381
|
var push_button_normally_closed_momentary_default = {
|
@@ -4251,37 +4478,37 @@ var push_button_normally_closed_momentary_default = {
|
|
4251
4478
|
};
|
4252
4479
|
|
4253
4480
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
4254
|
-
var { paths:
|
4481
|
+
var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24 } = push_button_normally_closed_momentary_default;
|
4255
4482
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
4256
4483
|
primitives: [
|
4257
|
-
...Object.values(
|
4258
|
-
{ ...
|
4259
|
-
{ ...
|
4484
|
+
...Object.values(paths24),
|
4485
|
+
{ ...texts33.top1, anchor: "middle_bottom" },
|
4486
|
+
{ ...texts33.bottom1, anchor: "middle_top" }
|
4260
4487
|
],
|
4261
4488
|
ports: [
|
4262
|
-
{ ...
|
4489
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4263
4490
|
// TODO add more "standard" labels
|
4264
|
-
{ ...
|
4491
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4265
4492
|
// TODO add more "standard" labels
|
4266
4493
|
],
|
4267
|
-
size: { width:
|
4268
|
-
center: { x:
|
4494
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4495
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4269
4496
|
});
|
4270
4497
|
|
4271
4498
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
4272
4499
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
4273
|
-
var
|
4500
|
+
var ref15 = rotated6.primitives.find(
|
4274
4501
|
(p) => p.type === "text" && p.text === "{REF}"
|
4275
4502
|
);
|
4276
|
-
var
|
4503
|
+
var val13 = rotated6.primitives.find(
|
4277
4504
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4278
4505
|
);
|
4279
|
-
|
4280
|
-
|
4281
|
-
|
4282
|
-
|
4283
|
-
|
4284
|
-
|
4506
|
+
ref15.anchor = "middle_left";
|
4507
|
+
val13.anchor = "middle_right";
|
4508
|
+
ref15.x = ref15.x - 0.03;
|
4509
|
+
ref15.y = ref15.y;
|
4510
|
+
val13.x = val13.x;
|
4511
|
+
val13.y = 0;
|
4285
4512
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
4286
4513
|
|
4287
4514
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -4385,37 +4612,37 @@ var push_button_normally_open_momentary_default = {
|
|
4385
4612
|
};
|
4386
4613
|
|
4387
4614
|
// symbols/push_button_normally_open_momentary_horz.ts
|
4388
|
-
var { paths:
|
4615
|
+
var { paths: paths25, texts: texts34, bounds: bounds25, refblocks: refblocks25 } = push_button_normally_open_momentary_default;
|
4389
4616
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
4390
4617
|
primitives: [
|
4391
|
-
...Object.values(
|
4392
|
-
{ ...
|
4393
|
-
{ ...
|
4618
|
+
...Object.values(paths25),
|
4619
|
+
{ ...texts34.top1, anchor: "middle_bottom" },
|
4620
|
+
{ ...texts34.bottom1, anchor: "middle_top" }
|
4394
4621
|
],
|
4395
4622
|
ports: [
|
4396
|
-
{ ...
|
4623
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4397
4624
|
// TODO add more "standard" labels
|
4398
|
-
{ ...
|
4625
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4399
4626
|
// TODO add more "standard" labels
|
4400
4627
|
],
|
4401
|
-
size: { width:
|
4402
|
-
center: { x:
|
4628
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4629
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4403
4630
|
});
|
4404
4631
|
|
4405
4632
|
// symbols/push_button_normally_open_momentary_vert.ts
|
4406
4633
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
4407
|
-
var
|
4634
|
+
var ref16 = rotated7.primitives.find(
|
4408
4635
|
(p) => p.type === "text" && p.text === "{REF}"
|
4409
4636
|
);
|
4410
|
-
var
|
4637
|
+
var val14 = rotated7.primitives.find(
|
4411
4638
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4412
4639
|
);
|
4413
|
-
|
4414
|
-
|
4415
|
-
|
4416
|
-
|
4417
|
-
|
4418
|
-
|
4640
|
+
ref16.anchor = "middle_left";
|
4641
|
+
val14.anchor = "middle_right";
|
4642
|
+
ref16.x = ref16.x + 0.1;
|
4643
|
+
ref16.y = ref16.y;
|
4644
|
+
val14.x = val14.x;
|
4645
|
+
val14.y = 0;
|
4419
4646
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
4420
4647
|
|
4421
4648
|
// assets/generated/resonator.json
|
@@ -4764,11 +4991,11 @@ var resonator_default = {
|
|
4764
4991
|
};
|
4765
4992
|
|
4766
4993
|
// symbols/resonator_horz.ts
|
4767
|
-
var { paths:
|
4994
|
+
var { paths: paths26, texts: texts35, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = resonator_default;
|
4768
4995
|
var resonator_horz_default = defineSymbol({
|
4769
4996
|
primitives: [
|
4770
|
-
...Object.values(
|
4771
|
-
...Object.values(
|
4997
|
+
...Object.values(paths26),
|
4998
|
+
...Object.values(circles16),
|
4772
4999
|
// { ...texts.top1, anchor: "middle_left" },
|
4773
5000
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4774
5001
|
{
|
@@ -4787,15 +5014,15 @@ var resonator_horz_default = defineSymbol({
|
|
4787
5014
|
}
|
4788
5015
|
],
|
4789
5016
|
ports: [
|
4790
|
-
{ ...
|
5017
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4791
5018
|
// TODO add more "standard" labels
|
4792
|
-
{ ...
|
5019
|
+
{ ...refblocks26.right1, labels: ["2"] },
|
4793
5020
|
// TODO add more "standard" labels
|
4794
|
-
{ ...
|
5021
|
+
{ ...refblocks26.right2, labels: ["3"] }
|
4795
5022
|
// TODO add more "standard" labels
|
4796
5023
|
],
|
4797
|
-
size: { width:
|
4798
|
-
center: { x:
|
5024
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5025
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4799
5026
|
});
|
4800
5027
|
|
4801
5028
|
// symbols/resonator_vert.ts
|
@@ -4993,34 +5220,34 @@ var schottky_diode_default = {
|
|
4993
5220
|
};
|
4994
5221
|
|
4995
5222
|
// symbols/schottky_diode_horz.ts
|
4996
|
-
var { paths:
|
5223
|
+
var { paths: paths27, texts: texts36, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = schottky_diode_default;
|
4997
5224
|
var schottky_diode_horz_default = defineSymbol({
|
4998
5225
|
primitives: [
|
4999
|
-
...Object.values(
|
5000
|
-
...Object.values(
|
5001
|
-
{ ...
|
5002
|
-
{ ...
|
5226
|
+
...Object.values(paths27),
|
5227
|
+
...Object.values(circles17),
|
5228
|
+
{ ...texts36.top1, anchor: "middle_bottom" },
|
5229
|
+
{ ...texts36.bottom1, anchor: "middle_top" }
|
5003
5230
|
],
|
5004
5231
|
ports: [
|
5005
|
-
{ ...
|
5232
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
5006
5233
|
// TODO add more "standard" labels
|
5007
|
-
{ ...
|
5234
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
5008
5235
|
// TODO add more "standard" labels
|
5009
5236
|
],
|
5010
|
-
size: { width:
|
5011
|
-
center: { x:
|
5237
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5238
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5012
5239
|
});
|
5013
5240
|
|
5014
5241
|
// symbols/schottky_diode_vert.ts
|
5015
5242
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
5016
|
-
var
|
5243
|
+
var ref17 = rotated8.primitives.find(
|
5017
5244
|
(p) => p.type === "text" && p.text === "{REF}"
|
5018
5245
|
);
|
5019
|
-
var
|
5246
|
+
var val15 = rotated8.primitives.find(
|
5020
5247
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5021
5248
|
);
|
5022
|
-
|
5023
|
-
|
5249
|
+
ref17.anchor = "middle_left";
|
5250
|
+
val15.anchor = "middle_right";
|
5024
5251
|
var schottky_diode_vert_default = rotated8;
|
5025
5252
|
|
5026
5253
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -5167,35 +5394,35 @@ var silicon_controlled_rectifier_default = {
|
|
5167
5394
|
};
|
5168
5395
|
|
5169
5396
|
// symbols/silicon_controlled_rectifier_horz.ts
|
5170
|
-
var { paths:
|
5397
|
+
var { paths: paths28, texts: texts37, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = silicon_controlled_rectifier_default;
|
5171
5398
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
5172
5399
|
primitives: [
|
5173
|
-
...Object.values(
|
5174
|
-
...Object.values(
|
5175
|
-
{ ...
|
5176
|
-
{ ...
|
5400
|
+
...Object.values(paths28),
|
5401
|
+
...Object.values(circles18),
|
5402
|
+
{ ...texts37.top1, anchor: "middle_left" },
|
5403
|
+
{ ...texts37.bottom1, anchor: "middle_top" }
|
5177
5404
|
],
|
5178
5405
|
ports: [
|
5179
|
-
{ ...
|
5406
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5180
5407
|
// TODO add more "standard" labels
|
5181
|
-
{ ...
|
5408
|
+
{ ...refblocks28.right1, labels: ["2"] },
|
5182
5409
|
// TODO add more "standard" labels
|
5183
|
-
{ ...
|
5410
|
+
{ ...refblocks28.bottom1, labels: ["3"] }
|
5184
5411
|
// TODO add more "standard" labels
|
5185
5412
|
],
|
5186
|
-
size: { width:
|
5187
|
-
center: { x:
|
5413
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5414
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5188
5415
|
});
|
5189
5416
|
|
5190
5417
|
// symbols/silicon_controlled_rectifier_vert.ts
|
5191
|
-
var
|
5192
|
-
var
|
5418
|
+
var rotatedSymbol14 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
5419
|
+
var texts38 = rotatedSymbol14.primitives.filter(
|
5193
5420
|
(primitive) => primitive.type === "text"
|
5194
5421
|
);
|
5195
|
-
var
|
5196
|
-
|
5197
|
-
|
5198
|
-
var silicon_controlled_rectifier_vert_default =
|
5422
|
+
var ref18 = texts38.find((text) => text.text === "{REF}");
|
5423
|
+
ref18.y = 0;
|
5424
|
+
ref18.anchor = "middle_left";
|
5425
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol14;
|
5199
5426
|
|
5200
5427
|
// assets/generated/step_recovery_diode.json
|
5201
5428
|
var step_recovery_diode_default = {
|
@@ -5359,11 +5586,11 @@ var step_recovery_diode_default = {
|
|
5359
5586
|
};
|
5360
5587
|
|
5361
5588
|
// symbols/step_recovery_diode_horz.ts
|
5362
|
-
var { paths:
|
5589
|
+
var { paths: paths29, texts: texts39, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = step_recovery_diode_default;
|
5363
5590
|
var step_recovery_diode_horz_default = defineSymbol({
|
5364
5591
|
primitives: [
|
5365
|
-
...Object.values(
|
5366
|
-
...Object.values(
|
5592
|
+
...Object.values(paths29),
|
5593
|
+
...Object.values(circles19),
|
5367
5594
|
// { ...texts.top1, anchor: "middle_left" },
|
5368
5595
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5369
5596
|
{
|
@@ -5382,13 +5609,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
5382
5609
|
}
|
5383
5610
|
],
|
5384
5611
|
ports: [
|
5385
|
-
{ ...
|
5612
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5386
5613
|
// TODO add more "standard" labels
|
5387
|
-
{ ...
|
5614
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
5388
5615
|
// TODO add more "standard" labels
|
5389
5616
|
],
|
5390
|
-
size: { width:
|
5391
|
-
center: { x:
|
5617
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5618
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5392
5619
|
});
|
5393
5620
|
|
5394
5621
|
// symbols/step_recovery_diode_vert.ts
|
@@ -5585,36 +5812,36 @@ var triac_default = {
|
|
5585
5812
|
};
|
5586
5813
|
|
5587
5814
|
// symbols/triac_horz.ts
|
5588
|
-
var { paths:
|
5815
|
+
var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = triac_default;
|
5589
5816
|
var triac_horz_default = defineSymbol({
|
5590
5817
|
primitives: [
|
5591
|
-
...Object.values(
|
5592
|
-
...Object.values(
|
5593
|
-
{ ...
|
5594
|
-
{ ...
|
5818
|
+
...Object.values(paths30),
|
5819
|
+
...Object.values(circles20),
|
5820
|
+
{ ...texts40.top1, anchor: "middle_left" },
|
5821
|
+
{ ...texts40.bottom1, anchor: "middle_top" }
|
5595
5822
|
],
|
5596
5823
|
ports: [
|
5597
|
-
{ ...
|
5824
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5598
5825
|
// TODO add more "standard" labels
|
5599
|
-
{ ...
|
5826
|
+
{ ...refblocks30.right1, labels: ["2"] },
|
5600
5827
|
// TODO add more "standard" labels
|
5601
|
-
{ ...
|
5828
|
+
{ ...refblocks30.bottom1, labels: ["3"] }
|
5602
5829
|
// TODO add more "standard" labels
|
5603
5830
|
],
|
5604
|
-
size: { width:
|
5605
|
-
center: { x:
|
5831
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5832
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5606
5833
|
});
|
5607
5834
|
|
5608
5835
|
// symbols/triac_vert.ts
|
5609
|
-
var
|
5610
|
-
var
|
5836
|
+
var rotatedSymbol15 = rotateSymbol(triac_horz_default);
|
5837
|
+
var texts41 = rotatedSymbol15.primitives.filter(
|
5611
5838
|
(primitive) => primitive.type === "text"
|
5612
5839
|
);
|
5613
|
-
var
|
5614
|
-
var
|
5615
|
-
|
5616
|
-
|
5617
|
-
var triac_vert_default =
|
5840
|
+
var ref19 = texts41.find((text) => text.text === "{REF}");
|
5841
|
+
var val16 = texts41.find((text) => text.text === "{VAL}");
|
5842
|
+
ref19.y = 0;
|
5843
|
+
val16.y = 0;
|
5844
|
+
var triac_vert_default = rotatedSymbol15;
|
5618
5845
|
|
5619
5846
|
// assets/generated/tunnel_diode.json
|
5620
5847
|
var tunnel_diode_default = {
|
@@ -5778,34 +6005,34 @@ var tunnel_diode_default = {
|
|
5778
6005
|
};
|
5779
6006
|
|
5780
6007
|
// symbols/tunnel_diode_horz.ts
|
5781
|
-
var { paths:
|
6008
|
+
var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = tunnel_diode_default;
|
5782
6009
|
var tunnel_diode_horz_default = defineSymbol({
|
5783
6010
|
primitives: [
|
5784
|
-
...Object.values(
|
5785
|
-
...Object.values(
|
5786
|
-
{ ...
|
5787
|
-
{ ...
|
6011
|
+
...Object.values(paths31),
|
6012
|
+
...Object.values(circles21),
|
6013
|
+
{ ...texts42.top1, anchor: "middle_bottom" },
|
6014
|
+
{ ...texts42.bottom1, anchor: "middle_top" }
|
5788
6015
|
],
|
5789
6016
|
ports: [
|
5790
|
-
{ ...
|
6017
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5791
6018
|
// TODO add more "standard" labels
|
5792
|
-
{ ...
|
6019
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
5793
6020
|
// TODO add more "standard" labels
|
5794
6021
|
],
|
5795
|
-
size: { width:
|
5796
|
-
center: { x:
|
6022
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6023
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5797
6024
|
});
|
5798
6025
|
|
5799
6026
|
// symbols/tunnel_diode_vert.ts
|
5800
6027
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
5801
|
-
var
|
6028
|
+
var ref20 = rotated9.primitives.find(
|
5802
6029
|
(p) => p.type === "text" && p.text === "{REF}"
|
5803
6030
|
);
|
5804
|
-
var
|
6031
|
+
var val17 = rotated9.primitives.find(
|
5805
6032
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5806
6033
|
);
|
5807
|
-
|
5808
|
-
|
6034
|
+
ref20.anchor = "middle_left";
|
6035
|
+
val17.anchor = "middle_right";
|
5809
6036
|
var tunnel_diode_vert_default = rotated9;
|
5810
6037
|
|
5811
6038
|
// assets/generated/unijunction_transistor.json
|
@@ -5976,37 +6203,37 @@ var unijunction_transistor_default = {
|
|
5976
6203
|
};
|
5977
6204
|
|
5978
6205
|
// symbols/unijunction_transistor_horz.ts
|
5979
|
-
var { paths:
|
6206
|
+
var { paths: paths32, texts: texts43, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = unijunction_transistor_default;
|
5980
6207
|
var unijunction_transistor_horz_default = defineSymbol({
|
5981
6208
|
primitives: [
|
5982
|
-
...Object.values(
|
5983
|
-
...Object.values(
|
5984
|
-
{ ...
|
5985
|
-
{ ...
|
6209
|
+
...Object.values(paths32),
|
6210
|
+
...Object.values(circles22),
|
6211
|
+
{ ...texts43.top1, anchor: "middle_left" },
|
6212
|
+
{ ...texts43.bottom1, anchor: "middle_right" }
|
5986
6213
|
],
|
5987
6214
|
ports: [
|
5988
|
-
{ ...
|
6215
|
+
{ ...refblocks32.top1, labels: ["1"] },
|
5989
6216
|
// TODO add more "standard" labels
|
5990
|
-
{ ...
|
6217
|
+
{ ...refblocks32.bottom1, labels: ["2"] },
|
5991
6218
|
// TODO add more "standard" labels
|
5992
|
-
{ ...
|
6219
|
+
{ ...refblocks32.left1, labels: ["3"] }
|
5993
6220
|
// TODO add more "standard" labels
|
5994
6221
|
],
|
5995
|
-
size: { width:
|
5996
|
-
center: { x:
|
6222
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6223
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5997
6224
|
});
|
5998
6225
|
|
5999
6226
|
// symbols/unijunction_transistor_vert.ts
|
6000
|
-
var
|
6001
|
-
var
|
6227
|
+
var rotatedSymbol16 = rotateSymbol(unijunction_transistor_horz_default);
|
6228
|
+
var texts44 = rotatedSymbol16.primitives.filter(
|
6002
6229
|
(primitive) => primitive.type === "text"
|
6003
6230
|
);
|
6004
|
-
var
|
6005
|
-
|
6006
|
-
var
|
6007
|
-
|
6008
|
-
|
6009
|
-
var unijunction_transistor_vert_default =
|
6231
|
+
var ref21 = texts44.find((text) => text.text === "{REF}");
|
6232
|
+
ref21.y = 0.1;
|
6233
|
+
var val18 = texts44.find((text) => text.text === "{VAL}");
|
6234
|
+
val18.y = 0.1;
|
6235
|
+
val18.x = -0.4;
|
6236
|
+
var unijunction_transistor_vert_default = rotatedSymbol16;
|
6010
6237
|
|
6011
6238
|
// assets/generated/var_meter.json
|
6012
6239
|
var var_meter_default = {
|
@@ -6095,33 +6322,33 @@ var var_meter_default = {
|
|
6095
6322
|
};
|
6096
6323
|
|
6097
6324
|
// symbols/var_meter_horz.ts
|
6098
|
-
var { paths:
|
6325
|
+
var { paths: paths33, texts: texts45, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = var_meter_default;
|
6099
6326
|
var var_meter_horz_default = defineSymbol({
|
6100
6327
|
primitives: [
|
6101
|
-
...Object.values(
|
6102
|
-
...Object.values(
|
6328
|
+
...Object.values(paths33),
|
6329
|
+
...Object.values(circles23),
|
6103
6330
|
{
|
6104
|
-
...
|
6331
|
+
...texts45.top1,
|
6105
6332
|
x: 0,
|
6106
6333
|
y: -0.3594553499999995,
|
6107
6334
|
anchor: "middle_bottom"
|
6108
6335
|
},
|
6109
6336
|
{
|
6110
|
-
...
|
6337
|
+
...texts45.bottom1,
|
6111
6338
|
x: 0,
|
6112
6339
|
y: 0.35,
|
6113
6340
|
anchor: "middle_top"
|
6114
6341
|
},
|
6115
|
-
{ ...
|
6342
|
+
{ ...texts45.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
6116
6343
|
],
|
6117
6344
|
ports: [
|
6118
|
-
{ ...
|
6345
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6119
6346
|
// TODO add more "standard" labels
|
6120
|
-
{ ...
|
6347
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6121
6348
|
// TODO add more "standard" labels
|
6122
6349
|
],
|
6123
|
-
size: { width:
|
6124
|
-
center: { x:
|
6350
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6351
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6125
6352
|
});
|
6126
6353
|
|
6127
6354
|
// symbols/var_meter_vert.ts
|
@@ -6274,34 +6501,34 @@ var varactor_diode_default = {
|
|
6274
6501
|
};
|
6275
6502
|
|
6276
6503
|
// symbols/varactor_diode_horz.ts
|
6277
|
-
var { paths:
|
6504
|
+
var { paths: paths34, texts: texts46, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = varactor_diode_default;
|
6278
6505
|
var varactor_diode_horz_default = defineSymbol({
|
6279
6506
|
primitives: [
|
6280
|
-
...Object.values(
|
6281
|
-
...Object.values(
|
6282
|
-
{ ...
|
6283
|
-
{ ...
|
6507
|
+
...Object.values(paths34),
|
6508
|
+
...Object.values(circles24),
|
6509
|
+
{ ...texts46.top1, anchor: "middle_bottom" },
|
6510
|
+
{ ...texts46.bottom1, anchor: "middle_top" }
|
6284
6511
|
],
|
6285
6512
|
ports: [
|
6286
|
-
{ ...
|
6513
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6287
6514
|
// TODO add more "standard" labels
|
6288
|
-
{ ...
|
6515
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6289
6516
|
// TODO add more "standard" labels
|
6290
6517
|
],
|
6291
|
-
size: { width:
|
6292
|
-
center: { x:
|
6518
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6519
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6293
6520
|
});
|
6294
6521
|
|
6295
6522
|
// symbols/varactor_diode_vert.ts
|
6296
6523
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
6297
|
-
var
|
6524
|
+
var ref22 = rotated10.primitives.find(
|
6298
6525
|
(p) => p.type === "text" && p.text === "{REF}"
|
6299
6526
|
);
|
6300
|
-
var
|
6527
|
+
var val19 = rotated10.primitives.find(
|
6301
6528
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6302
6529
|
);
|
6303
|
-
|
6304
|
-
|
6530
|
+
ref22.anchor = "middle_left";
|
6531
|
+
val19.anchor = "middle_right";
|
6305
6532
|
var varactor_diode_vert_default = rotated10;
|
6306
6533
|
|
6307
6534
|
// assets/generated/varistor.json
|
@@ -6436,26 +6663,26 @@ var varistor_default = {
|
|
6436
6663
|
};
|
6437
6664
|
|
6438
6665
|
// symbols/varistor_horz.ts
|
6439
|
-
var { paths:
|
6666
|
+
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35 } = varistor_default;
|
6440
6667
|
var varistor_horz_default = defineSymbol({
|
6441
6668
|
primitives: [
|
6442
|
-
...Object.values(
|
6443
|
-
{ ...
|
6444
|
-
{ ...
|
6669
|
+
...Object.values(paths35),
|
6670
|
+
{ ...texts47.top1, anchor: "middle_left" },
|
6671
|
+
{ ...texts47.bottom1, anchor: "middle_right" }
|
6445
6672
|
],
|
6446
6673
|
ports: [
|
6447
6674
|
{
|
6448
|
-
...
|
6675
|
+
...refblocks35.left1,
|
6449
6676
|
labels: ["1", "-"]
|
6450
6677
|
},
|
6451
6678
|
{
|
6452
|
-
...
|
6679
|
+
...refblocks35.right1,
|
6453
6680
|
labels: ["2", "+"]
|
6454
6681
|
}
|
6455
6682
|
],
|
6456
|
-
size: { width:
|
6683
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6457
6684
|
//{ width: 1, height: 0.24 },
|
6458
|
-
center: { x:
|
6685
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6459
6686
|
});
|
6460
6687
|
|
6461
6688
|
// symbols/varistor_vert.ts
|
@@ -6561,11 +6788,11 @@ var volt_meter_default = {
|
|
6561
6788
|
};
|
6562
6789
|
|
6563
6790
|
// symbols/volt_meter_horz.ts
|
6564
|
-
var { paths:
|
6791
|
+
var { paths: paths36, texts: texts48, bounds: bounds36, circles: circles25, refblocks: refblocks36 } = volt_meter_default;
|
6565
6792
|
var volt_meter_horz_default = defineSymbol({
|
6566
6793
|
primitives: [
|
6567
|
-
...Object.values(
|
6568
|
-
...Object.values(
|
6794
|
+
...Object.values(paths36),
|
6795
|
+
...Object.values(circles25),
|
6569
6796
|
{
|
6570
6797
|
type: "text",
|
6571
6798
|
text: "{REF}",
|
@@ -6582,13 +6809,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
6582
6809
|
}
|
6583
6810
|
],
|
6584
6811
|
ports: [
|
6585
|
-
{ ...
|
6812
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6586
6813
|
// TODO add more "standard" labels
|
6587
|
-
{ ...
|
6814
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6588
6815
|
// TODO add more "standard" labels
|
6589
6816
|
],
|
6590
|
-
size: { width:
|
6591
|
-
center: { x:
|
6817
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6818
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6592
6819
|
});
|
6593
6820
|
|
6594
6821
|
// symbols/volt_meter_vert.ts
|
@@ -6741,34 +6968,34 @@ var zener_diode_default = {
|
|
6741
6968
|
};
|
6742
6969
|
|
6743
6970
|
// symbols/zener_diode_horz.ts
|
6744
|
-
var { paths:
|
6971
|
+
var { paths: paths37, texts: texts49, bounds: bounds37, refblocks: refblocks37, circles: circles26 } = zener_diode_default;
|
6745
6972
|
var zener_diode_horz_default = defineSymbol({
|
6746
6973
|
primitives: [
|
6747
|
-
...Object.values(
|
6748
|
-
...Object.values(
|
6749
|
-
{ ...
|
6750
|
-
{ ...
|
6974
|
+
...Object.values(paths37),
|
6975
|
+
...Object.values(circles26),
|
6976
|
+
{ ...texts49.top1, anchor: "middle_bottom" },
|
6977
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
6751
6978
|
],
|
6752
6979
|
ports: [
|
6753
|
-
{ ...
|
6980
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
6754
6981
|
// TODO add more "standard" labels
|
6755
|
-
{ ...
|
6982
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
6756
6983
|
// TODO add more "standard" labels
|
6757
6984
|
],
|
6758
|
-
size: { width:
|
6759
|
-
center: { x:
|
6985
|
+
size: { width: bounds37.width, height: bounds37.height },
|
6986
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6760
6987
|
});
|
6761
6988
|
|
6762
6989
|
// symbols/zener_diode_vert.ts
|
6763
6990
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6764
|
-
var
|
6991
|
+
var ref23 = rotated11.primitives.find(
|
6765
6992
|
(p) => p.type === "text" && p.text === "{REF}"
|
6766
6993
|
);
|
6767
|
-
var
|
6994
|
+
var val20 = rotated11.primitives.find(
|
6768
6995
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6769
6996
|
);
|
6770
|
-
|
6771
|
-
|
6997
|
+
ref23.anchor = "middle_left";
|
6998
|
+
val20.anchor = "middle_right";
|
6772
6999
|
var zener_diode_vert_default = rotated11;
|
6773
7000
|
|
6774
7001
|
// generated/symbols-index.ts
|
@@ -6807,6 +7034,8 @@ var symbols_index_default = {
|
|
6807
7034
|
"mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
|
6808
7035
|
"njfet_transistor_horz": njfet_transistor_horz_default,
|
6809
7036
|
"njfet_transistor_vert": njfet_transistor_vert_default,
|
7037
|
+
"p_channel_d_mosfet_transistor_horz": p_channel_d_mosfet_transistor_horz_default,
|
7038
|
+
"p_channel_d_mosfet_transistor_vert": p_channel_d_mosfet_transistor_vert_default,
|
6810
7039
|
"photodiode_horz": photodiode_horz_default,
|
6811
7040
|
"photodiode_vert": photodiode_vert_default,
|
6812
7041
|
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|