schematic-symbols 0.0.80 → 0.0.82
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +628 -182
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/rectifier_diode_horz.ts +21 -0
- package/symbols/rectifier_diode_vert.ts +17 -0
package/dist/index.js
CHANGED
@@ -7196,6 +7196,450 @@ val19.x = val19.x;
|
|
7196
7196
|
val19.y = 0;
|
7197
7197
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
7198
7198
|
|
7199
|
+
// assets/generated/rectifier_diode.json
|
7200
|
+
var rectifier_diode_default = {
|
7201
|
+
paths: {
|
7202
|
+
path40: {
|
7203
|
+
type: "path",
|
7204
|
+
points: [
|
7205
|
+
{
|
7206
|
+
x: -0.19250837381256392,
|
7207
|
+
y: -0.32749349347032286
|
7208
|
+
},
|
7209
|
+
{
|
7210
|
+
x: -0.25568957329611974,
|
7211
|
+
y: -0.13794979950157282
|
7212
|
+
}
|
7213
|
+
],
|
7214
|
+
color: "primary",
|
7215
|
+
fill: false
|
7216
|
+
},
|
7217
|
+
path41: {
|
7218
|
+
type: "path",
|
7219
|
+
points: [
|
7220
|
+
{
|
7221
|
+
x: -0.38205206778131373,
|
7222
|
+
y: -0.26431229398676837
|
7223
|
+
},
|
7224
|
+
{
|
7225
|
+
x: -0.19250837381256392,
|
7226
|
+
y: -0.32749349347032286
|
7227
|
+
}
|
7228
|
+
],
|
7229
|
+
color: "primary",
|
7230
|
+
fill: false
|
7231
|
+
},
|
7232
|
+
path42: {
|
7233
|
+
type: "path",
|
7234
|
+
points: [
|
7235
|
+
{
|
7236
|
+
x: -0.2556895732961204,
|
7237
|
+
y: -0.13794979950157416
|
7238
|
+
},
|
7239
|
+
{
|
7240
|
+
x: -0.38205206778131373,
|
7241
|
+
y: -0.26431229398676837
|
7242
|
+
}
|
7243
|
+
],
|
7244
|
+
color: "primary",
|
7245
|
+
fill: false
|
7246
|
+
},
|
7247
|
+
path43: {
|
7248
|
+
type: "path",
|
7249
|
+
points: [
|
7250
|
+
{
|
7251
|
+
x: -0.2556896210551609,
|
7252
|
+
y: -0.39067474071292196
|
7253
|
+
},
|
7254
|
+
{
|
7255
|
+
x: -0.12932712656996737,
|
7256
|
+
y: -0.26431224622772653
|
7257
|
+
}
|
7258
|
+
],
|
7259
|
+
color: "primary",
|
7260
|
+
fill: false
|
7261
|
+
},
|
7262
|
+
path44: {
|
7263
|
+
type: "path",
|
7264
|
+
points: [
|
7265
|
+
{
|
7266
|
+
x: -0.3199237641156438,
|
7267
|
+
y: -0.2000781031672434
|
7268
|
+
},
|
7269
|
+
{
|
7270
|
+
x: -0.5084145145074668,
|
7271
|
+
y: -0.011587352775420667
|
7272
|
+
}
|
7273
|
+
],
|
7274
|
+
color: "primary",
|
7275
|
+
fill: false
|
7276
|
+
},
|
7277
|
+
"path44-0": {
|
7278
|
+
type: "path",
|
7279
|
+
points: [
|
7280
|
+
{
|
7281
|
+
x: -0.011560829633404435,
|
7282
|
+
y: -0.5083596562436202
|
7283
|
+
},
|
7284
|
+
{
|
7285
|
+
x: -0.19004023433272543,
|
7286
|
+
y: -0.3298802515442989
|
7287
|
+
}
|
7288
|
+
],
|
7289
|
+
color: "primary",
|
7290
|
+
fill: false
|
7291
|
+
},
|
7292
|
+
"path40-4": {
|
7293
|
+
type: "path",
|
7294
|
+
points: [
|
7295
|
+
{
|
7296
|
+
x: -0.19250813152967883,
|
7297
|
+
y: 0.3220463011874377
|
7298
|
+
},
|
7299
|
+
{
|
7300
|
+
x: -0.38205182549842887,
|
7301
|
+
y: 0.2588651017038819
|
7302
|
+
}
|
7303
|
+
],
|
7304
|
+
color: "primary",
|
7305
|
+
fill: false
|
7306
|
+
},
|
7307
|
+
"path41-1": {
|
7308
|
+
type: "path",
|
7309
|
+
points: [
|
7310
|
+
{
|
7311
|
+
x: -0.2556893310132333,
|
7312
|
+
y: 0.13250260721868767
|
7313
|
+
},
|
7314
|
+
{
|
7315
|
+
x: -0.19250813152967883,
|
7316
|
+
y: 0.3220463011874377
|
7317
|
+
}
|
7318
|
+
],
|
7319
|
+
color: "primary",
|
7320
|
+
fill: false
|
7321
|
+
},
|
7322
|
+
"path42-7": {
|
7323
|
+
type: "path",
|
7324
|
+
points: [
|
7325
|
+
{
|
7326
|
+
x: -0.38205182549842753,
|
7327
|
+
y: 0.258865101703881
|
7328
|
+
},
|
7329
|
+
{
|
7330
|
+
x: -0.2556893310132333,
|
7331
|
+
y: 0.13250260721868767
|
7332
|
+
}
|
7333
|
+
],
|
7334
|
+
color: "primary",
|
7335
|
+
fill: false
|
7336
|
+
},
|
7337
|
+
"path43-1": {
|
7338
|
+
type: "path",
|
7339
|
+
points: [
|
7340
|
+
{
|
7341
|
+
x: -0.12932688428707984,
|
7342
|
+
y: 0.2588650539448407
|
7343
|
+
},
|
7344
|
+
{
|
7345
|
+
x: -0.25568937877227516,
|
7346
|
+
y: 0.38522754843003404
|
7347
|
+
}
|
7348
|
+
],
|
7349
|
+
color: "primary",
|
7350
|
+
fill: false
|
7351
|
+
},
|
7352
|
+
"path44-8": {
|
7353
|
+
type: "path",
|
7354
|
+
points: [
|
7355
|
+
{
|
7356
|
+
x: -0.3199235218327583,
|
7357
|
+
y: 0.19463091088435758
|
7358
|
+
},
|
7359
|
+
{
|
7360
|
+
x: -0.508414272224581,
|
7361
|
+
y: 0.006140160492534852
|
7362
|
+
}
|
7363
|
+
],
|
7364
|
+
color: "primary",
|
7365
|
+
fill: false
|
7366
|
+
},
|
7367
|
+
"path44-0-7": {
|
7368
|
+
type: "path",
|
7369
|
+
points: [
|
7370
|
+
{
|
7371
|
+
x: -0.011641968756381349,
|
7372
|
+
y: 0.5029938453665972
|
7373
|
+
},
|
7374
|
+
{
|
7375
|
+
x: -0.1901213734557028,
|
7376
|
+
y: 0.3245144406672762
|
7377
|
+
}
|
7378
|
+
],
|
7379
|
+
color: "primary",
|
7380
|
+
fill: false
|
7381
|
+
},
|
7382
|
+
"path40-4-0": {
|
7383
|
+
type: "path",
|
7384
|
+
points: [
|
7385
|
+
{
|
7386
|
+
x: 0.322578868470321,
|
7387
|
+
y: -0.19315369881256328
|
7388
|
+
},
|
7389
|
+
{
|
7390
|
+
x: 0.13303517450157099,
|
7391
|
+
y: -0.2563348982961191
|
7392
|
+
}
|
7393
|
+
],
|
7394
|
+
color: "primary",
|
7395
|
+
fill: false
|
7396
|
+
},
|
7397
|
+
"path41-1-2": {
|
7398
|
+
type: "path",
|
7399
|
+
points: [
|
7400
|
+
{
|
7401
|
+
x: 0.2593976689867663,
|
7402
|
+
y: -0.3826973927813131
|
7403
|
+
},
|
7404
|
+
{
|
7405
|
+
x: 0.322578868470321,
|
7406
|
+
y: -0.19315369881256328
|
7407
|
+
}
|
7408
|
+
],
|
7409
|
+
color: "primary",
|
7410
|
+
fill: false
|
7411
|
+
},
|
7412
|
+
"path42-7-1": {
|
7413
|
+
type: "path",
|
7414
|
+
points: [
|
7415
|
+
{
|
7416
|
+
x: 0.13303517450157232,
|
7417
|
+
y: -0.2563348982961198
|
7418
|
+
},
|
7419
|
+
{
|
7420
|
+
x: 0.2593976689867663,
|
7421
|
+
y: -0.3826973927813131
|
7422
|
+
}
|
7423
|
+
],
|
7424
|
+
color: "primary",
|
7425
|
+
fill: false
|
7426
|
+
},
|
7427
|
+
"path43-1-8": {
|
7428
|
+
type: "path",
|
7429
|
+
points: [
|
7430
|
+
{
|
7431
|
+
x: 0.38576011571292,
|
7432
|
+
y: -0.2563349460551603
|
7433
|
+
},
|
7434
|
+
{
|
7435
|
+
x: 0.2593976212277247,
|
7436
|
+
y: -0.12997245156996673
|
7437
|
+
}
|
7438
|
+
],
|
7439
|
+
color: "primary",
|
7440
|
+
fill: false
|
7441
|
+
},
|
7442
|
+
"path44-8-7": {
|
7443
|
+
type: "path",
|
7444
|
+
points: [
|
7445
|
+
{
|
7446
|
+
x: 0.19516347816724133,
|
7447
|
+
y: -0.3205690891156432
|
7448
|
+
},
|
7449
|
+
{
|
7450
|
+
x: 0.006672727775418608,
|
7451
|
+
y: -0.509059839507466
|
7452
|
+
}
|
7453
|
+
],
|
7454
|
+
color: "primary",
|
7455
|
+
fill: false
|
7456
|
+
},
|
7457
|
+
"path44-0-7-1": {
|
7458
|
+
type: "path",
|
7459
|
+
points: [
|
7460
|
+
{
|
7461
|
+
x: 0.5034450312436185,
|
7462
|
+
y: -0.012206154633403798
|
7463
|
+
},
|
7464
|
+
{
|
7465
|
+
x: 0.32496562654429706,
|
7466
|
+
y: -0.19068555933272457
|
7467
|
+
}
|
7468
|
+
],
|
7469
|
+
color: "primary",
|
7470
|
+
fill: false
|
7471
|
+
},
|
7472
|
+
"path40-4-8": {
|
7473
|
+
type: "path",
|
7474
|
+
points: [
|
7475
|
+
{
|
7476
|
+
x: 0.3220220261874358,
|
7477
|
+
y: 0.19326390652967795
|
7478
|
+
},
|
7479
|
+
{
|
7480
|
+
x: 0.25884082670387976,
|
7481
|
+
y: 0.382807600498428
|
7482
|
+
}
|
7483
|
+
],
|
7484
|
+
color: "primary",
|
7485
|
+
fill: false
|
7486
|
+
},
|
7487
|
+
"path41-1-4": {
|
7488
|
+
type: "path",
|
7489
|
+
points: [
|
7490
|
+
{
|
7491
|
+
x: 0.13247833221868577,
|
7492
|
+
y: 0.25644510601323245
|
7493
|
+
},
|
7494
|
+
{
|
7495
|
+
x: 0.3220220261874358,
|
7496
|
+
y: 0.19326390652967795
|
7497
|
+
}
|
7498
|
+
],
|
7499
|
+
color: "primary",
|
7500
|
+
fill: false
|
7501
|
+
},
|
7502
|
+
"path42-7-0": {
|
7503
|
+
type: "path",
|
7504
|
+
points: [
|
7505
|
+
{
|
7506
|
+
x: 0.2588408267038793,
|
7507
|
+
y: 0.38280760049842666
|
7508
|
+
},
|
7509
|
+
{
|
7510
|
+
x: 0.13247833221868577,
|
7511
|
+
y: 0.25644510601323245
|
7512
|
+
}
|
7513
|
+
],
|
7514
|
+
color: "primary",
|
7515
|
+
fill: false
|
7516
|
+
},
|
7517
|
+
"path43-1-0": {
|
7518
|
+
type: "path",
|
7519
|
+
points: [
|
7520
|
+
{
|
7521
|
+
x: 0.2588407789448386,
|
7522
|
+
y: 0.13008265928707896
|
7523
|
+
},
|
7524
|
+
{
|
7525
|
+
x: 0.38520327343003213,
|
7526
|
+
y: 0.2564451537722743
|
7527
|
+
}
|
7528
|
+
],
|
7529
|
+
color: "primary",
|
7530
|
+
fill: false
|
7531
|
+
},
|
7532
|
+
"path44-8-9": {
|
7533
|
+
type: "path",
|
7534
|
+
points: [
|
7535
|
+
{
|
7536
|
+
x: 0.19460663588435567,
|
7537
|
+
y: 0.3206792968327574
|
7538
|
+
},
|
7539
|
+
{
|
7540
|
+
x: 0.0061158854925329464,
|
7541
|
+
y: 0.5091700472245801
|
7542
|
+
}
|
7543
|
+
],
|
7544
|
+
color: "primary",
|
7545
|
+
fill: false
|
7546
|
+
},
|
7547
|
+
"path44-0-7-3": {
|
7548
|
+
type: "path",
|
7549
|
+
points: [
|
7550
|
+
{
|
7551
|
+
x: 0.5029695703665951,
|
7552
|
+
y: 0.012397743756380697
|
7553
|
+
},
|
7554
|
+
{
|
7555
|
+
x: 0.3244901656672745,
|
7556
|
+
y: 0.19087714845570192
|
7557
|
+
}
|
7558
|
+
],
|
7559
|
+
color: "primary",
|
7560
|
+
fill: false
|
7561
|
+
}
|
7562
|
+
},
|
7563
|
+
texts: {
|
7564
|
+
top1: {
|
7565
|
+
type: "text",
|
7566
|
+
text: "{REF}",
|
7567
|
+
x: -0.2872803000000015,
|
7568
|
+
y: -0.4564494249999992
|
7569
|
+
},
|
7570
|
+
bottom1: {
|
7571
|
+
type: "text",
|
7572
|
+
text: "{VAL}",
|
7573
|
+
x: -0.2872803000000015,
|
7574
|
+
y: 0.4960514750000007
|
7575
|
+
}
|
7576
|
+
},
|
7577
|
+
refblocks: {
|
7578
|
+
top1: {
|
7579
|
+
x: 5126999999993664e-19,
|
7580
|
+
y: -0.5191475
|
7581
|
+
},
|
7582
|
+
bottom1: {
|
7583
|
+
x: -5123000000009093e-19,
|
7584
|
+
y: 0.5191475000000001
|
7585
|
+
},
|
7586
|
+
left1: {
|
7587
|
+
x: -0.5191472999999998,
|
7588
|
+
y: -5123250000014234e-19
|
7589
|
+
},
|
7590
|
+
right1: {
|
7591
|
+
x: 0.5191473000000002,
|
7592
|
+
y: 5123749999977889e-19
|
7593
|
+
}
|
7594
|
+
},
|
7595
|
+
bounds: {
|
7596
|
+
minX: -0.5473057409999997,
|
7597
|
+
maxX: 0.5473057410000002,
|
7598
|
+
minY: -0.5564494249999992,
|
7599
|
+
maxY: 0.5473059410000001,
|
7600
|
+
width: 1.094611482,
|
7601
|
+
height: 1.1037553659999992,
|
7602
|
+
centerX: 2220446049250313e-31,
|
7603
|
+
centerY: -0.004571741999999546
|
7604
|
+
},
|
7605
|
+
circles: {}
|
7606
|
+
};
|
7607
|
+
|
7608
|
+
// symbols/rectifier_diode_horz.ts
|
7609
|
+
var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = rectifier_diode_default;
|
7610
|
+
var rectifier_diode_horz_default = defineSymbol({
|
7611
|
+
primitives: [
|
7612
|
+
...Object.values(paths36),
|
7613
|
+
...Object.values(circles26),
|
7614
|
+
{ ...texts51.top1, anchor: "middle_right" },
|
7615
|
+
{ ...texts51.bottom1, anchor: "middle_right" }
|
7616
|
+
],
|
7617
|
+
ports: [
|
7618
|
+
{ ...refblocks36.top1, labels: ["1"] },
|
7619
|
+
// TODO add more "standard" labels
|
7620
|
+
{ ...refblocks36.bottom1, labels: ["2"] },
|
7621
|
+
// TODO add more "standard" labels
|
7622
|
+
{ ...refblocks36.left1, labels: ["3"] },
|
7623
|
+
// TODO add more "standard" labels
|
7624
|
+
{ ...refblocks36.right1, labels: ["4"] }
|
7625
|
+
// TODO add more "standard" labels
|
7626
|
+
],
|
7627
|
+
size: { width: bounds36.width, height: bounds36.height },
|
7628
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
7629
|
+
});
|
7630
|
+
|
7631
|
+
// symbols/rectifier_diode_vert.ts
|
7632
|
+
var rotated9 = rotateSymbol(rectifier_diode_horz_default);
|
7633
|
+
var ref24 = rotated9.primitives.find(
|
7634
|
+
(p) => p.type === "text" && p.text === "{REF}"
|
7635
|
+
);
|
7636
|
+
var val20 = rotated9.primitives.find(
|
7637
|
+
(p) => p.type === "text" && p.text === "{VAL}"
|
7638
|
+
);
|
7639
|
+
ref24.anchor = "middle_left";
|
7640
|
+
val20.anchor = "middle_right";
|
7641
|
+
var rectifier_diode_vert_default = rotated9;
|
7642
|
+
|
7199
7643
|
// assets/generated/resonator.json
|
7200
7644
|
var resonator_default = {
|
7201
7645
|
paths: {
|
@@ -7542,11 +7986,11 @@ var resonator_default = {
|
|
7542
7986
|
};
|
7543
7987
|
|
7544
7988
|
// symbols/resonator_horz.ts
|
7545
|
-
var { paths:
|
7989
|
+
var { paths: paths37, texts: texts52, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = resonator_default;
|
7546
7990
|
var resonator_horz_default = defineSymbol({
|
7547
7991
|
primitives: [
|
7548
|
-
...Object.values(
|
7549
|
-
...Object.values(
|
7992
|
+
...Object.values(paths37),
|
7993
|
+
...Object.values(circles27),
|
7550
7994
|
// { ...texts.top1, anchor: "middle_left" },
|
7551
7995
|
// { ...texts.bottom1, anchor: "middle_left" },
|
7552
7996
|
{
|
@@ -7565,15 +8009,15 @@ var resonator_horz_default = defineSymbol({
|
|
7565
8009
|
}
|
7566
8010
|
],
|
7567
8011
|
ports: [
|
7568
|
-
{ ...
|
8012
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
7569
8013
|
// TODO add more "standard" labels
|
7570
|
-
{ ...
|
8014
|
+
{ ...refblocks37.right1, labels: ["2"] },
|
7571
8015
|
// TODO add more "standard" labels
|
7572
|
-
{ ...
|
8016
|
+
{ ...refblocks37.right2, labels: ["3"] }
|
7573
8017
|
// TODO add more "standard" labels
|
7574
8018
|
],
|
7575
|
-
size: { width:
|
7576
|
-
center: { x:
|
8019
|
+
size: { width: bounds37.width, height: bounds37.height },
|
8020
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
7577
8021
|
});
|
7578
8022
|
|
7579
8023
|
// symbols/resonator_vert.ts
|
@@ -7771,35 +8215,35 @@ var schottky_diode_default = {
|
|
7771
8215
|
};
|
7772
8216
|
|
7773
8217
|
// symbols/schottky_diode_horz.ts
|
7774
|
-
var { paths:
|
8218
|
+
var { paths: paths38, texts: texts53, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = schottky_diode_default;
|
7775
8219
|
var schottky_diode_horz_default = defineSymbol({
|
7776
8220
|
primitives: [
|
7777
|
-
...Object.values(
|
7778
|
-
...Object.values(
|
7779
|
-
{ ...
|
7780
|
-
{ ...
|
8221
|
+
...Object.values(paths38),
|
8222
|
+
...Object.values(circles28),
|
8223
|
+
{ ...texts53.top1, anchor: "middle_bottom" },
|
8224
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
7781
8225
|
],
|
7782
8226
|
ports: [
|
7783
|
-
{ ...
|
8227
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
7784
8228
|
// TODO add more "standard" labels
|
7785
|
-
{ ...
|
8229
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
7786
8230
|
// TODO add more "standard" labels
|
7787
8231
|
],
|
7788
|
-
size: { width:
|
7789
|
-
center: { x:
|
8232
|
+
size: { width: bounds38.width, height: bounds38.height },
|
8233
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7790
8234
|
});
|
7791
8235
|
|
7792
8236
|
// symbols/schottky_diode_vert.ts
|
7793
|
-
var
|
7794
|
-
var
|
8237
|
+
var rotated10 = rotateSymbol(schottky_diode_horz_default);
|
8238
|
+
var ref25 = rotated10.primitives.find(
|
7795
8239
|
(p) => p.type === "text" && p.text === "{REF}"
|
7796
8240
|
);
|
7797
|
-
var
|
8241
|
+
var val21 = rotated10.primitives.find(
|
7798
8242
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7799
8243
|
);
|
7800
|
-
|
7801
|
-
|
7802
|
-
var schottky_diode_vert_default =
|
8244
|
+
ref25.anchor = "middle_left";
|
8245
|
+
val21.anchor = "middle_right";
|
8246
|
+
var schottky_diode_vert_default = rotated10;
|
7803
8247
|
|
7804
8248
|
// assets/generated/silicon_controlled_rectifier.json
|
7805
8249
|
var silicon_controlled_rectifier_default = {
|
@@ -7945,34 +8389,34 @@ var silicon_controlled_rectifier_default = {
|
|
7945
8389
|
};
|
7946
8390
|
|
7947
8391
|
// symbols/silicon_controlled_rectifier_horz.ts
|
7948
|
-
var { paths:
|
8392
|
+
var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = silicon_controlled_rectifier_default;
|
7949
8393
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
7950
8394
|
primitives: [
|
7951
|
-
...Object.values(
|
7952
|
-
...Object.values(
|
7953
|
-
{ ...
|
7954
|
-
{ ...
|
8395
|
+
...Object.values(paths39),
|
8396
|
+
...Object.values(circles29),
|
8397
|
+
{ ...texts54.top1, anchor: "middle_left" },
|
8398
|
+
{ ...texts54.bottom1, anchor: "middle_top" }
|
7955
8399
|
],
|
7956
8400
|
ports: [
|
7957
|
-
{ ...
|
8401
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
7958
8402
|
// TODO add more "standard" labels
|
7959
|
-
{ ...
|
8403
|
+
{ ...refblocks39.right1, labels: ["2"] },
|
7960
8404
|
// TODO add more "standard" labels
|
7961
|
-
{ ...
|
8405
|
+
{ ...refblocks39.bottom1, labels: ["3"] }
|
7962
8406
|
// TODO add more "standard" labels
|
7963
8407
|
],
|
7964
|
-
size: { width:
|
7965
|
-
center: { x:
|
8408
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8409
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7966
8410
|
});
|
7967
8411
|
|
7968
8412
|
// symbols/silicon_controlled_rectifier_vert.ts
|
7969
8413
|
var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
7970
|
-
var
|
8414
|
+
var texts55 = rotatedSymbol20.primitives.filter(
|
7971
8415
|
(primitive) => primitive.type === "text"
|
7972
8416
|
);
|
7973
|
-
var
|
7974
|
-
|
7975
|
-
|
8417
|
+
var ref26 = texts55.find((text) => text.text === "{REF}");
|
8418
|
+
ref26.y = 0;
|
8419
|
+
ref26.anchor = "middle_left";
|
7976
8420
|
var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
|
7977
8421
|
|
7978
8422
|
// assets/generated/SPDT_switch.json
|
@@ -8093,37 +8537,37 @@ var SPDT_switch_default = {
|
|
8093
8537
|
};
|
8094
8538
|
|
8095
8539
|
// symbols/SPDT_switch_horz.ts
|
8096
|
-
var { paths:
|
8540
|
+
var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = SPDT_switch_default;
|
8097
8541
|
var SPDT_switch_horz_default = defineSymbol({
|
8098
8542
|
primitives: [
|
8099
|
-
...Object.values(
|
8100
|
-
...Object.values(
|
8101
|
-
{ ...
|
8102
|
-
{ ...
|
8543
|
+
...Object.values(paths40),
|
8544
|
+
...Object.values(circles30),
|
8545
|
+
{ ...texts56.top1, anchor: "middle_bottom", x: -0.01 },
|
8546
|
+
{ ...texts56.bottom1, anchor: "middle_top", x: -0.01 }
|
8103
8547
|
],
|
8104
8548
|
ports: [
|
8105
|
-
{ ...
|
8549
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
8106
8550
|
// TODO add more "standard" labels
|
8107
|
-
{ ...
|
8551
|
+
{ ...refblocks40.right1, labels: ["3"] },
|
8108
8552
|
// TODO add more "standard" labels
|
8109
|
-
{ ...
|
8553
|
+
{ ...refblocks40.right2, labels: ["2"] }
|
8110
8554
|
// TODO add more "standard" labels
|
8111
8555
|
],
|
8112
|
-
size: { width:
|
8113
|
-
center: { x:
|
8556
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8557
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
8114
8558
|
});
|
8115
8559
|
|
8116
8560
|
// symbols/SPDT_switch_vert.ts
|
8117
8561
|
var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
|
8118
|
-
var
|
8119
|
-
var
|
8120
|
-
|
8121
|
-
|
8122
|
-
|
8123
|
-
var
|
8124
|
-
|
8125
|
-
|
8126
|
-
|
8562
|
+
var texts57 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
8563
|
+
var val22 = texts57.find((t) => t.text === "{VAL}");
|
8564
|
+
val22.anchor = "middle_right";
|
8565
|
+
val22.x = -0.3;
|
8566
|
+
val22.y = 0;
|
8567
|
+
var ref27 = texts57.find((t) => t.text === "{REF}");
|
8568
|
+
ref27.anchor = "middle_left";
|
8569
|
+
ref27.x = 0.3;
|
8570
|
+
ref27.y = 0;
|
8127
8571
|
var SPDT_switch_vert_default = rotatedSymbol21;
|
8128
8572
|
|
8129
8573
|
// assets/generated/SPST_switch.json
|
@@ -8221,35 +8665,35 @@ var SPST_switch_default = {
|
|
8221
8665
|
};
|
8222
8666
|
|
8223
8667
|
// symbols/SPST_switch_horz.ts
|
8224
|
-
var { paths:
|
8668
|
+
var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = SPST_switch_default;
|
8225
8669
|
var SPST_switch_horz_default = defineSymbol({
|
8226
8670
|
primitives: [
|
8227
|
-
...Object.values(
|
8228
|
-
...Object.values(
|
8229
|
-
{ ...
|
8230
|
-
{ ...
|
8671
|
+
...Object.values(paths41),
|
8672
|
+
...Object.values(circles31),
|
8673
|
+
{ ...texts58.top1, anchor: "middle_bottom", x: 0 },
|
8674
|
+
{ ...texts58.bottom1, anchor: "middle_top", x: 0 }
|
8231
8675
|
],
|
8232
8676
|
ports: [
|
8233
|
-
{ ...
|
8677
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
8234
8678
|
// TODO add more "standard" labels
|
8235
|
-
{ ...
|
8679
|
+
{ ...refblocks41.right1, labels: ["2"] }
|
8236
8680
|
// TODO add more "standard" labels
|
8237
8681
|
],
|
8238
|
-
size: { width:
|
8239
|
-
center: { x:
|
8682
|
+
size: { width: bounds41.width, height: bounds41.height },
|
8683
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
8240
8684
|
});
|
8241
8685
|
|
8242
8686
|
// symbols/SPST_switch_vert.ts
|
8243
8687
|
var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
|
8244
|
-
var
|
8245
|
-
var
|
8246
|
-
|
8247
|
-
|
8248
|
-
|
8249
|
-
var
|
8250
|
-
|
8251
|
-
|
8252
|
-
|
8688
|
+
var texts59 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
|
8689
|
+
var val23 = texts59.find((t) => t.text === "{VAL}");
|
8690
|
+
val23.anchor = "middle_right";
|
8691
|
+
val23.x = -0.3;
|
8692
|
+
val23.y = 0;
|
8693
|
+
var ref28 = texts59.find((t) => t.text === "{REF}");
|
8694
|
+
ref28.anchor = "middle_left";
|
8695
|
+
ref28.x = 0.3;
|
8696
|
+
ref28.y = 0;
|
8253
8697
|
var SPST_switch_vert_default = rotatedSymbol22;
|
8254
8698
|
|
8255
8699
|
// assets/generated/step_recovery_diode.json
|
@@ -8414,11 +8858,11 @@ var step_recovery_diode_default = {
|
|
8414
8858
|
};
|
8415
8859
|
|
8416
8860
|
// symbols/step_recovery_diode_horz.ts
|
8417
|
-
var { paths:
|
8861
|
+
var { paths: paths42, texts: texts60, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = step_recovery_diode_default;
|
8418
8862
|
var step_recovery_diode_horz_default = defineSymbol({
|
8419
8863
|
primitives: [
|
8420
|
-
...Object.values(
|
8421
|
-
...Object.values(
|
8864
|
+
...Object.values(paths42),
|
8865
|
+
...Object.values(circles32),
|
8422
8866
|
// { ...texts.top1, anchor: "middle_left" },
|
8423
8867
|
// { ...texts.bottom1, anchor: "middle_left" },
|
8424
8868
|
{
|
@@ -8437,13 +8881,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
8437
8881
|
}
|
8438
8882
|
],
|
8439
8883
|
ports: [
|
8440
|
-
{ ...
|
8884
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
8441
8885
|
// TODO add more "standard" labels
|
8442
|
-
{ ...
|
8886
|
+
{ ...refblocks42.right1, labels: ["2"] }
|
8443
8887
|
// TODO add more "standard" labels
|
8444
8888
|
],
|
8445
|
-
size: { width:
|
8446
|
-
center: { x:
|
8889
|
+
size: { width: bounds42.width, height: bounds42.height },
|
8890
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
8447
8891
|
});
|
8448
8892
|
|
8449
8893
|
// symbols/step_recovery_diode_vert.ts
|
@@ -8640,35 +9084,35 @@ var triac_default = {
|
|
8640
9084
|
};
|
8641
9085
|
|
8642
9086
|
// symbols/triac_horz.ts
|
8643
|
-
var { paths:
|
9087
|
+
var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = triac_default;
|
8644
9088
|
var triac_horz_default = defineSymbol({
|
8645
9089
|
primitives: [
|
8646
|
-
...Object.values(
|
8647
|
-
...Object.values(
|
8648
|
-
{ ...
|
8649
|
-
{ ...
|
9090
|
+
...Object.values(paths43),
|
9091
|
+
...Object.values(circles33),
|
9092
|
+
{ ...texts61.top1, anchor: "middle_left" },
|
9093
|
+
{ ...texts61.bottom1, anchor: "middle_top" }
|
8650
9094
|
],
|
8651
9095
|
ports: [
|
8652
|
-
{ ...
|
9096
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
8653
9097
|
// TODO add more "standard" labels
|
8654
|
-
{ ...
|
9098
|
+
{ ...refblocks43.right1, labels: ["2"] },
|
8655
9099
|
// TODO add more "standard" labels
|
8656
|
-
{ ...
|
9100
|
+
{ ...refblocks43.bottom1, labels: ["3"] }
|
8657
9101
|
// TODO add more "standard" labels
|
8658
9102
|
],
|
8659
|
-
size: { width:
|
8660
|
-
center: { x:
|
9103
|
+
size: { width: bounds43.width, height: bounds43.height },
|
9104
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
8661
9105
|
});
|
8662
9106
|
|
8663
9107
|
// symbols/triac_vert.ts
|
8664
9108
|
var rotatedSymbol23 = rotateSymbol(triac_horz_default);
|
8665
|
-
var
|
9109
|
+
var texts62 = rotatedSymbol23.primitives.filter(
|
8666
9110
|
(primitive) => primitive.type === "text"
|
8667
9111
|
);
|
8668
|
-
var
|
8669
|
-
var
|
8670
|
-
|
8671
|
-
|
9112
|
+
var ref29 = texts62.find((text) => text.text === "{REF}");
|
9113
|
+
var val24 = texts62.find((text) => text.text === "{VAL}");
|
9114
|
+
ref29.y = 0;
|
9115
|
+
val24.y = 0;
|
8672
9116
|
var triac_vert_default = rotatedSymbol23;
|
8673
9117
|
|
8674
9118
|
// assets/generated/tunnel_diode.json
|
@@ -8833,35 +9277,35 @@ var tunnel_diode_default = {
|
|
8833
9277
|
};
|
8834
9278
|
|
8835
9279
|
// symbols/tunnel_diode_horz.ts
|
8836
|
-
var { paths:
|
9280
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = tunnel_diode_default;
|
8837
9281
|
var tunnel_diode_horz_default = defineSymbol({
|
8838
9282
|
primitives: [
|
8839
|
-
...Object.values(
|
8840
|
-
...Object.values(
|
8841
|
-
{ ...
|
8842
|
-
{ ...
|
9283
|
+
...Object.values(paths44),
|
9284
|
+
...Object.values(circles34),
|
9285
|
+
{ ...texts63.top1, anchor: "middle_bottom" },
|
9286
|
+
{ ...texts63.bottom1, anchor: "middle_top" }
|
8843
9287
|
],
|
8844
9288
|
ports: [
|
8845
|
-
{ ...
|
9289
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
8846
9290
|
// TODO add more "standard" labels
|
8847
|
-
{ ...
|
9291
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
8848
9292
|
// TODO add more "standard" labels
|
8849
9293
|
],
|
8850
|
-
size: { width:
|
8851
|
-
center: { x:
|
9294
|
+
size: { width: bounds44.width, height: bounds44.height },
|
9295
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
8852
9296
|
});
|
8853
9297
|
|
8854
9298
|
// symbols/tunnel_diode_vert.ts
|
8855
|
-
var
|
8856
|
-
var
|
9299
|
+
var rotated11 = rotateSymbol(tunnel_diode_horz_default);
|
9300
|
+
var ref30 = rotated11.primitives.find(
|
8857
9301
|
(p) => p.type === "text" && p.text === "{REF}"
|
8858
9302
|
);
|
8859
|
-
var
|
9303
|
+
var val25 = rotated11.primitives.find(
|
8860
9304
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8861
9305
|
);
|
8862
|
-
|
8863
|
-
|
8864
|
-
var tunnel_diode_vert_default =
|
9306
|
+
ref30.anchor = "middle_left";
|
9307
|
+
val25.anchor = "middle_right";
|
9308
|
+
var tunnel_diode_vert_default = rotated11;
|
8865
9309
|
|
8866
9310
|
// assets/generated/unijunction_transistor.json
|
8867
9311
|
var unijunction_transistor_default = {
|
@@ -9031,36 +9475,36 @@ var unijunction_transistor_default = {
|
|
9031
9475
|
};
|
9032
9476
|
|
9033
9477
|
// symbols/unijunction_transistor_horz.ts
|
9034
|
-
var { paths:
|
9478
|
+
var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = unijunction_transistor_default;
|
9035
9479
|
var unijunction_transistor_horz_default = defineSymbol({
|
9036
9480
|
primitives: [
|
9037
|
-
...Object.values(
|
9038
|
-
...Object.values(
|
9039
|
-
{ ...
|
9040
|
-
{ ...
|
9481
|
+
...Object.values(paths45),
|
9482
|
+
...Object.values(circles35),
|
9483
|
+
{ ...texts64.top1, anchor: "middle_left" },
|
9484
|
+
{ ...texts64.bottom1, anchor: "middle_right" }
|
9041
9485
|
],
|
9042
9486
|
ports: [
|
9043
|
-
{ ...
|
9487
|
+
{ ...refblocks45.top1, labels: ["1"] },
|
9044
9488
|
// TODO add more "standard" labels
|
9045
|
-
{ ...
|
9489
|
+
{ ...refblocks45.bottom1, labels: ["2"] },
|
9046
9490
|
// TODO add more "standard" labels
|
9047
|
-
{ ...
|
9491
|
+
{ ...refblocks45.left1, labels: ["3"] }
|
9048
9492
|
// TODO add more "standard" labels
|
9049
9493
|
],
|
9050
|
-
size: { width:
|
9051
|
-
center: { x:
|
9494
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9495
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
9052
9496
|
});
|
9053
9497
|
|
9054
9498
|
// symbols/unijunction_transistor_vert.ts
|
9055
9499
|
var rotatedSymbol24 = rotateSymbol(unijunction_transistor_horz_default);
|
9056
|
-
var
|
9500
|
+
var texts65 = rotatedSymbol24.primitives.filter(
|
9057
9501
|
(primitive) => primitive.type === "text"
|
9058
9502
|
);
|
9059
|
-
var
|
9060
|
-
|
9061
|
-
var
|
9062
|
-
|
9063
|
-
|
9503
|
+
var ref31 = texts65.find((text) => text.text === "{REF}");
|
9504
|
+
ref31.y = 0.1;
|
9505
|
+
var val26 = texts65.find((text) => text.text === "{VAL}");
|
9506
|
+
val26.y = 0.1;
|
9507
|
+
val26.x = -0.4;
|
9064
9508
|
var unijunction_transistor_vert_default = rotatedSymbol24;
|
9065
9509
|
|
9066
9510
|
// assets/generated/var_meter.json
|
@@ -9150,33 +9594,33 @@ var var_meter_default = {
|
|
9150
9594
|
};
|
9151
9595
|
|
9152
9596
|
// symbols/var_meter_horz.ts
|
9153
|
-
var { paths:
|
9597
|
+
var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = var_meter_default;
|
9154
9598
|
var var_meter_horz_default = defineSymbol({
|
9155
9599
|
primitives: [
|
9156
|
-
...Object.values(
|
9157
|
-
...Object.values(
|
9600
|
+
...Object.values(paths46),
|
9601
|
+
...Object.values(circles36),
|
9158
9602
|
{
|
9159
|
-
...
|
9603
|
+
...texts66.top1,
|
9160
9604
|
x: 0,
|
9161
9605
|
y: -0.3594553499999995,
|
9162
9606
|
anchor: "middle_bottom"
|
9163
9607
|
},
|
9164
9608
|
{
|
9165
|
-
...
|
9609
|
+
...texts66.bottom1,
|
9166
9610
|
x: 0,
|
9167
9611
|
y: 0.35,
|
9168
9612
|
anchor: "middle_top"
|
9169
9613
|
},
|
9170
|
-
{ ...
|
9614
|
+
{ ...texts66.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
9171
9615
|
],
|
9172
9616
|
ports: [
|
9173
|
-
{ ...
|
9617
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
9174
9618
|
// TODO add more "standard" labels
|
9175
|
-
{ ...
|
9619
|
+
{ ...refblocks46.right1, labels: ["2"] }
|
9176
9620
|
// TODO add more "standard" labels
|
9177
9621
|
],
|
9178
|
-
size: { width:
|
9179
|
-
center: { x:
|
9622
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9623
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
9180
9624
|
});
|
9181
9625
|
|
9182
9626
|
// symbols/var_meter_vert.ts
|
@@ -9329,35 +9773,35 @@ var varactor_diode_default = {
|
|
9329
9773
|
};
|
9330
9774
|
|
9331
9775
|
// symbols/varactor_diode_horz.ts
|
9332
|
-
var { paths:
|
9776
|
+
var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = varactor_diode_default;
|
9333
9777
|
var varactor_diode_horz_default = defineSymbol({
|
9334
9778
|
primitives: [
|
9335
|
-
...Object.values(
|
9336
|
-
...Object.values(
|
9337
|
-
{ ...
|
9338
|
-
{ ...
|
9779
|
+
...Object.values(paths47),
|
9780
|
+
...Object.values(circles37),
|
9781
|
+
{ ...texts67.top1, anchor: "middle_bottom" },
|
9782
|
+
{ ...texts67.bottom1, anchor: "middle_top" }
|
9339
9783
|
],
|
9340
9784
|
ports: [
|
9341
|
-
{ ...
|
9785
|
+
{ ...refblocks47.left1, labels: ["1"] },
|
9342
9786
|
// TODO add more "standard" labels
|
9343
|
-
{ ...
|
9787
|
+
{ ...refblocks47.right1, labels: ["2"] }
|
9344
9788
|
// TODO add more "standard" labels
|
9345
9789
|
],
|
9346
|
-
size: { width:
|
9347
|
-
center: { x:
|
9790
|
+
size: { width: bounds47.width, height: bounds47.height },
|
9791
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
9348
9792
|
});
|
9349
9793
|
|
9350
9794
|
// symbols/varactor_diode_vert.ts
|
9351
|
-
var
|
9352
|
-
var
|
9795
|
+
var rotated12 = rotateSymbol(varactor_diode_horz_default);
|
9796
|
+
var ref32 = rotated12.primitives.find(
|
9353
9797
|
(p) => p.type === "text" && p.text === "{REF}"
|
9354
9798
|
);
|
9355
|
-
var
|
9799
|
+
var val27 = rotated12.primitives.find(
|
9356
9800
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9357
9801
|
);
|
9358
|
-
|
9359
|
-
|
9360
|
-
var varactor_diode_vert_default =
|
9802
|
+
ref32.anchor = "middle_left";
|
9803
|
+
val27.anchor = "middle_right";
|
9804
|
+
var varactor_diode_vert_default = rotated12;
|
9361
9805
|
|
9362
9806
|
// assets/generated/varistor.json
|
9363
9807
|
var varistor_default = {
|
@@ -9492,26 +9936,26 @@ var varistor_default = {
|
|
9492
9936
|
};
|
9493
9937
|
|
9494
9938
|
// symbols/varistor_horz.ts
|
9495
|
-
var { paths:
|
9939
|
+
var { paths: paths48, texts: texts68, bounds: bounds48, refblocks: refblocks48 } = varistor_default;
|
9496
9940
|
var varistor_horz_default = defineSymbol({
|
9497
9941
|
primitives: [
|
9498
|
-
...Object.values(
|
9499
|
-
{ ...
|
9500
|
-
{ ...
|
9942
|
+
...Object.values(paths48),
|
9943
|
+
{ ...texts68.top1, anchor: "middle_left" },
|
9944
|
+
{ ...texts68.bottom1, anchor: "middle_right" }
|
9501
9945
|
],
|
9502
9946
|
ports: [
|
9503
9947
|
{
|
9504
|
-
...
|
9948
|
+
...refblocks48.left1,
|
9505
9949
|
labels: ["1", "-"]
|
9506
9950
|
},
|
9507
9951
|
{
|
9508
|
-
...
|
9952
|
+
...refblocks48.right1,
|
9509
9953
|
labels: ["2", "+"]
|
9510
9954
|
}
|
9511
9955
|
],
|
9512
|
-
size: { width:
|
9956
|
+
size: { width: bounds48.width, height: bounds48.height },
|
9513
9957
|
//{ width: 1, height: 0.24 },
|
9514
|
-
center: { x:
|
9958
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
9515
9959
|
});
|
9516
9960
|
|
9517
9961
|
// symbols/varistor_vert.ts
|
@@ -9617,11 +10061,11 @@ var volt_meter_default = {
|
|
9617
10061
|
};
|
9618
10062
|
|
9619
10063
|
// symbols/volt_meter_horz.ts
|
9620
|
-
var { paths:
|
10064
|
+
var { paths: paths49, texts: texts69, bounds: bounds49, circles: circles38, refblocks: refblocks49 } = volt_meter_default;
|
9621
10065
|
var volt_meter_horz_default = defineSymbol({
|
9622
10066
|
primitives: [
|
9623
|
-
...Object.values(
|
9624
|
-
...Object.values(
|
10067
|
+
...Object.values(paths49),
|
10068
|
+
...Object.values(circles38),
|
9625
10069
|
{
|
9626
10070
|
type: "text",
|
9627
10071
|
text: "{REF}",
|
@@ -9638,13 +10082,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
9638
10082
|
}
|
9639
10083
|
],
|
9640
10084
|
ports: [
|
9641
|
-
{ ...
|
10085
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
9642
10086
|
// TODO add more "standard" labels
|
9643
|
-
{ ...
|
10087
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
9644
10088
|
// TODO add more "standard" labels
|
9645
10089
|
],
|
9646
|
-
size: { width:
|
9647
|
-
center: { x:
|
10090
|
+
size: { width: bounds49.width, height: bounds49.height },
|
10091
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
9648
10092
|
});
|
9649
10093
|
|
9650
10094
|
// symbols/volt_meter_vert.ts
|
@@ -9797,35 +10241,35 @@ var zener_diode_default = {
|
|
9797
10241
|
};
|
9798
10242
|
|
9799
10243
|
// symbols/zener_diode_horz.ts
|
9800
|
-
var { paths:
|
10244
|
+
var { paths: paths50, texts: texts70, bounds: bounds50, refblocks: refblocks50, circles: circles39 } = zener_diode_default;
|
9801
10245
|
var zener_diode_horz_default = defineSymbol({
|
9802
10246
|
primitives: [
|
9803
|
-
...Object.values(
|
9804
|
-
...Object.values(
|
9805
|
-
{ ...
|
9806
|
-
{ ...
|
10247
|
+
...Object.values(paths50),
|
10248
|
+
...Object.values(circles39),
|
10249
|
+
{ ...texts70.top1, anchor: "middle_bottom" },
|
10250
|
+
{ ...texts70.bottom1, anchor: "middle_top" }
|
9807
10251
|
],
|
9808
10252
|
ports: [
|
9809
|
-
{ ...
|
10253
|
+
{ ...refblocks50.left1, labels: ["1"] },
|
9810
10254
|
// TODO add more "standard" labels
|
9811
|
-
{ ...
|
10255
|
+
{ ...refblocks50.right1, labels: ["2"] }
|
9812
10256
|
// TODO add more "standard" labels
|
9813
10257
|
],
|
9814
|
-
size: { width:
|
9815
|
-
center: { x:
|
10258
|
+
size: { width: bounds50.width, height: bounds50.height },
|
10259
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
9816
10260
|
});
|
9817
10261
|
|
9818
10262
|
// symbols/zener_diode_vert.ts
|
9819
|
-
var
|
9820
|
-
var
|
10263
|
+
var rotated13 = rotateSymbol(zener_diode_horz_default);
|
10264
|
+
var ref33 = rotated13.primitives.find(
|
9821
10265
|
(p) => p.type === "text" && p.text === "{REF}"
|
9822
10266
|
);
|
9823
|
-
var
|
10267
|
+
var val28 = rotated13.primitives.find(
|
9824
10268
|
(p) => p.type === "text" && p.text === "{VAL}"
|
9825
10269
|
);
|
9826
|
-
|
9827
|
-
|
9828
|
-
var zener_diode_vert_default =
|
10270
|
+
ref33.anchor = "middle_left";
|
10271
|
+
val28.anchor = "middle_right";
|
10272
|
+
var zener_diode_vert_default = rotated13;
|
9829
10273
|
|
9830
10274
|
// generated/symbols-index.ts
|
9831
10275
|
var symbols_index_default = {
|
@@ -9899,6 +10343,8 @@ var symbols_index_default = {
|
|
9899
10343
|
"push_button_normally_closed_momentary_vert": push_button_normally_closed_momentary_vert_default,
|
9900
10344
|
"push_button_normally_open_momentary_horz": push_button_normally_open_momentary_horz_default,
|
9901
10345
|
"push_button_normally_open_momentary_vert": push_button_normally_open_momentary_vert_default,
|
10346
|
+
"rectifier_diode_horz": rectifier_diode_horz_default,
|
10347
|
+
"rectifier_diode_vert": rectifier_diode_vert_default,
|
9902
10348
|
"resonator_horz": resonator_horz_default,
|
9903
10349
|
"resonator_vert": resonator_vert_default,
|
9904
10350
|
"schottky_diode_horz": schottky_diode_horz_default,
|