schematic-symbols 0.0.62 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +619 -221
- 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/symbols/pjfet_transistor_horz.ts +20 -0
- package/symbols/pjfet_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,219 @@ 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;
|
3482
|
+
|
3483
|
+
// assets/generated/pjfet_transistor.json
|
3484
|
+
var pjfet_transistor_default = {
|
3485
|
+
paths: {
|
3486
|
+
path11: {
|
3487
|
+
type: "path",
|
3488
|
+
points: [
|
3489
|
+
{
|
3490
|
+
x: -0.38509374449999945,
|
3491
|
+
y: 0.00367374999999992
|
3492
|
+
},
|
3493
|
+
{
|
3494
|
+
x: 0.05876225550000025,
|
3495
|
+
y: 0.00629674999999974
|
3496
|
+
}
|
3497
|
+
],
|
3498
|
+
color: "primary",
|
3499
|
+
fill: false
|
3500
|
+
},
|
3501
|
+
path40: {
|
3502
|
+
type: "path",
|
3503
|
+
points: [
|
3504
|
+
{
|
3505
|
+
x: 0.07415065550000066,
|
3506
|
+
y: -0.18559775000000034
|
3507
|
+
},
|
3508
|
+
{
|
3509
|
+
x: 0.07322065550000101,
|
3510
|
+
y: 0.18255174999999935
|
3511
|
+
}
|
3512
|
+
],
|
3513
|
+
color: "primary",
|
3514
|
+
fill: false
|
3515
|
+
},
|
3516
|
+
"path12-1": {
|
3517
|
+
type: "path",
|
3518
|
+
points: [
|
3519
|
+
{
|
3520
|
+
x: 0.28423665550000043,
|
3521
|
+
y: -0.53233025
|
3522
|
+
},
|
3523
|
+
{
|
3524
|
+
x: 0.2836366555000003,
|
3525
|
+
y: -0.10600584999999985
|
3526
|
+
}
|
3527
|
+
],
|
3528
|
+
color: "primary",
|
3529
|
+
fill: false
|
3530
|
+
},
|
3531
|
+
"path12-1-5": {
|
3532
|
+
type: "path",
|
3533
|
+
points: [
|
3534
|
+
{
|
3535
|
+
x: 0.2912404555000001,
|
3536
|
+
y: 0.5298821500000002
|
3537
|
+
},
|
3538
|
+
{
|
3539
|
+
x: 0.29184045550000004,
|
3540
|
+
y: 0.10355795000000012
|
3541
|
+
}
|
3542
|
+
],
|
3543
|
+
color: "primary",
|
3544
|
+
fill: false
|
3545
|
+
},
|
3546
|
+
path2: {
|
3547
|
+
type: "path",
|
3548
|
+
points: [
|
3549
|
+
{
|
3550
|
+
x: 0.07425025549999931,
|
3551
|
+
y: -0.10788365000000044
|
3552
|
+
},
|
3553
|
+
{
|
3554
|
+
x: 0.29146205549999915,
|
3555
|
+
y: -0.10659565000000004
|
3556
|
+
}
|
3557
|
+
],
|
3558
|
+
color: "primary",
|
3559
|
+
fill: false
|
3560
|
+
},
|
3561
|
+
"path2-5": {
|
3562
|
+
type: "path",
|
3563
|
+
points: [
|
3564
|
+
{
|
3565
|
+
x: 0.07425025549999931,
|
3566
|
+
y: 0.10232114999999986
|
3567
|
+
},
|
3568
|
+
{
|
3569
|
+
x: 0.29146205549999915,
|
3570
|
+
y: 0.10360915000000026
|
3571
|
+
}
|
3572
|
+
],
|
3573
|
+
color: "primary",
|
3574
|
+
fill: false
|
3575
|
+
},
|
3576
|
+
path15: {
|
3577
|
+
type: "path",
|
3578
|
+
points: [
|
3579
|
+
{
|
3580
|
+
x: 0.005945155500000077,
|
3581
|
+
y: 0.06535114999999969
|
3582
|
+
},
|
3583
|
+
{
|
3584
|
+
x: 0.005945155500000077,
|
3585
|
+
y: -0.06153284999999986
|
3586
|
+
},
|
3587
|
+
{
|
3588
|
+
x: -0.0829488445000004,
|
3589
|
+
y: 0.001166149999999977
|
3590
|
+
}
|
3591
|
+
],
|
3592
|
+
color: "primary",
|
3593
|
+
fill: true
|
3594
|
+
}
|
3595
|
+
},
|
3596
|
+
texts: {
|
3597
|
+
top1: {
|
3598
|
+
type: "text",
|
3599
|
+
text: "{REF}",
|
3600
|
+
x: -0.15156024449999927,
|
3601
|
+
y: -0.36092494999999936
|
3602
|
+
},
|
3603
|
+
bottom1: {
|
3604
|
+
type: "text",
|
3605
|
+
text: "{VAL}",
|
3606
|
+
x: 0.0393233555000001,
|
3607
|
+
y: 0.42489435000000064
|
3608
|
+
}
|
3609
|
+
},
|
3610
|
+
refblocks: {
|
3611
|
+
top1: {
|
3612
|
+
x: 0.2843894554999997,
|
3613
|
+
y: -0.5519248499999992
|
3614
|
+
},
|
3615
|
+
bottom1: {
|
3616
|
+
x: 0.29108805550000105,
|
3617
|
+
y: 0.5519248499999994
|
3618
|
+
},
|
3619
|
+
left1: {
|
3620
|
+
x: -0.3990097444999998,
|
3621
|
+
y: 0.004526550000000462
|
3622
|
+
}
|
3623
|
+
},
|
3624
|
+
bounds: {
|
3625
|
+
minX: -0.4271681854999998,
|
3626
|
+
maxX: 0.42716818549999985,
|
3627
|
+
minY: -0.5800832909999992,
|
3628
|
+
maxY: 0.5800832909999993,
|
3629
|
+
width: 1,
|
3630
|
+
height: 1.1601665819999987,
|
3631
|
+
centerX: 27755575615628914e-33,
|
3632
|
+
centerY: 5551115123125783e-32
|
3633
|
+
},
|
3634
|
+
circles: {
|
3635
|
+
path1: {
|
3636
|
+
type: "circle",
|
3637
|
+
x: 0.13862605549999985,
|
3638
|
+
y: -0.003454549999999612,
|
3639
|
+
radius: 0.28854213,
|
3640
|
+
color: "primary",
|
3641
|
+
fill: false
|
3642
|
+
}
|
3643
|
+
}
|
3644
|
+
};
|
3645
|
+
|
3646
|
+
// symbols/pjfet_transistor_horz.ts
|
3647
|
+
var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = pjfet_transistor_default;
|
3648
|
+
var pjfet_transistor_horz_default = defineSymbol({
|
3649
|
+
primitives: [
|
3650
|
+
...Object.values(paths19),
|
3651
|
+
...Object.values(circles13),
|
3652
|
+
{ ...texts25.top1, anchor: "middle_right", x: 0 },
|
3653
|
+
{ ...texts25.bottom1, anchor: "middle_right" }
|
3654
|
+
],
|
3655
|
+
ports: [
|
3656
|
+
{ ...refblocks19.top1, labels: ["1", "drain"] },
|
3657
|
+
// TODO add more "standard" labels
|
3658
|
+
{ ...refblocks19.bottom1, labels: ["2", "source"] },
|
3659
|
+
// TODO add more "standard" labels
|
3660
|
+
{ ...refblocks19.left1, labels: ["3", "gate"] }
|
3661
|
+
// TODO add more "standard" labels
|
3662
|
+
],
|
3663
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3664
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3665
|
+
});
|
3666
|
+
|
3667
|
+
// symbols/pjfet_transistor_vert.ts
|
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;
|
3285
3679
|
|
3286
3680
|
// assets/generated/potentiometer.json
|
3287
3681
|
var potentiometer_default = {
|
@@ -3419,21 +3813,21 @@ var potentiometer_default = {
|
|
3419
3813
|
};
|
3420
3814
|
|
3421
3815
|
// symbols/potentiometer_horz.ts
|
3422
|
-
var { paths:
|
3816
|
+
var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20 } = potentiometer_default;
|
3423
3817
|
var potentiometer_horz_default = defineSymbol({
|
3424
3818
|
primitives: [
|
3425
|
-
...Object.values(
|
3426
|
-
{ ...
|
3427
|
-
{ ...
|
3819
|
+
...Object.values(paths20),
|
3820
|
+
{ ...texts27.bottom1, y: 0.35, anchor: "middle_top" },
|
3821
|
+
{ ...texts27.right1, anchor: "middle_left" }
|
3428
3822
|
],
|
3429
3823
|
ports: [
|
3430
|
-
{ ...
|
3824
|
+
{ ...refblocks20.left1, labels: ["1"] },
|
3431
3825
|
// TODO add more "standard" labels
|
3432
|
-
{ ...
|
3826
|
+
{ ...refblocks20.right1, labels: ["2"] }
|
3433
3827
|
// TODO add more "standard" labels
|
3434
3828
|
],
|
3435
|
-
size: { width:
|
3436
|
-
center: { x:
|
3829
|
+
size: { width: bounds20.width + 0.05, height: bounds20.height },
|
3830
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3437
3831
|
});
|
3438
3832
|
|
3439
3833
|
// symbols/potentiometer_vert.ts
|
@@ -3595,21 +3989,21 @@ var potentiometer2_default = {
|
|
3595
3989
|
};
|
3596
3990
|
|
3597
3991
|
// symbols/potentiometer2_horz.ts
|
3598
|
-
var { paths:
|
3992
|
+
var { paths: paths21, texts: texts28, bounds: bounds21, refblocks: refblocks21 } = potentiometer2_default;
|
3599
3993
|
var potentiometer2_horz_default = defineSymbol({
|
3600
3994
|
primitives: [
|
3601
|
-
...Object.values(
|
3602
|
-
{ ...
|
3603
|
-
{ ...
|
3995
|
+
...Object.values(paths21),
|
3996
|
+
{ ...texts28.bottom1, anchor: "middle_right" },
|
3997
|
+
{ ...texts28.top1, anchor: "middle_left" }
|
3604
3998
|
],
|
3605
3999
|
ports: [
|
3606
|
-
{ ...
|
4000
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3607
4001
|
// TODO add more "standard" labels
|
3608
|
-
{ ...
|
4002
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3609
4003
|
// TODO add more "standard" labels
|
3610
4004
|
],
|
3611
|
-
size: { width:
|
3612
|
-
center: { x:
|
4005
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4006
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3613
4007
|
});
|
3614
4008
|
|
3615
4009
|
// symbols/potentiometer2_vert.ts
|
@@ -3702,11 +4096,11 @@ var power_factor_meter_default = {
|
|
3702
4096
|
};
|
3703
4097
|
|
3704
4098
|
// symbols/power_factor_meter_horz.ts
|
3705
|
-
var { paths:
|
4099
|
+
var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles14 } = power_factor_meter_default;
|
3706
4100
|
var power_factor_meter_horz_default = defineSymbol({
|
3707
4101
|
primitives: [
|
3708
|
-
...Object.values(
|
3709
|
-
...Object.values(
|
4102
|
+
...Object.values(paths22),
|
4103
|
+
...Object.values(circles14),
|
3710
4104
|
// { ...texts.top1, anchor: "middle_left" },
|
3711
4105
|
{
|
3712
4106
|
type: "text",
|
@@ -3733,28 +4127,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
3733
4127
|
}
|
3734
4128
|
],
|
3735
4129
|
ports: [
|
3736
|
-
{ ...
|
4130
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
3737
4131
|
// TODO add more "standard" labels
|
3738
|
-
{ ...
|
4132
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
3739
4133
|
// TODO add more "standard" labels
|
3740
4134
|
],
|
3741
|
-
size: { width:
|
3742
|
-
center: { x:
|
4135
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4136
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
3743
4137
|
});
|
3744
4138
|
|
3745
4139
|
// symbols/power_factor_meter_vert.ts
|
3746
|
-
var
|
3747
|
-
var
|
3748
|
-
var
|
3749
|
-
var
|
3750
|
-
var text_cos =
|
3751
|
-
|
3752
|
-
|
3753
|
-
|
3754
|
-
|
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;
|
3755
4149
|
text_cos.x = -0.1;
|
3756
4150
|
text_cos.y = 0;
|
3757
|
-
var power_factor_meter_vert_default =
|
4151
|
+
var power_factor_meter_vert_default = rotatedSymbol12;
|
3758
4152
|
|
3759
4153
|
// assets/generated/push_button_normally_closed_momentary.json
|
3760
4154
|
var push_button_normally_closed_momentary_default = {
|
@@ -3857,37 +4251,37 @@ var push_button_normally_closed_momentary_default = {
|
|
3857
4251
|
};
|
3858
4252
|
|
3859
4253
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
3860
|
-
var { paths:
|
4254
|
+
var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23 } = push_button_normally_closed_momentary_default;
|
3861
4255
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
3862
4256
|
primitives: [
|
3863
|
-
...Object.values(
|
3864
|
-
{ ...
|
3865
|
-
{ ...
|
4257
|
+
...Object.values(paths23),
|
4258
|
+
{ ...texts31.top1, anchor: "middle_bottom" },
|
4259
|
+
{ ...texts31.bottom1, anchor: "middle_top" }
|
3866
4260
|
],
|
3867
4261
|
ports: [
|
3868
|
-
{ ...
|
4262
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
3869
4263
|
// TODO add more "standard" labels
|
3870
|
-
{ ...
|
4264
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
3871
4265
|
// TODO add more "standard" labels
|
3872
4266
|
],
|
3873
|
-
size: { width:
|
3874
|
-
center: { x:
|
4267
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4268
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
3875
4269
|
});
|
3876
4270
|
|
3877
4271
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
3878
4272
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
3879
|
-
var
|
4273
|
+
var ref14 = rotated6.primitives.find(
|
3880
4274
|
(p) => p.type === "text" && p.text === "{REF}"
|
3881
4275
|
);
|
3882
|
-
var
|
4276
|
+
var val12 = rotated6.primitives.find(
|
3883
4277
|
(p) => p.type === "text" && p.text === "{VAL}"
|
3884
4278
|
);
|
3885
|
-
|
3886
|
-
|
3887
|
-
|
3888
|
-
|
3889
|
-
|
3890
|
-
|
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;
|
3891
4285
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
3892
4286
|
|
3893
4287
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -3991,37 +4385,37 @@ var push_button_normally_open_momentary_default = {
|
|
3991
4385
|
};
|
3992
4386
|
|
3993
4387
|
// symbols/push_button_normally_open_momentary_horz.ts
|
3994
|
-
var { paths:
|
4388
|
+
var { paths: paths24, texts: texts32, bounds: bounds24, refblocks: refblocks24 } = push_button_normally_open_momentary_default;
|
3995
4389
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
3996
4390
|
primitives: [
|
3997
|
-
...Object.values(
|
3998
|
-
{ ...
|
3999
|
-
{ ...
|
4391
|
+
...Object.values(paths24),
|
4392
|
+
{ ...texts32.top1, anchor: "middle_bottom" },
|
4393
|
+
{ ...texts32.bottom1, anchor: "middle_top" }
|
4000
4394
|
],
|
4001
4395
|
ports: [
|
4002
|
-
{ ...
|
4396
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4003
4397
|
// TODO add more "standard" labels
|
4004
|
-
{ ...
|
4398
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4005
4399
|
// TODO add more "standard" labels
|
4006
4400
|
],
|
4007
|
-
size: { width:
|
4008
|
-
center: { x:
|
4401
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4402
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4009
4403
|
});
|
4010
4404
|
|
4011
4405
|
// symbols/push_button_normally_open_momentary_vert.ts
|
4012
4406
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
4013
|
-
var
|
4407
|
+
var ref15 = rotated7.primitives.find(
|
4014
4408
|
(p) => p.type === "text" && p.text === "{REF}"
|
4015
4409
|
);
|
4016
|
-
var
|
4410
|
+
var val13 = rotated7.primitives.find(
|
4017
4411
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4018
4412
|
);
|
4019
|
-
|
4020
|
-
|
4021
|
-
|
4022
|
-
|
4023
|
-
|
4024
|
-
|
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;
|
4025
4419
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
4026
4420
|
|
4027
4421
|
// assets/generated/resonator.json
|
@@ -4370,11 +4764,11 @@ var resonator_default = {
|
|
4370
4764
|
};
|
4371
4765
|
|
4372
4766
|
// symbols/resonator_horz.ts
|
4373
|
-
var { paths:
|
4767
|
+
var { paths: paths25, texts: texts33, bounds: bounds25, refblocks: refblocks25, circles: circles15 } = resonator_default;
|
4374
4768
|
var resonator_horz_default = defineSymbol({
|
4375
4769
|
primitives: [
|
4376
|
-
...Object.values(
|
4377
|
-
...Object.values(
|
4770
|
+
...Object.values(paths25),
|
4771
|
+
...Object.values(circles15),
|
4378
4772
|
// { ...texts.top1, anchor: "middle_left" },
|
4379
4773
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4380
4774
|
{
|
@@ -4393,15 +4787,15 @@ var resonator_horz_default = defineSymbol({
|
|
4393
4787
|
}
|
4394
4788
|
],
|
4395
4789
|
ports: [
|
4396
|
-
{ ...
|
4790
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4397
4791
|
// TODO add more "standard" labels
|
4398
|
-
{ ...
|
4792
|
+
{ ...refblocks25.right1, labels: ["2"] },
|
4399
4793
|
// TODO add more "standard" labels
|
4400
|
-
{ ...
|
4794
|
+
{ ...refblocks25.right2, labels: ["3"] }
|
4401
4795
|
// TODO add more "standard" labels
|
4402
4796
|
],
|
4403
|
-
size: { width:
|
4404
|
-
center: { x:
|
4797
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4798
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4405
4799
|
});
|
4406
4800
|
|
4407
4801
|
// symbols/resonator_vert.ts
|
@@ -4599,34 +4993,34 @@ var schottky_diode_default = {
|
|
4599
4993
|
};
|
4600
4994
|
|
4601
4995
|
// symbols/schottky_diode_horz.ts
|
4602
|
-
var { paths:
|
4996
|
+
var { paths: paths26, texts: texts34, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = schottky_diode_default;
|
4603
4997
|
var schottky_diode_horz_default = defineSymbol({
|
4604
4998
|
primitives: [
|
4605
|
-
...Object.values(
|
4606
|
-
...Object.values(
|
4607
|
-
{ ...
|
4608
|
-
{ ...
|
4999
|
+
...Object.values(paths26),
|
5000
|
+
...Object.values(circles16),
|
5001
|
+
{ ...texts34.top1, anchor: "middle_bottom" },
|
5002
|
+
{ ...texts34.bottom1, anchor: "middle_top" }
|
4609
5003
|
],
|
4610
5004
|
ports: [
|
4611
|
-
{ ...
|
5005
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4612
5006
|
// TODO add more "standard" labels
|
4613
|
-
{ ...
|
5007
|
+
{ ...refblocks26.right1, labels: ["2"] }
|
4614
5008
|
// TODO add more "standard" labels
|
4615
5009
|
],
|
4616
|
-
size: { width:
|
4617
|
-
center: { x:
|
5010
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5011
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4618
5012
|
});
|
4619
5013
|
|
4620
5014
|
// symbols/schottky_diode_vert.ts
|
4621
5015
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
4622
|
-
var
|
5016
|
+
var ref16 = rotated8.primitives.find(
|
4623
5017
|
(p) => p.type === "text" && p.text === "{REF}"
|
4624
5018
|
);
|
4625
|
-
var
|
5019
|
+
var val14 = rotated8.primitives.find(
|
4626
5020
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4627
5021
|
);
|
4628
|
-
|
4629
|
-
|
5022
|
+
ref16.anchor = "middle_left";
|
5023
|
+
val14.anchor = "middle_right";
|
4630
5024
|
var schottky_diode_vert_default = rotated8;
|
4631
5025
|
|
4632
5026
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -4773,35 +5167,35 @@ var silicon_controlled_rectifier_default = {
|
|
4773
5167
|
};
|
4774
5168
|
|
4775
5169
|
// symbols/silicon_controlled_rectifier_horz.ts
|
4776
|
-
var { paths:
|
5170
|
+
var { paths: paths27, texts: texts35, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = silicon_controlled_rectifier_default;
|
4777
5171
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
4778
5172
|
primitives: [
|
4779
|
-
...Object.values(
|
4780
|
-
...Object.values(
|
4781
|
-
{ ...
|
4782
|
-
{ ...
|
5173
|
+
...Object.values(paths27),
|
5174
|
+
...Object.values(circles17),
|
5175
|
+
{ ...texts35.top1, anchor: "middle_left" },
|
5176
|
+
{ ...texts35.bottom1, anchor: "middle_top" }
|
4783
5177
|
],
|
4784
5178
|
ports: [
|
4785
|
-
{ ...
|
5179
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
4786
5180
|
// TODO add more "standard" labels
|
4787
|
-
{ ...
|
5181
|
+
{ ...refblocks27.right1, labels: ["2"] },
|
4788
5182
|
// TODO add more "standard" labels
|
4789
|
-
{ ...
|
5183
|
+
{ ...refblocks27.bottom1, labels: ["3"] }
|
4790
5184
|
// TODO add more "standard" labels
|
4791
5185
|
],
|
4792
|
-
size: { width:
|
4793
|
-
center: { x:
|
5186
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5187
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
4794
5188
|
});
|
4795
5189
|
|
4796
5190
|
// symbols/silicon_controlled_rectifier_vert.ts
|
4797
|
-
var
|
4798
|
-
var
|
5191
|
+
var rotatedSymbol13 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
5192
|
+
var texts36 = rotatedSymbol13.primitives.filter(
|
4799
5193
|
(primitive) => primitive.type === "text"
|
4800
5194
|
);
|
4801
|
-
var
|
4802
|
-
|
4803
|
-
|
4804
|
-
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;
|
4805
5199
|
|
4806
5200
|
// assets/generated/step_recovery_diode.json
|
4807
5201
|
var step_recovery_diode_default = {
|
@@ -4965,11 +5359,11 @@ var step_recovery_diode_default = {
|
|
4965
5359
|
};
|
4966
5360
|
|
4967
5361
|
// symbols/step_recovery_diode_horz.ts
|
4968
|
-
var { paths:
|
5362
|
+
var { paths: paths28, texts: texts37, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = step_recovery_diode_default;
|
4969
5363
|
var step_recovery_diode_horz_default = defineSymbol({
|
4970
5364
|
primitives: [
|
4971
|
-
...Object.values(
|
4972
|
-
...Object.values(
|
5365
|
+
...Object.values(paths28),
|
5366
|
+
...Object.values(circles18),
|
4973
5367
|
// { ...texts.top1, anchor: "middle_left" },
|
4974
5368
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4975
5369
|
{
|
@@ -4988,13 +5382,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
4988
5382
|
}
|
4989
5383
|
],
|
4990
5384
|
ports: [
|
4991
|
-
{ ...
|
5385
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
4992
5386
|
// TODO add more "standard" labels
|
4993
|
-
{ ...
|
5387
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
4994
5388
|
// TODO add more "standard" labels
|
4995
5389
|
],
|
4996
|
-
size: { width:
|
4997
|
-
center: { x:
|
5390
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5391
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
4998
5392
|
});
|
4999
5393
|
|
5000
5394
|
// symbols/step_recovery_diode_vert.ts
|
@@ -5191,36 +5585,36 @@ var triac_default = {
|
|
5191
5585
|
};
|
5192
5586
|
|
5193
5587
|
// symbols/triac_horz.ts
|
5194
|
-
var { paths:
|
5588
|
+
var { paths: paths29, texts: texts38, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = triac_default;
|
5195
5589
|
var triac_horz_default = defineSymbol({
|
5196
5590
|
primitives: [
|
5197
|
-
...Object.values(
|
5198
|
-
...Object.values(
|
5199
|
-
{ ...
|
5200
|
-
{ ...
|
5591
|
+
...Object.values(paths29),
|
5592
|
+
...Object.values(circles19),
|
5593
|
+
{ ...texts38.top1, anchor: "middle_left" },
|
5594
|
+
{ ...texts38.bottom1, anchor: "middle_top" }
|
5201
5595
|
],
|
5202
5596
|
ports: [
|
5203
|
-
{ ...
|
5597
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5204
5598
|
// TODO add more "standard" labels
|
5205
|
-
{ ...
|
5599
|
+
{ ...refblocks29.right1, labels: ["2"] },
|
5206
5600
|
// TODO add more "standard" labels
|
5207
|
-
{ ...
|
5601
|
+
{ ...refblocks29.bottom1, labels: ["3"] }
|
5208
5602
|
// TODO add more "standard" labels
|
5209
5603
|
],
|
5210
|
-
size: { width:
|
5211
|
-
center: { x:
|
5604
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5605
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5212
5606
|
});
|
5213
5607
|
|
5214
5608
|
// symbols/triac_vert.ts
|
5215
|
-
var
|
5216
|
-
var
|
5609
|
+
var rotatedSymbol14 = rotateSymbol(triac_horz_default);
|
5610
|
+
var texts39 = rotatedSymbol14.primitives.filter(
|
5217
5611
|
(primitive) => primitive.type === "text"
|
5218
5612
|
);
|
5219
|
-
var
|
5220
|
-
var
|
5221
|
-
|
5222
|
-
|
5223
|
-
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;
|
5224
5618
|
|
5225
5619
|
// assets/generated/tunnel_diode.json
|
5226
5620
|
var tunnel_diode_default = {
|
@@ -5384,34 +5778,34 @@ var tunnel_diode_default = {
|
|
5384
5778
|
};
|
5385
5779
|
|
5386
5780
|
// symbols/tunnel_diode_horz.ts
|
5387
|
-
var { paths:
|
5781
|
+
var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = tunnel_diode_default;
|
5388
5782
|
var tunnel_diode_horz_default = defineSymbol({
|
5389
5783
|
primitives: [
|
5390
|
-
...Object.values(
|
5391
|
-
...Object.values(
|
5392
|
-
{ ...
|
5393
|
-
{ ...
|
5784
|
+
...Object.values(paths30),
|
5785
|
+
...Object.values(circles20),
|
5786
|
+
{ ...texts40.top1, anchor: "middle_bottom" },
|
5787
|
+
{ ...texts40.bottom1, anchor: "middle_top" }
|
5394
5788
|
],
|
5395
5789
|
ports: [
|
5396
|
-
{ ...
|
5790
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5397
5791
|
// TODO add more "standard" labels
|
5398
|
-
{ ...
|
5792
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
5399
5793
|
// TODO add more "standard" labels
|
5400
5794
|
],
|
5401
|
-
size: { width:
|
5402
|
-
center: { x:
|
5795
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5796
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5403
5797
|
});
|
5404
5798
|
|
5405
5799
|
// symbols/tunnel_diode_vert.ts
|
5406
5800
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
5407
|
-
var
|
5801
|
+
var ref19 = rotated9.primitives.find(
|
5408
5802
|
(p) => p.type === "text" && p.text === "{REF}"
|
5409
5803
|
);
|
5410
|
-
var
|
5804
|
+
var val16 = rotated9.primitives.find(
|
5411
5805
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5412
5806
|
);
|
5413
|
-
|
5414
|
-
|
5807
|
+
ref19.anchor = "middle_left";
|
5808
|
+
val16.anchor = "middle_right";
|
5415
5809
|
var tunnel_diode_vert_default = rotated9;
|
5416
5810
|
|
5417
5811
|
// assets/generated/unijunction_transistor.json
|
@@ -5582,37 +5976,37 @@ var unijunction_transistor_default = {
|
|
5582
5976
|
};
|
5583
5977
|
|
5584
5978
|
// symbols/unijunction_transistor_horz.ts
|
5585
|
-
var { paths:
|
5979
|
+
var { paths: paths31, texts: texts41, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = unijunction_transistor_default;
|
5586
5980
|
var unijunction_transistor_horz_default = defineSymbol({
|
5587
5981
|
primitives: [
|
5588
|
-
...Object.values(
|
5589
|
-
...Object.values(
|
5590
|
-
{ ...
|
5591
|
-
{ ...
|
5982
|
+
...Object.values(paths31),
|
5983
|
+
...Object.values(circles21),
|
5984
|
+
{ ...texts41.top1, anchor: "middle_left" },
|
5985
|
+
{ ...texts41.bottom1, anchor: "middle_right" }
|
5592
5986
|
],
|
5593
5987
|
ports: [
|
5594
|
-
{ ...
|
5988
|
+
{ ...refblocks31.top1, labels: ["1"] },
|
5595
5989
|
// TODO add more "standard" labels
|
5596
|
-
{ ...
|
5990
|
+
{ ...refblocks31.bottom1, labels: ["2"] },
|
5597
5991
|
// TODO add more "standard" labels
|
5598
|
-
{ ...
|
5992
|
+
{ ...refblocks31.left1, labels: ["3"] }
|
5599
5993
|
// TODO add more "standard" labels
|
5600
5994
|
],
|
5601
|
-
size: { width:
|
5602
|
-
center: { x:
|
5995
|
+
size: { width: bounds31.width, height: bounds31.height },
|
5996
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5603
5997
|
});
|
5604
5998
|
|
5605
5999
|
// symbols/unijunction_transistor_vert.ts
|
5606
|
-
var
|
5607
|
-
var
|
6000
|
+
var rotatedSymbol15 = rotateSymbol(unijunction_transistor_horz_default);
|
6001
|
+
var texts42 = rotatedSymbol15.primitives.filter(
|
5608
6002
|
(primitive) => primitive.type === "text"
|
5609
6003
|
);
|
5610
|
-
var
|
5611
|
-
|
5612
|
-
var
|
5613
|
-
|
5614
|
-
|
5615
|
-
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;
|
5616
6010
|
|
5617
6011
|
// assets/generated/var_meter.json
|
5618
6012
|
var var_meter_default = {
|
@@ -5701,33 +6095,33 @@ var var_meter_default = {
|
|
5701
6095
|
};
|
5702
6096
|
|
5703
6097
|
// symbols/var_meter_horz.ts
|
5704
|
-
var { paths:
|
6098
|
+
var { paths: paths32, texts: texts43, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = var_meter_default;
|
5705
6099
|
var var_meter_horz_default = defineSymbol({
|
5706
6100
|
primitives: [
|
5707
|
-
...Object.values(
|
5708
|
-
...Object.values(
|
6101
|
+
...Object.values(paths32),
|
6102
|
+
...Object.values(circles22),
|
5709
6103
|
{
|
5710
|
-
...
|
6104
|
+
...texts43.top1,
|
5711
6105
|
x: 0,
|
5712
6106
|
y: -0.3594553499999995,
|
5713
6107
|
anchor: "middle_bottom"
|
5714
6108
|
},
|
5715
6109
|
{
|
5716
|
-
...
|
6110
|
+
...texts43.bottom1,
|
5717
6111
|
x: 0,
|
5718
6112
|
y: 0.35,
|
5719
6113
|
anchor: "middle_top"
|
5720
6114
|
},
|
5721
|
-
{ ...
|
6115
|
+
{ ...texts43.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
5722
6116
|
],
|
5723
6117
|
ports: [
|
5724
|
-
{ ...
|
6118
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
5725
6119
|
// TODO add more "standard" labels
|
5726
|
-
{ ...
|
6120
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
5727
6121
|
// TODO add more "standard" labels
|
5728
6122
|
],
|
5729
|
-
size: { width:
|
5730
|
-
center: { x:
|
6123
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6124
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5731
6125
|
});
|
5732
6126
|
|
5733
6127
|
// symbols/var_meter_vert.ts
|
@@ -5880,34 +6274,34 @@ var varactor_diode_default = {
|
|
5880
6274
|
};
|
5881
6275
|
|
5882
6276
|
// symbols/varactor_diode_horz.ts
|
5883
|
-
var { paths:
|
6277
|
+
var { paths: paths33, texts: texts44, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = varactor_diode_default;
|
5884
6278
|
var varactor_diode_horz_default = defineSymbol({
|
5885
6279
|
primitives: [
|
5886
|
-
...Object.values(
|
5887
|
-
...Object.values(
|
5888
|
-
{ ...
|
5889
|
-
{ ...
|
6280
|
+
...Object.values(paths33),
|
6281
|
+
...Object.values(circles23),
|
6282
|
+
{ ...texts44.top1, anchor: "middle_bottom" },
|
6283
|
+
{ ...texts44.bottom1, anchor: "middle_top" }
|
5890
6284
|
],
|
5891
6285
|
ports: [
|
5892
|
-
{ ...
|
6286
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
5893
6287
|
// TODO add more "standard" labels
|
5894
|
-
{ ...
|
6288
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
5895
6289
|
// TODO add more "standard" labels
|
5896
6290
|
],
|
5897
|
-
size: { width:
|
5898
|
-
center: { x:
|
6291
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6292
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
5899
6293
|
});
|
5900
6294
|
|
5901
6295
|
// symbols/varactor_diode_vert.ts
|
5902
6296
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
5903
|
-
var
|
6297
|
+
var ref21 = rotated10.primitives.find(
|
5904
6298
|
(p) => p.type === "text" && p.text === "{REF}"
|
5905
6299
|
);
|
5906
|
-
var
|
6300
|
+
var val18 = rotated10.primitives.find(
|
5907
6301
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5908
6302
|
);
|
5909
|
-
|
5910
|
-
|
6303
|
+
ref21.anchor = "middle_left";
|
6304
|
+
val18.anchor = "middle_right";
|
5911
6305
|
var varactor_diode_vert_default = rotated10;
|
5912
6306
|
|
5913
6307
|
// assets/generated/varistor.json
|
@@ -6042,26 +6436,26 @@ var varistor_default = {
|
|
6042
6436
|
};
|
6043
6437
|
|
6044
6438
|
// symbols/varistor_horz.ts
|
6045
|
-
var { paths:
|
6439
|
+
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34 } = varistor_default;
|
6046
6440
|
var varistor_horz_default = defineSymbol({
|
6047
6441
|
primitives: [
|
6048
|
-
...Object.values(
|
6049
|
-
{ ...
|
6050
|
-
{ ...
|
6442
|
+
...Object.values(paths34),
|
6443
|
+
{ ...texts45.top1, anchor: "middle_left" },
|
6444
|
+
{ ...texts45.bottom1, anchor: "middle_right" }
|
6051
6445
|
],
|
6052
6446
|
ports: [
|
6053
6447
|
{
|
6054
|
-
...
|
6448
|
+
...refblocks34.left1,
|
6055
6449
|
labels: ["1", "-"]
|
6056
6450
|
},
|
6057
6451
|
{
|
6058
|
-
...
|
6452
|
+
...refblocks34.right1,
|
6059
6453
|
labels: ["2", "+"]
|
6060
6454
|
}
|
6061
6455
|
],
|
6062
|
-
size: { width:
|
6456
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6063
6457
|
//{ width: 1, height: 0.24 },
|
6064
|
-
center: { x:
|
6458
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6065
6459
|
});
|
6066
6460
|
|
6067
6461
|
// symbols/varistor_vert.ts
|
@@ -6167,11 +6561,11 @@ var volt_meter_default = {
|
|
6167
6561
|
};
|
6168
6562
|
|
6169
6563
|
// symbols/volt_meter_horz.ts
|
6170
|
-
var { paths:
|
6564
|
+
var { paths: paths35, texts: texts46, bounds: bounds35, circles: circles24, refblocks: refblocks35 } = volt_meter_default;
|
6171
6565
|
var volt_meter_horz_default = defineSymbol({
|
6172
6566
|
primitives: [
|
6173
|
-
...Object.values(
|
6174
|
-
...Object.values(
|
6567
|
+
...Object.values(paths35),
|
6568
|
+
...Object.values(circles24),
|
6175
6569
|
{
|
6176
6570
|
type: "text",
|
6177
6571
|
text: "{REF}",
|
@@ -6188,13 +6582,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
6188
6582
|
}
|
6189
6583
|
],
|
6190
6584
|
ports: [
|
6191
|
-
{ ...
|
6585
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
6192
6586
|
// TODO add more "standard" labels
|
6193
|
-
{ ...
|
6587
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
6194
6588
|
// TODO add more "standard" labels
|
6195
6589
|
],
|
6196
|
-
size: { width:
|
6197
|
-
center: { x:
|
6590
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6591
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6198
6592
|
});
|
6199
6593
|
|
6200
6594
|
// symbols/volt_meter_vert.ts
|
@@ -6347,34 +6741,34 @@ var zener_diode_default = {
|
|
6347
6741
|
};
|
6348
6742
|
|
6349
6743
|
// symbols/zener_diode_horz.ts
|
6350
|
-
var { paths:
|
6744
|
+
var { paths: paths36, texts: texts47, bounds: bounds36, refblocks: refblocks36, circles: circles25 } = zener_diode_default;
|
6351
6745
|
var zener_diode_horz_default = defineSymbol({
|
6352
6746
|
primitives: [
|
6353
|
-
...Object.values(
|
6354
|
-
...Object.values(
|
6355
|
-
{ ...
|
6356
|
-
{ ...
|
6747
|
+
...Object.values(paths36),
|
6748
|
+
...Object.values(circles25),
|
6749
|
+
{ ...texts47.top1, anchor: "middle_bottom" },
|
6750
|
+
{ ...texts47.bottom1, anchor: "middle_top" }
|
6357
6751
|
],
|
6358
6752
|
ports: [
|
6359
|
-
{ ...
|
6753
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6360
6754
|
// TODO add more "standard" labels
|
6361
|
-
{ ...
|
6755
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6362
6756
|
// TODO add more "standard" labels
|
6363
6757
|
],
|
6364
|
-
size: { width:
|
6365
|
-
center: { x:
|
6758
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6759
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6366
6760
|
});
|
6367
6761
|
|
6368
6762
|
// symbols/zener_diode_vert.ts
|
6369
6763
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6370
|
-
var
|
6764
|
+
var ref22 = rotated11.primitives.find(
|
6371
6765
|
(p) => p.type === "text" && p.text === "{REF}"
|
6372
6766
|
);
|
6373
|
-
var
|
6767
|
+
var val19 = rotated11.primitives.find(
|
6374
6768
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6375
6769
|
);
|
6376
|
-
|
6377
|
-
|
6770
|
+
ref22.anchor = "middle_left";
|
6771
|
+
val19.anchor = "middle_right";
|
6378
6772
|
var zener_diode_vert_default = rotated11;
|
6379
6773
|
|
6380
6774
|
// generated/symbols-index.ts
|
@@ -6411,8 +6805,12 @@ var symbols_index_default = {
|
|
6411
6805
|
"led_vert": led_vert_default,
|
6412
6806
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|
6413
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,
|
6414
6810
|
"photodiode_horz": photodiode_horz_default,
|
6415
6811
|
"photodiode_vert": photodiode_vert_default,
|
6812
|
+
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|
6813
|
+
"pjfet_transistor_vert": pjfet_transistor_vert_default,
|
6416
6814
|
"potentiometer_horz": potentiometer_horz_default,
|
6417
6815
|
"potentiometer_vert": potentiometer_vert_default,
|
6418
6816
|
"potentiometer2_horz": potentiometer2_horz_default,
|