schematic-symbols 0.0.63 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +670 -242
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/njfet_transistor_horz.ts +20 -0
- package/symbols/njfet_transistor_vert.ts +20 -0
- package/symbols/p_channel_d_mosfet_transistor_horz.ts +20 -0
- package/symbols/p_channel_d_mosfet_transistor_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -3020,6 +3020,430 @@ 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
|
+
|
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
|
+
|
3023
3447
|
// assets/generated/photodiode.json
|
3024
3448
|
var photodiode_default = {
|
3025
3449
|
paths: {
|
@@ -3245,11 +3669,11 @@ var photodiode_default = {
|
|
3245
3669
|
};
|
3246
3670
|
|
3247
3671
|
// symbols/photodiode_horz.ts
|
3248
|
-
var { paths:
|
3672
|
+
var { paths: paths19, texts: texts25, bounds: bounds19, refblocks: refblocks19, circles: circles13 } = photodiode_default;
|
3249
3673
|
var photodiode_horz_default = defineSymbol({
|
3250
3674
|
primitives: [
|
3251
|
-
...Object.values(
|
3252
|
-
...Object.values(
|
3675
|
+
...Object.values(paths19),
|
3676
|
+
...Object.values(circles13),
|
3253
3677
|
{
|
3254
3678
|
type: "text",
|
3255
3679
|
text: "{REF}",
|
@@ -3266,22 +3690,22 @@ var photodiode_horz_default = defineSymbol({
|
|
3266
3690
|
}
|
3267
3691
|
],
|
3268
3692
|
ports: [
|
3269
|
-
{ ...
|
3693
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
3270
3694
|
// TODO add more "standard" labels
|
3271
|
-
{ ...
|
3695
|
+
{ ...refblocks19.right1, labels: ["2"] }
|
3272
3696
|
// TODO add more "standard" labels
|
3273
3697
|
],
|
3274
|
-
size: { width:
|
3275
|
-
center: { x:
|
3698
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3699
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3276
3700
|
});
|
3277
3701
|
|
3278
3702
|
// symbols/photodiode_vert.ts
|
3279
|
-
var
|
3280
|
-
var
|
3281
|
-
var
|
3282
|
-
|
3283
|
-
|
3284
|
-
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;
|
3285
3709
|
|
3286
3710
|
// assets/generated/pjfet_transistor.json
|
3287
3711
|
var pjfet_transistor_default = {
|
@@ -3447,38 +3871,38 @@ var pjfet_transistor_default = {
|
|
3447
3871
|
};
|
3448
3872
|
|
3449
3873
|
// symbols/pjfet_transistor_horz.ts
|
3450
|
-
var { paths:
|
3874
|
+
var { paths: paths20, texts: texts27, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = pjfet_transistor_default;
|
3451
3875
|
var pjfet_transistor_horz_default = defineSymbol({
|
3452
3876
|
primitives: [
|
3453
|
-
...Object.values(
|
3454
|
-
...Object.values(
|
3455
|
-
{ ...
|
3456
|
-
{ ...
|
3877
|
+
...Object.values(paths20),
|
3878
|
+
...Object.values(circles14),
|
3879
|
+
{ ...texts27.top1, anchor: "middle_right", x: 0 },
|
3880
|
+
{ ...texts27.bottom1, anchor: "middle_right" }
|
3457
3881
|
],
|
3458
3882
|
ports: [
|
3459
|
-
{ ...
|
3883
|
+
{ ...refblocks20.top1, labels: ["1", "drain"] },
|
3460
3884
|
// TODO add more "standard" labels
|
3461
|
-
{ ...
|
3885
|
+
{ ...refblocks20.bottom1, labels: ["2", "source"] },
|
3462
3886
|
// TODO add more "standard" labels
|
3463
|
-
{ ...
|
3887
|
+
{ ...refblocks20.left1, labels: ["3", "gate"] }
|
3464
3888
|
// TODO add more "standard" labels
|
3465
3889
|
],
|
3466
|
-
size: { width:
|
3467
|
-
center: { x:
|
3890
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3891
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
3468
3892
|
});
|
3469
3893
|
|
3470
3894
|
// symbols/pjfet_transistor_vert.ts
|
3471
|
-
var
|
3472
|
-
var
|
3473
|
-
var
|
3474
|
-
|
3475
|
-
|
3476
|
-
|
3477
|
-
var
|
3478
|
-
|
3479
|
-
|
3480
|
-
|
3481
|
-
var pjfet_transistor_vert_default =
|
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;
|
3482
3906
|
|
3483
3907
|
// assets/generated/potentiometer.json
|
3484
3908
|
var potentiometer_default = {
|
@@ -3616,21 +4040,21 @@ var potentiometer_default = {
|
|
3616
4040
|
};
|
3617
4041
|
|
3618
4042
|
// symbols/potentiometer_horz.ts
|
3619
|
-
var { paths:
|
4043
|
+
var { paths: paths21, texts: texts29, bounds: bounds21, refblocks: refblocks21 } = potentiometer_default;
|
3620
4044
|
var potentiometer_horz_default = defineSymbol({
|
3621
4045
|
primitives: [
|
3622
|
-
...Object.values(
|
3623
|
-
{ ...
|
3624
|
-
{ ...
|
4046
|
+
...Object.values(paths21),
|
4047
|
+
{ ...texts29.bottom1, y: 0.35, anchor: "middle_top" },
|
4048
|
+
{ ...texts29.right1, anchor: "middle_left" }
|
3625
4049
|
],
|
3626
4050
|
ports: [
|
3627
|
-
{ ...
|
4051
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3628
4052
|
// TODO add more "standard" labels
|
3629
|
-
{ ...
|
4053
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3630
4054
|
// TODO add more "standard" labels
|
3631
4055
|
],
|
3632
|
-
size: { width:
|
3633
|
-
center: { x:
|
4056
|
+
size: { width: bounds21.width + 0.05, height: bounds21.height },
|
4057
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3634
4058
|
});
|
3635
4059
|
|
3636
4060
|
// symbols/potentiometer_vert.ts
|
@@ -3792,21 +4216,21 @@ var potentiometer2_default = {
|
|
3792
4216
|
};
|
3793
4217
|
|
3794
4218
|
// symbols/potentiometer2_horz.ts
|
3795
|
-
var { paths:
|
4219
|
+
var { paths: paths22, texts: texts30, bounds: bounds22, refblocks: refblocks22 } = potentiometer2_default;
|
3796
4220
|
var potentiometer2_horz_default = defineSymbol({
|
3797
4221
|
primitives: [
|
3798
|
-
...Object.values(
|
3799
|
-
{ ...
|
3800
|
-
{ ...
|
4222
|
+
...Object.values(paths22),
|
4223
|
+
{ ...texts30.bottom1, anchor: "middle_right" },
|
4224
|
+
{ ...texts30.top1, anchor: "middle_left" }
|
3801
4225
|
],
|
3802
4226
|
ports: [
|
3803
|
-
{ ...
|
4227
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
3804
4228
|
// TODO add more "standard" labels
|
3805
|
-
{ ...
|
4229
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
3806
4230
|
// TODO add more "standard" labels
|
3807
4231
|
],
|
3808
|
-
size: { width:
|
3809
|
-
center: { x:
|
4232
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4233
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
3810
4234
|
});
|
3811
4235
|
|
3812
4236
|
// symbols/potentiometer2_vert.ts
|
@@ -3899,11 +4323,11 @@ var power_factor_meter_default = {
|
|
3899
4323
|
};
|
3900
4324
|
|
3901
4325
|
// symbols/power_factor_meter_horz.ts
|
3902
|
-
var { paths:
|
4326
|
+
var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles15 } = power_factor_meter_default;
|
3903
4327
|
var power_factor_meter_horz_default = defineSymbol({
|
3904
4328
|
primitives: [
|
3905
|
-
...Object.values(
|
3906
|
-
...Object.values(
|
4329
|
+
...Object.values(paths23),
|
4330
|
+
...Object.values(circles15),
|
3907
4331
|
// { ...texts.top1, anchor: "middle_left" },
|
3908
4332
|
{
|
3909
4333
|
type: "text",
|
@@ -3930,28 +4354,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
3930
4354
|
}
|
3931
4355
|
],
|
3932
4356
|
ports: [
|
3933
|
-
{ ...
|
4357
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
3934
4358
|
// TODO add more "standard" labels
|
3935
|
-
{ ...
|
4359
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
3936
4360
|
// TODO add more "standard" labels
|
3937
4361
|
],
|
3938
|
-
size: { width:
|
3939
|
-
center: { x:
|
4362
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4363
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
3940
4364
|
});
|
3941
4365
|
|
3942
4366
|
// symbols/power_factor_meter_vert.ts
|
3943
|
-
var
|
3944
|
-
var
|
3945
|
-
var
|
3946
|
-
var
|
3947
|
-
var text_cos =
|
3948
|
-
|
3949
|
-
|
3950
|
-
|
3951
|
-
|
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;
|
3952
4376
|
text_cos.x = -0.1;
|
3953
4377
|
text_cos.y = 0;
|
3954
|
-
var power_factor_meter_vert_default =
|
4378
|
+
var power_factor_meter_vert_default = rotatedSymbol13;
|
3955
4379
|
|
3956
4380
|
// assets/generated/push_button_normally_closed_momentary.json
|
3957
4381
|
var push_button_normally_closed_momentary_default = {
|
@@ -4054,37 +4478,37 @@ var push_button_normally_closed_momentary_default = {
|
|
4054
4478
|
};
|
4055
4479
|
|
4056
4480
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
4057
|
-
var { paths:
|
4481
|
+
var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24 } = push_button_normally_closed_momentary_default;
|
4058
4482
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
4059
4483
|
primitives: [
|
4060
|
-
...Object.values(
|
4061
|
-
{ ...
|
4062
|
-
{ ...
|
4484
|
+
...Object.values(paths24),
|
4485
|
+
{ ...texts33.top1, anchor: "middle_bottom" },
|
4486
|
+
{ ...texts33.bottom1, anchor: "middle_top" }
|
4063
4487
|
],
|
4064
4488
|
ports: [
|
4065
|
-
{ ...
|
4489
|
+
{ ...refblocks24.left1, labels: ["1"] },
|
4066
4490
|
// TODO add more "standard" labels
|
4067
|
-
{ ...
|
4491
|
+
{ ...refblocks24.right1, labels: ["2"] }
|
4068
4492
|
// TODO add more "standard" labels
|
4069
4493
|
],
|
4070
|
-
size: { width:
|
4071
|
-
center: { x:
|
4494
|
+
size: { width: bounds24.width, height: bounds24.height },
|
4495
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4072
4496
|
});
|
4073
4497
|
|
4074
4498
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
4075
4499
|
var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
4076
|
-
var
|
4500
|
+
var ref15 = rotated6.primitives.find(
|
4077
4501
|
(p) => p.type === "text" && p.text === "{REF}"
|
4078
4502
|
);
|
4079
|
-
var
|
4503
|
+
var val13 = rotated6.primitives.find(
|
4080
4504
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4081
4505
|
);
|
4082
|
-
|
4083
|
-
|
4084
|
-
|
4085
|
-
|
4086
|
-
|
4087
|
-
|
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;
|
4088
4512
|
var push_button_normally_closed_momentary_vert_default = rotated6;
|
4089
4513
|
|
4090
4514
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -4188,37 +4612,37 @@ var push_button_normally_open_momentary_default = {
|
|
4188
4612
|
};
|
4189
4613
|
|
4190
4614
|
// symbols/push_button_normally_open_momentary_horz.ts
|
4191
|
-
var { paths:
|
4615
|
+
var { paths: paths25, texts: texts34, bounds: bounds25, refblocks: refblocks25 } = push_button_normally_open_momentary_default;
|
4192
4616
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
4193
4617
|
primitives: [
|
4194
|
-
...Object.values(
|
4195
|
-
{ ...
|
4196
|
-
{ ...
|
4618
|
+
...Object.values(paths25),
|
4619
|
+
{ ...texts34.top1, anchor: "middle_bottom" },
|
4620
|
+
{ ...texts34.bottom1, anchor: "middle_top" }
|
4197
4621
|
],
|
4198
4622
|
ports: [
|
4199
|
-
{ ...
|
4623
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4200
4624
|
// TODO add more "standard" labels
|
4201
|
-
{ ...
|
4625
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4202
4626
|
// TODO add more "standard" labels
|
4203
4627
|
],
|
4204
|
-
size: { width:
|
4205
|
-
center: { x:
|
4628
|
+
size: { width: bounds25.width, height: bounds25.height },
|
4629
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4206
4630
|
});
|
4207
4631
|
|
4208
4632
|
// symbols/push_button_normally_open_momentary_vert.ts
|
4209
4633
|
var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
4210
|
-
var
|
4634
|
+
var ref16 = rotated7.primitives.find(
|
4211
4635
|
(p) => p.type === "text" && p.text === "{REF}"
|
4212
4636
|
);
|
4213
|
-
var
|
4637
|
+
var val14 = rotated7.primitives.find(
|
4214
4638
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4215
4639
|
);
|
4216
|
-
|
4217
|
-
|
4218
|
-
|
4219
|
-
|
4220
|
-
|
4221
|
-
|
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;
|
4222
4646
|
var push_button_normally_open_momentary_vert_default = rotated7;
|
4223
4647
|
|
4224
4648
|
// assets/generated/resonator.json
|
@@ -4567,11 +4991,11 @@ var resonator_default = {
|
|
4567
4991
|
};
|
4568
4992
|
|
4569
4993
|
// symbols/resonator_horz.ts
|
4570
|
-
var { paths:
|
4994
|
+
var { paths: paths26, texts: texts35, bounds: bounds26, refblocks: refblocks26, circles: circles16 } = resonator_default;
|
4571
4995
|
var resonator_horz_default = defineSymbol({
|
4572
4996
|
primitives: [
|
4573
|
-
...Object.values(
|
4574
|
-
...Object.values(
|
4997
|
+
...Object.values(paths26),
|
4998
|
+
...Object.values(circles16),
|
4575
4999
|
// { ...texts.top1, anchor: "middle_left" },
|
4576
5000
|
// { ...texts.bottom1, anchor: "middle_left" },
|
4577
5001
|
{
|
@@ -4590,15 +5014,15 @@ var resonator_horz_default = defineSymbol({
|
|
4590
5014
|
}
|
4591
5015
|
],
|
4592
5016
|
ports: [
|
4593
|
-
{ ...
|
5017
|
+
{ ...refblocks26.left1, labels: ["1"] },
|
4594
5018
|
// TODO add more "standard" labels
|
4595
|
-
{ ...
|
5019
|
+
{ ...refblocks26.right1, labels: ["2"] },
|
4596
5020
|
// TODO add more "standard" labels
|
4597
|
-
{ ...
|
5021
|
+
{ ...refblocks26.right2, labels: ["3"] }
|
4598
5022
|
// TODO add more "standard" labels
|
4599
5023
|
],
|
4600
|
-
size: { width:
|
4601
|
-
center: { x:
|
5024
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5025
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
4602
5026
|
});
|
4603
5027
|
|
4604
5028
|
// symbols/resonator_vert.ts
|
@@ -4796,34 +5220,34 @@ var schottky_diode_default = {
|
|
4796
5220
|
};
|
4797
5221
|
|
4798
5222
|
// symbols/schottky_diode_horz.ts
|
4799
|
-
var { paths:
|
5223
|
+
var { paths: paths27, texts: texts36, bounds: bounds27, refblocks: refblocks27, circles: circles17 } = schottky_diode_default;
|
4800
5224
|
var schottky_diode_horz_default = defineSymbol({
|
4801
5225
|
primitives: [
|
4802
|
-
...Object.values(
|
4803
|
-
...Object.values(
|
4804
|
-
{ ...
|
4805
|
-
{ ...
|
5226
|
+
...Object.values(paths27),
|
5227
|
+
...Object.values(circles17),
|
5228
|
+
{ ...texts36.top1, anchor: "middle_bottom" },
|
5229
|
+
{ ...texts36.bottom1, anchor: "middle_top" }
|
4806
5230
|
],
|
4807
5231
|
ports: [
|
4808
|
-
{ ...
|
5232
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
4809
5233
|
// TODO add more "standard" labels
|
4810
|
-
{ ...
|
5234
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
4811
5235
|
// TODO add more "standard" labels
|
4812
5236
|
],
|
4813
|
-
size: { width:
|
4814
|
-
center: { x:
|
5237
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5238
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
4815
5239
|
});
|
4816
5240
|
|
4817
5241
|
// symbols/schottky_diode_vert.ts
|
4818
5242
|
var rotated8 = rotateSymbol(schottky_diode_horz_default);
|
4819
|
-
var
|
5243
|
+
var ref17 = rotated8.primitives.find(
|
4820
5244
|
(p) => p.type === "text" && p.text === "{REF}"
|
4821
5245
|
);
|
4822
|
-
var
|
5246
|
+
var val15 = rotated8.primitives.find(
|
4823
5247
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4824
5248
|
);
|
4825
|
-
|
4826
|
-
|
5249
|
+
ref17.anchor = "middle_left";
|
5250
|
+
val15.anchor = "middle_right";
|
4827
5251
|
var schottky_diode_vert_default = rotated8;
|
4828
5252
|
|
4829
5253
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -4970,35 +5394,35 @@ var silicon_controlled_rectifier_default = {
|
|
4970
5394
|
};
|
4971
5395
|
|
4972
5396
|
// symbols/silicon_controlled_rectifier_horz.ts
|
4973
|
-
var { paths:
|
5397
|
+
var { paths: paths28, texts: texts37, bounds: bounds28, refblocks: refblocks28, circles: circles18 } = silicon_controlled_rectifier_default;
|
4974
5398
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
4975
5399
|
primitives: [
|
4976
|
-
...Object.values(
|
4977
|
-
...Object.values(
|
4978
|
-
{ ...
|
4979
|
-
{ ...
|
5400
|
+
...Object.values(paths28),
|
5401
|
+
...Object.values(circles18),
|
5402
|
+
{ ...texts37.top1, anchor: "middle_left" },
|
5403
|
+
{ ...texts37.bottom1, anchor: "middle_top" }
|
4980
5404
|
],
|
4981
5405
|
ports: [
|
4982
|
-
{ ...
|
5406
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
4983
5407
|
// TODO add more "standard" labels
|
4984
|
-
{ ...
|
5408
|
+
{ ...refblocks28.right1, labels: ["2"] },
|
4985
5409
|
// TODO add more "standard" labels
|
4986
|
-
{ ...
|
5410
|
+
{ ...refblocks28.bottom1, labels: ["3"] }
|
4987
5411
|
// TODO add more "standard" labels
|
4988
5412
|
],
|
4989
|
-
size: { width:
|
4990
|
-
center: { x:
|
5413
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5414
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
4991
5415
|
});
|
4992
5416
|
|
4993
5417
|
// symbols/silicon_controlled_rectifier_vert.ts
|
4994
|
-
var
|
4995
|
-
var
|
5418
|
+
var rotatedSymbol14 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
5419
|
+
var texts38 = rotatedSymbol14.primitives.filter(
|
4996
5420
|
(primitive) => primitive.type === "text"
|
4997
5421
|
);
|
4998
|
-
var
|
4999
|
-
|
5000
|
-
|
5001
|
-
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;
|
5002
5426
|
|
5003
5427
|
// assets/generated/step_recovery_diode.json
|
5004
5428
|
var step_recovery_diode_default = {
|
@@ -5162,11 +5586,11 @@ var step_recovery_diode_default = {
|
|
5162
5586
|
};
|
5163
5587
|
|
5164
5588
|
// symbols/step_recovery_diode_horz.ts
|
5165
|
-
var { paths:
|
5589
|
+
var { paths: paths29, texts: texts39, bounds: bounds29, refblocks: refblocks29, circles: circles19 } = step_recovery_diode_default;
|
5166
5590
|
var step_recovery_diode_horz_default = defineSymbol({
|
5167
5591
|
primitives: [
|
5168
|
-
...Object.values(
|
5169
|
-
...Object.values(
|
5592
|
+
...Object.values(paths29),
|
5593
|
+
...Object.values(circles19),
|
5170
5594
|
// { ...texts.top1, anchor: "middle_left" },
|
5171
5595
|
// { ...texts.bottom1, anchor: "middle_left" },
|
5172
5596
|
{
|
@@ -5185,13 +5609,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
5185
5609
|
}
|
5186
5610
|
],
|
5187
5611
|
ports: [
|
5188
|
-
{ ...
|
5612
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5189
5613
|
// TODO add more "standard" labels
|
5190
|
-
{ ...
|
5614
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
5191
5615
|
// TODO add more "standard" labels
|
5192
5616
|
],
|
5193
|
-
size: { width:
|
5194
|
-
center: { x:
|
5617
|
+
size: { width: bounds29.width, height: bounds29.height },
|
5618
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5195
5619
|
});
|
5196
5620
|
|
5197
5621
|
// symbols/step_recovery_diode_vert.ts
|
@@ -5388,36 +5812,36 @@ var triac_default = {
|
|
5388
5812
|
};
|
5389
5813
|
|
5390
5814
|
// symbols/triac_horz.ts
|
5391
|
-
var { paths:
|
5815
|
+
var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles20 } = triac_default;
|
5392
5816
|
var triac_horz_default = defineSymbol({
|
5393
5817
|
primitives: [
|
5394
|
-
...Object.values(
|
5395
|
-
...Object.values(
|
5396
|
-
{ ...
|
5397
|
-
{ ...
|
5818
|
+
...Object.values(paths30),
|
5819
|
+
...Object.values(circles20),
|
5820
|
+
{ ...texts40.top1, anchor: "middle_left" },
|
5821
|
+
{ ...texts40.bottom1, anchor: "middle_top" }
|
5398
5822
|
],
|
5399
5823
|
ports: [
|
5400
|
-
{ ...
|
5824
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
5401
5825
|
// TODO add more "standard" labels
|
5402
|
-
{ ...
|
5826
|
+
{ ...refblocks30.right1, labels: ["2"] },
|
5403
5827
|
// TODO add more "standard" labels
|
5404
|
-
{ ...
|
5828
|
+
{ ...refblocks30.bottom1, labels: ["3"] }
|
5405
5829
|
// TODO add more "standard" labels
|
5406
5830
|
],
|
5407
|
-
size: { width:
|
5408
|
-
center: { x:
|
5831
|
+
size: { width: bounds30.width, height: bounds30.height },
|
5832
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
5409
5833
|
});
|
5410
5834
|
|
5411
5835
|
// symbols/triac_vert.ts
|
5412
|
-
var
|
5413
|
-
var
|
5836
|
+
var rotatedSymbol15 = rotateSymbol(triac_horz_default);
|
5837
|
+
var texts41 = rotatedSymbol15.primitives.filter(
|
5414
5838
|
(primitive) => primitive.type === "text"
|
5415
5839
|
);
|
5416
|
-
var
|
5417
|
-
var
|
5418
|
-
|
5419
|
-
|
5420
|
-
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;
|
5421
5845
|
|
5422
5846
|
// assets/generated/tunnel_diode.json
|
5423
5847
|
var tunnel_diode_default = {
|
@@ -5581,34 +6005,34 @@ var tunnel_diode_default = {
|
|
5581
6005
|
};
|
5582
6006
|
|
5583
6007
|
// symbols/tunnel_diode_horz.ts
|
5584
|
-
var { paths:
|
6008
|
+
var { paths: paths31, texts: texts42, bounds: bounds31, refblocks: refblocks31, circles: circles21 } = tunnel_diode_default;
|
5585
6009
|
var tunnel_diode_horz_default = defineSymbol({
|
5586
6010
|
primitives: [
|
5587
|
-
...Object.values(
|
5588
|
-
...Object.values(
|
5589
|
-
{ ...
|
5590
|
-
{ ...
|
6011
|
+
...Object.values(paths31),
|
6012
|
+
...Object.values(circles21),
|
6013
|
+
{ ...texts42.top1, anchor: "middle_bottom" },
|
6014
|
+
{ ...texts42.bottom1, anchor: "middle_top" }
|
5591
6015
|
],
|
5592
6016
|
ports: [
|
5593
|
-
{ ...
|
6017
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
5594
6018
|
// TODO add more "standard" labels
|
5595
|
-
{ ...
|
6019
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
5596
6020
|
// TODO add more "standard" labels
|
5597
6021
|
],
|
5598
|
-
size: { width:
|
5599
|
-
center: { x:
|
6022
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6023
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
5600
6024
|
});
|
5601
6025
|
|
5602
6026
|
// symbols/tunnel_diode_vert.ts
|
5603
6027
|
var rotated9 = rotateSymbol(tunnel_diode_horz_default);
|
5604
|
-
var
|
6028
|
+
var ref20 = rotated9.primitives.find(
|
5605
6029
|
(p) => p.type === "text" && p.text === "{REF}"
|
5606
6030
|
);
|
5607
|
-
var
|
6031
|
+
var val17 = rotated9.primitives.find(
|
5608
6032
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5609
6033
|
);
|
5610
|
-
|
5611
|
-
|
6034
|
+
ref20.anchor = "middle_left";
|
6035
|
+
val17.anchor = "middle_right";
|
5612
6036
|
var tunnel_diode_vert_default = rotated9;
|
5613
6037
|
|
5614
6038
|
// assets/generated/unijunction_transistor.json
|
@@ -5779,37 +6203,37 @@ var unijunction_transistor_default = {
|
|
5779
6203
|
};
|
5780
6204
|
|
5781
6205
|
// symbols/unijunction_transistor_horz.ts
|
5782
|
-
var { paths:
|
6206
|
+
var { paths: paths32, texts: texts43, bounds: bounds32, refblocks: refblocks32, circles: circles22 } = unijunction_transistor_default;
|
5783
6207
|
var unijunction_transistor_horz_default = defineSymbol({
|
5784
6208
|
primitives: [
|
5785
|
-
...Object.values(
|
5786
|
-
...Object.values(
|
5787
|
-
{ ...
|
5788
|
-
{ ...
|
6209
|
+
...Object.values(paths32),
|
6210
|
+
...Object.values(circles22),
|
6211
|
+
{ ...texts43.top1, anchor: "middle_left" },
|
6212
|
+
{ ...texts43.bottom1, anchor: "middle_right" }
|
5789
6213
|
],
|
5790
6214
|
ports: [
|
5791
|
-
{ ...
|
6215
|
+
{ ...refblocks32.top1, labels: ["1"] },
|
5792
6216
|
// TODO add more "standard" labels
|
5793
|
-
{ ...
|
6217
|
+
{ ...refblocks32.bottom1, labels: ["2"] },
|
5794
6218
|
// TODO add more "standard" labels
|
5795
|
-
{ ...
|
6219
|
+
{ ...refblocks32.left1, labels: ["3"] }
|
5796
6220
|
// TODO add more "standard" labels
|
5797
6221
|
],
|
5798
|
-
size: { width:
|
5799
|
-
center: { x:
|
6222
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6223
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
5800
6224
|
});
|
5801
6225
|
|
5802
6226
|
// symbols/unijunction_transistor_vert.ts
|
5803
|
-
var
|
5804
|
-
var
|
6227
|
+
var rotatedSymbol16 = rotateSymbol(unijunction_transistor_horz_default);
|
6228
|
+
var texts44 = rotatedSymbol16.primitives.filter(
|
5805
6229
|
(primitive) => primitive.type === "text"
|
5806
6230
|
);
|
5807
|
-
var
|
5808
|
-
|
5809
|
-
var
|
5810
|
-
|
5811
|
-
|
5812
|
-
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;
|
5813
6237
|
|
5814
6238
|
// assets/generated/var_meter.json
|
5815
6239
|
var var_meter_default = {
|
@@ -5898,33 +6322,33 @@ var var_meter_default = {
|
|
5898
6322
|
};
|
5899
6323
|
|
5900
6324
|
// symbols/var_meter_horz.ts
|
5901
|
-
var { paths:
|
6325
|
+
var { paths: paths33, texts: texts45, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = var_meter_default;
|
5902
6326
|
var var_meter_horz_default = defineSymbol({
|
5903
6327
|
primitives: [
|
5904
|
-
...Object.values(
|
5905
|
-
...Object.values(
|
6328
|
+
...Object.values(paths33),
|
6329
|
+
...Object.values(circles23),
|
5906
6330
|
{
|
5907
|
-
...
|
6331
|
+
...texts45.top1,
|
5908
6332
|
x: 0,
|
5909
6333
|
y: -0.3594553499999995,
|
5910
6334
|
anchor: "middle_bottom"
|
5911
6335
|
},
|
5912
6336
|
{
|
5913
|
-
...
|
6337
|
+
...texts45.bottom1,
|
5914
6338
|
x: 0,
|
5915
6339
|
y: 0.35,
|
5916
6340
|
anchor: "middle_top"
|
5917
6341
|
},
|
5918
|
-
{ ...
|
6342
|
+
{ ...texts45.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
5919
6343
|
],
|
5920
6344
|
ports: [
|
5921
|
-
{ ...
|
6345
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
5922
6346
|
// TODO add more "standard" labels
|
5923
|
-
{ ...
|
6347
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
5924
6348
|
// TODO add more "standard" labels
|
5925
6349
|
],
|
5926
|
-
size: { width:
|
5927
|
-
center: { x:
|
6350
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6351
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
5928
6352
|
});
|
5929
6353
|
|
5930
6354
|
// symbols/var_meter_vert.ts
|
@@ -6077,34 +6501,34 @@ var varactor_diode_default = {
|
|
6077
6501
|
};
|
6078
6502
|
|
6079
6503
|
// symbols/varactor_diode_horz.ts
|
6080
|
-
var { paths:
|
6504
|
+
var { paths: paths34, texts: texts46, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = varactor_diode_default;
|
6081
6505
|
var varactor_diode_horz_default = defineSymbol({
|
6082
6506
|
primitives: [
|
6083
|
-
...Object.values(
|
6084
|
-
...Object.values(
|
6085
|
-
{ ...
|
6086
|
-
{ ...
|
6507
|
+
...Object.values(paths34),
|
6508
|
+
...Object.values(circles24),
|
6509
|
+
{ ...texts46.top1, anchor: "middle_bottom" },
|
6510
|
+
{ ...texts46.bottom1, anchor: "middle_top" }
|
6087
6511
|
],
|
6088
6512
|
ports: [
|
6089
|
-
{ ...
|
6513
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6090
6514
|
// TODO add more "standard" labels
|
6091
|
-
{ ...
|
6515
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6092
6516
|
// TODO add more "standard" labels
|
6093
6517
|
],
|
6094
|
-
size: { width:
|
6095
|
-
center: { x:
|
6518
|
+
size: { width: bounds34.width, height: bounds34.height },
|
6519
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6096
6520
|
});
|
6097
6521
|
|
6098
6522
|
// symbols/varactor_diode_vert.ts
|
6099
6523
|
var rotated10 = rotateSymbol(varactor_diode_horz_default);
|
6100
|
-
var
|
6524
|
+
var ref22 = rotated10.primitives.find(
|
6101
6525
|
(p) => p.type === "text" && p.text === "{REF}"
|
6102
6526
|
);
|
6103
|
-
var
|
6527
|
+
var val19 = rotated10.primitives.find(
|
6104
6528
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6105
6529
|
);
|
6106
|
-
|
6107
|
-
|
6530
|
+
ref22.anchor = "middle_left";
|
6531
|
+
val19.anchor = "middle_right";
|
6108
6532
|
var varactor_diode_vert_default = rotated10;
|
6109
6533
|
|
6110
6534
|
// assets/generated/varistor.json
|
@@ -6239,26 +6663,26 @@ var varistor_default = {
|
|
6239
6663
|
};
|
6240
6664
|
|
6241
6665
|
// symbols/varistor_horz.ts
|
6242
|
-
var { paths:
|
6666
|
+
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35 } = varistor_default;
|
6243
6667
|
var varistor_horz_default = defineSymbol({
|
6244
6668
|
primitives: [
|
6245
|
-
...Object.values(
|
6246
|
-
{ ...
|
6247
|
-
{ ...
|
6669
|
+
...Object.values(paths35),
|
6670
|
+
{ ...texts47.top1, anchor: "middle_left" },
|
6671
|
+
{ ...texts47.bottom1, anchor: "middle_right" }
|
6248
6672
|
],
|
6249
6673
|
ports: [
|
6250
6674
|
{
|
6251
|
-
...
|
6675
|
+
...refblocks35.left1,
|
6252
6676
|
labels: ["1", "-"]
|
6253
6677
|
},
|
6254
6678
|
{
|
6255
|
-
...
|
6679
|
+
...refblocks35.right1,
|
6256
6680
|
labels: ["2", "+"]
|
6257
6681
|
}
|
6258
6682
|
],
|
6259
|
-
size: { width:
|
6683
|
+
size: { width: bounds35.width, height: bounds35.height },
|
6260
6684
|
//{ width: 1, height: 0.24 },
|
6261
|
-
center: { x:
|
6685
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
6262
6686
|
});
|
6263
6687
|
|
6264
6688
|
// symbols/varistor_vert.ts
|
@@ -6364,11 +6788,11 @@ var volt_meter_default = {
|
|
6364
6788
|
};
|
6365
6789
|
|
6366
6790
|
// symbols/volt_meter_horz.ts
|
6367
|
-
var { paths:
|
6791
|
+
var { paths: paths36, texts: texts48, bounds: bounds36, circles: circles25, refblocks: refblocks36 } = volt_meter_default;
|
6368
6792
|
var volt_meter_horz_default = defineSymbol({
|
6369
6793
|
primitives: [
|
6370
|
-
...Object.values(
|
6371
|
-
...Object.values(
|
6794
|
+
...Object.values(paths36),
|
6795
|
+
...Object.values(circles25),
|
6372
6796
|
{
|
6373
6797
|
type: "text",
|
6374
6798
|
text: "{REF}",
|
@@ -6385,13 +6809,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
6385
6809
|
}
|
6386
6810
|
],
|
6387
6811
|
ports: [
|
6388
|
-
{ ...
|
6812
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
6389
6813
|
// TODO add more "standard" labels
|
6390
|
-
{ ...
|
6814
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
6391
6815
|
// TODO add more "standard" labels
|
6392
6816
|
],
|
6393
|
-
size: { width:
|
6394
|
-
center: { x:
|
6817
|
+
size: { width: bounds36.width, height: bounds36.height },
|
6818
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
6395
6819
|
});
|
6396
6820
|
|
6397
6821
|
// symbols/volt_meter_vert.ts
|
@@ -6544,34 +6968,34 @@ var zener_diode_default = {
|
|
6544
6968
|
};
|
6545
6969
|
|
6546
6970
|
// symbols/zener_diode_horz.ts
|
6547
|
-
var { paths:
|
6971
|
+
var { paths: paths37, texts: texts49, bounds: bounds37, refblocks: refblocks37, circles: circles26 } = zener_diode_default;
|
6548
6972
|
var zener_diode_horz_default = defineSymbol({
|
6549
6973
|
primitives: [
|
6550
|
-
...Object.values(
|
6551
|
-
...Object.values(
|
6552
|
-
{ ...
|
6553
|
-
{ ...
|
6974
|
+
...Object.values(paths37),
|
6975
|
+
...Object.values(circles26),
|
6976
|
+
{ ...texts49.top1, anchor: "middle_bottom" },
|
6977
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
6554
6978
|
],
|
6555
6979
|
ports: [
|
6556
|
-
{ ...
|
6980
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
6557
6981
|
// TODO add more "standard" labels
|
6558
|
-
{ ...
|
6982
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
6559
6983
|
// TODO add more "standard" labels
|
6560
6984
|
],
|
6561
|
-
size: { width:
|
6562
|
-
center: { x:
|
6985
|
+
size: { width: bounds37.width, height: bounds37.height },
|
6986
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
6563
6987
|
});
|
6564
6988
|
|
6565
6989
|
// symbols/zener_diode_vert.ts
|
6566
6990
|
var rotated11 = rotateSymbol(zener_diode_horz_default);
|
6567
|
-
var
|
6991
|
+
var ref23 = rotated11.primitives.find(
|
6568
6992
|
(p) => p.type === "text" && p.text === "{REF}"
|
6569
6993
|
);
|
6570
|
-
var
|
6994
|
+
var val20 = rotated11.primitives.find(
|
6571
6995
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6572
6996
|
);
|
6573
|
-
|
6574
|
-
|
6997
|
+
ref23.anchor = "middle_left";
|
6998
|
+
val20.anchor = "middle_right";
|
6575
6999
|
var zener_diode_vert_default = rotated11;
|
6576
7000
|
|
6577
7001
|
// generated/symbols-index.ts
|
@@ -6608,6 +7032,10 @@ var symbols_index_default = {
|
|
6608
7032
|
"led_vert": led_vert_default,
|
6609
7033
|
"mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,
|
6610
7034
|
"mosfet_depletion_normally_on_vert": mosfet_depletion_normally_on_vert_default,
|
7035
|
+
"njfet_transistor_horz": njfet_transistor_horz_default,
|
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,
|
6611
7039
|
"photodiode_horz": photodiode_horz_default,
|
6612
7040
|
"photodiode_vert": photodiode_vert_default,
|
6613
7041
|
"pjfet_transistor_horz": pjfet_transistor_horz_default,
|