schematic-symbols 0.0.91 → 0.0.92
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js
CHANGED
@@ -3293,6 +3293,269 @@ ref7.y += 0.065;
|
|
3293
3293
|
val7.y += 0.065;
|
3294
3294
|
var igbt_transistor_vert_default = rotated2;
|
3295
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
|
+
|
3296
3559
|
// assets/generated/inductor.json
|
3297
3560
|
var inductor_default = {
|
3298
3561
|
paths: {
|
@@ -4369,22 +4632,22 @@ var inductor_default = {
|
|
4369
4632
|
};
|
4370
4633
|
|
4371
4634
|
// symbols/inductor_horz.ts
|
4372
|
-
var { paths:
|
4635
|
+
var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles: circles18 } = inductor_default;
|
4373
4636
|
var inductor_horz_default = defineSymbol({
|
4374
4637
|
primitives: [
|
4375
|
-
...Object.values(
|
4376
|
-
...Object.values(
|
4377
|
-
{ ...
|
4378
|
-
{ ...
|
4638
|
+
...Object.values(paths22),
|
4639
|
+
...Object.values(circles18),
|
4640
|
+
{ ...texts25.top1, anchor: "middle_bottom" },
|
4641
|
+
{ ...texts25.bottom1, anchor: "middle_top" }
|
4379
4642
|
],
|
4380
4643
|
ports: [
|
4381
|
-
{ ...
|
4644
|
+
{ ...refblocks22.left1, labels: ["1"] },
|
4382
4645
|
// TODO add more "standard" labels
|
4383
|
-
{ ...
|
4646
|
+
{ ...refblocks22.right1, labels: ["2"] }
|
4384
4647
|
// TODO add more "standard" labels
|
4385
4648
|
],
|
4386
|
-
size: { width:
|
4387
|
-
center: { x:
|
4649
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4650
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4388
4651
|
});
|
4389
4652
|
|
4390
4653
|
// symbols/inductor_vert.ts
|
@@ -4630,31 +4893,31 @@ var laser_diode_default = {
|
|
4630
4893
|
};
|
4631
4894
|
|
4632
4895
|
// symbols/laser_diode_horz.ts
|
4633
|
-
var { paths:
|
4896
|
+
var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles19 } = laser_diode_default;
|
4634
4897
|
var laser_diode_horz_default = defineSymbol({
|
4635
4898
|
primitives: [
|
4636
|
-
...Object.values(
|
4637
|
-
...Object.values(
|
4638
|
-
{ ...
|
4639
|
-
{ ...
|
4899
|
+
...Object.values(paths23),
|
4900
|
+
...Object.values(circles19),
|
4901
|
+
{ ...texts26.top1, anchor: "middle_left" },
|
4902
|
+
{ ...texts26.bottom1, anchor: "middle_bottom" }
|
4640
4903
|
],
|
4641
4904
|
ports: [
|
4642
|
-
{ ...
|
4905
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4643
4906
|
// TODO add more "standard" labels
|
4644
|
-
{ ...
|
4907
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4645
4908
|
// TODO add more "standard" labels
|
4646
4909
|
],
|
4647
|
-
size: { width:
|
4648
|
-
center: { x:
|
4910
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4911
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4649
4912
|
});
|
4650
4913
|
|
4651
4914
|
// symbols/laser_diode_vert.ts
|
4652
|
-
var
|
4653
|
-
var
|
4654
|
-
var
|
4655
|
-
|
4656
|
-
|
4657
|
-
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;
|
4658
4921
|
|
4659
4922
|
// assets/generated/led.json
|
4660
4923
|
var led_default = {
|
@@ -4872,35 +5135,35 @@ var led_default = {
|
|
4872
5135
|
};
|
4873
5136
|
|
4874
5137
|
// symbols/led_horz.ts
|
4875
|
-
var { paths:
|
5138
|
+
var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24 } = led_default;
|
4876
5139
|
var led_horz_default = defineSymbol({
|
4877
5140
|
primitives: [
|
4878
|
-
...Object.values(
|
4879
|
-
{ ...
|
4880
|
-
{ ...
|
5141
|
+
...Object.values(paths24),
|
5142
|
+
{ ...texts28.bottom1, anchor: "middle_right" },
|
5143
|
+
{ ...texts28.right1, anchor: "middle_left" }
|
4881
5144
|
],
|
4882
5145
|
ports: [
|
4883
|
-
{ ...
|
4884
|
-
{ ...
|
5146
|
+
{ ...refblocks24.left1, labels: ["1", "anode", "pos"] },
|
5147
|
+
{ ...refblocks24.right1, labels: ["2", "cathode", "neg"] }
|
4885
5148
|
],
|
4886
|
-
size: { width:
|
4887
|
-
center: { x:
|
5149
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5150
|
+
center: { x: bounds24.centerX, y: bounds24.centerY + 0.1 }
|
4888
5151
|
});
|
4889
5152
|
|
4890
5153
|
// symbols/led_vert.ts
|
4891
5154
|
var rotated3 = rotateSymbol(led_horz_default);
|
4892
|
-
var
|
5155
|
+
var ref10 = rotated3.primitives.find(
|
4893
5156
|
(p) => p.type === "text" && p.text === "{REF}"
|
4894
5157
|
);
|
4895
|
-
var
|
5158
|
+
var val9 = rotated3.primitives.find(
|
4896
5159
|
(p) => p.type === "text" && p.text === "{VAL}"
|
4897
5160
|
);
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
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;
|
4904
5167
|
var led_vert_default = rotated3;
|
4905
5168
|
|
4906
5169
|
// assets/generated/light_dependent_resistor.json
|
@@ -5128,36 +5391,36 @@ var light_dependent_resistor_default = {
|
|
5128
5391
|
};
|
5129
5392
|
|
5130
5393
|
// symbols/light_dependent_resistor_horz.ts
|
5131
|
-
var { paths:
|
5394
|
+
var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles20 } = light_dependent_resistor_default;
|
5132
5395
|
var light_dependent_resistor_horz_default = defineSymbol({
|
5133
5396
|
primitives: [
|
5134
|
-
...Object.values(
|
5135
|
-
...Object.values(
|
5136
|
-
{ ...
|
5137
|
-
{ ...
|
5397
|
+
...Object.values(paths25),
|
5398
|
+
...Object.values(circles20),
|
5399
|
+
{ ...texts29.top1, anchor: "middle_left", x: 0 },
|
5400
|
+
{ ...texts29.bottom1, anchor: "middle_left", x: 0 }
|
5138
5401
|
],
|
5139
5402
|
ports: [
|
5140
|
-
{ ...
|
5403
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
5141
5404
|
// TODO add more "standard" labels
|
5142
|
-
{ ...
|
5405
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
5143
5406
|
// TODO add more "standard" labels
|
5144
5407
|
],
|
5145
|
-
size: { width:
|
5146
|
-
center: { x:
|
5408
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5409
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
5147
5410
|
});
|
5148
5411
|
|
5149
5412
|
// symbols/light_dependent_resistor_vert.ts
|
5150
|
-
var
|
5151
|
-
var
|
5152
|
-
var
|
5153
|
-
|
5154
|
-
|
5155
|
-
|
5156
|
-
var
|
5157
|
-
|
5158
|
-
|
5159
|
-
|
5160
|
-
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;
|
5161
5424
|
|
5162
5425
|
// assets/generated/mosfet_depletion_normally_on.json
|
5163
5426
|
var mosfet_depletion_normally_on_default = {
|
@@ -5430,37 +5693,37 @@ var mosfet_depletion_normally_on_default = {
|
|
5430
5693
|
};
|
5431
5694
|
|
5432
5695
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
5433
|
-
var { paths:
|
5696
|
+
var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26 } = mosfet_depletion_normally_on_default;
|
5434
5697
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
5435
5698
|
primitives: [
|
5436
|
-
...Object.values(
|
5437
|
-
{ ...
|
5438
|
-
{ ...
|
5699
|
+
...Object.values(paths26),
|
5700
|
+
{ ...texts31.right1, anchor: "middle_left" },
|
5701
|
+
{ ...texts31.right2, anchor: "middle_left" }
|
5439
5702
|
],
|
5440
5703
|
ports: [
|
5441
|
-
{ ...
|
5704
|
+
{ ...refblocks26.top1, labels: ["1"] },
|
5442
5705
|
// TODO add more "standard" labels
|
5443
|
-
{ ...
|
5706
|
+
{ ...refblocks26.bottom1, labels: ["2"] },
|
5444
5707
|
// TODO add more "standard" labels
|
5445
|
-
{ ...
|
5708
|
+
{ ...refblocks26.left1, labels: ["3"] }
|
5446
5709
|
// TODO add more "standard" labels
|
5447
5710
|
],
|
5448
|
-
size: { width:
|
5449
|
-
center: { x:
|
5711
|
+
size: { width: bounds26.width + 0.4, height: bounds26.height },
|
5712
|
+
center: { x: bounds26.centerX + 0.2, y: bounds26.centerY }
|
5450
5713
|
});
|
5451
5714
|
|
5452
5715
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
5453
5716
|
var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
|
5454
|
-
var
|
5717
|
+
var ref12 = rotated4.primitives.find(
|
5455
5718
|
(p) => p.type === "text" && p.text === "{REF}"
|
5456
5719
|
);
|
5457
|
-
var
|
5720
|
+
var val11 = rotated4.primitives.find(
|
5458
5721
|
(p) => p.type === "text" && p.text === "{VAL}"
|
5459
5722
|
);
|
5460
|
-
|
5461
|
-
|
5462
|
-
|
5463
|
-
|
5723
|
+
ref12.anchor = "middle_top";
|
5724
|
+
val11.anchor = "middle_top";
|
5725
|
+
ref12.x = val11.x;
|
5726
|
+
val11.y += 0.15;
|
5464
5727
|
var mosfet_depletion_normally_on_vert_default = rotated4;
|
5465
5728
|
|
5466
5729
|
// assets/generated/mushroom_head_normally_open_momentary.json
|
@@ -6072,36 +6335,36 @@ var mushroom_head_normally_open_momentary_default = {
|
|
6072
6335
|
};
|
6073
6336
|
|
6074
6337
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
6075
|
-
var { paths:
|
6338
|
+
var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = mushroom_head_normally_open_momentary_default;
|
6076
6339
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
6077
6340
|
primitives: [
|
6078
|
-
...Object.values(
|
6079
|
-
...Object.values(
|
6080
|
-
{ ...
|
6081
|
-
{ ...
|
6341
|
+
...Object.values(paths27),
|
6342
|
+
...Object.values(circles21),
|
6343
|
+
{ ...texts32.top1, anchor: "middle_bottom", x: 0 },
|
6344
|
+
{ ...texts32.bottom1, anchor: "middle_top", x: 0 }
|
6082
6345
|
],
|
6083
6346
|
ports: [
|
6084
|
-
{ ...
|
6085
|
-
{ ...
|
6347
|
+
{ ...refblocks27.left1, labels: ["1"] },
|
6348
|
+
{ ...refblocks27.right1, labels: ["2"] }
|
6086
6349
|
],
|
6087
|
-
size: { width:
|
6088
|
-
center: { x:
|
6350
|
+
size: { width: bounds27.width, height: bounds27.height },
|
6351
|
+
center: { x: bounds27.centerX + 6e-3, y: bounds27.centerY + 0.06 }
|
6089
6352
|
});
|
6090
6353
|
|
6091
6354
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
6092
6355
|
var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
|
6093
|
-
var
|
6356
|
+
var ref13 = rotated5.primitives.find(
|
6094
6357
|
(p) => p.type === "text" && p.text === "{REF}"
|
6095
6358
|
);
|
6096
|
-
var
|
6359
|
+
var val12 = rotated5.primitives.find(
|
6097
6360
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6098
6361
|
);
|
6099
|
-
|
6100
|
-
|
6101
|
-
|
6102
|
-
|
6103
|
-
|
6104
|
-
|
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;
|
6105
6368
|
var mushroom_head_normally_open_momentary_vert_default = rotated5;
|
6106
6369
|
|
6107
6370
|
// assets/generated/n_channel_d_mosfet_transistor.json
|
@@ -6298,38 +6561,38 @@ var n_channel_d_mosfet_transistor_default = {
|
|
6298
6561
|
};
|
6299
6562
|
|
6300
6563
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
6301
|
-
var { paths:
|
6564
|
+
var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = n_channel_d_mosfet_transistor_default;
|
6302
6565
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
6303
6566
|
primitives: [
|
6304
|
-
...Object.values(
|
6305
|
-
...Object.values(
|
6306
|
-
{ ...
|
6307
|
-
{ ...
|
6567
|
+
...Object.values(paths28),
|
6568
|
+
...Object.values(circles22),
|
6569
|
+
{ ...texts33.top1, anchor: "middle_right", x: 0 },
|
6570
|
+
{ ...texts33.bottom1, anchor: "middle_right", x: 0 }
|
6308
6571
|
],
|
6309
6572
|
ports: [
|
6310
|
-
{ ...
|
6573
|
+
{ ...refblocks28.top1, labels: ["1", "drain"] },
|
6311
6574
|
// TODO add more "standard" labels
|
6312
|
-
{ ...
|
6575
|
+
{ ...refblocks28.bottom1, labels: ["2", "source"] },
|
6313
6576
|
// TODO add more "standard" labels
|
6314
|
-
{ ...
|
6577
|
+
{ ...refblocks28.left1, labels: ["3", "gate"] }
|
6315
6578
|
// TODO add more "standard" labels
|
6316
6579
|
],
|
6317
|
-
size: { width:
|
6318
|
-
center: { x:
|
6580
|
+
size: { width: bounds28.width, height: bounds28.height },
|
6581
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
6319
6582
|
});
|
6320
6583
|
|
6321
6584
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
6322
|
-
var
|
6323
|
-
var
|
6324
|
-
var
|
6325
|
-
|
6326
|
-
|
6327
|
-
|
6328
|
-
var
|
6329
|
-
|
6330
|
-
|
6331
|
-
|
6332
|
-
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;
|
6333
6596
|
|
6334
6597
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
6335
6598
|
var n_channel_e_mosfet_transistor_default = {
|
@@ -6555,38 +6818,38 @@ var n_channel_e_mosfet_transistor_default = {
|
|
6555
6818
|
};
|
6556
6819
|
|
6557
6820
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
6558
|
-
var { paths:
|
6821
|
+
var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = n_channel_e_mosfet_transistor_default;
|
6559
6822
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
6560
6823
|
primitives: [
|
6561
|
-
...Object.values(
|
6562
|
-
...Object.values(
|
6563
|
-
{ ...
|
6564
|
-
{ ...
|
6824
|
+
...Object.values(paths29),
|
6825
|
+
...Object.values(circles23),
|
6826
|
+
{ ...texts35.top1, anchor: "middle_right", x: 0 },
|
6827
|
+
{ ...texts35.bottom1, anchor: "middle_right", x: 0 }
|
6565
6828
|
],
|
6566
6829
|
ports: [
|
6567
|
-
{ ...
|
6830
|
+
{ ...refblocks29.top1, labels: ["1", "drain"] },
|
6568
6831
|
// TODO add more "standard" labels
|
6569
|
-
{ ...
|
6832
|
+
{ ...refblocks29.bottom1, labels: ["2", "source"] },
|
6570
6833
|
// TODO add more "standard" labels
|
6571
|
-
{ ...
|
6834
|
+
{ ...refblocks29.left1, labels: ["3", "gate"] }
|
6572
6835
|
// TODO add more "standard" labels
|
6573
6836
|
],
|
6574
|
-
size: { width:
|
6575
|
-
center: { x:
|
6837
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6838
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
6576
6839
|
});
|
6577
6840
|
|
6578
6841
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
6579
|
-
var
|
6580
|
-
var
|
6581
|
-
var
|
6582
|
-
|
6583
|
-
|
6584
|
-
|
6585
|
-
var
|
6586
|
-
|
6587
|
-
|
6588
|
-
|
6589
|
-
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;
|
6590
6853
|
|
6591
6854
|
// assets/generated/njfet_transistor.json
|
6592
6855
|
var njfet_transistor_default = {
|
@@ -6752,38 +7015,38 @@ var njfet_transistor_default = {
|
|
6752
7015
|
};
|
6753
7016
|
|
6754
7017
|
// symbols/njfet_transistor_horz.ts
|
6755
|
-
var { paths:
|
7018
|
+
var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = njfet_transistor_default;
|
6756
7019
|
var njfet_transistor_horz_default = defineSymbol({
|
6757
7020
|
primitives: [
|
6758
|
-
...Object.values(
|
6759
|
-
...Object.values(
|
6760
|
-
{ ...
|
6761
|
-
{ ...
|
7021
|
+
...Object.values(paths30),
|
7022
|
+
...Object.values(circles24),
|
7023
|
+
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
7024
|
+
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
6762
7025
|
],
|
6763
7026
|
ports: [
|
6764
|
-
{ ...
|
7027
|
+
{ ...refblocks30.top1, labels: ["1", "drain"] },
|
6765
7028
|
// TODO add more "standard" labels
|
6766
|
-
{ ...
|
7029
|
+
{ ...refblocks30.bottom1, labels: ["2", "source"] },
|
6767
7030
|
// TODO add more "standard" labels
|
6768
|
-
{ ...
|
7031
|
+
{ ...refblocks30.left1, labels: ["3", "gate"] }
|
6769
7032
|
// TODO add more "standard" labels
|
6770
7033
|
],
|
6771
|
-
size: { width:
|
6772
|
-
center: { x:
|
7034
|
+
size: { width: bounds30.width, height: bounds30.height },
|
7035
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
6773
7036
|
});
|
6774
7037
|
|
6775
7038
|
// symbols/njfet_transistor_vert.ts
|
6776
|
-
var
|
6777
|
-
var
|
6778
|
-
var
|
6779
|
-
|
6780
|
-
|
6781
|
-
|
6782
|
-
var
|
6783
|
-
|
6784
|
-
|
6785
|
-
|
6786
|
-
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;
|
6787
7050
|
|
6788
7051
|
// assets/generated/npn_bipolar_transistor.json
|
6789
7052
|
var npn_bipolar_transistor_default = {
|
@@ -6949,11 +7212,11 @@ var npn_bipolar_transistor_default = {
|
|
6949
7212
|
};
|
6950
7213
|
|
6951
7214
|
// symbols/npn_bipolar_transistor_horz.ts
|
6952
|
-
var { paths:
|
7215
|
+
var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles25 } = npn_bipolar_transistor_default;
|
6953
7216
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
6954
7217
|
primitives: [
|
6955
|
-
...Object.values(
|
6956
|
-
...Object.values(
|
7218
|
+
...Object.values(paths31),
|
7219
|
+
...Object.values(circles25),
|
6957
7220
|
{
|
6958
7221
|
type: "text",
|
6959
7222
|
text: "{REF}",
|
@@ -6970,20 +7233,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
6970
7233
|
}
|
6971
7234
|
],
|
6972
7235
|
ports: [
|
6973
|
-
{ ...
|
6974
|
-
{ ...
|
6975
|
-
{ ...
|
7236
|
+
{ ...refblocks31.top1, labels: ["1", "collector"] },
|
7237
|
+
{ ...refblocks31.bottom1, labels: ["2", "emitter"] },
|
7238
|
+
{ ...refblocks31.left1, labels: ["3", "base"] }
|
6976
7239
|
],
|
6977
|
-
size: { width:
|
6978
|
-
center: { x:
|
7240
|
+
size: { width: bounds31.width, height: bounds31.height },
|
7241
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6979
7242
|
});
|
6980
7243
|
|
6981
7244
|
// symbols/npn_bipolar_transistor_vert.ts
|
6982
|
-
var
|
6983
|
-
var
|
6984
|
-
var
|
6985
|
-
|
6986
|
-
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;
|
6987
7250
|
|
6988
7251
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
6989
7252
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -7179,38 +7442,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
7179
7442
|
};
|
7180
7443
|
|
7181
7444
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
7182
|
-
var { paths:
|
7445
|
+
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles26 } = p_channel_d_mosfet_transistor_default;
|
7183
7446
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
7184
7447
|
primitives: [
|
7185
|
-
...Object.values(
|
7186
|
-
...Object.values(
|
7187
|
-
{ ...
|
7188
|
-
{ ...
|
7448
|
+
...Object.values(paths32),
|
7449
|
+
...Object.values(circles26),
|
7450
|
+
{ ...texts41.top1, anchor: "middle_right", x: 0 },
|
7451
|
+
{ ...texts41.bottom1, anchor: "middle_right", x: 0 }
|
7189
7452
|
],
|
7190
7453
|
ports: [
|
7191
|
-
{ ...
|
7454
|
+
{ ...refblocks32.top1, labels: ["1", "drain"] },
|
7192
7455
|
// TODO add more "standard" labels
|
7193
|
-
{ ...
|
7456
|
+
{ ...refblocks32.bottom1, labels: ["2", "source"] },
|
7194
7457
|
// TODO add more "standard" labels
|
7195
|
-
{ ...
|
7458
|
+
{ ...refblocks32.left1, labels: ["3", "gate"] }
|
7196
7459
|
// TODO add more "standard" labels
|
7197
7460
|
],
|
7198
|
-
size: { width:
|
7199
|
-
center: { x:
|
7461
|
+
size: { width: bounds32.width, height: bounds32.height },
|
7462
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
7200
7463
|
});
|
7201
7464
|
|
7202
7465
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
7203
|
-
var
|
7204
|
-
var
|
7205
|
-
var
|
7206
|
-
|
7207
|
-
|
7208
|
-
|
7209
|
-
var
|
7210
|
-
|
7211
|
-
|
7212
|
-
|
7213
|
-
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;
|
7214
7477
|
|
7215
7478
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
7216
7479
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -7436,38 +7699,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
7436
7699
|
};
|
7437
7700
|
|
7438
7701
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
7439
|
-
var { paths:
|
7702
|
+
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles27 } = p_channel_e_mosfet_transistor_default;
|
7440
7703
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
7441
7704
|
primitives: [
|
7442
|
-
...Object.values(
|
7443
|
-
...Object.values(
|
7444
|
-
{ ...
|
7445
|
-
{ ...
|
7705
|
+
...Object.values(paths33),
|
7706
|
+
...Object.values(circles27),
|
7707
|
+
{ ...texts43.top1, anchor: "middle_right", x: 0 },
|
7708
|
+
{ ...texts43.bottom1, anchor: "middle_right", x: 0 }
|
7446
7709
|
],
|
7447
7710
|
ports: [
|
7448
|
-
{ ...
|
7711
|
+
{ ...refblocks33.top1, labels: ["1", "drain"] },
|
7449
7712
|
// TODO add more "standard" labels
|
7450
|
-
{ ...
|
7713
|
+
{ ...refblocks33.bottom1, labels: ["2", "source"] },
|
7451
7714
|
// TODO add more "standard" labels
|
7452
|
-
{ ...
|
7715
|
+
{ ...refblocks33.left1, labels: ["3", "gate"] }
|
7453
7716
|
// TODO add more "standard" labels
|
7454
7717
|
],
|
7455
|
-
size: { width:
|
7456
|
-
center: { x:
|
7718
|
+
size: { width: bounds33.width, height: bounds33.height },
|
7719
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
7457
7720
|
});
|
7458
7721
|
|
7459
7722
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
7460
|
-
var
|
7461
|
-
var
|
7462
|
-
var
|
7463
|
-
|
7464
|
-
|
7465
|
-
|
7466
|
-
var
|
7467
|
-
|
7468
|
-
|
7469
|
-
|
7470
|
-
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;
|
7471
7734
|
|
7472
7735
|
// assets/generated/photodiode.json
|
7473
7736
|
var photodiode_default = {
|
@@ -7694,11 +7957,11 @@ var photodiode_default = {
|
|
7694
7957
|
};
|
7695
7958
|
|
7696
7959
|
// symbols/photodiode_horz.ts
|
7697
|
-
var { paths:
|
7960
|
+
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles28 } = photodiode_default;
|
7698
7961
|
var photodiode_horz_default = defineSymbol({
|
7699
7962
|
primitives: [
|
7700
|
-
...Object.values(
|
7701
|
-
...Object.values(
|
7963
|
+
...Object.values(paths34),
|
7964
|
+
...Object.values(circles28),
|
7702
7965
|
{
|
7703
7966
|
type: "text",
|
7704
7967
|
text: "{REF}",
|
@@ -7715,22 +7978,22 @@ var photodiode_horz_default = defineSymbol({
|
|
7715
7978
|
}
|
7716
7979
|
],
|
7717
7980
|
ports: [
|
7718
|
-
{ ...
|
7981
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
7719
7982
|
// TODO add more "standard" labels
|
7720
|
-
{ ...
|
7983
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
7721
7984
|
// TODO add more "standard" labels
|
7722
7985
|
],
|
7723
|
-
size: { width:
|
7724
|
-
center: { x:
|
7986
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7987
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
7725
7988
|
});
|
7726
7989
|
|
7727
7990
|
// symbols/photodiode_vert.ts
|
7728
|
-
var
|
7729
|
-
var
|
7730
|
-
var
|
7731
|
-
|
7732
|
-
|
7733
|
-
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;
|
7734
7997
|
|
7735
7998
|
// assets/generated/pjfet_transistor.json
|
7736
7999
|
var pjfet_transistor_default = {
|
@@ -7896,38 +8159,38 @@ var pjfet_transistor_default = {
|
|
7896
8159
|
};
|
7897
8160
|
|
7898
8161
|
// symbols/pjfet_transistor_horz.ts
|
7899
|
-
var { paths:
|
8162
|
+
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles29 } = pjfet_transistor_default;
|
7900
8163
|
var pjfet_transistor_horz_default = defineSymbol({
|
7901
8164
|
primitives: [
|
7902
|
-
...Object.values(
|
7903
|
-
...Object.values(
|
7904
|
-
{ ...
|
7905
|
-
{ ...
|
8165
|
+
...Object.values(paths35),
|
8166
|
+
...Object.values(circles29),
|
8167
|
+
{ ...texts47.top1, anchor: "middle_right", x: 0 },
|
8168
|
+
{ ...texts47.bottom1, anchor: "middle_right" }
|
7906
8169
|
],
|
7907
8170
|
ports: [
|
7908
|
-
{ ...
|
8171
|
+
{ ...refblocks35.top1, labels: ["1", "drain"] },
|
7909
8172
|
// TODO add more "standard" labels
|
7910
|
-
{ ...
|
8173
|
+
{ ...refblocks35.bottom1, labels: ["2", "source"] },
|
7911
8174
|
// TODO add more "standard" labels
|
7912
|
-
{ ...
|
8175
|
+
{ ...refblocks35.left1, labels: ["3", "gate"] }
|
7913
8176
|
// TODO add more "standard" labels
|
7914
8177
|
],
|
7915
|
-
size: { width:
|
7916
|
-
center: { x:
|
8178
|
+
size: { width: bounds35.width, height: bounds35.height },
|
8179
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
7917
8180
|
});
|
7918
8181
|
|
7919
8182
|
// symbols/pjfet_transistor_vert.ts
|
7920
|
-
var
|
7921
|
-
var
|
7922
|
-
var
|
7923
|
-
|
7924
|
-
|
7925
|
-
|
7926
|
-
var
|
7927
|
-
|
7928
|
-
|
7929
|
-
|
7930
|
-
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;
|
7931
8194
|
|
7932
8195
|
// assets/generated/pnp_bipolar_transistor.json
|
7933
8196
|
var pnp_bipolar_transistor_default = {
|
@@ -8093,11 +8356,11 @@ var pnp_bipolar_transistor_default = {
|
|
8093
8356
|
};
|
8094
8357
|
|
8095
8358
|
// symbols/pnp_bipolar_transistor_horz.ts
|
8096
|
-
var { paths:
|
8359
|
+
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles30 } = pnp_bipolar_transistor_default;
|
8097
8360
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
8098
8361
|
primitives: [
|
8099
|
-
...Object.values(
|
8100
|
-
...Object.values(
|
8362
|
+
...Object.values(paths36),
|
8363
|
+
...Object.values(circles30),
|
8101
8364
|
{
|
8102
8365
|
type: "text",
|
8103
8366
|
text: "{REF}",
|
@@ -8114,20 +8377,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
8114
8377
|
}
|
8115
8378
|
],
|
8116
8379
|
ports: [
|
8117
|
-
{ ...
|
8118
|
-
{ ...
|
8119
|
-
{ ...
|
8380
|
+
{ ...refblocks36.top1, labels: ["1", "collector"] },
|
8381
|
+
{ ...refblocks36.bottom1, labels: ["2", "emitter"] },
|
8382
|
+
{ ...refblocks36.left1, labels: ["3", "base"] }
|
8120
8383
|
],
|
8121
|
-
size: { width:
|
8122
|
-
center: { x:
|
8384
|
+
size: { width: bounds36.width, height: bounds36.height },
|
8385
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
8123
8386
|
});
|
8124
8387
|
|
8125
8388
|
// symbols/pnp_bipolar_transistor_vert.ts
|
8126
|
-
var
|
8127
|
-
var
|
8128
|
-
var
|
8129
|
-
|
8130
|
-
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;
|
8131
8394
|
|
8132
8395
|
// assets/generated/potentiometer.json
|
8133
8396
|
var potentiometer_default = {
|
@@ -8244,21 +8507,21 @@ var potentiometer_default = {
|
|
8244
8507
|
};
|
8245
8508
|
|
8246
8509
|
// symbols/potentiometer_horz.ts
|
8247
|
-
var { paths:
|
8510
|
+
var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37 } = potentiometer_default;
|
8248
8511
|
var potentiometer_horz_default = defineSymbol({
|
8249
8512
|
primitives: [
|
8250
|
-
...Object.values(
|
8251
|
-
{ ...
|
8252
|
-
{ ...
|
8513
|
+
...Object.values(paths37),
|
8514
|
+
{ ...texts51.bottom1, y: 0.35, anchor: "middle_top" },
|
8515
|
+
{ ...texts51.top1, anchor: "middle_left" }
|
8253
8516
|
],
|
8254
8517
|
ports: [
|
8255
|
-
{ ...
|
8518
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
8256
8519
|
// TODO add more "standard" labels
|
8257
|
-
{ ...
|
8520
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
8258
8521
|
// TODO add more "standard" labels
|
8259
8522
|
],
|
8260
|
-
size: { width:
|
8261
|
-
center: { x:
|
8523
|
+
size: { width: bounds37.width + 0.05, height: bounds37.height },
|
8524
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
8262
8525
|
});
|
8263
8526
|
|
8264
8527
|
// symbols/potentiometer_vert.ts
|
@@ -8421,21 +8684,21 @@ var potentiometer2_default = {
|
|
8421
8684
|
};
|
8422
8685
|
|
8423
8686
|
// symbols/potentiometer2_horz.ts
|
8424
|
-
var { paths:
|
8687
|
+
var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38 } = potentiometer2_default;
|
8425
8688
|
var potentiometer2_horz_default = defineSymbol({
|
8426
8689
|
primitives: [
|
8427
|
-
...Object.values(
|
8428
|
-
{ ...
|
8429
|
-
{ ...
|
8690
|
+
...Object.values(paths38),
|
8691
|
+
{ ...texts52.bottom1, anchor: "middle_right" },
|
8692
|
+
{ ...texts52.top1, anchor: "middle_left" }
|
8430
8693
|
],
|
8431
8694
|
ports: [
|
8432
|
-
{ ...
|
8695
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
8433
8696
|
// TODO add more "standard" labels
|
8434
|
-
{ ...
|
8697
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
8435
8698
|
// TODO add more "standard" labels
|
8436
8699
|
],
|
8437
|
-
size: { width:
|
8438
|
-
center: { x:
|
8700
|
+
size: { width: bounds38.width, height: bounds38.height },
|
8701
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
8439
8702
|
});
|
8440
8703
|
|
8441
8704
|
// symbols/potentiometer2_vert.ts
|
@@ -8528,11 +8791,11 @@ var power_factor_meter_default = {
|
|
8528
8791
|
};
|
8529
8792
|
|
8530
8793
|
// symbols/power_factor_meter_horz.ts
|
8531
|
-
var { paths:
|
8794
|
+
var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles31 } = power_factor_meter_default;
|
8532
8795
|
var power_factor_meter_horz_default = defineSymbol({
|
8533
8796
|
primitives: [
|
8534
|
-
...Object.values(
|
8535
|
-
...Object.values(
|
8797
|
+
...Object.values(paths39),
|
8798
|
+
...Object.values(circles31),
|
8536
8799
|
// { ...texts.top1, anchor: "middle_left" },
|
8537
8800
|
{
|
8538
8801
|
type: "text",
|
@@ -8559,28 +8822,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
8559
8822
|
}
|
8560
8823
|
],
|
8561
8824
|
ports: [
|
8562
|
-
{ ...
|
8825
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
8563
8826
|
// TODO add more "standard" labels
|
8564
|
-
{ ...
|
8827
|
+
{ ...refblocks39.right1, labels: ["2"] }
|
8565
8828
|
// TODO add more "standard" labels
|
8566
8829
|
],
|
8567
|
-
size: { width:
|
8568
|
-
center: { x:
|
8830
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8831
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
8569
8832
|
});
|
8570
8833
|
|
8571
8834
|
// symbols/power_factor_meter_vert.ts
|
8572
|
-
var
|
8573
|
-
var
|
8574
|
-
var
|
8575
|
-
var
|
8576
|
-
var text_cos =
|
8577
|
-
|
8578
|
-
|
8579
|
-
|
8580
|
-
|
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;
|
8581
8844
|
text_cos.x = -0.1;
|
8582
8845
|
text_cos.y = 0;
|
8583
|
-
var power_factor_meter_vert_default =
|
8846
|
+
var power_factor_meter_vert_default = rotatedSymbol22;
|
8584
8847
|
|
8585
8848
|
// assets/generated/push_button_normally_closed_momentary.json
|
8586
8849
|
var push_button_normally_closed_momentary_default = {
|
@@ -8684,37 +8947,37 @@ var push_button_normally_closed_momentary_default = {
|
|
8684
8947
|
};
|
8685
8948
|
|
8686
8949
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
8687
|
-
var { paths:
|
8950
|
+
var { paths: paths40, texts: texts55, bounds: bounds40, refblocks: refblocks40 } = push_button_normally_closed_momentary_default;
|
8688
8951
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
8689
8952
|
primitives: [
|
8690
|
-
...Object.values(
|
8691
|
-
{ ...
|
8692
|
-
{ ...
|
8953
|
+
...Object.values(paths40),
|
8954
|
+
{ ...texts55.top1, anchor: "middle_bottom" },
|
8955
|
+
{ ...texts55.bottom1, anchor: "middle_top" }
|
8693
8956
|
],
|
8694
8957
|
ports: [
|
8695
|
-
{ ...
|
8958
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
8696
8959
|
// TODO add more "standard" labels
|
8697
|
-
{ ...
|
8960
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
8698
8961
|
// TODO add more "standard" labels
|
8699
8962
|
],
|
8700
|
-
size: { width:
|
8701
|
-
center: { x:
|
8963
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8964
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
8702
8965
|
});
|
8703
8966
|
|
8704
8967
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
8705
8968
|
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
8706
|
-
var
|
8969
|
+
var ref24 = rotated7.primitives.find(
|
8707
8970
|
(p) => p.type === "text" && p.text === "{REF}"
|
8708
8971
|
);
|
8709
|
-
var
|
8972
|
+
var val20 = rotated7.primitives.find(
|
8710
8973
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8711
8974
|
);
|
8712
|
-
|
8713
|
-
|
8714
|
-
|
8715
|
-
|
8716
|
-
|
8717
|
-
|
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;
|
8718
8981
|
var push_button_normally_closed_momentary_vert_default = rotated7;
|
8719
8982
|
|
8720
8983
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -8819,37 +9082,37 @@ var push_button_normally_open_momentary_default = {
|
|
8819
9082
|
};
|
8820
9083
|
|
8821
9084
|
// symbols/push_button_normally_open_momentary_horz.ts
|
8822
|
-
var { paths:
|
9085
|
+
var { paths: paths41, texts: texts56, bounds: bounds41, refblocks: refblocks41 } = push_button_normally_open_momentary_default;
|
8823
9086
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
8824
9087
|
primitives: [
|
8825
|
-
...Object.values(
|
8826
|
-
{ ...
|
8827
|
-
{ ...
|
9088
|
+
...Object.values(paths41),
|
9089
|
+
{ ...texts56.top1, anchor: "middle_bottom" },
|
9090
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
8828
9091
|
],
|
8829
9092
|
ports: [
|
8830
|
-
{ ...
|
9093
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
8831
9094
|
// TODO add more "standard" labels
|
8832
|
-
{ ...
|
9095
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
8833
9096
|
// TODO add more "standard" labels
|
8834
9097
|
],
|
8835
|
-
size: { width:
|
8836
|
-
center: { x:
|
9098
|
+
size: { width: bounds41.width, height: bounds41.height },
|
9099
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
8837
9100
|
});
|
8838
9101
|
|
8839
9102
|
// symbols/push_button_normally_open_momentary_vert.ts
|
8840
9103
|
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
8841
|
-
var
|
9104
|
+
var ref25 = rotated8.primitives.find(
|
8842
9105
|
(p) => p.type === "text" && p.text === "{REF}"
|
8843
9106
|
);
|
8844
|
-
var
|
9107
|
+
var val21 = rotated8.primitives.find(
|
8845
9108
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8846
9109
|
);
|
8847
|
-
|
8848
|
-
|
8849
|
-
|
8850
|
-
|
8851
|
-
|
8852
|
-
|
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;
|
8853
9116
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
8854
9117
|
|
8855
9118
|
// assets/generated/rectifier_diode.json
|
@@ -9262,38 +9525,38 @@ var rectifier_diode_default = {
|
|
9262
9525
|
};
|
9263
9526
|
|
9264
9527
|
// symbols/rectifier_diode_horz.ts
|
9265
|
-
var { paths:
|
9528
|
+
var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = rectifier_diode_default;
|
9266
9529
|
var rectifier_diode_horz_default = defineSymbol({
|
9267
9530
|
primitives: [
|
9268
|
-
...Object.values(
|
9269
|
-
...Object.values(
|
9270
|
-
{ ...
|
9271
|
-
{ ...
|
9531
|
+
...Object.values(paths42),
|
9532
|
+
...Object.values(circles32),
|
9533
|
+
{ ...texts57.top1, anchor: "middle_right" },
|
9534
|
+
{ ...texts57.bottom1, anchor: "middle_right" }
|
9272
9535
|
],
|
9273
9536
|
ports: [
|
9274
|
-
{ ...
|
9537
|
+
{ ...refblocks42.top1, labels: ["1"] },
|
9275
9538
|
// TODO add more "standard" labels
|
9276
|
-
{ ...
|
9539
|
+
{ ...refblocks42.bottom1, labels: ["2"] },
|
9277
9540
|
// TODO add more "standard" labels
|
9278
|
-
{ ...
|
9541
|
+
{ ...refblocks42.left1, labels: ["3"] },
|
9279
9542
|
// TODO add more "standard" labels
|
9280
|
-
{ ...
|
9543
|
+
{ ...refblocks42.right1, labels: ["4"] }
|
9281
9544
|
// TODO add more "standard" labels
|
9282
9545
|
],
|
9283
|
-
size: { width:
|
9284
|
-
center: { x:
|
9546
|
+
size: { width: bounds42.width, height: bounds42.height },
|
9547
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
9285
9548
|
});
|
9286
9549
|
|
9287
9550
|
// symbols/rectifier_diode_vert.ts
|
9288
9551
|
var rotated9 = rotateSymbol(rectifier_diode_horz_default);
|
9289
|
-
var
|
9552
|
+
var ref26 = rotated9.primitives.find(
|
9290
9553
|
(p) => p.type === "text" && p.text === "{REF}"
|
9291
9554
|
);
|
9292
|
-
var
|
9555
|
+
var val22 = rotated9.primitives.find(
|
9293
9556
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9294
9557
|
);
|
9295
|
-
|
9296
|
-
|
9558
|
+
ref26.anchor = "middle_left";
|
9559
|
+
val22.anchor = "middle_right";
|
9297
9560
|
var rectifier_diode_vert_default = rotated9;
|
9298
9561
|
|
9299
9562
|
// assets/generated/resonator.json
|
@@ -9642,11 +9905,11 @@ var resonator_default = {
|
|
9642
9905
|
};
|
9643
9906
|
|
9644
9907
|
// symbols/resonator_horz.ts
|
9645
|
-
var { paths:
|
9908
|
+
var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = resonator_default;
|
9646
9909
|
var resonator_horz_default = defineSymbol({
|
9647
9910
|
primitives: [
|
9648
|
-
...Object.values(
|
9649
|
-
...Object.values(
|
9911
|
+
...Object.values(paths43),
|
9912
|
+
...Object.values(circles33),
|
9650
9913
|
// { ...texts.top1, anchor: "middle_left" },
|
9651
9914
|
// { ...texts.bottom1, anchor: "middle_left" },
|
9652
9915
|
{
|
@@ -9665,15 +9928,15 @@ var resonator_horz_default = defineSymbol({
|
|
9665
9928
|
}
|
9666
9929
|
],
|
9667
9930
|
ports: [
|
9668
|
-
{ ...
|
9931
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
9669
9932
|
// TODO add more "standard" labels
|
9670
|
-
{ ...
|
9933
|
+
{ ...refblocks43.right1, labels: ["2"] },
|
9671
9934
|
// TODO add more "standard" labels
|
9672
|
-
{ ...
|
9935
|
+
{ ...refblocks43.right2, labels: ["3"] }
|
9673
9936
|
// TODO add more "standard" labels
|
9674
9937
|
],
|
9675
|
-
size: { width:
|
9676
|
-
center: { x:
|
9938
|
+
size: { width: bounds43.width, height: bounds43.height },
|
9939
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
9677
9940
|
});
|
9678
9941
|
|
9679
9942
|
// symbols/resonator_vert.ts
|
@@ -9871,34 +10134,34 @@ var schottky_diode_default = {
|
|
9871
10134
|
};
|
9872
10135
|
|
9873
10136
|
// symbols/schottky_diode_horz.ts
|
9874
|
-
var { paths:
|
10137
|
+
var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = schottky_diode_default;
|
9875
10138
|
var schottky_diode_horz_default = defineSymbol({
|
9876
10139
|
primitives: [
|
9877
|
-
...Object.values(
|
9878
|
-
...Object.values(
|
9879
|
-
{ ...
|
9880
|
-
{ ...
|
10140
|
+
...Object.values(paths44),
|
10141
|
+
...Object.values(circles34),
|
10142
|
+
{ ...texts59.top1, anchor: "middle_bottom" },
|
10143
|
+
{ ...texts59.bottom1, anchor: "middle_top" }
|
9881
10144
|
],
|
9882
10145
|
ports: [
|
9883
|
-
{ ...
|
10146
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
9884
10147
|
// TODO add more "standard" labels
|
9885
|
-
{ ...
|
10148
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
9886
10149
|
// TODO add more "standard" labels
|
9887
10150
|
],
|
9888
|
-
size: { width:
|
9889
|
-
center: { x:
|
10151
|
+
size: { width: bounds44.width, height: bounds44.height },
|
10152
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
9890
10153
|
});
|
9891
10154
|
|
9892
10155
|
// symbols/schottky_diode_vert.ts
|
9893
10156
|
var rotated10 = rotateSymbol(schottky_diode_horz_default);
|
9894
|
-
var
|
10157
|
+
var ref27 = rotated10.primitives.find(
|
9895
10158
|
(p) => p.type === "text" && p.text === "{REF}"
|
9896
10159
|
);
|
9897
|
-
var
|
10160
|
+
var val23 = rotated10.primitives.find(
|
9898
10161
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9899
10162
|
);
|
9900
|
-
|
9901
|
-
|
10163
|
+
ref27.anchor = "middle_left";
|
10164
|
+
val23.anchor = "middle_right";
|
9902
10165
|
var schottky_diode_vert_default = rotated10;
|
9903
10166
|
|
9904
10167
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -10045,35 +10308,35 @@ var silicon_controlled_rectifier_default = {
|
|
10045
10308
|
};
|
10046
10309
|
|
10047
10310
|
// symbols/silicon_controlled_rectifier_horz.ts
|
10048
|
-
var { paths:
|
10311
|
+
var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = silicon_controlled_rectifier_default;
|
10049
10312
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
10050
10313
|
primitives: [
|
10051
|
-
...Object.values(
|
10052
|
-
...Object.values(
|
10053
|
-
{ ...
|
10054
|
-
{ ...
|
10314
|
+
...Object.values(paths45),
|
10315
|
+
...Object.values(circles35),
|
10316
|
+
{ ...texts60.top1, anchor: "middle_left" },
|
10317
|
+
{ ...texts60.bottom1, anchor: "middle_top" }
|
10055
10318
|
],
|
10056
10319
|
ports: [
|
10057
|
-
{ ...
|
10320
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
10058
10321
|
// TODO add more "standard" labels
|
10059
|
-
{ ...
|
10322
|
+
{ ...refblocks45.right1, labels: ["2"] },
|
10060
10323
|
// TODO add more "standard" labels
|
10061
|
-
{ ...
|
10324
|
+
{ ...refblocks45.bottom1, labels: ["3"] }
|
10062
10325
|
// TODO add more "standard" labels
|
10063
10326
|
],
|
10064
|
-
size: { width:
|
10065
|
-
center: { x:
|
10327
|
+
size: { width: bounds45.width, height: bounds45.height },
|
10328
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
10066
10329
|
});
|
10067
10330
|
|
10068
10331
|
// symbols/silicon_controlled_rectifier_vert.ts
|
10069
|
-
var
|
10070
|
-
var
|
10332
|
+
var rotatedSymbol23 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
10333
|
+
var texts61 = rotatedSymbol23.primitives.filter(
|
10071
10334
|
(primitive) => primitive.type === "text"
|
10072
10335
|
);
|
10073
|
-
var
|
10074
|
-
|
10075
|
-
|
10076
|
-
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;
|
10077
10340
|
|
10078
10341
|
// assets/generated/SPDT_switch.json
|
10079
10342
|
var SPDT_switch_default = {
|
@@ -10193,38 +10456,38 @@ var SPDT_switch_default = {
|
|
10193
10456
|
};
|
10194
10457
|
|
10195
10458
|
// symbols/SPDT_switch_horz.ts
|
10196
|
-
var { paths:
|
10459
|
+
var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = SPDT_switch_default;
|
10197
10460
|
var SPDT_switch_horz_default = defineSymbol({
|
10198
10461
|
primitives: [
|
10199
|
-
...Object.values(
|
10200
|
-
...Object.values(
|
10201
|
-
{ ...
|
10202
|
-
{ ...
|
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 }
|
10203
10466
|
],
|
10204
10467
|
ports: [
|
10205
|
-
{ ...
|
10468
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
10206
10469
|
// TODO add more "standard" labels
|
10207
|
-
{ ...
|
10470
|
+
{ ...refblocks46.right1, labels: ["3"] },
|
10208
10471
|
// TODO add more "standard" labels
|
10209
|
-
{ ...
|
10472
|
+
{ ...refblocks46.right2, labels: ["2"] }
|
10210
10473
|
// TODO add more "standard" labels
|
10211
10474
|
],
|
10212
|
-
size: { width:
|
10213
|
-
center: { x:
|
10475
|
+
size: { width: bounds46.width, height: bounds46.height },
|
10476
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
10214
10477
|
});
|
10215
10478
|
|
10216
10479
|
// symbols/SPDT_switch_vert.ts
|
10217
|
-
var
|
10218
|
-
var
|
10219
|
-
var
|
10220
|
-
|
10221
|
-
|
10222
|
-
|
10223
|
-
var
|
10224
|
-
|
10225
|
-
|
10226
|
-
|
10227
|
-
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;
|
10228
10491
|
|
10229
10492
|
// assets/generated/SPST_switch.json
|
10230
10493
|
var SPST_switch_default = {
|
@@ -10321,36 +10584,36 @@ var SPST_switch_default = {
|
|
10321
10584
|
};
|
10322
10585
|
|
10323
10586
|
// symbols/SPST_switch_horz.ts
|
10324
|
-
var { paths:
|
10587
|
+
var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = SPST_switch_default;
|
10325
10588
|
var SPST_switch_horz_default = defineSymbol({
|
10326
10589
|
primitives: [
|
10327
|
-
...Object.values(
|
10328
|
-
...Object.values(
|
10329
|
-
{ ...
|
10330
|
-
{ ...
|
10590
|
+
...Object.values(paths47),
|
10591
|
+
...Object.values(circles37),
|
10592
|
+
{ ...texts64.top1, anchor: "middle_bottom", x: 0 },
|
10593
|
+
{ ...texts64.bottom1, anchor: "middle_top", x: 0 }
|
10331
10594
|
],
|
10332
10595
|
ports: [
|
10333
|
-
{ ...
|
10596
|
+
{ ...refblocks47.left1, labels: ["1"] },
|
10334
10597
|
// TODO add more "standard" labels
|
10335
|
-
{ ...
|
10598
|
+
{ ...refblocks47.right1, labels: ["2"] }
|
10336
10599
|
// TODO add more "standard" labels
|
10337
10600
|
],
|
10338
|
-
size: { width:
|
10339
|
-
center: { x:
|
10601
|
+
size: { width: bounds47.width, height: bounds47.height },
|
10602
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
10340
10603
|
});
|
10341
10604
|
|
10342
10605
|
// symbols/SPST_switch_vert.ts
|
10343
|
-
var
|
10344
|
-
var
|
10345
|
-
var
|
10346
|
-
|
10347
|
-
|
10348
|
-
|
10349
|
-
var
|
10350
|
-
|
10351
|
-
|
10352
|
-
|
10353
|
-
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;
|
10354
10617
|
|
10355
10618
|
// assets/generated/step_recovery_diode.json
|
10356
10619
|
var step_recovery_diode_default = {
|
@@ -10514,11 +10777,11 @@ var step_recovery_diode_default = {
|
|
10514
10777
|
};
|
10515
10778
|
|
10516
10779
|
// symbols/step_recovery_diode_horz.ts
|
10517
|
-
var { paths:
|
10780
|
+
var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles38 } = step_recovery_diode_default;
|
10518
10781
|
var step_recovery_diode_horz_default = defineSymbol({
|
10519
10782
|
primitives: [
|
10520
|
-
...Object.values(
|
10521
|
-
...Object.values(
|
10783
|
+
...Object.values(paths48),
|
10784
|
+
...Object.values(circles38),
|
10522
10785
|
// { ...texts.top1, anchor: "middle_left" },
|
10523
10786
|
// { ...texts.bottom1, anchor: "middle_left" },
|
10524
10787
|
{
|
@@ -10537,13 +10800,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
10537
10800
|
}
|
10538
10801
|
],
|
10539
10802
|
ports: [
|
10540
|
-
{ ...
|
10803
|
+
{ ...refblocks48.left1, labels: ["1"] },
|
10541
10804
|
// TODO add more "standard" labels
|
10542
|
-
{ ...
|
10805
|
+
{ ...refblocks48.right1, labels: ["2"] }
|
10543
10806
|
// TODO add more "standard" labels
|
10544
10807
|
],
|
10545
|
-
size: { width:
|
10546
|
-
center: { x:
|
10808
|
+
size: { width: bounds48.width, height: bounds48.height },
|
10809
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
10547
10810
|
});
|
10548
10811
|
|
10549
10812
|
// symbols/step_recovery_diode_vert.ts
|
@@ -10636,11 +10899,11 @@ var tachometer_default = {
|
|
10636
10899
|
};
|
10637
10900
|
|
10638
10901
|
// symbols/tachometer_horz.ts
|
10639
|
-
var { paths:
|
10902
|
+
var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles39 } = tachometer_default;
|
10640
10903
|
var tachometer_horz_default = defineSymbol({
|
10641
10904
|
primitives: [
|
10642
|
-
...Object.values(
|
10643
|
-
...Object.values(
|
10905
|
+
...Object.values(paths49),
|
10906
|
+
...Object.values(circles39),
|
10644
10907
|
{
|
10645
10908
|
type: "text",
|
10646
10909
|
text: "{REF}",
|
@@ -10655,16 +10918,16 @@ var tachometer_horz_default = defineSymbol({
|
|
10655
10918
|
y: 0.35,
|
10656
10919
|
anchor: "middle_top"
|
10657
10920
|
},
|
10658
|
-
{ ...
|
10921
|
+
{ ...texts67.left1, anchor: "center", fontSize: 0.2 }
|
10659
10922
|
],
|
10660
10923
|
ports: [
|
10661
|
-
{ ...
|
10924
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
10662
10925
|
// TODO add more "standard" labels
|
10663
|
-
{ ...
|
10926
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
10664
10927
|
// TODO add more "standard" labels
|
10665
10928
|
],
|
10666
|
-
size: { width:
|
10667
|
-
center: { x:
|
10929
|
+
size: { width: bounds49.width, height: bounds49.height },
|
10930
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
10668
10931
|
});
|
10669
10932
|
|
10670
10933
|
// symbols/tachometer_vert.ts
|
@@ -10672,13 +10935,13 @@ var { 5: letter5, ...rest5 } = tachometer_horz_default.primitives;
|
|
10672
10935
|
function isPrimitive5(value) {
|
10673
10936
|
return typeof value === "object";
|
10674
10937
|
}
|
10675
|
-
var
|
10938
|
+
var rotatedSymbol26 = rotateSymbol({
|
10676
10939
|
...tachometer_horz_default,
|
10677
10940
|
primitives: Object.values(rest5).filter(isPrimitive5)
|
10678
10941
|
});
|
10679
10942
|
var tachometer_vert_default = {
|
10680
|
-
...
|
10681
|
-
primitives: [...
|
10943
|
+
...rotatedSymbol26,
|
10944
|
+
primitives: [...rotatedSymbol26.primitives, letter5]
|
10682
10945
|
};
|
10683
10946
|
|
10684
10947
|
// assets/generated/triac.json
|
@@ -10872,36 +11135,36 @@ var triac_default = {
|
|
10872
11135
|
};
|
10873
11136
|
|
10874
11137
|
// symbols/triac_horz.ts
|
10875
|
-
var { paths:
|
11138
|
+
var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles40 } = triac_default;
|
10876
11139
|
var triac_horz_default = defineSymbol({
|
10877
11140
|
primitives: [
|
10878
|
-
...Object.values(
|
10879
|
-
...Object.values(
|
10880
|
-
{ ...
|
10881
|
-
{ ...
|
11141
|
+
...Object.values(paths50),
|
11142
|
+
...Object.values(circles40),
|
11143
|
+
{ ...texts68.top1, anchor: "middle_left" },
|
11144
|
+
{ ...texts68.bottom1, anchor: "middle_top" }
|
10882
11145
|
],
|
10883
11146
|
ports: [
|
10884
|
-
{ ...
|
11147
|
+
{ ...refblocks50.left1, labels: ["1"] },
|
10885
11148
|
// TODO add more "standard" labels
|
10886
|
-
{ ...
|
11149
|
+
{ ...refblocks50.right1, labels: ["2"] },
|
10887
11150
|
// TODO add more "standard" labels
|
10888
|
-
{ ...
|
11151
|
+
{ ...refblocks50.bottom1, labels: ["3"] }
|
10889
11152
|
// TODO add more "standard" labels
|
10890
11153
|
],
|
10891
|
-
size: { width:
|
10892
|
-
center: { x:
|
11154
|
+
size: { width: bounds50.width, height: bounds50.height },
|
11155
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
10893
11156
|
});
|
10894
11157
|
|
10895
11158
|
// symbols/triac_vert.ts
|
10896
|
-
var
|
10897
|
-
var
|
11159
|
+
var rotatedSymbol27 = rotateSymbol(triac_horz_default);
|
11160
|
+
var texts69 = rotatedSymbol27.primitives.filter(
|
10898
11161
|
(primitive) => primitive.type === "text"
|
10899
11162
|
);
|
10900
|
-
var
|
10901
|
-
var
|
10902
|
-
|
10903
|
-
|
10904
|
-
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;
|
10905
11168
|
|
10906
11169
|
// assets/generated/tunnel_diode.json
|
10907
11170
|
var tunnel_diode_default = {
|
@@ -11065,34 +11328,34 @@ var tunnel_diode_default = {
|
|
11065
11328
|
};
|
11066
11329
|
|
11067
11330
|
// symbols/tunnel_diode_horz.ts
|
11068
|
-
var { paths:
|
11331
|
+
var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles41 } = tunnel_diode_default;
|
11069
11332
|
var tunnel_diode_horz_default = defineSymbol({
|
11070
11333
|
primitives: [
|
11071
|
-
...Object.values(
|
11072
|
-
...Object.values(
|
11073
|
-
{ ...
|
11074
|
-
{ ...
|
11334
|
+
...Object.values(paths51),
|
11335
|
+
...Object.values(circles41),
|
11336
|
+
{ ...texts70.top1, anchor: "middle_bottom" },
|
11337
|
+
{ ...texts70.bottom1, anchor: "middle_top" }
|
11075
11338
|
],
|
11076
11339
|
ports: [
|
11077
|
-
{ ...
|
11340
|
+
{ ...refblocks51.left1, labels: ["1"] },
|
11078
11341
|
// TODO add more "standard" labels
|
11079
|
-
{ ...
|
11342
|
+
{ ...refblocks51.right1, labels: ["2"] }
|
11080
11343
|
// TODO add more "standard" labels
|
11081
11344
|
],
|
11082
|
-
size: { width:
|
11083
|
-
center: { x:
|
11345
|
+
size: { width: bounds51.width, height: bounds51.height },
|
11346
|
+
center: { x: bounds51.centerX, y: bounds51.centerY }
|
11084
11347
|
});
|
11085
11348
|
|
11086
11349
|
// symbols/tunnel_diode_vert.ts
|
11087
11350
|
var rotated11 = rotateSymbol(tunnel_diode_horz_default);
|
11088
|
-
var
|
11351
|
+
var ref32 = rotated11.primitives.find(
|
11089
11352
|
(p) => p.type === "text" && p.text === "{REF}"
|
11090
11353
|
);
|
11091
|
-
var
|
11354
|
+
var val27 = rotated11.primitives.find(
|
11092
11355
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11093
11356
|
);
|
11094
|
-
|
11095
|
-
|
11357
|
+
ref32.anchor = "middle_left";
|
11358
|
+
val27.anchor = "middle_right";
|
11096
11359
|
var tunnel_diode_vert_default = rotated11;
|
11097
11360
|
|
11098
11361
|
// assets/generated/unijunction_transistor.json
|
@@ -11263,37 +11526,37 @@ var unijunction_transistor_default = {
|
|
11263
11526
|
};
|
11264
11527
|
|
11265
11528
|
// symbols/unijunction_transistor_horz.ts
|
11266
|
-
var { paths:
|
11529
|
+
var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles42 } = unijunction_transistor_default;
|
11267
11530
|
var unijunction_transistor_horz_default = defineSymbol({
|
11268
11531
|
primitives: [
|
11269
|
-
...Object.values(
|
11270
|
-
...Object.values(
|
11271
|
-
{ ...
|
11272
|
-
{ ...
|
11532
|
+
...Object.values(paths52),
|
11533
|
+
...Object.values(circles42),
|
11534
|
+
{ ...texts71.top1, anchor: "middle_left" },
|
11535
|
+
{ ...texts71.bottom1, anchor: "middle_right" }
|
11273
11536
|
],
|
11274
11537
|
ports: [
|
11275
|
-
{ ...
|
11538
|
+
{ ...refblocks52.top1, labels: ["1"] },
|
11276
11539
|
// TODO add more "standard" labels
|
11277
|
-
{ ...
|
11540
|
+
{ ...refblocks52.bottom1, labels: ["2"] },
|
11278
11541
|
// TODO add more "standard" labels
|
11279
|
-
{ ...
|
11542
|
+
{ ...refblocks52.left1, labels: ["3"] }
|
11280
11543
|
// TODO add more "standard" labels
|
11281
11544
|
],
|
11282
|
-
size: { width:
|
11283
|
-
center: { x:
|
11545
|
+
size: { width: bounds52.width, height: bounds52.height },
|
11546
|
+
center: { x: bounds52.centerX, y: bounds52.centerY }
|
11284
11547
|
});
|
11285
11548
|
|
11286
11549
|
// symbols/unijunction_transistor_vert.ts
|
11287
|
-
var
|
11288
|
-
var
|
11550
|
+
var rotatedSymbol28 = rotateSymbol(unijunction_transistor_horz_default);
|
11551
|
+
var texts72 = rotatedSymbol28.primitives.filter(
|
11289
11552
|
(primitive) => primitive.type === "text"
|
11290
11553
|
);
|
11291
|
-
var
|
11292
|
-
|
11293
|
-
var
|
11294
|
-
|
11295
|
-
|
11296
|
-
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;
|
11297
11560
|
|
11298
11561
|
// assets/generated/var_meter.json
|
11299
11562
|
var var_meter_default = {
|
@@ -11382,33 +11645,33 @@ var var_meter_default = {
|
|
11382
11645
|
};
|
11383
11646
|
|
11384
11647
|
// symbols/var_meter_horz.ts
|
11385
|
-
var { paths:
|
11648
|
+
var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles43 } = var_meter_default;
|
11386
11649
|
var var_meter_horz_default = defineSymbol({
|
11387
11650
|
primitives: [
|
11388
|
-
...Object.values(
|
11389
|
-
...Object.values(
|
11651
|
+
...Object.values(paths53),
|
11652
|
+
...Object.values(circles43),
|
11390
11653
|
{
|
11391
|
-
...
|
11654
|
+
...texts73.top1,
|
11392
11655
|
x: 0,
|
11393
11656
|
y: -0.3594553499999995,
|
11394
11657
|
anchor: "middle_bottom"
|
11395
11658
|
},
|
11396
11659
|
{
|
11397
|
-
...
|
11660
|
+
...texts73.bottom1,
|
11398
11661
|
x: 0,
|
11399
11662
|
y: 0.35,
|
11400
11663
|
anchor: "middle_top"
|
11401
11664
|
},
|
11402
|
-
{ ...
|
11665
|
+
{ ...texts73.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
11403
11666
|
],
|
11404
11667
|
ports: [
|
11405
|
-
{ ...
|
11668
|
+
{ ...refblocks53.left1, labels: ["1"] },
|
11406
11669
|
// TODO add more "standard" labels
|
11407
|
-
{ ...
|
11670
|
+
{ ...refblocks53.right1, labels: ["2"] }
|
11408
11671
|
// TODO add more "standard" labels
|
11409
11672
|
],
|
11410
|
-
size: { width:
|
11411
|
-
center: { x:
|
11673
|
+
size: { width: bounds53.width, height: bounds53.height },
|
11674
|
+
center: { x: bounds53.centerX, y: bounds53.centerY }
|
11412
11675
|
});
|
11413
11676
|
|
11414
11677
|
// symbols/var_meter_vert.ts
|
@@ -11561,34 +11824,34 @@ var varactor_diode_default = {
|
|
11561
11824
|
};
|
11562
11825
|
|
11563
11826
|
// symbols/varactor_diode_horz.ts
|
11564
|
-
var { paths:
|
11827
|
+
var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles44 } = varactor_diode_default;
|
11565
11828
|
var varactor_diode_horz_default = defineSymbol({
|
11566
11829
|
primitives: [
|
11567
|
-
...Object.values(
|
11568
|
-
...Object.values(
|
11569
|
-
{ ...
|
11570
|
-
{ ...
|
11830
|
+
...Object.values(paths54),
|
11831
|
+
...Object.values(circles44),
|
11832
|
+
{ ...texts74.top1, anchor: "middle_bottom" },
|
11833
|
+
{ ...texts74.bottom1, anchor: "middle_top" }
|
11571
11834
|
],
|
11572
11835
|
ports: [
|
11573
|
-
{ ...
|
11836
|
+
{ ...refblocks54.left1, labels: ["1"] },
|
11574
11837
|
// TODO add more "standard" labels
|
11575
|
-
{ ...
|
11838
|
+
{ ...refblocks54.right1, labels: ["2"] }
|
11576
11839
|
// TODO add more "standard" labels
|
11577
11840
|
],
|
11578
|
-
size: { width:
|
11579
|
-
center: { x:
|
11841
|
+
size: { width: bounds54.width, height: bounds54.height },
|
11842
|
+
center: { x: bounds54.centerX, y: bounds54.centerY }
|
11580
11843
|
});
|
11581
11844
|
|
11582
11845
|
// symbols/varactor_diode_vert.ts
|
11583
11846
|
var rotated12 = rotateSymbol(varactor_diode_horz_default);
|
11584
|
-
var
|
11847
|
+
var ref34 = rotated12.primitives.find(
|
11585
11848
|
(p) => p.type === "text" && p.text === "{REF}"
|
11586
11849
|
);
|
11587
|
-
var
|
11850
|
+
var val29 = rotated12.primitives.find(
|
11588
11851
|
(p) => p.type === "text" && p.text === "{VAL}"
|
11589
11852
|
);
|
11590
|
-
|
11591
|
-
|
11853
|
+
ref34.anchor = "middle_left";
|
11854
|
+
val29.anchor = "middle_right";
|
11592
11855
|
var varactor_diode_vert_default = rotated12;
|
11593
11856
|
|
11594
11857
|
// assets/generated/varistor.json
|
@@ -11724,26 +11987,26 @@ var varistor_default = {
|
|
11724
11987
|
};
|
11725
11988
|
|
11726
11989
|
// symbols/varistor_horz.ts
|
11727
|
-
var { paths:
|
11990
|
+
var { paths: paths55, texts: texts75, bounds: bounds55, refblocks: refblocks55 } = varistor_default;
|
11728
11991
|
var varistor_horz_default = defineSymbol({
|
11729
11992
|
primitives: [
|
11730
|
-
...Object.values(
|
11731
|
-
{ ...
|
11732
|
-
{ ...
|
11993
|
+
...Object.values(paths55),
|
11994
|
+
{ ...texts75.top1, anchor: "middle_left" },
|
11995
|
+
{ ...texts75.bottom1, anchor: "middle_right" }
|
11733
11996
|
],
|
11734
11997
|
ports: [
|
11735
11998
|
{
|
11736
|
-
...
|
11999
|
+
...refblocks55.left1,
|
11737
12000
|
labels: ["1", "-"]
|
11738
12001
|
},
|
11739
12002
|
{
|
11740
|
-
...
|
12003
|
+
...refblocks55.right1,
|
11741
12004
|
labels: ["2", "+"]
|
11742
12005
|
}
|
11743
12006
|
],
|
11744
|
-
size: { width:
|
12007
|
+
size: { width: bounds55.width, height: bounds55.height },
|
11745
12008
|
//{ width: 1, height: 0.24 },
|
11746
|
-
center: { x:
|
12009
|
+
center: { x: bounds55.centerX, y: bounds55.centerY }
|
11747
12010
|
});
|
11748
12011
|
|
11749
12012
|
// symbols/varistor_vert.ts
|
@@ -11836,11 +12099,11 @@ var varmeter_default = {
|
|
11836
12099
|
};
|
11837
12100
|
|
11838
12101
|
// symbols/varmeter_horz.ts
|
11839
|
-
var { paths:
|
12102
|
+
var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles45 } = varmeter_default;
|
11840
12103
|
var varmeter_horz_default = defineSymbol({
|
11841
12104
|
primitives: [
|
11842
|
-
...Object.values(
|
11843
|
-
...Object.values(
|
12105
|
+
...Object.values(paths56),
|
12106
|
+
...Object.values(circles45),
|
11844
12107
|
{
|
11845
12108
|
type: "text",
|
11846
12109
|
text: "{REF}",
|
@@ -11855,16 +12118,16 @@ var varmeter_horz_default = defineSymbol({
|
|
11855
12118
|
y: 0.35,
|
11856
12119
|
anchor: "middle_top"
|
11857
12120
|
},
|
11858
|
-
{ ...
|
12121
|
+
{ ...texts76.left1, anchor: "center", fontSize: 0.2 }
|
11859
12122
|
],
|
11860
12123
|
ports: [
|
11861
|
-
{ ...
|
12124
|
+
{ ...refblocks56.left1, labels: ["1"] },
|
11862
12125
|
// TODO add more "standard" labels
|
11863
|
-
{ ...
|
12126
|
+
{ ...refblocks56.right1, labels: ["2"] }
|
11864
12127
|
// TODO add more "standard" labels
|
11865
12128
|
],
|
11866
|
-
size: { width:
|
11867
|
-
center: { x:
|
12129
|
+
size: { width: bounds56.width, height: bounds56.height },
|
12130
|
+
center: { x: bounds56.centerX, y: bounds56.centerY }
|
11868
12131
|
});
|
11869
12132
|
|
11870
12133
|
// symbols/varmeter_vert.ts
|
@@ -11872,13 +12135,13 @@ var { 5: letter6, ...rest6 } = varmeter_horz_default.primitives;
|
|
11872
12135
|
function isPrimitive6(value) {
|
11873
12136
|
return typeof value === "object";
|
11874
12137
|
}
|
11875
|
-
var
|
12138
|
+
var rotatedSymbol29 = rotateSymbol({
|
11876
12139
|
...varmeter_horz_default,
|
11877
12140
|
primitives: Object.values(rest6).filter(isPrimitive6)
|
11878
12141
|
});
|
11879
12142
|
var varmeter_vert_default = {
|
11880
|
-
...
|
11881
|
-
primitives: [...
|
12143
|
+
...rotatedSymbol29,
|
12144
|
+
primitives: [...rotatedSymbol29.primitives, letter6]
|
11882
12145
|
};
|
11883
12146
|
|
11884
12147
|
// assets/generated/volt_meter.json
|
@@ -11981,11 +12244,11 @@ var volt_meter_default = {
|
|
11981
12244
|
};
|
11982
12245
|
|
11983
12246
|
// symbols/volt_meter_horz.ts
|
11984
|
-
var { paths:
|
12247
|
+
var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles46, refblocks: refblocks57 } = volt_meter_default;
|
11985
12248
|
var volt_meter_horz_default = defineSymbol({
|
11986
12249
|
primitives: [
|
11987
|
-
...Object.values(
|
11988
|
-
...Object.values(
|
12250
|
+
...Object.values(paths57),
|
12251
|
+
...Object.values(circles46),
|
11989
12252
|
{
|
11990
12253
|
type: "text",
|
11991
12254
|
text: "{REF}",
|
@@ -12002,13 +12265,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
12002
12265
|
}
|
12003
12266
|
],
|
12004
12267
|
ports: [
|
12005
|
-
{ ...
|
12268
|
+
{ ...refblocks57.left1, labels: ["1"] },
|
12006
12269
|
// TODO add more "standard" labels
|
12007
|
-
{ ...
|
12270
|
+
{ ...refblocks57.right1, labels: ["2"] }
|
12008
12271
|
// TODO add more "standard" labels
|
12009
12272
|
],
|
12010
|
-
size: { width:
|
12011
|
-
center: { x:
|
12273
|
+
size: { width: bounds57.width, height: bounds57.height },
|
12274
|
+
center: { x: bounds57.centerX, y: bounds57.centerY }
|
12012
12275
|
});
|
12013
12276
|
|
12014
12277
|
// symbols/volt_meter_vert.ts
|
@@ -12101,11 +12364,11 @@ var watt_hour_meter_default = {
|
|
12101
12364
|
};
|
12102
12365
|
|
12103
12366
|
// symbols/watt_hour_meter_horz.ts
|
12104
|
-
var { paths:
|
12367
|
+
var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles47 } = watt_hour_meter_default;
|
12105
12368
|
var watt_hour_meter_horz_default = defineSymbol({
|
12106
12369
|
primitives: [
|
12107
|
-
...Object.values(
|
12108
|
-
...Object.values(
|
12370
|
+
...Object.values(paths58),
|
12371
|
+
...Object.values(circles47),
|
12109
12372
|
{
|
12110
12373
|
type: "text",
|
12111
12374
|
text: "{REF}",
|
@@ -12120,16 +12383,16 @@ var watt_hour_meter_horz_default = defineSymbol({
|
|
12120
12383
|
y: 0.35,
|
12121
12384
|
anchor: "middle_top"
|
12122
12385
|
},
|
12123
|
-
{ ...
|
12386
|
+
{ ...texts78.left1, anchor: "center", fontSize: 0.2 }
|
12124
12387
|
],
|
12125
12388
|
ports: [
|
12126
|
-
{ ...
|
12389
|
+
{ ...refblocks58.left1, labels: ["1"] },
|
12127
12390
|
// TODO add more "standard" labels
|
12128
|
-
{ ...
|
12391
|
+
{ ...refblocks58.right1, labels: ["2"] }
|
12129
12392
|
// TODO add more "standard" labels
|
12130
12393
|
],
|
12131
|
-
size: { width:
|
12132
|
-
center: { x:
|
12394
|
+
size: { width: bounds58.width, height: bounds58.height },
|
12395
|
+
center: { x: bounds58.centerX, y: bounds58.centerY }
|
12133
12396
|
});
|
12134
12397
|
|
12135
12398
|
// symbols/watt_hour_meter_vert.ts
|
@@ -12137,13 +12400,13 @@ var { 5: letter7, ...rest7 } = watt_hour_meter_horz_default.primitives;
|
|
12137
12400
|
function isPrimitive7(value) {
|
12138
12401
|
return typeof value === "object";
|
12139
12402
|
}
|
12140
|
-
var
|
12403
|
+
var rotatedSymbol30 = rotateSymbol({
|
12141
12404
|
...watt_hour_meter_horz_default,
|
12142
12405
|
primitives: Object.values(rest7).filter(isPrimitive7)
|
12143
12406
|
});
|
12144
12407
|
var watt_hour_meter_vert_default = {
|
12145
|
-
...
|
12146
|
-
primitives: [...
|
12408
|
+
...rotatedSymbol30,
|
12409
|
+
primitives: [...rotatedSymbol30.primitives, letter7]
|
12147
12410
|
};
|
12148
12411
|
|
12149
12412
|
// assets/generated/wattmeter.json
|
@@ -12233,11 +12496,11 @@ var wattmeter_default = {
|
|
12233
12496
|
};
|
12234
12497
|
|
12235
12498
|
// symbols/wattmeter_horz.ts
|
12236
|
-
var { paths:
|
12499
|
+
var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles48 } = wattmeter_default;
|
12237
12500
|
var wattmeter_horz_default = defineSymbol({
|
12238
12501
|
primitives: [
|
12239
|
-
...Object.values(
|
12240
|
-
...Object.values(
|
12502
|
+
...Object.values(paths59),
|
12503
|
+
...Object.values(circles48),
|
12241
12504
|
{
|
12242
12505
|
type: "text",
|
12243
12506
|
text: "{REF}",
|
@@ -12252,16 +12515,16 @@ var wattmeter_horz_default = defineSymbol({
|
|
12252
12515
|
y: 0.35,
|
12253
12516
|
anchor: "middle_top"
|
12254
12517
|
},
|
12255
|
-
{ ...
|
12518
|
+
{ ...texts79.left1, anchor: "center", fontSize: 0.3 }
|
12256
12519
|
],
|
12257
12520
|
ports: [
|
12258
|
-
{ ...
|
12521
|
+
{ ...refblocks59.left1, labels: ["1"] },
|
12259
12522
|
// TODO add more "standard" labels
|
12260
|
-
{ ...
|
12523
|
+
{ ...refblocks59.right1, labels: ["2"] }
|
12261
12524
|
// TODO add more "standard" labels
|
12262
12525
|
],
|
12263
|
-
size: { width:
|
12264
|
-
center: { x:
|
12526
|
+
size: { width: bounds59.width, height: bounds59.height },
|
12527
|
+
center: { x: bounds59.centerX, y: bounds59.centerY }
|
12265
12528
|
});
|
12266
12529
|
|
12267
12530
|
// symbols/wattmeter_vert.ts
|
@@ -12269,13 +12532,13 @@ var { 5: letter8, ...rest8 } = wattmeter_horz_default.primitives;
|
|
12269
12532
|
function isPrimitive8(value) {
|
12270
12533
|
return typeof value === "object";
|
12271
12534
|
}
|
12272
|
-
var
|
12535
|
+
var rotatedSymbol31 = rotateSymbol({
|
12273
12536
|
...wattmeter_horz_default,
|
12274
12537
|
primitives: Object.values(rest8).filter(isPrimitive8)
|
12275
12538
|
});
|
12276
12539
|
var wattmeter_vert_default = {
|
12277
|
-
...
|
12278
|
-
primitives: [...
|
12540
|
+
...rotatedSymbol31,
|
12541
|
+
primitives: [...rotatedSymbol31.primitives, letter8]
|
12279
12542
|
};
|
12280
12543
|
|
12281
12544
|
// assets/generated/zener_diode.json
|
@@ -12425,34 +12688,34 @@ var zener_diode_default = {
|
|
12425
12688
|
};
|
12426
12689
|
|
12427
12690
|
// symbols/zener_diode_horz.ts
|
12428
|
-
var { paths:
|
12691
|
+
var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles49 } = zener_diode_default;
|
12429
12692
|
var zener_diode_horz_default = defineSymbol({
|
12430
12693
|
primitives: [
|
12431
|
-
...Object.values(
|
12432
|
-
...Object.values(
|
12433
|
-
{ ...
|
12434
|
-
{ ...
|
12694
|
+
...Object.values(paths60),
|
12695
|
+
...Object.values(circles49),
|
12696
|
+
{ ...texts80.top1, anchor: "middle_bottom" },
|
12697
|
+
{ ...texts80.bottom1, anchor: "middle_top" }
|
12435
12698
|
],
|
12436
12699
|
ports: [
|
12437
|
-
{ ...
|
12700
|
+
{ ...refblocks60.left1, labels: ["1"] },
|
12438
12701
|
// TODO add more "standard" labels
|
12439
|
-
{ ...
|
12702
|
+
{ ...refblocks60.right1, labels: ["2"] }
|
12440
12703
|
// TODO add more "standard" labels
|
12441
12704
|
],
|
12442
|
-
size: { width:
|
12443
|
-
center: { x:
|
12705
|
+
size: { width: bounds60.width, height: bounds60.height },
|
12706
|
+
center: { x: bounds60.centerX, y: bounds60.centerY }
|
12444
12707
|
});
|
12445
12708
|
|
12446
12709
|
// symbols/zener_diode_vert.ts
|
12447
12710
|
var rotated13 = rotateSymbol(zener_diode_horz_default);
|
12448
|
-
var
|
12711
|
+
var ref35 = rotated13.primitives.find(
|
12449
12712
|
(p) => p.type === "text" && p.text === "{REF}"
|
12450
12713
|
);
|
12451
|
-
var
|
12714
|
+
var val30 = rotated13.primitives.find(
|
12452
12715
|
(p) => p.type === "text" && p.text === "{VAL}"
|
12453
12716
|
);
|
12454
|
-
|
12455
|
-
|
12717
|
+
ref35.anchor = "middle_left";
|
12718
|
+
val30.anchor = "middle_right";
|
12456
12719
|
var zener_diode_vert_default = rotated13;
|
12457
12720
|
|
12458
12721
|
// generated/symbols-index.ts
|
@@ -12495,6 +12758,8 @@ var symbols_index_default = {
|
|
12495
12758
|
"gunn_diode_vert": gunn_diode_vert_default,
|
12496
12759
|
"igbt_transistor_horz": igbt_transistor_horz_default,
|
12497
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,
|
12498
12763
|
"inductor_horz": inductor_horz_default,
|
12499
12764
|
"inductor_vert": inductor_vert_default,
|
12500
12765
|
"laser_diode_horz": laser_diode_horz_default,
|