schematic-symbols 0.0.90 → 0.0.92
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 +1018 -580
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/ground_horz.ts +37 -0
- package/symbols/ground_vert.ts +34 -0
- package/symbols/illuminated_push_button_normally_open_horz.ts +20 -0
- package/symbols/illuminated_push_button_normally_open_vert.ts +20 -0
package/dist/index.js
CHANGED
@@ -2743,6 +2743,177 @@ var fuse_horz_default = defineSymbol({
|
|
2743
2743
|
// symbols/fuse_vert.ts
|
2744
2744
|
var fuse_vert_default = rotateSymbol(fuse_horz_default);
|
2745
2745
|
|
2746
|
+
// assets/generated/ground.json
|
2747
|
+
var ground_default = {
|
2748
|
+
paths: {
|
2749
|
+
path1: {
|
2750
|
+
type: "path",
|
2751
|
+
points: [
|
2752
|
+
{
|
2753
|
+
x: -0.3449701000000003,
|
2754
|
+
y: -0.4545300000000001
|
2755
|
+
},
|
2756
|
+
{
|
2757
|
+
x: -0.044970100000000235,
|
2758
|
+
y: -0.4545300000000001
|
2759
|
+
}
|
2760
|
+
],
|
2761
|
+
color: "primary",
|
2762
|
+
fill: false
|
2763
|
+
},
|
2764
|
+
path2: {
|
2765
|
+
type: "path",
|
2766
|
+
points: [
|
2767
|
+
{
|
2768
|
+
x: -0.025322899999999926,
|
2769
|
+
y: -0.25053000000000014
|
2770
|
+
},
|
2771
|
+
{
|
2772
|
+
x: -0.025322900000000148,
|
2773
|
+
y: -0.65053
|
2774
|
+
}
|
2775
|
+
],
|
2776
|
+
color: "primary",
|
2777
|
+
fill: false
|
2778
|
+
},
|
2779
|
+
path3: {
|
2780
|
+
type: "path",
|
2781
|
+
points: [
|
2782
|
+
{
|
2783
|
+
x: 0.04499999999999993,
|
2784
|
+
y: -0.3005300000000002
|
2785
|
+
},
|
2786
|
+
{
|
2787
|
+
x: 0.04499999999999993,
|
2788
|
+
y: -0.60053
|
2789
|
+
}
|
2790
|
+
],
|
2791
|
+
color: "primary",
|
2792
|
+
fill: false
|
2793
|
+
},
|
2794
|
+
path4: {
|
2795
|
+
type: "path",
|
2796
|
+
points: [
|
2797
|
+
{
|
2798
|
+
x: 0.14499999999999957,
|
2799
|
+
y: -0.40053000000000005
|
2800
|
+
},
|
2801
|
+
{
|
2802
|
+
x: 0.14499999999999957,
|
2803
|
+
y: -0.5005300000000001
|
2804
|
+
}
|
2805
|
+
],
|
2806
|
+
color: "primary",
|
2807
|
+
fill: false
|
2808
|
+
}
|
2809
|
+
},
|
2810
|
+
texts: {
|
2811
|
+
bottom1: {
|
2812
|
+
type: "text",
|
2813
|
+
text: "{REF}",
|
2814
|
+
x: -0.45500000000000007,
|
2815
|
+
y: 0.6505299999999998
|
2816
|
+
},
|
2817
|
+
right1: {
|
2818
|
+
type: "text",
|
2819
|
+
text: "{VAL}",
|
2820
|
+
x: 0.4449999999999996,
|
2821
|
+
y: -0.35053
|
2822
|
+
}
|
2823
|
+
},
|
2824
|
+
refblocks: {
|
2825
|
+
top1: {
|
2826
|
+
x: -0.3449701000000003,
|
2827
|
+
y: -0.4545300000000001
|
2828
|
+
},
|
2829
|
+
top2: {
|
2830
|
+
x: 0.16500000000000004,
|
2831
|
+
y: -0.4535300000000002
|
2832
|
+
}
|
2833
|
+
},
|
2834
|
+
bounds: {
|
2835
|
+
minX: -0.45500000000000007,
|
2836
|
+
maxX: 0.5449999999999996,
|
2837
|
+
minY: -0.65053,
|
2838
|
+
maxY: 0.6505299999999998,
|
2839
|
+
width: 0.9999999999999997,
|
2840
|
+
height: 0.9510599999999999,
|
2841
|
+
centerX: 0.04499999999999976,
|
2842
|
+
centerY: -11102230246251565e-32
|
2843
|
+
},
|
2844
|
+
circles: {}
|
2845
|
+
};
|
2846
|
+
|
2847
|
+
// symbols/ground_horz.ts
|
2848
|
+
var { paths: paths17, circles: circles13, bounds: bounds17, refblocks: refblocks17 } = ground_default;
|
2849
|
+
var horizontalSymbol = defineSymbol({
|
2850
|
+
primitives: [
|
2851
|
+
...Object.values(paths17),
|
2852
|
+
...Object.values(circles13),
|
2853
|
+
{
|
2854
|
+
type: "text",
|
2855
|
+
text: "{REF}",
|
2856
|
+
// REF label for horizontal
|
2857
|
+
x: -0.1,
|
2858
|
+
// Adjust this for the horizontal positioning of REF
|
2859
|
+
y: -0.8,
|
2860
|
+
// Adjust this for the vertical positioning of REF
|
2861
|
+
anchor: "middle_bottom"
|
2862
|
+
// Horizontal anchor for REF
|
2863
|
+
},
|
2864
|
+
{
|
2865
|
+
type: "text",
|
2866
|
+
text: "{VAL}",
|
2867
|
+
// VAL label for horizontal
|
2868
|
+
x: -0.1,
|
2869
|
+
// Adjust for horizontal positioning of VAL
|
2870
|
+
y: -0.1,
|
2871
|
+
// Adjust for vertical positioning of VAL
|
2872
|
+
anchor: "middle_top"
|
2873
|
+
// Horizontal anchor for VAL
|
2874
|
+
}
|
2875
|
+
],
|
2876
|
+
ports: [{ ...refblocks17.top1, labels: ["1"] }],
|
2877
|
+
size: { width: bounds17.width, height: bounds17.height },
|
2878
|
+
center: { x: bounds17.centerX - 0.09, y: bounds17.centerY - 0.45 }
|
2879
|
+
});
|
2880
|
+
var ground_horz_default = horizontalSymbol;
|
2881
|
+
|
2882
|
+
// symbols/ground_vert.ts
|
2883
|
+
var { paths: paths18, circles: circles14, bounds: bounds18, refblocks: refblocks18 } = ground_default;
|
2884
|
+
var verticalSymbol = defineSymbol({
|
2885
|
+
primitives: [
|
2886
|
+
...Object.values(paths18),
|
2887
|
+
...Object.values(circles14),
|
2888
|
+
{
|
2889
|
+
type: "text",
|
2890
|
+
text: "{REF}",
|
2891
|
+
// REF label for vertical
|
2892
|
+
x: -0.015,
|
2893
|
+
// Adjust this for the horizontal positioning of REF
|
2894
|
+
y: -0.75,
|
2895
|
+
// Adjust this for the vertical positioning of REF
|
2896
|
+
anchor: "middle_bottom"
|
2897
|
+
// Vertical anchor for REF
|
2898
|
+
},
|
2899
|
+
{
|
2900
|
+
type: "text",
|
2901
|
+
text: "{VAL}",
|
2902
|
+
// VAL label for vertical
|
2903
|
+
x: -0.015,
|
2904
|
+
// Adjust for horizontal positioning of VAL
|
2905
|
+
y: -0.12,
|
2906
|
+
// Adjust for vertical positioning of VAL
|
2907
|
+
anchor: "middle_top"
|
2908
|
+
// Vertical anchor for VAL
|
2909
|
+
}
|
2910
|
+
],
|
2911
|
+
ports: [{ ...refblocks18.top1, labels: ["1"] }],
|
2912
|
+
size: { width: bounds18.width, height: bounds18.height },
|
2913
|
+
center: { x: bounds18.centerX, y: bounds18.centerY - 0.45 }
|
2914
|
+
});
|
2915
|
+
var ground_vert_default = rotateSymbol(verticalSymbol);
|
2916
|
+
|
2746
2917
|
// assets/generated/gunn_diode.json
|
2747
2918
|
var gunn_diode_default = {
|
2748
2919
|
paths: {
|
@@ -2861,11 +3032,11 @@ var gunn_diode_default = {
|
|
2861
3032
|
};
|
2862
3033
|
|
2863
3034
|
// symbols/gunn_diode_horz.ts
|
2864
|
-
var { paths:
|
3035
|
+
var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles15 } = gunn_diode_default;
|
2865
3036
|
var gunn_diode_horz_default = defineSymbol({
|
2866
3037
|
primitives: [
|
2867
|
-
...Object.values(
|
2868
|
-
...Object.values(
|
3038
|
+
...Object.values(paths19),
|
3039
|
+
...Object.values(circles15),
|
2869
3040
|
{ ...texts20.top1, anchor: "middle_left" },
|
2870
3041
|
{
|
2871
3042
|
type: "text",
|
@@ -2876,13 +3047,13 @@ var gunn_diode_horz_default = defineSymbol({
|
|
2876
3047
|
// { ...texts.bottom1, anchor: "middle_left" },
|
2877
3048
|
],
|
2878
3049
|
ports: [
|
2879
|
-
{ ...
|
3050
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
2880
3051
|
// TODO add more "standard" labels
|
2881
|
-
{ ...
|
3052
|
+
{ ...refblocks19.right1, labels: ["2"] }
|
2882
3053
|
// TODO add more "standard" labels
|
2883
3054
|
],
|
2884
|
-
size: { width:
|
2885
|
-
center: { x:
|
3055
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3056
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
2886
3057
|
});
|
2887
3058
|
|
2888
3059
|
// symbols/gunn_diode_vert.ts
|
@@ -3075,11 +3246,11 @@ var igbt_transistor_default = {
|
|
3075
3246
|
};
|
3076
3247
|
|
3077
3248
|
// symbols/igbt_transistor_horz.ts
|
3078
|
-
var { paths:
|
3249
|
+
var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles16 } = igbt_transistor_default;
|
3079
3250
|
var igbt_transistor_horz_default = defineSymbol({
|
3080
3251
|
primitives: [
|
3081
|
-
...Object.values(
|
3082
|
-
...Object.values(
|
3252
|
+
...Object.values(paths20),
|
3253
|
+
...Object.values(circles16),
|
3083
3254
|
{
|
3084
3255
|
type: "text",
|
3085
3256
|
text: "{REF}",
|
@@ -3096,15 +3267,15 @@ var igbt_transistor_horz_default = defineSymbol({
|
|
3096
3267
|
}
|
3097
3268
|
],
|
3098
3269
|
ports: [
|
3099
|
-
{ ...
|
3270
|
+
{ ...refblocks20.top1, labels: ["1"] },
|
3100
3271
|
// TODO add more "standard" labels
|
3101
|
-
{ ...
|
3272
|
+
{ ...refblocks20.bottom1, labels: ["2"] },
|
3102
3273
|
// TODO add more "standard" labels
|
3103
|
-
{ ...
|
3274
|
+
{ ...refblocks20.left1, labels: ["3"] }
|
3104
3275
|
// TODO add more "standard" labels
|
3105
3276
|
],
|
3106
|
-
size: { width:
|
3107
|
-
center: { x:
|
3277
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3278
|
+
center: { x: bounds20.centerX + 0.06, y: bounds20.centerY }
|
3108
3279
|
});
|
3109
3280
|
|
3110
3281
|
// symbols/igbt_transistor_vert.ts
|
@@ -3122,6 +3293,269 @@ ref7.y += 0.065;
|
|
3122
3293
|
val7.y += 0.065;
|
3123
3294
|
var igbt_transistor_vert_default = rotated2;
|
3124
3295
|
|
3296
|
+
// assets/generated/illuminated_push_button_normally_open.json
|
3297
|
+
var illuminated_push_button_normally_open_default = {
|
3298
|
+
paths: {
|
3299
|
+
"path12-1-8-6-9": {
|
3300
|
+
type: "path",
|
3301
|
+
points: [
|
3302
|
+
{
|
3303
|
+
x: 0.023137150000000162,
|
3304
|
+
y: 0.024940499999996035
|
3305
|
+
},
|
3306
|
+
{
|
3307
|
+
x: 0.023137150000000162,
|
3308
|
+
y: 0.10494049999999788
|
3309
|
+
}
|
3310
|
+
],
|
3311
|
+
color: "primary",
|
3312
|
+
fill: false
|
3313
|
+
},
|
3314
|
+
"path12-1-5-6": {
|
3315
|
+
type: "path",
|
3316
|
+
points: [
|
3317
|
+
{
|
3318
|
+
x: -0.48740694999999956,
|
3319
|
+
y: 0.18801149999999645
|
3320
|
+
},
|
3321
|
+
{
|
3322
|
+
x: -0.1731006500000003,
|
3323
|
+
y: 0.18801149999999645
|
3324
|
+
}
|
3325
|
+
],
|
3326
|
+
color: "primary",
|
3327
|
+
fill: false
|
3328
|
+
},
|
3329
|
+
"path12-1-5-6-8": {
|
3330
|
+
type: "path",
|
3331
|
+
points: [
|
3332
|
+
{
|
3333
|
+
x: 0.023792949999999813,
|
3334
|
+
y: -0.1693045000000044
|
3335
|
+
},
|
3336
|
+
{
|
3337
|
+
x: 0.023792949999999813,
|
3338
|
+
y: -0.1026565000000037
|
3339
|
+
}
|
3340
|
+
],
|
3341
|
+
color: "primary",
|
3342
|
+
fill: false
|
3343
|
+
},
|
3344
|
+
"path12-1-8-0": {
|
3345
|
+
type: "path",
|
3346
|
+
points: [
|
3347
|
+
{
|
3348
|
+
x: -0.14922445000000018,
|
3349
|
+
y: 0.035203499999997945
|
3350
|
+
},
|
3351
|
+
{
|
3352
|
+
x: 0.19549865000000022,
|
3353
|
+
y: 0.18762249999999803
|
3354
|
+
}
|
3355
|
+
],
|
3356
|
+
color: "primary",
|
3357
|
+
fill: false
|
3358
|
+
},
|
3359
|
+
"path12-1-0": {
|
3360
|
+
type: "path",
|
3361
|
+
points: [
|
3362
|
+
{
|
3363
|
+
x: 0.19549885000000078,
|
3364
|
+
y: 0.18762249999999803
|
3365
|
+
},
|
3366
|
+
{
|
3367
|
+
x: 0.4881437499999999,
|
3368
|
+
y: 0.18762249999999803
|
3369
|
+
}
|
3370
|
+
],
|
3371
|
+
color: "primary",
|
3372
|
+
fill: false
|
3373
|
+
},
|
3374
|
+
"path12-1-8-6-9-4": {
|
3375
|
+
type: "path",
|
3376
|
+
points: [
|
3377
|
+
{
|
3378
|
+
x: 0.023137150000000162,
|
3379
|
+
y: -0.11686550000000295
|
3380
|
+
},
|
3381
|
+
{
|
3382
|
+
x: 0.023137150000000162,
|
3383
|
+
y: -0.015065500000002174
|
3384
|
+
}
|
3385
|
+
],
|
3386
|
+
color: "primary",
|
3387
|
+
fill: false
|
3388
|
+
},
|
3389
|
+
"path12-1-8-6-9-4-3": {
|
3390
|
+
type: "path",
|
3391
|
+
points: [
|
3392
|
+
{
|
3393
|
+
x: 0.08312335000000015,
|
3394
|
+
y: -0.10471550000000285
|
3395
|
+
},
|
3396
|
+
{
|
3397
|
+
x: 0.08312335000000015,
|
3398
|
+
y: -0.047931500000004235
|
3399
|
+
}
|
3400
|
+
],
|
3401
|
+
color: "primary",
|
3402
|
+
fill: false
|
3403
|
+
},
|
3404
|
+
"path12-1-8-6-9-4-3-1": {
|
3405
|
+
type: "path",
|
3406
|
+
points: [
|
3407
|
+
{
|
3408
|
+
x: -0.03684904999999983,
|
3409
|
+
y: -0.10471550000000285
|
3410
|
+
},
|
3411
|
+
{
|
3412
|
+
x: -0.03684904999999983,
|
3413
|
+
y: -0.047931500000004235
|
3414
|
+
}
|
3415
|
+
],
|
3416
|
+
color: "primary",
|
3417
|
+
fill: false
|
3418
|
+
},
|
3419
|
+
"path12-1-8-6-9-4-4": {
|
3420
|
+
type: "path",
|
3421
|
+
points: [
|
3422
|
+
{
|
3423
|
+
x: 0.08312335000000015,
|
3424
|
+
y: -0.10471550000000285
|
3425
|
+
},
|
3426
|
+
{
|
3427
|
+
x: -0.03684904999999983,
|
3428
|
+
y: -0.10471550000000285
|
3429
|
+
}
|
3430
|
+
],
|
3431
|
+
color: "primary",
|
3432
|
+
fill: false
|
3433
|
+
},
|
3434
|
+
"path14-5": {
|
3435
|
+
type: "path",
|
3436
|
+
points: [
|
3437
|
+
{
|
3438
|
+
x: -0.011640198644880861,
|
3439
|
+
y: -0.2799169119921796
|
3440
|
+
},
|
3441
|
+
{
|
3442
|
+
x: 0.01182744133211866,
|
3443
|
+
y: -0.2516822395036833
|
3444
|
+
},
|
3445
|
+
{
|
3446
|
+
x: 0.035295081309120846,
|
3447
|
+
y: -0.22344756701517987
|
3448
|
+
},
|
3449
|
+
{
|
3450
|
+
x: 0.05876272128612037,
|
3451
|
+
y: -0.19521289452668178
|
3452
|
+
}
|
3453
|
+
],
|
3454
|
+
color: "primary",
|
3455
|
+
fill: true
|
3456
|
+
},
|
3457
|
+
"path14-5-3": {
|
3458
|
+
type: "path",
|
3459
|
+
points: [
|
3460
|
+
{
|
3461
|
+
x: -0.011818241440559873,
|
3462
|
+
y: -0.1952224926985373
|
3463
|
+
},
|
3464
|
+
{
|
3465
|
+
x: 0.01171692178543804,
|
3466
|
+
y: -0.22339535480803718
|
3467
|
+
},
|
3468
|
+
{
|
3469
|
+
x: 0.03525208501144128,
|
3470
|
+
y: -0.2515682169175424
|
3471
|
+
},
|
3472
|
+
{
|
3473
|
+
x: 0.058787248237439194,
|
3474
|
+
y: -0.27974107902703693
|
3475
|
+
}
|
3476
|
+
],
|
3477
|
+
color: "primary",
|
3478
|
+
fill: true
|
3479
|
+
}
|
3480
|
+
},
|
3481
|
+
texts: {
|
3482
|
+
top1: {
|
3483
|
+
type: "text",
|
3484
|
+
text: "{REF}",
|
3485
|
+
x: 0.010987250000000337,
|
3486
|
+
y: -0.37833950000000094
|
3487
|
+
},
|
3488
|
+
bottom1: {
|
3489
|
+
type: "text",
|
3490
|
+
text: "{VAL}",
|
3491
|
+
x: -0.1564439499999999,
|
3492
|
+
y: 0.3883394999999972
|
3493
|
+
}
|
3494
|
+
},
|
3495
|
+
refblocks: {
|
3496
|
+
left1: {
|
3497
|
+
x: -0.4717985499999999,
|
3498
|
+
y: 0.18798249999999506
|
3499
|
+
},
|
3500
|
+
right1: {
|
3501
|
+
x: 0.4717985499999999,
|
3502
|
+
y: 0.1880084999999987
|
3503
|
+
}
|
3504
|
+
},
|
3505
|
+
bounds: {
|
3506
|
+
minX: -0.4999569909999999,
|
3507
|
+
maxX: 0.4999569909999999,
|
3508
|
+
minY: -0.4783395000000009,
|
3509
|
+
maxY: 0.3883394999999972,
|
3510
|
+
width: 0.9999139819999998,
|
3511
|
+
height: 0.5166789999999981,
|
3512
|
+
centerX: 0,
|
3513
|
+
centerY: -0.04500000000000187
|
3514
|
+
},
|
3515
|
+
circles: {
|
3516
|
+
path9: {
|
3517
|
+
type: "circle",
|
3518
|
+
x: 0.02379285000000042,
|
3519
|
+
y: -0.23747350000000367,
|
3520
|
+
radius: 0.059920847,
|
3521
|
+
color: "primary",
|
3522
|
+
fill: false
|
3523
|
+
}
|
3524
|
+
}
|
3525
|
+
};
|
3526
|
+
|
3527
|
+
// symbols/illuminated_push_button_normally_open_horz.ts
|
3528
|
+
var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles17 } = illuminated_push_button_normally_open_default;
|
3529
|
+
var illuminated_push_button_normally_open_horz_default = defineSymbol({
|
3530
|
+
primitives: [
|
3531
|
+
...Object.values(paths21),
|
3532
|
+
...Object.values(circles17),
|
3533
|
+
{ ...texts23.top1, anchor: "middle_right", x: 0, y: -0.4 },
|
3534
|
+
{ ...texts23.bottom1, anchor: "middle_right", x: 0 }
|
3535
|
+
],
|
3536
|
+
ports: [
|
3537
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3538
|
+
// TODO add more "standard" labels
|
3539
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3540
|
+
// TODO add more "standard" labels
|
3541
|
+
],
|
3542
|
+
size: { width: bounds21.width, height: bounds21.height },
|
3543
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3544
|
+
});
|
3545
|
+
|
3546
|
+
// symbols/illuminated_push_button_normally_open_vert.ts
|
3547
|
+
var rotatedSymbol10 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
|
3548
|
+
var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3549
|
+
var val8 = texts24.find((t) => t.text === "{VAL}");
|
3550
|
+
val8.x = -0.35;
|
3551
|
+
val8.y = 0;
|
3552
|
+
val8.anchor = "middle_right";
|
3553
|
+
var ref8 = texts24.find((t) => t.text === "{REF}");
|
3554
|
+
ref8.y = 0;
|
3555
|
+
ref8.x = 0.35;
|
3556
|
+
ref8.anchor = "middle_left";
|
3557
|
+
var illuminated_push_button_normally_open_vert_default = rotatedSymbol10;
|
3558
|
+
|
3125
3559
|
// assets/generated/inductor.json
|
3126
3560
|
var inductor_default = {
|
3127
3561
|
paths: {
|
@@ -4198,22 +4632,22 @@ var inductor_default = {
|
|
4198
4632
|
};
|
4199
4633
|
|
4200
4634
|
// symbols/inductor_horz.ts
|
4201
|
-
var { paths:
|
4635
|
+
var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles: circles18 } = inductor_default;
|
4202
4636
|
var inductor_horz_default = defineSymbol({
|
4203
4637
|
primitives: [
|
4204
|
-
...Object.values(
|
4205
|
-
...Object.values(
|
4206
|
-
{ ...
|
4207
|
-
{ ...
|
4638
|
+
...Object.values(paths22),
|
4639
|
+
...Object.values(circles18),
|
4640
|
+
{ ...texts25.top1, anchor: "middle_bottom" },
|
4641
|
+
{ ...texts25.bottom1, anchor: "middle_top" }
|
4208
4642
|
],
|
4209
4643
|
ports: [
|
4210
|
-
{ ...
|
4644
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4211
4645
|
// TODO add more "standard" labels
|
4212
|
-
{ ...
|
4646
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4213
4647
|
// TODO add more "standard" labels
|
4214
4648
|
],
|
4215
|
-
size: { width:
|
4216
|
-
center: { x:
|
4649
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4650
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4217
4651
|
});
|
4218
4652
|
|
4219
4653
|
// symbols/inductor_vert.ts
|
@@ -4459,31 +4893,31 @@ var laser_diode_default = {
|
|
4459
4893
|
};
|
4460
4894
|
|
4461
4895
|
// symbols/laser_diode_horz.ts
|
4462
|
-
var { paths:
|
4896
|
+
var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles19 } = laser_diode_default;
|
4463
4897
|
var laser_diode_horz_default = defineSymbol({
|
4464
4898
|
primitives: [
|
4465
|
-
...Object.values(
|
4466
|
-
...Object.values(
|
4467
|
-
{ ...
|
4468
|
-
{ ...
|
4899
|
+
...Object.values(paths23),
|
4900
|
+
...Object.values(circles19),
|
4901
|
+
{ ...texts26.top1, anchor: "middle_left" },
|
4902
|
+
{ ...texts26.bottom1, anchor: "middle_bottom" }
|
4469
4903
|
],
|
4470
4904
|
ports: [
|
4471
|
-
{ ...
|
4905
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4472
4906
|
// TODO add more "standard" labels
|
4473
|
-
{ ...
|
4907
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4474
4908
|
// TODO add more "standard" labels
|
4475
4909
|
],
|
4476
|
-
size: { width:
|
4477
|
-
center: { x:
|
4910
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4911
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4478
4912
|
});
|
4479
4913
|
|
4480
4914
|
// symbols/laser_diode_vert.ts
|
4481
|
-
var
|
4482
|
-
var
|
4483
|
-
var
|
4484
|
-
|
4485
|
-
|
4486
|
-
var laser_diode_vert_default =
|
4915
|
+
var rotatedSymbol11 = rotateSymbol(laser_diode_horz_default);
|
4916
|
+
var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
4917
|
+
var ref9 = texts27.find((t) => t.text === "{VAL}");
|
4918
|
+
ref9.x = -0.52;
|
4919
|
+
ref9.anchor = "middle_right";
|
4920
|
+
var laser_diode_vert_default = rotatedSymbol11;
|
4487
4921
|
|
4488
4922
|
// assets/generated/led.json
|
4489
4923
|
var led_default = {
|
@@ -4701,35 +5135,35 @@ var led_default = {
|
|
4701
5135
|
};
|
4702
5136
|
|
4703
5137
|
// symbols/led_horz.ts
|
4704
|
-
var { paths:
|
5138
|
+
var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24 } = led_default;
|
4705
5139
|
var led_horz_default = defineSymbol({
|
4706
5140
|
primitives: [
|
4707
|
-
...Object.values(
|
4708
|
-
{ ...
|
4709
|
-
{ ...
|
5141
|
+
...Object.values(paths24),
|
5142
|
+
{ ...texts28.bottom1, anchor: "middle_right" },
|
5143
|
+
{ ...texts28.right1, anchor: "middle_left" }
|
4710
5144
|
],
|
4711
5145
|
ports: [
|
4712
|
-
{ ...
|
4713
|
-
{ ...
|
5146
|
+
{ ...refblocks24.left1, labels: ["1", "anode", "pos"] },
|
5147
|
+
{ ...refblocks24.right1, labels: ["2", "cathode", "neg"] }
|
4714
5148
|
],
|
4715
|
-
size: { width:
|
4716
|
-
center: { x:
|
5149
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5150
|
+
center: { x: bounds24.centerX, y: bounds24.centerY + 0.1 }
|
4717
5151
|
});
|
4718
5152
|
|
4719
5153
|
// symbols/led_vert.ts
|
4720
5154
|
var rotated3 = rotateSymbol(led_horz_default);
|
4721
|
-
var
|
5155
|
+
var ref10 = rotated3.primitives.find(
|
4722
5156
|
(p) => p.type === "text" && p.text === "{REF}"
|
4723
5157
|
);
|
4724
|
-
var
|
5158
|
+
var val9 = rotated3.primitives.find(
|
4725
5159
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4726
5160
|
);
|
4727
|
-
|
4728
|
-
|
4729
|
-
|
4730
|
-
|
4731
|
-
|
4732
|
-
|
5161
|
+
ref10.anchor = "middle_left";
|
5162
|
+
val9.anchor = "middle_right";
|
5163
|
+
ref10.x += 0.1;
|
5164
|
+
ref10.y += 0.017;
|
5165
|
+
val9.y = ref10.y;
|
5166
|
+
val9.x = -0.3;
|
4733
5167
|
var led_vert_default = rotated3;
|
4734
5168
|
|
4735
5169
|
// assets/generated/light_dependent_resistor.json
|
@@ -4957,36 +5391,36 @@ var light_dependent_resistor_default = {
|
|
4957
5391
|
};
|
4958
5392
|
|
4959
5393
|
// symbols/light_dependent_resistor_horz.ts
|
4960
|
-
var { paths:
|
5394
|
+
var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles20 } = light_dependent_resistor_default;
|
4961
5395
|
var light_dependent_resistor_horz_default = defineSymbol({
|
4962
5396
|
primitives: [
|
4963
|
-
...Object.values(
|
4964
|
-
...Object.values(
|
4965
|
-
{ ...
|
4966
|
-
{ ...
|
5397
|
+
...Object.values(paths25),
|
5398
|
+
...Object.values(circles20),
|
5399
|
+
{ ...texts29.top1, anchor: "middle_left", x: 0 },
|
5400
|
+
{ ...texts29.bottom1, anchor: "middle_left", x: 0 }
|
4967
5401
|
],
|
4968
5402
|
ports: [
|
4969
|
-
{ ...
|
5403
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
4970
5404
|
// TODO add more "standard" labels
|
4971
|
-
{ ...
|
5405
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
4972
5406
|
// TODO add more "standard" labels
|
4973
5407
|
],
|
4974
|
-
size: { width:
|
4975
|
-
center: { x:
|
5408
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5409
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
4976
5410
|
});
|
4977
5411
|
|
4978
5412
|
// symbols/light_dependent_resistor_vert.ts
|
4979
|
-
var
|
4980
|
-
var
|
4981
|
-
var
|
4982
|
-
|
4983
|
-
|
4984
|
-
|
4985
|
-
var
|
4986
|
-
|
4987
|
-
|
4988
|
-
|
4989
|
-
var light_dependent_resistor_vert_default =
|
5413
|
+
var rotatedSymbol12 = rotateSymbol(light_dependent_resistor_horz_default);
|
5414
|
+
var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
5415
|
+
var val10 = texts30.find((t) => t.text === "{VAL}");
|
5416
|
+
val10.x = -0.35;
|
5417
|
+
val10.y = 0;
|
5418
|
+
val10.anchor = "middle_right";
|
5419
|
+
var ref11 = texts30.find((t) => t.text === "{REF}");
|
5420
|
+
ref11.y = 0;
|
5421
|
+
ref11.x = 0.35;
|
5422
|
+
ref11.anchor = "middle_left";
|
5423
|
+
var light_dependent_resistor_vert_default = rotatedSymbol12;
|
4990
5424
|
|
4991
5425
|
// assets/generated/mosfet_depletion_normally_on.json
|
4992
5426
|
var mosfet_depletion_normally_on_default = {
|
@@ -5259,37 +5693,37 @@ var mosfet_depletion_normally_on_default = {
|
|
5259
5693
|
};
|
5260
5694
|
|
5261
5695
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
5262
|
-
var { paths:
|
5696
|
+
var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26 } = mosfet_depletion_normally_on_default;
|
5263
5697
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
5264
5698
|
primitives: [
|
5265
|
-
...Object.values(
|
5266
|
-
{ ...
|
5267
|
-
{ ...
|
5699
|
+
...Object.values(paths26),
|
5700
|
+
{ ...texts31.right1, anchor: "middle_left" },
|
5701
|
+
{ ...texts31.right2, anchor: "middle_left" }
|
5268
5702
|
],
|
5269
5703
|
ports: [
|
5270
|
-
{ ...
|
5704
|
+
{ ...refblocks26.top1, labels: ["1"] },
|
5271
5705
|
// TODO add more "standard" labels
|
5272
|
-
{ ...
|
5706
|
+
{ ...refblocks26.bottom1, labels: ["2"] },
|
5273
5707
|
// TODO add more "standard" labels
|
5274
|
-
{ ...
|
5708
|
+
{ ...refblocks26.left1, labels: ["3"] }
|
5275
5709
|
// TODO add more "standard" labels
|
5276
5710
|
],
|
5277
|
-
size: { width:
|
5278
|
-
center: { x:
|
5711
|
+
size: { width: bounds26.width + 0.4, height: bounds26.height },
|
5712
|
+
center: { x: bounds26.centerX + 0.2, y: bounds26.centerY }
|
5279
5713
|
});
|
5280
5714
|
|
5281
5715
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
5282
5716
|
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
5283
|
-
var
|
5717
|
+
var ref12 = rotated4.primitives.find(
|
5284
5718
|
(p) => p.type === "text" && p.text === "{REF}"
|
5285
5719
|
);
|
5286
|
-
var
|
5720
|
+
var val11 = rotated4.primitives.find(
|
5287
5721
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5288
5722
|
);
|
5289
|
-
|
5290
|
-
|
5291
|
-
|
5292
|
-
|
5723
|
+
ref12.anchor = "middle_top";
|
5724
|
+
val11.anchor = "middle_top";
|
5725
|
+
ref12.x = val11.x;
|
5726
|
+
val11.y += 0.15;
|
5293
5727
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
5294
5728
|
|
5295
5729
|
// assets/generated/mushroom_head_normally_open_momentary.json
|
@@ -5901,36 +6335,36 @@ var mushroom_head_normally_open_momentary_default = {
|
|
5901
6335
|
};
|
5902
6336
|
|
5903
6337
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
5904
|
-
var { paths:
|
6338
|
+
var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = mushroom_head_normally_open_momentary_default;
|
5905
6339
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
5906
6340
|
primitives: [
|
5907
|
-
...Object.values(
|
5908
|
-
...Object.values(
|
5909
|
-
{ ...
|
5910
|
-
{ ...
|
6341
|
+
...Object.values(paths27),
|
6342
|
+
...Object.values(circles21),
|
6343
|
+
{ ...texts32.top1, anchor: "middle_bottom", x: 0 },
|
6344
|
+
{ ...texts32.bottom1, anchor: "middle_top", x: 0 }
|
5911
6345
|
],
|
5912
6346
|
ports: [
|
5913
|
-
{ ...
|
5914
|
-
{ ...
|
6347
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
6348
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
5915
6349
|
],
|
5916
|
-
size: { width:
|
5917
|
-
center: { x:
|
6350
|
+
size: { width: bounds27.width, height: bounds27.height },
|
6351
|
+
center: { x: bounds27.centerX + 6e-3, y: bounds27.centerY + 0.06 }
|
5918
6352
|
});
|
5919
6353
|
|
5920
6354
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
5921
6355
|
var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
|
5922
|
-
var
|
6356
|
+
var ref13 = rotated5.primitives.find(
|
5923
6357
|
(p) => p.type === "text" && p.text === "{REF}"
|
5924
6358
|
);
|
5925
|
-
var
|
6359
|
+
var val12 = rotated5.primitives.find(
|
5926
6360
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5927
6361
|
);
|
5928
|
-
|
5929
|
-
|
5930
|
-
|
5931
|
-
|
5932
|
-
|
5933
|
-
|
6362
|
+
ref13.anchor = "middle_left";
|
6363
|
+
val12.anchor = "middle_right";
|
6364
|
+
ref13.x = ref13.x - 0.03;
|
6365
|
+
ref13.y = ref13.y;
|
6366
|
+
val12.x = val12.x;
|
6367
|
+
val12.y = 0;
|
5934
6368
|
var mushroom_head_normally_open_momentary_vert_default = rotated5;
|
5935
6369
|
|
5936
6370
|
// assets/generated/n_channel_d_mosfet_transistor.json
|
@@ -6127,38 +6561,38 @@ var n_channel_d_mosfet_transistor_default = {
|
|
6127
6561
|
};
|
6128
6562
|
|
6129
6563
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
6130
|
-
var { paths:
|
6564
|
+
var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = n_channel_d_mosfet_transistor_default;
|
6131
6565
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
6132
6566
|
primitives: [
|
6133
|
-
...Object.values(
|
6134
|
-
...Object.values(
|
6135
|
-
{ ...
|
6136
|
-
{ ...
|
6567
|
+
...Object.values(paths28),
|
6568
|
+
...Object.values(circles22),
|
6569
|
+
{ ...texts33.top1, anchor: "middle_right", x: 0 },
|
6570
|
+
{ ...texts33.bottom1, anchor: "middle_right", x: 0 }
|
6137
6571
|
],
|
6138
6572
|
ports: [
|
6139
|
-
{ ...
|
6573
|
+
{ ...refblocks28.top1, labels: ["1", "drain"] },
|
6140
6574
|
// TODO add more "standard" labels
|
6141
|
-
{ ...
|
6575
|
+
{ ...refblocks28.bottom1, labels: ["2", "source"] },
|
6142
6576
|
// TODO add more "standard" labels
|
6143
|
-
{ ...
|
6577
|
+
{ ...refblocks28.left1, labels: ["3", "gate"] }
|
6144
6578
|
// TODO add more "standard" labels
|
6145
6579
|
],
|
6146
|
-
size: { width:
|
6147
|
-
center: { x:
|
6580
|
+
size: { width: bounds28.width, height: bounds28.height },
|
6581
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
6148
6582
|
});
|
6149
6583
|
|
6150
6584
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
6151
|
-
var
|
6152
|
-
var
|
6153
|
-
var
|
6154
|
-
|
6155
|
-
|
6156
|
-
|
6157
|
-
var
|
6158
|
-
|
6159
|
-
|
6160
|
-
|
6161
|
-
var n_channel_d_mosfet_transistor_vert_default =
|
6585
|
+
var rotatedSymbol13 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
6586
|
+
var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
6587
|
+
var val13 = texts34.find((t) => t.text === "{VAL}");
|
6588
|
+
val13.x = -0.35;
|
6589
|
+
val13.y = 0;
|
6590
|
+
val13.anchor = "middle_right";
|
6591
|
+
var ref14 = texts34.find((t) => t.text === "{REF}");
|
6592
|
+
ref14.y = 0;
|
6593
|
+
ref14.x = 0.35;
|
6594
|
+
ref14.anchor = "middle_left";
|
6595
|
+
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
|
6162
6596
|
|
6163
6597
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
6164
6598
|
var n_channel_e_mosfet_transistor_default = {
|
@@ -6384,38 +6818,38 @@ var n_channel_e_mosfet_transistor_default = {
|
|
6384
6818
|
};
|
6385
6819
|
|
6386
6820
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
6387
|
-
var { paths:
|
6821
|
+
var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = n_channel_e_mosfet_transistor_default;
|
6388
6822
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
6389
6823
|
primitives: [
|
6390
|
-
...Object.values(
|
6391
|
-
...Object.values(
|
6392
|
-
{ ...
|
6393
|
-
{ ...
|
6824
|
+
...Object.values(paths29),
|
6825
|
+
...Object.values(circles23),
|
6826
|
+
{ ...texts35.top1, anchor: "middle_right", x: 0 },
|
6827
|
+
{ ...texts35.bottom1, anchor: "middle_right", x: 0 }
|
6394
6828
|
],
|
6395
6829
|
ports: [
|
6396
|
-
{ ...
|
6830
|
+
{ ...refblocks29.top1, labels: ["1", "drain"] },
|
6397
6831
|
// TODO add more "standard" labels
|
6398
|
-
{ ...
|
6832
|
+
{ ...refblocks29.bottom1, labels: ["2", "source"] },
|
6399
6833
|
// TODO add more "standard" labels
|
6400
|
-
{ ...
|
6834
|
+
{ ...refblocks29.left1, labels: ["3", "gate"] }
|
6401
6835
|
// TODO add more "standard" labels
|
6402
6836
|
],
|
6403
|
-
size: { width:
|
6404
|
-
center: { x:
|
6837
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6838
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
6405
6839
|
});
|
6406
6840
|
|
6407
6841
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
6408
|
-
var
|
6409
|
-
var
|
6410
|
-
var
|
6411
|
-
|
6412
|
-
|
6413
|
-
|
6414
|
-
var
|
6415
|
-
|
6416
|
-
|
6417
|
-
|
6418
|
-
var n_channel_e_mosfet_transistor_vert_default =
|
6842
|
+
var rotatedSymbol14 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
6843
|
+
var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
6844
|
+
var val14 = texts36.find((t) => t.text === "{VAL}");
|
6845
|
+
val14.x = -0.35;
|
6846
|
+
val14.y = 0;
|
6847
|
+
val14.anchor = "middle_right";
|
6848
|
+
var ref15 = texts36.find((t) => t.text === "{REF}");
|
6849
|
+
ref15.y = 0;
|
6850
|
+
ref15.x = 0.35;
|
6851
|
+
ref15.anchor = "middle_left";
|
6852
|
+
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
|
6419
6853
|
|
6420
6854
|
// assets/generated/njfet_transistor.json
|
6421
6855
|
var njfet_transistor_default = {
|
@@ -6581,38 +7015,38 @@ var njfet_transistor_default = {
|
|
6581
7015
|
};
|
6582
7016
|
|
6583
7017
|
// symbols/njfet_transistor_horz.ts
|
6584
|
-
var { paths:
|
7018
|
+
var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = njfet_transistor_default;
|
6585
7019
|
var njfet_transistor_horz_default = defineSymbol({
|
6586
7020
|
primitives: [
|
6587
|
-
...Object.values(
|
6588
|
-
...Object.values(
|
6589
|
-
{ ...
|
6590
|
-
{ ...
|
7021
|
+
...Object.values(paths30),
|
7022
|
+
...Object.values(circles24),
|
7023
|
+
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
7024
|
+
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
6591
7025
|
],
|
6592
7026
|
ports: [
|
6593
|
-
{ ...
|
7027
|
+
{ ...refblocks30.top1, labels: ["1", "drain"] },
|
6594
7028
|
// TODO add more "standard" labels
|
6595
|
-
{ ...
|
7029
|
+
{ ...refblocks30.bottom1, labels: ["2", "source"] },
|
6596
7030
|
// TODO add more "standard" labels
|
6597
|
-
{ ...
|
7031
|
+
{ ...refblocks30.left1, labels: ["3", "gate"] }
|
6598
7032
|
// TODO add more "standard" labels
|
6599
7033
|
],
|
6600
|
-
size: { width:
|
6601
|
-
center: { x:
|
7034
|
+
size: { width: bounds30.width, height: bounds30.height },
|
7035
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
6602
7036
|
});
|
6603
7037
|
|
6604
7038
|
// symbols/njfet_transistor_vert.ts
|
6605
|
-
var
|
6606
|
-
var
|
6607
|
-
var
|
6608
|
-
|
6609
|
-
|
6610
|
-
|
6611
|
-
var
|
6612
|
-
|
6613
|
-
|
6614
|
-
|
6615
|
-
var njfet_transistor_vert_default =
|
7039
|
+
var rotatedSymbol15 = rotateSymbol(njfet_transistor_horz_default);
|
7040
|
+
var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
7041
|
+
var val15 = texts38.find((t) => t.text === "{VAL}");
|
7042
|
+
val15.x = -0.35;
|
7043
|
+
val15.y = 0;
|
7044
|
+
val15.anchor = "middle_right";
|
7045
|
+
var ref16 = texts38.find((t) => t.text === "{REF}");
|
7046
|
+
ref16.y = 0;
|
7047
|
+
ref16.x = 0.35;
|
7048
|
+
ref16.anchor = "middle_left";
|
7049
|
+
var njfet_transistor_vert_default = rotatedSymbol15;
|
6616
7050
|
|
6617
7051
|
// assets/generated/npn_bipolar_transistor.json
|
6618
7052
|
var npn_bipolar_transistor_default = {
|
@@ -6778,11 +7212,11 @@ var npn_bipolar_transistor_default = {
|
|
6778
7212
|
};
|
6779
7213
|
|
6780
7214
|
// symbols/npn_bipolar_transistor_horz.ts
|
6781
|
-
var { paths:
|
7215
|
+
var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles25 } = npn_bipolar_transistor_default;
|
6782
7216
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
6783
7217
|
primitives: [
|
6784
|
-
...Object.values(
|
6785
|
-
...Object.values(
|
7218
|
+
...Object.values(paths31),
|
7219
|
+
...Object.values(circles25),
|
6786
7220
|
{
|
6787
7221
|
type: "text",
|
6788
7222
|
text: "{REF}",
|
@@ -6799,20 +7233,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
6799
7233
|
}
|
6800
7234
|
],
|
6801
7235
|
ports: [
|
6802
|
-
{ ...
|
6803
|
-
{ ...
|
6804
|
-
{ ...
|
7236
|
+
{ ...refblocks31.top1, labels: ["1", "collector"] },
|
7237
|
+
{ ...refblocks31.bottom1, labels: ["2", "emitter"] },
|
7238
|
+
{ ...refblocks31.left1, labels: ["3", "base"] }
|
6805
7239
|
],
|
6806
|
-
size: { width:
|
6807
|
-
center: { x:
|
7240
|
+
size: { width: bounds31.width, height: bounds31.height },
|
7241
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6808
7242
|
});
|
6809
7243
|
|
6810
7244
|
// symbols/npn_bipolar_transistor_vert.ts
|
6811
|
-
var
|
6812
|
-
var
|
6813
|
-
var
|
6814
|
-
|
6815
|
-
var npn_bipolar_transistor_vert_default =
|
7245
|
+
var rotatedSymbol16 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
7246
|
+
var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
7247
|
+
var ref17 = texts40.find((t) => t.text === "{REF}");
|
7248
|
+
ref17.anchor = "middle_left";
|
7249
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol16;
|
6816
7250
|
|
6817
7251
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
6818
7252
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -7008,38 +7442,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
7008
7442
|
};
|
7009
7443
|
|
7010
7444
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
7011
|
-
var { paths:
|
7445
|
+
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles26 } = p_channel_d_mosfet_transistor_default;
|
7012
7446
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
7013
7447
|
primitives: [
|
7014
|
-
...Object.values(
|
7015
|
-
...Object.values(
|
7016
|
-
{ ...
|
7017
|
-
{ ...
|
7448
|
+
...Object.values(paths32),
|
7449
|
+
...Object.values(circles26),
|
7450
|
+
{ ...texts41.top1, anchor: "middle_right", x: 0 },
|
7451
|
+
{ ...texts41.bottom1, anchor: "middle_right", x: 0 }
|
7018
7452
|
],
|
7019
7453
|
ports: [
|
7020
|
-
{ ...
|
7454
|
+
{ ...refblocks32.top1, labels: ["1", "drain"] },
|
7021
7455
|
// TODO add more "standard" labels
|
7022
|
-
{ ...
|
7456
|
+
{ ...refblocks32.bottom1, labels: ["2", "source"] },
|
7023
7457
|
// TODO add more "standard" labels
|
7024
|
-
{ ...
|
7458
|
+
{ ...refblocks32.left1, labels: ["3", "gate"] }
|
7025
7459
|
// TODO add more "standard" labels
|
7026
7460
|
],
|
7027
|
-
size: { width:
|
7028
|
-
center: { x:
|
7461
|
+
size: { width: bounds32.width, height: bounds32.height },
|
7462
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
7029
7463
|
});
|
7030
7464
|
|
7031
7465
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
7032
|
-
var
|
7033
|
-
var
|
7034
|
-
var
|
7035
|
-
|
7036
|
-
|
7037
|
-
|
7038
|
-
var
|
7039
|
-
|
7040
|
-
|
7041
|
-
|
7042
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
7466
|
+
var rotatedSymbol17 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
7467
|
+
var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
7468
|
+
var val16 = texts42.find((t) => t.text === "{VAL}");
|
7469
|
+
val16.x = -0.35;
|
7470
|
+
val16.y = 0;
|
7471
|
+
val16.anchor = "middle_right";
|
7472
|
+
var ref18 = texts42.find((t) => t.text === "{REF}");
|
7473
|
+
ref18.y = 0;
|
7474
|
+
ref18.x = 0.35;
|
7475
|
+
ref18.anchor = "middle_left";
|
7476
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol17;
|
7043
7477
|
|
7044
7478
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
7045
7479
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -7265,38 +7699,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
7265
7699
|
};
|
7266
7700
|
|
7267
7701
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
7268
|
-
var { paths:
|
7702
|
+
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles27 } = p_channel_e_mosfet_transistor_default;
|
7269
7703
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
7270
7704
|
primitives: [
|
7271
|
-
...Object.values(
|
7272
|
-
...Object.values(
|
7273
|
-
{ ...
|
7274
|
-
{ ...
|
7705
|
+
...Object.values(paths33),
|
7706
|
+
...Object.values(circles27),
|
7707
|
+
{ ...texts43.top1, anchor: "middle_right", x: 0 },
|
7708
|
+
{ ...texts43.bottom1, anchor: "middle_right", x: 0 }
|
7275
7709
|
],
|
7276
7710
|
ports: [
|
7277
|
-
{ ...
|
7711
|
+
{ ...refblocks33.top1, labels: ["1", "drain"] },
|
7278
7712
|
// TODO add more "standard" labels
|
7279
|
-
{ ...
|
7713
|
+
{ ...refblocks33.bottom1, labels: ["2", "source"] },
|
7280
7714
|
// TODO add more "standard" labels
|
7281
|
-
{ ...
|
7715
|
+
{ ...refblocks33.left1, labels: ["3", "gate"] }
|
7282
7716
|
// TODO add more "standard" labels
|
7283
7717
|
],
|
7284
|
-
size: { width:
|
7285
|
-
center: { x:
|
7718
|
+
size: { width: bounds33.width, height: bounds33.height },
|
7719
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
7286
7720
|
});
|
7287
7721
|
|
7288
7722
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
7289
|
-
var
|
7290
|
-
var
|
7291
|
-
var
|
7292
|
-
|
7293
|
-
|
7294
|
-
|
7295
|
-
var
|
7296
|
-
|
7297
|
-
|
7298
|
-
|
7299
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
7723
|
+
var rotatedSymbol18 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
7724
|
+
var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
7725
|
+
var val17 = texts44.find((t) => t.text === "{VAL}");
|
7726
|
+
val17.x = -0.35;
|
7727
|
+
val17.y = 0;
|
7728
|
+
val17.anchor = "middle_right";
|
7729
|
+
var ref19 = texts44.find((t) => t.text === "{REF}");
|
7730
|
+
ref19.y = 0;
|
7731
|
+
ref19.x = 0.35;
|
7732
|
+
ref19.anchor = "middle_left";
|
7733
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol18;
|
7300
7734
|
|
7301
7735
|
// assets/generated/photodiode.json
|
7302
7736
|
var photodiode_default = {
|
@@ -7523,11 +7957,11 @@ var photodiode_default = {
|
|
7523
7957
|
};
|
7524
7958
|
|
7525
7959
|
// symbols/photodiode_horz.ts
|
7526
|
-
var { paths:
|
7960
|
+
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles28 } = photodiode_default;
|
7527
7961
|
var photodiode_horz_default = defineSymbol({
|
7528
7962
|
primitives: [
|
7529
|
-
...Object.values(
|
7530
|
-
...Object.values(
|
7963
|
+
...Object.values(paths34),
|
7964
|
+
...Object.values(circles28),
|
7531
7965
|
{
|
7532
7966
|
type: "text",
|
7533
7967
|
text: "{REF}",
|
@@ -7544,22 +7978,22 @@ var photodiode_horz_default = defineSymbol({
|
|
7544
7978
|
}
|
7545
7979
|
],
|
7546
7980
|
ports: [
|
7547
|
-
{ ...
|
7981
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
7548
7982
|
// TODO add more "standard" labels
|
7549
|
-
{ ...
|
7983
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
7550
7984
|
// TODO add more "standard" labels
|
7551
7985
|
],
|
7552
|
-
size: { width:
|
7553
|
-
center: { x:
|
7986
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7987
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
7554
7988
|
});
|
7555
7989
|
|
7556
7990
|
// symbols/photodiode_vert.ts
|
7557
|
-
var
|
7558
|
-
var
|
7559
|
-
var
|
7560
|
-
|
7561
|
-
|
7562
|
-
var photodiode_vert_default =
|
7991
|
+
var rotatedSymbol19 = rotateSymbol(photodiode_horz_default);
|
7992
|
+
var texts46 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
|
7993
|
+
var ref20 = texts46.find((t) => t.text === "{REF}");
|
7994
|
+
ref20.y = 0;
|
7995
|
+
ref20.anchor = "middle_left";
|
7996
|
+
var photodiode_vert_default = rotatedSymbol19;
|
7563
7997
|
|
7564
7998
|
// assets/generated/pjfet_transistor.json
|
7565
7999
|
var pjfet_transistor_default = {
|
@@ -7725,38 +8159,38 @@ var pjfet_transistor_default = {
|
|
7725
8159
|
};
|
7726
8160
|
|
7727
8161
|
// symbols/pjfet_transistor_horz.ts
|
7728
|
-
var { paths:
|
8162
|
+
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles29 } = pjfet_transistor_default;
|
7729
8163
|
var pjfet_transistor_horz_default = defineSymbol({
|
7730
8164
|
primitives: [
|
7731
|
-
...Object.values(
|
7732
|
-
...Object.values(
|
7733
|
-
{ ...
|
7734
|
-
{ ...
|
8165
|
+
...Object.values(paths35),
|
8166
|
+
...Object.values(circles29),
|
8167
|
+
{ ...texts47.top1, anchor: "middle_right", x: 0 },
|
8168
|
+
{ ...texts47.bottom1, anchor: "middle_right" }
|
7735
8169
|
],
|
7736
8170
|
ports: [
|
7737
|
-
{ ...
|
8171
|
+
{ ...refblocks35.top1, labels: ["1", "drain"] },
|
7738
8172
|
// TODO add more "standard" labels
|
7739
|
-
{ ...
|
8173
|
+
{ ...refblocks35.bottom1, labels: ["2", "source"] },
|
7740
8174
|
// TODO add more "standard" labels
|
7741
|
-
{ ...
|
8175
|
+
{ ...refblocks35.left1, labels: ["3", "gate"] }
|
7742
8176
|
// TODO add more "standard" labels
|
7743
8177
|
],
|
7744
|
-
size: { width:
|
7745
|
-
center: { x:
|
8178
|
+
size: { width: bounds35.width, height: bounds35.height },
|
8179
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
7746
8180
|
});
|
7747
8181
|
|
7748
8182
|
// symbols/pjfet_transistor_vert.ts
|
7749
|
-
var
|
7750
|
-
var
|
7751
|
-
var
|
7752
|
-
|
7753
|
-
|
7754
|
-
|
7755
|
-
var
|
7756
|
-
|
7757
|
-
|
7758
|
-
|
7759
|
-
var pjfet_transistor_vert_default =
|
8183
|
+
var rotatedSymbol20 = rotateSymbol(pjfet_transistor_horz_default);
|
8184
|
+
var texts48 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
|
8185
|
+
var val18 = texts48.find((t) => t.text === "{VAL}");
|
8186
|
+
val18.x = -0.35;
|
8187
|
+
val18.y = 0;
|
8188
|
+
val18.anchor = "middle_right";
|
8189
|
+
var ref21 = texts48.find((t) => t.text === "{REF}");
|
8190
|
+
ref21.y = 0;
|
8191
|
+
ref21.x = 0.35;
|
8192
|
+
ref21.anchor = "middle_left";
|
8193
|
+
var pjfet_transistor_vert_default = rotatedSymbol20;
|
7760
8194
|
|
7761
8195
|
// assets/generated/pnp_bipolar_transistor.json
|
7762
8196
|
var pnp_bipolar_transistor_default = {
|
@@ -7922,11 +8356,11 @@ var pnp_bipolar_transistor_default = {
|
|
7922
8356
|
};
|
7923
8357
|
|
7924
8358
|
// symbols/pnp_bipolar_transistor_horz.ts
|
7925
|
-
var { paths:
|
8359
|
+
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles30 } = pnp_bipolar_transistor_default;
|
7926
8360
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
7927
8361
|
primitives: [
|
7928
|
-
...Object.values(
|
7929
|
-
...Object.values(
|
8362
|
+
...Object.values(paths36),
|
8363
|
+
...Object.values(circles30),
|
7930
8364
|
{
|
7931
8365
|
type: "text",
|
7932
8366
|
text: "{REF}",
|
@@ -7943,20 +8377,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
7943
8377
|
}
|
7944
8378
|
],
|
7945
8379
|
ports: [
|
7946
|
-
{ ...
|
7947
|
-
{ ...
|
7948
|
-
{ ...
|
8380
|
+
{ ...refblocks36.top1, labels: ["1", "collector"] },
|
8381
|
+
{ ...refblocks36.bottom1, labels: ["2", "emitter"] },
|
8382
|
+
{ ...refblocks36.left1, labels: ["3", "base"] }
|
7949
8383
|
],
|
7950
|
-
size: { width:
|
7951
|
-
center: { x:
|
8384
|
+
size: { width: bounds36.width, height: bounds36.height },
|
8385
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
7952
8386
|
});
|
7953
8387
|
|
7954
8388
|
// symbols/pnp_bipolar_transistor_vert.ts
|
7955
|
-
var
|
7956
|
-
var
|
7957
|
-
var
|
7958
|
-
|
7959
|
-
var pnp_bipolar_transistor_vert_default =
|
8389
|
+
var rotatedSymbol21 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
8390
|
+
var texts50 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
8391
|
+
var ref22 = texts50.find((t) => t.text === "{REF}");
|
8392
|
+
ref22.anchor = "middle_left";
|
8393
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol21;
|
7960
8394
|
|
7961
8395
|
// assets/generated/potentiometer.json
|
7962
8396
|
var potentiometer_default = {
|
@@ -8073,21 +8507,21 @@ var potentiometer_default = {
|
|
8073
8507
|
};
|
8074
8508
|
|
8075
8509
|
// symbols/potentiometer_horz.ts
|
8076
|
-
var { paths:
|
8510
|
+
var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37 } = potentiometer_default;
|
8077
8511
|
var potentiometer_horz_default = defineSymbol({
|
8078
8512
|
primitives: [
|
8079
|
-
...Object.values(
|
8080
|
-
{ ...
|
8081
|
-
{ ...
|
8513
|
+
...Object.values(paths37),
|
8514
|
+
{ ...texts51.bottom1, y: 0.35, anchor: "middle_top" },
|
8515
|
+
{ ...texts51.top1, anchor: "middle_left" }
|
8082
8516
|
],
|
8083
8517
|
ports: [
|
8084
|
-
{ ...
|
8518
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
8085
8519
|
// TODO add more "standard" labels
|
8086
|
-
{ ...
|
8520
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
8087
8521
|
// TODO add more "standard" labels
|
8088
8522
|
],
|
8089
|
-
size: { width:
|
8090
|
-
center: { x:
|
8523
|
+
size: { width: bounds37.width + 0.05, height: bounds37.height },
|
8524
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
8091
8525
|
});
|
8092
8526
|
|
8093
8527
|
// symbols/potentiometer_vert.ts
|
@@ -8250,21 +8684,21 @@ var potentiometer2_default = {
|
|
8250
8684
|
};
|
8251
8685
|
|
8252
8686
|
// symbols/potentiometer2_horz.ts
|
8253
|
-
var { paths:
|
8687
|
+
var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38 } = potentiometer2_default;
|
8254
8688
|
var potentiometer2_horz_default = defineSymbol({
|
8255
8689
|
primitives: [
|
8256
|
-
...Object.values(
|
8257
|
-
{ ...
|
8258
|
-
{ ...
|
8690
|
+
...Object.values(paths38),
|
8691
|
+
{ ...texts52.bottom1, anchor: "middle_right" },
|
8692
|
+
{ ...texts52.top1, anchor: "middle_left" }
|
8259
8693
|
],
|
8260
8694
|
ports: [
|
8261
|
-
{ ...
|
8695
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
8262
8696
|
// TODO add more "standard" labels
|
8263
|
-
{ ...
|
8697
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
8264
8698
|
// TODO add more "standard" labels
|
8265
8699
|
],
|
8266
|
-
size: { width:
|
8267
|
-
center: { x:
|
8700
|
+
size: { width: bounds38.width, height: bounds38.height },
|
8701
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
8268
8702
|
});
|
8269
8703
|
|
8270
8704
|
// symbols/potentiometer2_vert.ts
|
@@ -8357,11 +8791,11 @@ var power_factor_meter_default = {
|
|
8357
8791
|
};
|
8358
8792
|
|
8359
8793
|
// symbols/power_factor_meter_horz.ts
|
8360
|
-
var { paths:
|
8794
|
+
var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles31 } = power_factor_meter_default;
|
8361
8795
|
var power_factor_meter_horz_default = defineSymbol({
|
8362
8796
|
primitives: [
|
8363
|
-
...Object.values(
|
8364
|
-
...Object.values(
|
8797
|
+
...Object.values(paths39),
|
8798
|
+
...Object.values(circles31),
|
8365
8799
|
// { ...texts.top1, anchor: "middle_left" },
|
8366
8800
|
{
|
8367
8801
|
type: "text",
|
@@ -8388,28 +8822,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
8388
8822
|
}
|
8389
8823
|
],
|
8390
8824
|
ports: [
|
8391
|
-
{ ...
|
8825
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
8392
8826
|
// TODO add more "standard" labels
|
8393
|
-
{ ...
|
8827
|
+
{ ...refblocks39.right1, labels: ["2"] }
|
8394
8828
|
// TODO add more "standard" labels
|
8395
8829
|
],
|
8396
|
-
size: { width:
|
8397
|
-
center: { x:
|
8830
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8831
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
8398
8832
|
});
|
8399
8833
|
|
8400
8834
|
// symbols/power_factor_meter_vert.ts
|
8401
|
-
var
|
8402
|
-
var
|
8403
|
-
var
|
8404
|
-
var
|
8405
|
-
var text_cos =
|
8406
|
-
|
8407
|
-
|
8408
|
-
|
8409
|
-
|
8835
|
+
var rotatedSymbol22 = rotateSymbol(power_factor_meter_horz_default);
|
8836
|
+
var texts54 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8837
|
+
var ref23 = texts54.find((t) => t.text === "{REF}");
|
8838
|
+
var val19 = texts54.find((t) => t.text === "{VAL}");
|
8839
|
+
var text_cos = texts54.find((t) => t.text === "COS \u03C6");
|
8840
|
+
ref23.x = 0.35;
|
8841
|
+
ref23.y = 0;
|
8842
|
+
val19.x = -0.6;
|
8843
|
+
val19.y = 0;
|
8410
8844
|
text_cos.x = -0.1;
|
8411
8845
|
text_cos.y = 0;
|
8412
|
-
var power_factor_meter_vert_default =
|
8846
|
+
var power_factor_meter_vert_default = rotatedSymbol22;
|
8413
8847
|
|
8414
8848
|
// assets/generated/push_button_normally_closed_momentary.json
|
8415
8849
|
var push_button_normally_closed_momentary_default = {
|
@@ -8513,37 +8947,37 @@ var push_button_normally_closed_momentary_default = {
|
|
8513
8947
|
};
|
8514
8948
|
|
8515
8949
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
8516
|
-
var { paths:
|
8950
|
+
var { paths: paths40, texts: texts55, bounds: bounds40, refblocks: refblocks40 } = push_button_normally_closed_momentary_default;
|
8517
8951
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
8518
8952
|
primitives: [
|
8519
|
-
...Object.values(
|
8520
|
-
{ ...
|
8521
|
-
{ ...
|
8953
|
+
...Object.values(paths40),
|
8954
|
+
{ ...texts55.top1, anchor: "middle_bottom" },
|
8955
|
+
{ ...texts55.bottom1, anchor: "middle_top" }
|
8522
8956
|
],
|
8523
8957
|
ports: [
|
8524
|
-
{ ...
|
8958
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
8525
8959
|
// TODO add more "standard" labels
|
8526
|
-
{ ...
|
8960
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
8527
8961
|
// TODO add more "standard" labels
|
8528
8962
|
],
|
8529
|
-
size: { width:
|
8530
|
-
center: { x:
|
8963
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8964
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
8531
8965
|
});
|
8532
8966
|
|
8533
8967
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
8534
8968
|
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
8535
|
-
var
|
8969
|
+
var ref24 = rotated7.primitives.find(
|
8536
8970
|
(p) => p.type === "text" && p.text === "{REF}"
|
8537
8971
|
);
|
8538
|
-
var
|
8972
|
+
var val20 = rotated7.primitives.find(
|
8539
8973
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8540
8974
|
);
|
8541
|
-
|
8542
|
-
|
8543
|
-
|
8544
|
-
|
8545
|
-
|
8546
|
-
|
8975
|
+
ref24.anchor = "middle_left";
|
8976
|
+
val20.anchor = "middle_right";
|
8977
|
+
ref24.x = ref24.x - 0.03;
|
8978
|
+
ref24.y = ref24.y;
|
8979
|
+
val20.x = val20.x;
|
8980
|
+
val20.y = 0;
|
8547
8981
|
var push_button_normally_closed_momentary_vert_default = rotated7;
|
8548
8982
|
|
8549
8983
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -8648,37 +9082,37 @@ var push_button_normally_open_momentary_default = {
|
|
8648
9082
|
};
|
8649
9083
|
|
8650
9084
|
// symbols/push_button_normally_open_momentary_horz.ts
|
8651
|
-
var { paths:
|
9085
|
+
var { paths: paths41, texts: texts56, bounds: bounds41, refblocks: refblocks41 } = push_button_normally_open_momentary_default;
|
8652
9086
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
8653
9087
|
primitives: [
|
8654
|
-
...Object.values(
|
8655
|
-
{ ...
|
8656
|
-
{ ...
|
9088
|
+
...Object.values(paths41),
|
9089
|
+
{ ...texts56.top1, anchor: "middle_bottom" },
|
9090
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
8657
9091
|
],
|
8658
9092
|
ports: [
|
8659
|
-
{ ...
|
9093
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
8660
9094
|
// TODO add more "standard" labels
|
8661
|
-
{ ...
|
9095
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
8662
9096
|
// TODO add more "standard" labels
|
8663
9097
|
],
|
8664
|
-
size: { width:
|
8665
|
-
center: { x:
|
9098
|
+
size: { width: bounds41.width, height: bounds41.height },
|
9099
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
8666
9100
|
});
|
8667
9101
|
|
8668
9102
|
// symbols/push_button_normally_open_momentary_vert.ts
|
8669
9103
|
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
8670
|
-
var
|
9104
|
+
var ref25 = rotated8.primitives.find(
|
8671
9105
|
(p) => p.type === "text" && p.text === "{REF}"
|
8672
9106
|
);
|
8673
|
-
var
|
9107
|
+
var val21 = rotated8.primitives.find(
|
8674
9108
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8675
9109
|
);
|
8676
|
-
|
8677
|
-
|
8678
|
-
|
8679
|
-
|
8680
|
-
|
8681
|
-
|
9110
|
+
ref25.anchor = "middle_left";
|
9111
|
+
val21.anchor = "middle_right";
|
9112
|
+
ref25.x = ref25.x + 0.1;
|
9113
|
+
ref25.y = ref25.y;
|
9114
|
+
val21.x = val21.x;
|
9115
|
+
val21.y = 0;
|
8682
9116
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
8683
9117
|
|
8684
9118
|
// assets/generated/rectifier_diode.json
|
@@ -9091,38 +9525,38 @@ var rectifier_diode_default = {
|
|
9091
9525
|
};
|
9092
9526
|
|
9093
9527
|
// symbols/rectifier_diode_horz.ts
|
9094
|
-
var { paths:
|
9528
|
+
var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = rectifier_diode_default;
|
9095
9529
|
var rectifier_diode_horz_default = defineSymbol({
|
9096
9530
|
primitives: [
|
9097
|
-
...Object.values(
|
9098
|
-
...Object.values(
|
9099
|
-
{ ...
|
9100
|
-
{ ...
|
9531
|
+
...Object.values(paths42),
|
9532
|
+
...Object.values(circles32),
|
9533
|
+
{ ...texts57.top1, anchor: "middle_right" },
|
9534
|
+
{ ...texts57.bottom1, anchor: "middle_right" }
|
9101
9535
|
],
|
9102
9536
|
ports: [
|
9103
|
-
{ ...
|
9537
|
+
{ ...refblocks42.top1, labels: ["1"] },
|
9104
9538
|
// TODO add more "standard" labels
|
9105
|
-
{ ...
|
9539
|
+
{ ...refblocks42.bottom1, labels: ["2"] },
|
9106
9540
|
// TODO add more "standard" labels
|
9107
|
-
{ ...
|
9541
|
+
{ ...refblocks42.left1, labels: ["3"] },
|
9108
9542
|
// TODO add more "standard" labels
|
9109
|
-
{ ...
|
9543
|
+
{ ...refblocks42.right1, labels: ["4"] }
|
9110
9544
|
// TODO add more "standard" labels
|
9111
9545
|
],
|
9112
|
-
size: { width:
|
9113
|
-
center: { x:
|
9546
|
+
size: { width: bounds42.width, height: bounds42.height },
|
9547
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
9114
9548
|
});
|
9115
9549
|
|
9116
9550
|
// symbols/rectifier_diode_vert.ts
|
9117
9551
|
var rotated9 = rotateSymbol(rectifier_diode_horz_default);
|
9118
|
-
var
|
9552
|
+
var ref26 = rotated9.primitives.find(
|
9119
9553
|
(p) => p.type === "text" && p.text === "{REF}"
|
9120
9554
|
);
|
9121
|
-
var
|
9555
|
+
var val22 = rotated9.primitives.find(
|
9122
9556
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9123
9557
|
);
|
9124
|
-
|
9125
|
-
|
9558
|
+
ref26.anchor = "middle_left";
|
9559
|
+
val22.anchor = "middle_right";
|
9126
9560
|
var rectifier_diode_vert_default = rotated9;
|
9127
9561
|
|
9128
9562
|
// assets/generated/resonator.json
|
@@ -9471,11 +9905,11 @@ var resonator_default = {
|
|
9471
9905
|
};
|
9472
9906
|
|
9473
9907
|
// symbols/resonator_horz.ts
|
9474
|
-
var { paths:
|
9908
|
+
var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = resonator_default;
|
9475
9909
|
var resonator_horz_default = defineSymbol({
|
9476
9910
|
primitives: [
|
9477
|
-
...Object.values(
|
9478
|
-
...Object.values(
|
9911
|
+
...Object.values(paths43),
|
9912
|
+
...Object.values(circles33),
|
9479
9913
|
// { ...texts.top1, anchor: "middle_left" },
|
9480
9914
|
// { ...texts.bottom1, anchor: "middle_left" },
|
9481
9915
|
{
|
@@ -9494,15 +9928,15 @@ var resonator_horz_default = defineSymbol({
|
|
9494
9928
|
}
|
9495
9929
|
],
|
9496
9930
|
ports: [
|
9497
|
-
{ ...
|
9931
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
9498
9932
|
// TODO add more "standard" labels
|
9499
|
-
{ ...
|
9933
|
+
{ ...refblocks43.right1, labels: ["2"] },
|
9500
9934
|
// TODO add more "standard" labels
|
9501
|
-
{ ...
|
9935
|
+
{ ...refblocks43.right2, labels: ["3"] }
|
9502
9936
|
// TODO add more "standard" labels
|
9503
9937
|
],
|
9504
|
-
size: { width:
|
9505
|
-
center: { x:
|
9938
|
+
size: { width: bounds43.width, height: bounds43.height },
|
9939
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
9506
9940
|
});
|
9507
9941
|
|
9508
9942
|
// symbols/resonator_vert.ts
|
@@ -9700,34 +10134,34 @@ var schottky_diode_default = {
|
|
9700
10134
|
};
|
9701
10135
|
|
9702
10136
|
// symbols/schottky_diode_horz.ts
|
9703
|
-
var { paths:
|
10137
|
+
var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = schottky_diode_default;
|
9704
10138
|
var schottky_diode_horz_default = defineSymbol({
|
9705
10139
|
primitives: [
|
9706
|
-
...Object.values(
|
9707
|
-
...Object.values(
|
9708
|
-
{ ...
|
9709
|
-
{ ...
|
10140
|
+
...Object.values(paths44),
|
10141
|
+
...Object.values(circles34),
|
10142
|
+
{ ...texts59.top1, anchor: "middle_bottom" },
|
10143
|
+
{ ...texts59.bottom1, anchor: "middle_top" }
|
9710
10144
|
],
|
9711
10145
|
ports: [
|
9712
|
-
{ ...
|
10146
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
9713
10147
|
// TODO add more "standard" labels
|
9714
|
-
{ ...
|
10148
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
9715
10149
|
// TODO add more "standard" labels
|
9716
10150
|
],
|
9717
|
-
size: { width:
|
9718
|
-
center: { x:
|
10151
|
+
size: { width: bounds44.width, height: bounds44.height },
|
10152
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
9719
10153
|
});
|
9720
10154
|
|
9721
10155
|
// symbols/schottky_diode_vert.ts
|
9722
10156
|
var rotated10 = rotateSymbol(schottky_diode_horz_default);
|
9723
|
-
var
|
10157
|
+
var ref27 = rotated10.primitives.find(
|
9724
10158
|
(p) => p.type === "text" && p.text === "{REF}"
|
9725
10159
|
);
|
9726
|
-
var
|
10160
|
+
var val23 = rotated10.primitives.find(
|
9727
10161
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9728
10162
|
);
|
9729
|
-
|
9730
|
-
|
10163
|
+
ref27.anchor = "middle_left";
|
10164
|
+
val23.anchor = "middle_right";
|
9731
10165
|
var schottky_diode_vert_default = rotated10;
|
9732
10166
|
|
9733
10167
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -9874,35 +10308,35 @@ var silicon_controlled_rectifier_default = {
|
|
9874
10308
|
};
|
9875
10309
|
|
9876
10310
|
// symbols/silicon_controlled_rectifier_horz.ts
|
9877
|
-
var { paths:
|
10311
|
+
var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = silicon_controlled_rectifier_default;
|
9878
10312
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
9879
10313
|
primitives: [
|
9880
|
-
...Object.values(
|
9881
|
-
...Object.values(
|
9882
|
-
{ ...
|
9883
|
-
{ ...
|
10314
|
+
...Object.values(paths45),
|
10315
|
+
...Object.values(circles35),
|
10316
|
+
{ ...texts60.top1, anchor: "middle_left" },
|
10317
|
+
{ ...texts60.bottom1, anchor: "middle_top" }
|
9884
10318
|
],
|
9885
10319
|
ports: [
|
9886
|
-
{ ...
|
10320
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
9887
10321
|
// TODO add more "standard" labels
|
9888
|
-
{ ...
|
10322
|
+
{ ...refblocks45.right1, labels: ["2"] },
|
9889
10323
|
// TODO add more "standard" labels
|
9890
|
-
{ ...
|
10324
|
+
{ ...refblocks45.bottom1, labels: ["3"] }
|
9891
10325
|
// TODO add more "standard" labels
|
9892
10326
|
],
|
9893
|
-
size: { width:
|
9894
|
-
center: { x:
|
10327
|
+
size: { width: bounds45.width, height: bounds45.height },
|
10328
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
9895
10329
|
});
|
9896
10330
|
|
9897
10331
|
// symbols/silicon_controlled_rectifier_vert.ts
|
9898
|
-
var
|
9899
|
-
var
|
10332
|
+
var rotatedSymbol23 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
10333
|
+
var texts61 = rotatedSymbol23.primitives.filter(
|
9900
10334
|
(primitive) => primitive.type === "text"
|
9901
10335
|
);
|
9902
|
-
var
|
9903
|
-
|
9904
|
-
|
9905
|
-
var silicon_controlled_rectifier_vert_default =
|
10336
|
+
var ref28 = texts61.find((text) => text.text === "{REF}");
|
10337
|
+
ref28.y = 0;
|
10338
|
+
ref28.anchor = "middle_left";
|
10339
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol23;
|
9906
10340
|
|
9907
10341
|
// assets/generated/SPDT_switch.json
|
9908
10342
|
var SPDT_switch_default = {
|
@@ -10022,38 +10456,38 @@ var SPDT_switch_default = {
|
|
10022
10456
|
};
|
10023
10457
|
|
10024
10458
|
// symbols/SPDT_switch_horz.ts
|
10025
|
-
var { paths:
|
10459
|
+
var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = SPDT_switch_default;
|
10026
10460
|
var SPDT_switch_horz_default = defineSymbol({
|
10027
10461
|
primitives: [
|
10028
|
-
...Object.values(
|
10029
|
-
...Object.values(
|
10030
|
-
{ ...
|
10031
|
-
{ ...
|
10462
|
+
...Object.values(paths46),
|
10463
|
+
...Object.values(circles36),
|
10464
|
+
{ ...texts62.top1, anchor: "middle_bottom", x: -0.01 },
|
10465
|
+
{ ...texts62.bottom1, anchor: "middle_top", x: -0.01 }
|
10032
10466
|
],
|
10033
10467
|
ports: [
|
10034
|
-
{ ...
|
10468
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
10035
10469
|
// TODO add more "standard" labels
|
10036
|
-
{ ...
|
10470
|
+
{ ...refblocks46.right1, labels: ["3"] },
|
10037
10471
|
// TODO add more "standard" labels
|
10038
|
-
{ ...
|
10472
|
+
{ ...refblocks46.right2, labels: ["2"] }
|
10039
10473
|
// TODO add more "standard" labels
|
10040
10474
|
],
|
10041
|
-
size: { width:
|
10042
|
-
center: { x:
|
10475
|
+
size: { width: bounds46.width, height: bounds46.height },
|
10476
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
10043
10477
|
});
|
10044
10478
|
|
10045
10479
|
// symbols/SPDT_switch_vert.ts
|
10046
|
-
var
|
10047
|
-
var
|
10048
|
-
var
|
10049
|
-
|
10050
|
-
|
10051
|
-
|
10052
|
-
var
|
10053
|
-
|
10054
|
-
|
10055
|
-
|
10056
|
-
var SPDT_switch_vert_default =
|
10480
|
+
var rotatedSymbol24 = rotateSymbol(SPDT_switch_horz_default);
|
10481
|
+
var texts63 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
|
10482
|
+
var val24 = texts63.find((t) => t.text === "{VAL}");
|
10483
|
+
val24.anchor = "middle_right";
|
10484
|
+
val24.x = -0.3;
|
10485
|
+
val24.y = 0;
|
10486
|
+
var ref29 = texts63.find((t) => t.text === "{REF}");
|
10487
|
+
ref29.anchor = "middle_left";
|
10488
|
+
ref29.x = 0.3;
|
10489
|
+
ref29.y = 0;
|
10490
|
+
var SPDT_switch_vert_default = rotatedSymbol24;
|
10057
10491
|
|
10058
10492
|
// assets/generated/SPST_switch.json
|
10059
10493
|
var SPST_switch_default = {
|
@@ -10150,36 +10584,36 @@ var SPST_switch_default = {
|
|
10150
10584
|
};
|
10151
10585
|
|
10152
10586
|
// symbols/SPST_switch_horz.ts
|
10153
|
-
var { paths:
|
10587
|
+
var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = SPST_switch_default;
|
10154
10588
|
var SPST_switch_horz_default = defineSymbol({
|
10155
10589
|
primitives: [
|
10156
|
-
...Object.values(
|
10157
|
-
...Object.values(
|
10158
|
-
{ ...
|
10159
|
-
{ ...
|
10590
|
+
...Object.values(paths47),
|
10591
|
+
...Object.values(circles37),
|
10592
|
+
{ ...texts64.top1, anchor: "middle_bottom", x: 0 },
|
10593
|
+
{ ...texts64.bottom1, anchor: "middle_top", x: 0 }
|
10160
10594
|
],
|
10161
10595
|
ports: [
|
10162
|
-
{ ...
|
10596
|
+
{ ...refblocks47.left1, labels: ["1"] },
|
10163
10597
|
// TODO add more "standard" labels
|
10164
|
-
{ ...
|
10598
|
+
{ ...refblocks47.right1, labels: ["2"] }
|
10165
10599
|
// TODO add more "standard" labels
|
10166
10600
|
],
|
10167
|
-
size: { width:
|
10168
|
-
center: { x:
|
10601
|
+
size: { width: bounds47.width, height: bounds47.height },
|
10602
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
10169
10603
|
});
|
10170
10604
|
|
10171
10605
|
// symbols/SPST_switch_vert.ts
|
10172
|
-
var
|
10173
|
-
var
|
10174
|
-
var
|
10175
|
-
|
10176
|
-
|
10177
|
-
|
10178
|
-
var
|
10179
|
-
|
10180
|
-
|
10181
|
-
|
10182
|
-
var SPST_switch_vert_default =
|
10606
|
+
var rotatedSymbol25 = rotateSymbol(SPST_switch_horz_default);
|
10607
|
+
var texts65 = rotatedSymbol25.primitives.filter((p) => p.type === "text");
|
10608
|
+
var val25 = texts65.find((t) => t.text === "{VAL}");
|
10609
|
+
val25.anchor = "middle_right";
|
10610
|
+
val25.x = -0.3;
|
10611
|
+
val25.y = 0;
|
10612
|
+
var ref30 = texts65.find((t) => t.text === "{REF}");
|
10613
|
+
ref30.anchor = "middle_left";
|
10614
|
+
ref30.x = 0.3;
|
10615
|
+
ref30.y = 0;
|
10616
|
+
var SPST_switch_vert_default = rotatedSymbol25;
|
10183
10617
|
|
10184
10618
|
// assets/generated/step_recovery_diode.json
|
10185
10619
|
var step_recovery_diode_default = {
|
@@ -10343,11 +10777,11 @@ var step_recovery_diode_default = {
|
|
10343
10777
|
};
|
10344
10778
|
|
10345
10779
|
// symbols/step_recovery_diode_horz.ts
|
10346
|
-
var { paths:
|
10780
|
+
var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles38 } = step_recovery_diode_default;
|
10347
10781
|
var step_recovery_diode_horz_default = defineSymbol({
|
10348
10782
|
primitives: [
|
10349
|
-
...Object.values(
|
10350
|
-
...Object.values(
|
10783
|
+
...Object.values(paths48),
|
10784
|
+
...Object.values(circles38),
|
10351
10785
|
// { ...texts.top1, anchor: "middle_left" },
|
10352
10786
|
// { ...texts.bottom1, anchor: "middle_left" },
|
10353
10787
|
{
|
@@ -10366,13 +10800,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
10366
10800
|
}
|
10367
10801
|
],
|
10368
10802
|
ports: [
|
10369
|
-
{ ...
|
10803
|
+
{ ...refblocks48.left1, labels: ["1"] },
|
10370
10804
|
// TODO add more "standard" labels
|
10371
|
-
{ ...
|
10805
|
+
{ ...refblocks48.right1, labels: ["2"] }
|
10372
10806
|
// TODO add more "standard" labels
|
10373
10807
|
],
|
10374
|
-
size: { width:
|
10375
|
-
center: { x:
|
10808
|
+
size: { width: bounds48.width, height: bounds48.height },
|
10809
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
10376
10810
|
});
|
10377
10811
|
|
10378
10812
|
// symbols/step_recovery_diode_vert.ts
|
@@ -10465,11 +10899,11 @@ var tachometer_default = {
|
|
10465
10899
|
};
|
10466
10900
|
|
10467
10901
|
// symbols/tachometer_horz.ts
|
10468
|
-
var { paths:
|
10902
|
+
var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles39 } = tachometer_default;
|
10469
10903
|
var tachometer_horz_default = defineSymbol({
|
10470
10904
|
primitives: [
|
10471
|
-
...Object.values(
|
10472
|
-
...Object.values(
|
10905
|
+
...Object.values(paths49),
|
10906
|
+
...Object.values(circles39),
|
10473
10907
|
{
|
10474
10908
|
type: "text",
|
10475
10909
|
text: "{REF}",
|
@@ -10484,16 +10918,16 @@ var tachometer_horz_default = defineSymbol({
|
|
10484
10918
|
y: 0.35,
|
10485
10919
|
anchor: "middle_top"
|
10486
10920
|
},
|
10487
|
-
{ ...
|
10921
|
+
{ ...texts67.left1, anchor: "center", fontSize: 0.2 }
|
10488
10922
|
],
|
10489
10923
|
ports: [
|
10490
|
-
{ ...
|
10924
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
10491
10925
|
// TODO add more "standard" labels
|
10492
|
-
{ ...
|
10926
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
10493
10927
|
// TODO add more "standard" labels
|
10494
10928
|
],
|
10495
|
-
size: { width:
|
10496
|
-
center: { x:
|
10929
|
+
size: { width: bounds49.width, height: bounds49.height },
|
10930
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
10497
10931
|
});
|
10498
10932
|
|
10499
10933
|
// symbols/tachometer_vert.ts
|
@@ -10501,13 +10935,13 @@ var { 5: letter5, ...rest5 } = tachometer_horz_default.primitives;
|
|
10501
10935
|
function isPrimitive5(value) {
|
10502
10936
|
return typeof value === "object";
|
10503
10937
|
}
|
10504
|
-
var
|
10938
|
+
var rotatedSymbol26 = rotateSymbol({
|
10505
10939
|
...tachometer_horz_default,
|
10506
10940
|
primitives: Object.values(rest5).filter(isPrimitive5)
|
10507
10941
|
});
|
10508
10942
|
var tachometer_vert_default = {
|
10509
|
-
...
|
10510
|
-
primitives: [...
|
10943
|
+
...rotatedSymbol26,
|
10944
|
+
primitives: [...rotatedSymbol26.primitives, letter5]
|
10511
10945
|
};
|
10512
10946
|
|
10513
10947
|
// assets/generated/triac.json
|
@@ -10701,36 +11135,36 @@ var triac_default = {
|
|
10701
11135
|
};
|
10702
11136
|
|
10703
11137
|
// symbols/triac_horz.ts
|
10704
|
-
var { paths:
|
11138
|
+
var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles40 } = triac_default;
|
10705
11139
|
var triac_horz_default = defineSymbol({
|
10706
11140
|
primitives: [
|
10707
|
-
...Object.values(
|
10708
|
-
...Object.values(
|
10709
|
-
{ ...
|
10710
|
-
{ ...
|
11141
|
+
...Object.values(paths50),
|
11142
|
+
...Object.values(circles40),
|
11143
|
+
{ ...texts68.top1, anchor: "middle_left" },
|
11144
|
+
{ ...texts68.bottom1, anchor: "middle_top" }
|
10711
11145
|
],
|
10712
11146
|
ports: [
|
10713
|
-
{ ...
|
11147
|
+
{ ...refblocks50.left1, labels: ["1"] },
|
10714
11148
|
// TODO add more "standard" labels
|
10715
|
-
{ ...
|
11149
|
+
{ ...refblocks50.right1, labels: ["2"] },
|
10716
11150
|
// TODO add more "standard" labels
|
10717
|
-
{ ...
|
11151
|
+
{ ...refblocks50.bottom1, labels: ["3"] }
|
10718
11152
|
// TODO add more "standard" labels
|
10719
11153
|
],
|
10720
|
-
size: { width:
|
10721
|
-
center: { x:
|
11154
|
+
size: { width: bounds50.width, height: bounds50.height },
|
11155
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
10722
11156
|
});
|
10723
11157
|
|
10724
11158
|
// symbols/triac_vert.ts
|
10725
|
-
var
|
10726
|
-
var
|
11159
|
+
var rotatedSymbol27 = rotateSymbol(triac_horz_default);
|
11160
|
+
var texts69 = rotatedSymbol27.primitives.filter(
|
10727
11161
|
(primitive) => primitive.type === "text"
|
10728
11162
|
);
|
10729
|
-
var
|
10730
|
-
var
|
10731
|
-
|
10732
|
-
|
10733
|
-
var triac_vert_default =
|
11163
|
+
var ref31 = texts69.find((text) => text.text === "{REF}");
|
11164
|
+
var val26 = texts69.find((text) => text.text === "{VAL}");
|
11165
|
+
ref31.y = 0;
|
11166
|
+
val26.y = 0;
|
11167
|
+
var triac_vert_default = rotatedSymbol27;
|
10734
11168
|
|
10735
11169
|
// assets/generated/tunnel_diode.json
|
10736
11170
|
var tunnel_diode_default = {
|
@@ -10894,34 +11328,34 @@ var tunnel_diode_default = {
|
|
10894
11328
|
};
|
10895
11329
|
|
10896
11330
|
// symbols/tunnel_diode_horz.ts
|
10897
|
-
var { paths:
|
11331
|
+
var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles41 } = tunnel_diode_default;
|
10898
11332
|
var tunnel_diode_horz_default = defineSymbol({
|
10899
11333
|
primitives: [
|
10900
|
-
...Object.values(
|
10901
|
-
...Object.values(
|
10902
|
-
{ ...
|
10903
|
-
{ ...
|
11334
|
+
...Object.values(paths51),
|
11335
|
+
...Object.values(circles41),
|
11336
|
+
{ ...texts70.top1, anchor: "middle_bottom" },
|
11337
|
+
{ ...texts70.bottom1, anchor: "middle_top" }
|
10904
11338
|
],
|
10905
11339
|
ports: [
|
10906
|
-
{ ...
|
11340
|
+
{ ...refblocks51.left1, labels: ["1"] },
|
10907
11341
|
// TODO add more "standard" labels
|
10908
|
-
{ ...
|
11342
|
+
{ ...refblocks51.right1, labels: ["2"] }
|
10909
11343
|
// TODO add more "standard" labels
|
10910
11344
|
],
|
10911
|
-
size: { width:
|
10912
|
-
center: { x:
|
11345
|
+
size: { width: bounds51.width, height: bounds51.height },
|
11346
|
+
center: { x: bounds51.centerX, y: bounds51.centerY }
|
10913
11347
|
});
|
10914
11348
|
|
10915
11349
|
// symbols/tunnel_diode_vert.ts
|
10916
11350
|
var rotated11 = rotateSymbol(tunnel_diode_horz_default);
|
10917
|
-
var
|
11351
|
+
var ref32 = rotated11.primitives.find(
|
10918
11352
|
(p) => p.type === "text" && p.text === "{REF}"
|
10919
11353
|
);
|
10920
|
-
var
|
11354
|
+
var val27 = rotated11.primitives.find(
|
10921
11355
|
(p) => p.type === "text" && p.text === "{VAL}"
|
10922
11356
|
);
|
10923
|
-
|
10924
|
-
|
11357
|
+
ref32.anchor = "middle_left";
|
11358
|
+
val27.anchor = "middle_right";
|
10925
11359
|
var tunnel_diode_vert_default = rotated11;
|
10926
11360
|
|
10927
11361
|
// assets/generated/unijunction_transistor.json
|
@@ -11092,37 +11526,37 @@ var unijunction_transistor_default = {
|
|
11092
11526
|
};
|
11093
11527
|
|
11094
11528
|
// symbols/unijunction_transistor_horz.ts
|
11095
|
-
var { paths:
|
11529
|
+
var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles42 } = unijunction_transistor_default;
|
11096
11530
|
var unijunction_transistor_horz_default = defineSymbol({
|
11097
11531
|
primitives: [
|
11098
|
-
...Object.values(
|
11099
|
-
...Object.values(
|
11100
|
-
{ ...
|
11101
|
-
{ ...
|
11532
|
+
...Object.values(paths52),
|
11533
|
+
...Object.values(circles42),
|
11534
|
+
{ ...texts71.top1, anchor: "middle_left" },
|
11535
|
+
{ ...texts71.bottom1, anchor: "middle_right" }
|
11102
11536
|
],
|
11103
11537
|
ports: [
|
11104
|
-
{ ...
|
11538
|
+
{ ...refblocks52.top1, labels: ["1"] },
|
11105
11539
|
// TODO add more "standard" labels
|
11106
|
-
{ ...
|
11540
|
+
{ ...refblocks52.bottom1, labels: ["2"] },
|
11107
11541
|
// TODO add more "standard" labels
|
11108
|
-
{ ...
|
11542
|
+
{ ...refblocks52.left1, labels: ["3"] }
|
11109
11543
|
// TODO add more "standard" labels
|
11110
11544
|
],
|
11111
|
-
size: { width:
|
11112
|
-
center: { x:
|
11545
|
+
size: { width: bounds52.width, height: bounds52.height },
|
11546
|
+
center: { x: bounds52.centerX, y: bounds52.centerY }
|
11113
11547
|
});
|
11114
11548
|
|
11115
11549
|
// symbols/unijunction_transistor_vert.ts
|
11116
|
-
var
|
11117
|
-
var
|
11550
|
+
var rotatedSymbol28 = rotateSymbol(unijunction_transistor_horz_default);
|
11551
|
+
var texts72 = rotatedSymbol28.primitives.filter(
|
11118
11552
|
(primitive) => primitive.type === "text"
|
11119
11553
|
);
|
11120
|
-
var
|
11121
|
-
|
11122
|
-
var
|
11123
|
-
|
11124
|
-
|
11125
|
-
var unijunction_transistor_vert_default =
|
11554
|
+
var ref33 = texts72.find((text) => text.text === "{REF}");
|
11555
|
+
ref33.y = 0.1;
|
11556
|
+
var val28 = texts72.find((text) => text.text === "{VAL}");
|
11557
|
+
val28.y = 0.1;
|
11558
|
+
val28.x = -0.4;
|
11559
|
+
var unijunction_transistor_vert_default = rotatedSymbol28;
|
11126
11560
|
|
11127
11561
|
// assets/generated/var_meter.json
|
11128
11562
|
var var_meter_default = {
|
@@ -11211,33 +11645,33 @@ var var_meter_default = {
|
|
11211
11645
|
};
|
11212
11646
|
|
11213
11647
|
// symbols/var_meter_horz.ts
|
11214
|
-
var { paths:
|
11648
|
+
var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles43 } = var_meter_default;
|
11215
11649
|
var var_meter_horz_default = defineSymbol({
|
11216
11650
|
primitives: [
|
11217
|
-
...Object.values(
|
11218
|
-
...Object.values(
|
11651
|
+
...Object.values(paths53),
|
11652
|
+
...Object.values(circles43),
|
11219
11653
|
{
|
11220
|
-
...
|
11654
|
+
...texts73.top1,
|
11221
11655
|
x: 0,
|
11222
11656
|
y: -0.3594553499999995,
|
11223
11657
|
anchor: "middle_bottom"
|
11224
11658
|
},
|
11225
11659
|
{
|
11226
|
-
...
|
11660
|
+
...texts73.bottom1,
|
11227
11661
|
x: 0,
|
11228
11662
|
y: 0.35,
|
11229
11663
|
anchor: "middle_top"
|
11230
11664
|
},
|
11231
|
-
{ ...
|
11665
|
+
{ ...texts73.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
11232
11666
|
],
|
11233
11667
|
ports: [
|
11234
|
-
{ ...
|
11668
|
+
{ ...refblocks53.left1, labels: ["1"] },
|
11235
11669
|
// TODO add more "standard" labels
|
11236
|
-
{ ...
|
11670
|
+
{ ...refblocks53.right1, labels: ["2"] }
|
11237
11671
|
// TODO add more "standard" labels
|
11238
11672
|
],
|
11239
|
-
size: { width:
|
11240
|
-
center: { x:
|
11673
|
+
size: { width: bounds53.width, height: bounds53.height },
|
11674
|
+
center: { x: bounds53.centerX, y: bounds53.centerY }
|
11241
11675
|
});
|
11242
11676
|
|
11243
11677
|
// symbols/var_meter_vert.ts
|
@@ -11390,34 +11824,34 @@ var varactor_diode_default = {
|
|
11390
11824
|
};
|
11391
11825
|
|
11392
11826
|
// symbols/varactor_diode_horz.ts
|
11393
|
-
var { paths:
|
11827
|
+
var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles44 } = varactor_diode_default;
|
11394
11828
|
var varactor_diode_horz_default = defineSymbol({
|
11395
11829
|
primitives: [
|
11396
|
-
...Object.values(
|
11397
|
-
...Object.values(
|
11398
|
-
{ ...
|
11399
|
-
{ ...
|
11830
|
+
...Object.values(paths54),
|
11831
|
+
...Object.values(circles44),
|
11832
|
+
{ ...texts74.top1, anchor: "middle_bottom" },
|
11833
|
+
{ ...texts74.bottom1, anchor: "middle_top" }
|
11400
11834
|
],
|
11401
11835
|
ports: [
|
11402
|
-
{ ...
|
11836
|
+
{ ...refblocks54.left1, labels: ["1"] },
|
11403
11837
|
// TODO add more "standard" labels
|
11404
|
-
{ ...
|
11838
|
+
{ ...refblocks54.right1, labels: ["2"] }
|
11405
11839
|
// TODO add more "standard" labels
|
11406
11840
|
],
|
11407
|
-
size: { width:
|
11408
|
-
center: { x:
|
11841
|
+
size: { width: bounds54.width, height: bounds54.height },
|
11842
|
+
center: { x: bounds54.centerX, y: bounds54.centerY }
|
11409
11843
|
});
|
11410
11844
|
|
11411
11845
|
// symbols/varactor_diode_vert.ts
|
11412
11846
|
var rotated12 = rotateSymbol(varactor_diode_horz_default);
|
11413
|
-
var
|
11847
|
+
var ref34 = rotated12.primitives.find(
|
11414
11848
|
(p) => p.type === "text" && p.text === "{REF}"
|
11415
11849
|
);
|
11416
|
-
var
|
11850
|
+
var val29 = rotated12.primitives.find(
|
11417
11851
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11418
11852
|
);
|
11419
|
-
|
11420
|
-
|
11853
|
+
ref34.anchor = "middle_left";
|
11854
|
+
val29.anchor = "middle_right";
|
11421
11855
|
var varactor_diode_vert_default = rotated12;
|
11422
11856
|
|
11423
11857
|
// assets/generated/varistor.json
|
@@ -11553,26 +11987,26 @@ var varistor_default = {
|
|
11553
11987
|
};
|
11554
11988
|
|
11555
11989
|
// symbols/varistor_horz.ts
|
11556
|
-
var { paths:
|
11990
|
+
var { paths: paths55, texts: texts75, bounds: bounds55, refblocks: refblocks55 } = varistor_default;
|
11557
11991
|
var varistor_horz_default = defineSymbol({
|
11558
11992
|
primitives: [
|
11559
|
-
...Object.values(
|
11560
|
-
{ ...
|
11561
|
-
{ ...
|
11993
|
+
...Object.values(paths55),
|
11994
|
+
{ ...texts75.top1, anchor: "middle_left" },
|
11995
|
+
{ ...texts75.bottom1, anchor: "middle_right" }
|
11562
11996
|
],
|
11563
11997
|
ports: [
|
11564
11998
|
{
|
11565
|
-
...
|
11999
|
+
...refblocks55.left1,
|
11566
12000
|
labels: ["1", "-"]
|
11567
12001
|
},
|
11568
12002
|
{
|
11569
|
-
...
|
12003
|
+
...refblocks55.right1,
|
11570
12004
|
labels: ["2", "+"]
|
11571
12005
|
}
|
11572
12006
|
],
|
11573
|
-
size: { width:
|
12007
|
+
size: { width: bounds55.width, height: bounds55.height },
|
11574
12008
|
//{ width: 1, height: 0.24 },
|
11575
|
-
center: { x:
|
12009
|
+
center: { x: bounds55.centerX, y: bounds55.centerY }
|
11576
12010
|
});
|
11577
12011
|
|
11578
12012
|
// symbols/varistor_vert.ts
|
@@ -11665,11 +12099,11 @@ var varmeter_default = {
|
|
11665
12099
|
};
|
11666
12100
|
|
11667
12101
|
// symbols/varmeter_horz.ts
|
11668
|
-
var { paths:
|
12102
|
+
var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles45 } = varmeter_default;
|
11669
12103
|
var varmeter_horz_default = defineSymbol({
|
11670
12104
|
primitives: [
|
11671
|
-
...Object.values(
|
11672
|
-
...Object.values(
|
12105
|
+
...Object.values(paths56),
|
12106
|
+
...Object.values(circles45),
|
11673
12107
|
{
|
11674
12108
|
type: "text",
|
11675
12109
|
text: "{REF}",
|
@@ -11684,16 +12118,16 @@ var varmeter_horz_default = defineSymbol({
|
|
11684
12118
|
y: 0.35,
|
11685
12119
|
anchor: "middle_top"
|
11686
12120
|
},
|
11687
|
-
{ ...
|
12121
|
+
{ ...texts76.left1, anchor: "center", fontSize: 0.2 }
|
11688
12122
|
],
|
11689
12123
|
ports: [
|
11690
|
-
{ ...
|
12124
|
+
{ ...refblocks56.left1, labels: ["1"] },
|
11691
12125
|
// TODO add more "standard" labels
|
11692
|
-
{ ...
|
12126
|
+
{ ...refblocks56.right1, labels: ["2"] }
|
11693
12127
|
// TODO add more "standard" labels
|
11694
12128
|
],
|
11695
|
-
size: { width:
|
11696
|
-
center: { x:
|
12129
|
+
size: { width: bounds56.width, height: bounds56.height },
|
12130
|
+
center: { x: bounds56.centerX, y: bounds56.centerY }
|
11697
12131
|
});
|
11698
12132
|
|
11699
12133
|
// symbols/varmeter_vert.ts
|
@@ -11701,13 +12135,13 @@ var { 5: letter6, ...rest6 } = varmeter_horz_default.primitives;
|
|
11701
12135
|
function isPrimitive6(value) {
|
11702
12136
|
return typeof value === "object";
|
11703
12137
|
}
|
11704
|
-
var
|
12138
|
+
var rotatedSymbol29 = rotateSymbol({
|
11705
12139
|
...varmeter_horz_default,
|
11706
12140
|
primitives: Object.values(rest6).filter(isPrimitive6)
|
11707
12141
|
});
|
11708
12142
|
var varmeter_vert_default = {
|
11709
|
-
...
|
11710
|
-
primitives: [...
|
12143
|
+
...rotatedSymbol29,
|
12144
|
+
primitives: [...rotatedSymbol29.primitives, letter6]
|
11711
12145
|
};
|
11712
12146
|
|
11713
12147
|
// assets/generated/volt_meter.json
|
@@ -11810,11 +12244,11 @@ var volt_meter_default = {
|
|
11810
12244
|
};
|
11811
12245
|
|
11812
12246
|
// symbols/volt_meter_horz.ts
|
11813
|
-
var { paths:
|
12247
|
+
var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles46, refblocks: refblocks57 } = volt_meter_default;
|
11814
12248
|
var volt_meter_horz_default = defineSymbol({
|
11815
12249
|
primitives: [
|
11816
|
-
...Object.values(
|
11817
|
-
...Object.values(
|
12250
|
+
...Object.values(paths57),
|
12251
|
+
...Object.values(circles46),
|
11818
12252
|
{
|
11819
12253
|
type: "text",
|
11820
12254
|
text: "{REF}",
|
@@ -11831,13 +12265,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
11831
12265
|
}
|
11832
12266
|
],
|
11833
12267
|
ports: [
|
11834
|
-
{ ...
|
12268
|
+
{ ...refblocks57.left1, labels: ["1"] },
|
11835
12269
|
// TODO add more "standard" labels
|
11836
|
-
{ ...
|
12270
|
+
{ ...refblocks57.right1, labels: ["2"] }
|
11837
12271
|
// TODO add more "standard" labels
|
11838
12272
|
],
|
11839
|
-
size: { width:
|
11840
|
-
center: { x:
|
12273
|
+
size: { width: bounds57.width, height: bounds57.height },
|
12274
|
+
center: { x: bounds57.centerX, y: bounds57.centerY }
|
11841
12275
|
});
|
11842
12276
|
|
11843
12277
|
// symbols/volt_meter_vert.ts
|
@@ -11930,11 +12364,11 @@ var watt_hour_meter_default = {
|
|
11930
12364
|
};
|
11931
12365
|
|
11932
12366
|
// symbols/watt_hour_meter_horz.ts
|
11933
|
-
var { paths:
|
12367
|
+
var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles47 } = watt_hour_meter_default;
|
11934
12368
|
var watt_hour_meter_horz_default = defineSymbol({
|
11935
12369
|
primitives: [
|
11936
|
-
...Object.values(
|
11937
|
-
...Object.values(
|
12370
|
+
...Object.values(paths58),
|
12371
|
+
...Object.values(circles47),
|
11938
12372
|
{
|
11939
12373
|
type: "text",
|
11940
12374
|
text: "{REF}",
|
@@ -11949,16 +12383,16 @@ var watt_hour_meter_horz_default = defineSymbol({
|
|
11949
12383
|
y: 0.35,
|
11950
12384
|
anchor: "middle_top"
|
11951
12385
|
},
|
11952
|
-
{ ...
|
12386
|
+
{ ...texts78.left1, anchor: "center", fontSize: 0.2 }
|
11953
12387
|
],
|
11954
12388
|
ports: [
|
11955
|
-
{ ...
|
12389
|
+
{ ...refblocks58.left1, labels: ["1"] },
|
11956
12390
|
// TODO add more "standard" labels
|
11957
|
-
{ ...
|
12391
|
+
{ ...refblocks58.right1, labels: ["2"] }
|
11958
12392
|
// TODO add more "standard" labels
|
11959
12393
|
],
|
11960
|
-
size: { width:
|
11961
|
-
center: { x:
|
12394
|
+
size: { width: bounds58.width, height: bounds58.height },
|
12395
|
+
center: { x: bounds58.centerX, y: bounds58.centerY }
|
11962
12396
|
});
|
11963
12397
|
|
11964
12398
|
// symbols/watt_hour_meter_vert.ts
|
@@ -11966,13 +12400,13 @@ var { 5: letter7, ...rest7 } = watt_hour_meter_horz_default.primitives;
|
|
11966
12400
|
function isPrimitive7(value) {
|
11967
12401
|
return typeof value === "object";
|
11968
12402
|
}
|
11969
|
-
var
|
12403
|
+
var rotatedSymbol30 = rotateSymbol({
|
11970
12404
|
...watt_hour_meter_horz_default,
|
11971
12405
|
primitives: Object.values(rest7).filter(isPrimitive7)
|
11972
12406
|
});
|
11973
12407
|
var watt_hour_meter_vert_default = {
|
11974
|
-
...
|
11975
|
-
primitives: [...
|
12408
|
+
...rotatedSymbol30,
|
12409
|
+
primitives: [...rotatedSymbol30.primitives, letter7]
|
11976
12410
|
};
|
11977
12411
|
|
11978
12412
|
// assets/generated/wattmeter.json
|
@@ -12062,11 +12496,11 @@ var wattmeter_default = {
|
|
12062
12496
|
};
|
12063
12497
|
|
12064
12498
|
// symbols/wattmeter_horz.ts
|
12065
|
-
var { paths:
|
12499
|
+
var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles48 } = wattmeter_default;
|
12066
12500
|
var wattmeter_horz_default = defineSymbol({
|
12067
12501
|
primitives: [
|
12068
|
-
...Object.values(
|
12069
|
-
...Object.values(
|
12502
|
+
...Object.values(paths59),
|
12503
|
+
...Object.values(circles48),
|
12070
12504
|
{
|
12071
12505
|
type: "text",
|
12072
12506
|
text: "{REF}",
|
@@ -12081,16 +12515,16 @@ var wattmeter_horz_default = defineSymbol({
|
|
12081
12515
|
y: 0.35,
|
12082
12516
|
anchor: "middle_top"
|
12083
12517
|
},
|
12084
|
-
{ ...
|
12518
|
+
{ ...texts79.left1, anchor: "center", fontSize: 0.3 }
|
12085
12519
|
],
|
12086
12520
|
ports: [
|
12087
|
-
{ ...
|
12521
|
+
{ ...refblocks59.left1, labels: ["1"] },
|
12088
12522
|
// TODO add more "standard" labels
|
12089
|
-
{ ...
|
12523
|
+
{ ...refblocks59.right1, labels: ["2"] }
|
12090
12524
|
// TODO add more "standard" labels
|
12091
12525
|
],
|
12092
|
-
size: { width:
|
12093
|
-
center: { x:
|
12526
|
+
size: { width: bounds59.width, height: bounds59.height },
|
12527
|
+
center: { x: bounds59.centerX, y: bounds59.centerY }
|
12094
12528
|
});
|
12095
12529
|
|
12096
12530
|
// symbols/wattmeter_vert.ts
|
@@ -12098,13 +12532,13 @@ var { 5: letter8, ...rest8 } = wattmeter_horz_default.primitives;
|
|
12098
12532
|
function isPrimitive8(value) {
|
12099
12533
|
return typeof value === "object";
|
12100
12534
|
}
|
12101
|
-
var
|
12535
|
+
var rotatedSymbol31 = rotateSymbol({
|
12102
12536
|
...wattmeter_horz_default,
|
12103
12537
|
primitives: Object.values(rest8).filter(isPrimitive8)
|
12104
12538
|
});
|
12105
12539
|
var wattmeter_vert_default = {
|
12106
|
-
...
|
12107
|
-
primitives: [...
|
12540
|
+
...rotatedSymbol31,
|
12541
|
+
primitives: [...rotatedSymbol31.primitives, letter8]
|
12108
12542
|
};
|
12109
12543
|
|
12110
12544
|
// assets/generated/zener_diode.json
|
@@ -12254,34 +12688,34 @@ var zener_diode_default = {
|
|
12254
12688
|
};
|
12255
12689
|
|
12256
12690
|
// symbols/zener_diode_horz.ts
|
12257
|
-
var { paths:
|
12691
|
+
var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles49 } = zener_diode_default;
|
12258
12692
|
var zener_diode_horz_default = defineSymbol({
|
12259
12693
|
primitives: [
|
12260
|
-
...Object.values(
|
12261
|
-
...Object.values(
|
12262
|
-
{ ...
|
12263
|
-
{ ...
|
12694
|
+
...Object.values(paths60),
|
12695
|
+
...Object.values(circles49),
|
12696
|
+
{ ...texts80.top1, anchor: "middle_bottom" },
|
12697
|
+
{ ...texts80.bottom1, anchor: "middle_top" }
|
12264
12698
|
],
|
12265
12699
|
ports: [
|
12266
|
-
{ ...
|
12700
|
+
{ ...refblocks60.left1, labels: ["1"] },
|
12267
12701
|
// TODO add more "standard" labels
|
12268
|
-
{ ...
|
12702
|
+
{ ...refblocks60.right1, labels: ["2"] }
|
12269
12703
|
// TODO add more "standard" labels
|
12270
12704
|
],
|
12271
|
-
size: { width:
|
12272
|
-
center: { x:
|
12705
|
+
size: { width: bounds60.width, height: bounds60.height },
|
12706
|
+
center: { x: bounds60.centerX, y: bounds60.centerY }
|
12273
12707
|
});
|
12274
12708
|
|
12275
12709
|
// symbols/zener_diode_vert.ts
|
12276
12710
|
var rotated13 = rotateSymbol(zener_diode_horz_default);
|
12277
|
-
var
|
12711
|
+
var ref35 = rotated13.primitives.find(
|
12278
12712
|
(p) => p.type === "text" && p.text === "{REF}"
|
12279
12713
|
);
|
12280
|
-
var
|
12714
|
+
var val30 = rotated13.primitives.find(
|
12281
12715
|
(p) => p.type === "text" && p.text === "{VAL}"
|
12282
12716
|
);
|
12283
|
-
|
12284
|
-
|
12717
|
+
ref35.anchor = "middle_left";
|
12718
|
+
val30.anchor = "middle_right";
|
12285
12719
|
var zener_diode_vert_default = rotated13;
|
12286
12720
|
|
12287
12721
|
// generated/symbols-index.ts
|
@@ -12318,10 +12752,14 @@ var symbols_index_default = {
|
|
12318
12752
|
"frequency_meter_vert": frequency_meter_vert_default,
|
12319
12753
|
"fuse_horz": fuse_horz_default,
|
12320
12754
|
"fuse_vert": fuse_vert_default,
|
12755
|
+
"ground_horz": ground_horz_default,
|
12756
|
+
"ground_vert": ground_vert_default,
|
12321
12757
|
"gunn_diode_horz": gunn_diode_horz_default,
|
12322
12758
|
"gunn_diode_vert": gunn_diode_vert_default,
|
12323
12759
|
"igbt_transistor_horz": igbt_transistor_horz_default,
|
12324
12760
|
"igbt_transistor_vert": igbt_transistor_vert_default,
|
12761
|
+
"illuminated_push_button_normally_open_horz": illuminated_push_button_normally_open_horz_default,
|
12762
|
+
"illuminated_push_button_normally_open_vert": illuminated_push_button_normally_open_vert_default,
|
12325
12763
|
"inductor_horz": inductor_horz_default,
|
12326
12764
|
"inductor_vert": inductor_vert_default,
|
12327
12765
|
"laser_diode_horz": laser_diode_horz_default,
|