schematic-symbols 0.0.84 → 0.0.86
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +21 -1
- package/dist/index.js +693 -425
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/frequency_meter_horz.ts +32 -0
- package/symbols/frequency_meter_vert.ts +19 -0
- package/symbols/watt_hour_meter_horz.ts +32 -0
- package/symbols/watt_hour_meter_vert.ts +19 -0
package/dist/index.js
CHANGED
@@ -2497,6 +2497,138 @@ var filled_diode_horz_default = defineSymbol({
|
|
2497
2497
|
// symbols/filled_diode_vert.ts
|
2498
2498
|
var filled_diode_vert_default = rotateSymbol(filled_diode_horz_default);
|
2499
2499
|
|
2500
|
+
// assets/generated/frequency_meter.json
|
2501
|
+
var frequency_meter_default = {
|
2502
|
+
paths: {
|
2503
|
+
path11: {
|
2504
|
+
type: "path",
|
2505
|
+
points: [
|
2506
|
+
{
|
2507
|
+
x: -0.5307178,
|
2508
|
+
y: 0
|
2509
|
+
},
|
2510
|
+
{
|
2511
|
+
x: -0.3042887999999997,
|
2512
|
+
y: 0
|
2513
|
+
}
|
2514
|
+
],
|
2515
|
+
color: "primary",
|
2516
|
+
fill: false
|
2517
|
+
},
|
2518
|
+
path12: {
|
2519
|
+
type: "path",
|
2520
|
+
points: [
|
2521
|
+
{
|
2522
|
+
x: 0.2899773000000003,
|
2523
|
+
y: 0
|
2524
|
+
},
|
2525
|
+
{
|
2526
|
+
x: 0.5307178000000001,
|
2527
|
+
y: 0
|
2528
|
+
}
|
2529
|
+
],
|
2530
|
+
color: "primary",
|
2531
|
+
fill: false
|
2532
|
+
}
|
2533
|
+
},
|
2534
|
+
texts: {
|
2535
|
+
top1: {
|
2536
|
+
type: "text",
|
2537
|
+
text: "{REF}",
|
2538
|
+
x: -0.17652089999999898,
|
2539
|
+
y: -0.36197569999999946
|
2540
|
+
},
|
2541
|
+
bottom1: {
|
2542
|
+
type: "text",
|
2543
|
+
text: "{VAL}",
|
2544
|
+
x: -0.009849199999999891,
|
2545
|
+
y: 0.43234960000000044
|
2546
|
+
},
|
2547
|
+
left1: {
|
2548
|
+
type: "text",
|
2549
|
+
text: "Hz",
|
2550
|
+
x: 0,
|
2551
|
+
y: -0.035
|
2552
|
+
}
|
2553
|
+
},
|
2554
|
+
refblocks: {
|
2555
|
+
left1: {
|
2556
|
+
x: -0.5446330999999993,
|
2557
|
+
y: 852800000000542e-18
|
2558
|
+
},
|
2559
|
+
right1: {
|
2560
|
+
x: 0.5381638000000004,
|
2561
|
+
y: -14359999999924433e-20
|
2562
|
+
}
|
2563
|
+
},
|
2564
|
+
bounds: {
|
2565
|
+
minX: -0.5307178,
|
2566
|
+
maxX: 0.5307178000000001,
|
2567
|
+
minY: 0,
|
2568
|
+
maxY: 0,
|
2569
|
+
width: 1.0614356000000003,
|
2570
|
+
height: 1,
|
2571
|
+
centerX: 5551115123125783e-32,
|
2572
|
+
centerY: 0
|
2573
|
+
},
|
2574
|
+
circles: {
|
2575
|
+
path1: {
|
2576
|
+
type: "circle",
|
2577
|
+
x: -0.006997299999999651,
|
2578
|
+
y: -0.007128299999999532,
|
2579
|
+
radius: 0.28854213,
|
2580
|
+
color: "primary",
|
2581
|
+
fill: false
|
2582
|
+
}
|
2583
|
+
}
|
2584
|
+
};
|
2585
|
+
|
2586
|
+
// symbols/frequency_meter_horz.ts
|
2587
|
+
var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles12 } = frequency_meter_default;
|
2588
|
+
var frequency_meter_horz_default = defineSymbol({
|
2589
|
+
primitives: [
|
2590
|
+
...Object.values(paths15),
|
2591
|
+
...Object.values(circles12),
|
2592
|
+
{
|
2593
|
+
type: "text",
|
2594
|
+
text: "{REF}",
|
2595
|
+
x: 0,
|
2596
|
+
y: -0.3594553499999995,
|
2597
|
+
anchor: "middle_bottom"
|
2598
|
+
},
|
2599
|
+
{
|
2600
|
+
type: "text",
|
2601
|
+
text: "{VAL}",
|
2602
|
+
x: 0,
|
2603
|
+
y: 0.35,
|
2604
|
+
anchor: "middle_top"
|
2605
|
+
},
|
2606
|
+
{ ...texts18.left1, anchor: "center", fontSize: 0.2 }
|
2607
|
+
],
|
2608
|
+
ports: [
|
2609
|
+
{ ...refblocks15.left1, labels: ["1"] },
|
2610
|
+
// TODO add more "standard" labels
|
2611
|
+
{ ...refblocks15.right1, labels: ["2"] }
|
2612
|
+
// TODO add more "standard" labels
|
2613
|
+
],
|
2614
|
+
size: { width: bounds15.width, height: bounds15.height },
|
2615
|
+
center: { x: bounds15.centerX, y: bounds15.centerY }
|
2616
|
+
});
|
2617
|
+
|
2618
|
+
// symbols/frequency_meter_vert.ts
|
2619
|
+
var { 5: letter4, ...rest4 } = frequency_meter_horz_default.primitives;
|
2620
|
+
function isPrimitive4(value) {
|
2621
|
+
return typeof value === "object";
|
2622
|
+
}
|
2623
|
+
var rotatedSymbol8 = rotateSymbol({
|
2624
|
+
...frequency_meter_horz_default,
|
2625
|
+
primitives: Object.values(rest4).filter(isPrimitive4)
|
2626
|
+
});
|
2627
|
+
var frequency_meter_vert_default = {
|
2628
|
+
...rotatedSymbol8,
|
2629
|
+
primitives: [...rotatedSymbol8.primitives, letter4]
|
2630
|
+
};
|
2631
|
+
|
2500
2632
|
// assets/generated/fuse.json
|
2501
2633
|
var fuse_default = {
|
2502
2634
|
paths: {
|
@@ -2585,11 +2717,11 @@ var fuse_default = {
|
|
2585
2717
|
};
|
2586
2718
|
|
2587
2719
|
// symbols/fuse_horz.ts
|
2588
|
-
var { paths:
|
2720
|
+
var { paths: paths16, texts: texts19, bounds: bounds16, refblocks: refblocks16 } = fuse_default;
|
2589
2721
|
var fuse_horz_default = defineSymbol({
|
2590
2722
|
primitives: [
|
2591
|
-
...Object.values(
|
2592
|
-
{ ...
|
2723
|
+
...Object.values(paths16),
|
2724
|
+
{ ...texts19.top1, anchor: "middle_bottom" },
|
2593
2725
|
{
|
2594
2726
|
type: "text",
|
2595
2727
|
text: "{VAL}",
|
@@ -2599,13 +2731,13 @@ var fuse_horz_default = defineSymbol({
|
|
2599
2731
|
}
|
2600
2732
|
],
|
2601
2733
|
ports: [
|
2602
|
-
{ ...
|
2734
|
+
{ ...refblocks16.left1, labels: ["1"] },
|
2603
2735
|
// TODO add more "standard" labels
|
2604
|
-
{ ...
|
2736
|
+
{ ...refblocks16.right1, labels: ["2"] }
|
2605
2737
|
// TODO add more "standard" labels
|
2606
2738
|
],
|
2607
|
-
size: { width:
|
2608
|
-
center: { x:
|
2739
|
+
size: { width: bounds16.width, height: bounds16.height },
|
2740
|
+
center: { x: bounds16.centerX, y: bounds16.centerY }
|
2609
2741
|
});
|
2610
2742
|
|
2611
2743
|
// symbols/fuse_vert.ts
|
@@ -2729,12 +2861,12 @@ var gunn_diode_default = {
|
|
2729
2861
|
};
|
2730
2862
|
|
2731
2863
|
// symbols/gunn_diode_horz.ts
|
2732
|
-
var { paths:
|
2864
|
+
var { paths: paths17, texts: texts20, bounds: bounds17, refblocks: refblocks17, circles: circles13 } = gunn_diode_default;
|
2733
2865
|
var gunn_diode_horz_default = defineSymbol({
|
2734
2866
|
primitives: [
|
2735
|
-
...Object.values(
|
2736
|
-
...Object.values(
|
2737
|
-
{ ...
|
2867
|
+
...Object.values(paths17),
|
2868
|
+
...Object.values(circles13),
|
2869
|
+
{ ...texts20.top1, anchor: "middle_left" },
|
2738
2870
|
{
|
2739
2871
|
type: "text",
|
2740
2872
|
text: "{VAL}",
|
@@ -2744,25 +2876,25 @@ var gunn_diode_horz_default = defineSymbol({
|
|
2744
2876
|
// { ...texts.bottom1, anchor: "middle_left" },
|
2745
2877
|
],
|
2746
2878
|
ports: [
|
2747
|
-
{ ...
|
2879
|
+
{ ...refblocks17.left1, labels: ["1"] },
|
2748
2880
|
// TODO add more "standard" labels
|
2749
|
-
{ ...
|
2881
|
+
{ ...refblocks17.right1, labels: ["2"] }
|
2750
2882
|
// TODO add more "standard" labels
|
2751
2883
|
],
|
2752
|
-
size: { width:
|
2753
|
-
center: { x:
|
2884
|
+
size: { width: bounds17.width, height: bounds17.height },
|
2885
|
+
center: { x: bounds17.centerX, y: bounds17.centerY }
|
2754
2886
|
});
|
2755
2887
|
|
2756
2888
|
// symbols/gunn_diode_vert.ts
|
2757
|
-
var
|
2758
|
-
var
|
2759
|
-
var ref6 =
|
2760
|
-
var val6 =
|
2889
|
+
var rotatedSymbol9 = rotateSymbol(gunn_diode_horz_default);
|
2890
|
+
var texts21 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
|
2891
|
+
var ref6 = texts21.find((t) => t.text === "{REF}");
|
2892
|
+
var val6 = texts21.find((t) => t.text === "{VAL}");
|
2761
2893
|
ref6.x = 0.25;
|
2762
2894
|
ref6.y = -0.045;
|
2763
2895
|
val6.x = -0.55;
|
2764
2896
|
val6.y = 0;
|
2765
|
-
var gunn_diode_vert_default =
|
2897
|
+
var gunn_diode_vert_default = rotatedSymbol9;
|
2766
2898
|
|
2767
2899
|
// assets/generated/igbt_transistor.json
|
2768
2900
|
var igbt_transistor_default = {
|
@@ -2943,11 +3075,11 @@ var igbt_transistor_default = {
|
|
2943
3075
|
};
|
2944
3076
|
|
2945
3077
|
// symbols/igbt_transistor_horz.ts
|
2946
|
-
var { paths:
|
3078
|
+
var { paths: paths18, texts: texts22, bounds: bounds18, refblocks: refblocks18, circles: circles14 } = igbt_transistor_default;
|
2947
3079
|
var igbt_transistor_horz_default = defineSymbol({
|
2948
3080
|
primitives: [
|
2949
|
-
...Object.values(
|
2950
|
-
...Object.values(
|
3081
|
+
...Object.values(paths18),
|
3082
|
+
...Object.values(circles14),
|
2951
3083
|
{
|
2952
3084
|
type: "text",
|
2953
3085
|
text: "{REF}",
|
@@ -2964,15 +3096,15 @@ var igbt_transistor_horz_default = defineSymbol({
|
|
2964
3096
|
}
|
2965
3097
|
],
|
2966
3098
|
ports: [
|
2967
|
-
{ ...
|
3099
|
+
{ ...refblocks18.top1, labels: ["1"] },
|
2968
3100
|
// TODO add more "standard" labels
|
2969
|
-
{ ...
|
3101
|
+
{ ...refblocks18.bottom1, labels: ["2"] },
|
2970
3102
|
// TODO add more "standard" labels
|
2971
|
-
{ ...
|
3103
|
+
{ ...refblocks18.left1, labels: ["3"] }
|
2972
3104
|
// TODO add more "standard" labels
|
2973
3105
|
],
|
2974
|
-
size: { width:
|
2975
|
-
center: { x:
|
3106
|
+
size: { width: bounds18.width, height: bounds18.height },
|
3107
|
+
center: { x: bounds18.centerX + 0.06, y: bounds18.centerY }
|
2976
3108
|
});
|
2977
3109
|
|
2978
3110
|
// symbols/igbt_transistor_vert.ts
|
@@ -3230,31 +3362,31 @@ var laser_diode_default = {
|
|
3230
3362
|
};
|
3231
3363
|
|
3232
3364
|
// symbols/laser_diode_horz.ts
|
3233
|
-
var { paths:
|
3365
|
+
var { paths: paths19, texts: texts23, bounds: bounds19, refblocks: refblocks19, circles: circles15 } = laser_diode_default;
|
3234
3366
|
var laser_diode_horz_default = defineSymbol({
|
3235
3367
|
primitives: [
|
3236
|
-
...Object.values(
|
3237
|
-
...Object.values(
|
3238
|
-
{ ...
|
3239
|
-
{ ...
|
3368
|
+
...Object.values(paths19),
|
3369
|
+
...Object.values(circles15),
|
3370
|
+
{ ...texts23.top1, anchor: "middle_left" },
|
3371
|
+
{ ...texts23.bottom1, anchor: "middle_bottom" }
|
3240
3372
|
],
|
3241
3373
|
ports: [
|
3242
|
-
{ ...
|
3374
|
+
{ ...refblocks19.left1, labels: ["1"] },
|
3243
3375
|
// TODO add more "standard" labels
|
3244
|
-
{ ...
|
3376
|
+
{ ...refblocks19.right1, labels: ["2"] }
|
3245
3377
|
// TODO add more "standard" labels
|
3246
3378
|
],
|
3247
|
-
size: { width:
|
3248
|
-
center: { x:
|
3379
|
+
size: { width: bounds19.width, height: bounds19.height },
|
3380
|
+
center: { x: bounds19.centerX, y: bounds19.centerY }
|
3249
3381
|
});
|
3250
3382
|
|
3251
3383
|
// symbols/laser_diode_vert.ts
|
3252
|
-
var
|
3253
|
-
var
|
3254
|
-
var ref8 =
|
3384
|
+
var rotatedSymbol10 = rotateSymbol(laser_diode_horz_default);
|
3385
|
+
var texts24 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
3386
|
+
var ref8 = texts24.find((t) => t.text === "{VAL}");
|
3255
3387
|
ref8.x = -0.52;
|
3256
3388
|
ref8.anchor = "middle_right";
|
3257
|
-
var laser_diode_vert_default =
|
3389
|
+
var laser_diode_vert_default = rotatedSymbol10;
|
3258
3390
|
|
3259
3391
|
// assets/generated/led.json
|
3260
3392
|
var led_default = {
|
@@ -3472,19 +3604,19 @@ var led_default = {
|
|
3472
3604
|
};
|
3473
3605
|
|
3474
3606
|
// symbols/led_horz.ts
|
3475
|
-
var { paths:
|
3607
|
+
var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20 } = led_default;
|
3476
3608
|
var led_horz_default = defineSymbol({
|
3477
3609
|
primitives: [
|
3478
|
-
...Object.values(
|
3479
|
-
{ ...
|
3480
|
-
{ ...
|
3610
|
+
...Object.values(paths20),
|
3611
|
+
{ ...texts25.bottom1, anchor: "middle_right" },
|
3612
|
+
{ ...texts25.right1, anchor: "middle_left" }
|
3481
3613
|
],
|
3482
3614
|
ports: [
|
3483
|
-
{ ...
|
3484
|
-
{ ...
|
3615
|
+
{ ...refblocks20.left1, labels: ["1", "anode", "pos"] },
|
3616
|
+
{ ...refblocks20.right1, labels: ["2", "cathode", "neg"] }
|
3485
3617
|
],
|
3486
|
-
size: { width:
|
3487
|
-
center: { x:
|
3618
|
+
size: { width: bounds20.width, height: bounds20.height },
|
3619
|
+
center: { x: bounds20.centerX, y: bounds20.centerY + 0.1 }
|
3488
3620
|
});
|
3489
3621
|
|
3490
3622
|
// symbols/led_vert.ts
|
@@ -3728,36 +3860,36 @@ var light_dependent_resistor_default = {
|
|
3728
3860
|
};
|
3729
3861
|
|
3730
3862
|
// symbols/light_dependent_resistor_horz.ts
|
3731
|
-
var { paths:
|
3863
|
+
var { paths: paths21, texts: texts26, bounds: bounds21, refblocks: refblocks21, circles: circles16 } = light_dependent_resistor_default;
|
3732
3864
|
var light_dependent_resistor_horz_default = defineSymbol({
|
3733
3865
|
primitives: [
|
3734
|
-
...Object.values(
|
3735
|
-
...Object.values(
|
3736
|
-
{ ...
|
3737
|
-
{ ...
|
3866
|
+
...Object.values(paths21),
|
3867
|
+
...Object.values(circles16),
|
3868
|
+
{ ...texts26.top1, anchor: "middle_left", x: 0 },
|
3869
|
+
{ ...texts26.bottom1, anchor: "middle_left", x: 0 }
|
3738
3870
|
],
|
3739
3871
|
ports: [
|
3740
|
-
{ ...
|
3872
|
+
{ ...refblocks21.left1, labels: ["1"] },
|
3741
3873
|
// TODO add more "standard" labels
|
3742
|
-
{ ...
|
3874
|
+
{ ...refblocks21.right1, labels: ["2"] }
|
3743
3875
|
// TODO add more "standard" labels
|
3744
3876
|
],
|
3745
|
-
size: { width:
|
3746
|
-
center: { x:
|
3877
|
+
size: { width: bounds21.width, height: bounds21.height },
|
3878
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
3747
3879
|
});
|
3748
3880
|
|
3749
3881
|
// symbols/light_dependent_resistor_vert.ts
|
3750
|
-
var
|
3751
|
-
var
|
3752
|
-
var val9 =
|
3882
|
+
var rotatedSymbol11 = rotateSymbol(light_dependent_resistor_horz_default);
|
3883
|
+
var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
3884
|
+
var val9 = texts27.find((t) => t.text === "{VAL}");
|
3753
3885
|
val9.x = -0.35;
|
3754
3886
|
val9.y = 0;
|
3755
3887
|
val9.anchor = "middle_right";
|
3756
|
-
var ref10 =
|
3888
|
+
var ref10 = texts27.find((t) => t.text === "{REF}");
|
3757
3889
|
ref10.y = 0;
|
3758
3890
|
ref10.x = 0.35;
|
3759
3891
|
ref10.anchor = "middle_left";
|
3760
|
-
var light_dependent_resistor_vert_default =
|
3892
|
+
var light_dependent_resistor_vert_default = rotatedSymbol11;
|
3761
3893
|
|
3762
3894
|
// assets/generated/mosfet_depletion_normally_on.json
|
3763
3895
|
var mosfet_depletion_normally_on_default = {
|
@@ -4030,23 +4162,23 @@ var mosfet_depletion_normally_on_default = {
|
|
4030
4162
|
};
|
4031
4163
|
|
4032
4164
|
// symbols/mosfet_depletion_normally_on_horz.ts
|
4033
|
-
var { paths:
|
4165
|
+
var { paths: paths22, texts: texts28, bounds: bounds22, refblocks: refblocks22 } = mosfet_depletion_normally_on_default;
|
4034
4166
|
var mosfet_depletion_normally_on_horz_default = defineSymbol({
|
4035
4167
|
primitives: [
|
4036
|
-
...Object.values(
|
4037
|
-
{ ...
|
4038
|
-
{ ...
|
4168
|
+
...Object.values(paths22),
|
4169
|
+
{ ...texts28.right1, anchor: "middle_left" },
|
4170
|
+
{ ...texts28.right2, anchor: "middle_left" }
|
4039
4171
|
],
|
4040
4172
|
ports: [
|
4041
|
-
{ ...
|
4173
|
+
{ ...refblocks22.top1, labels: ["1"] },
|
4042
4174
|
// TODO add more "standard" labels
|
4043
|
-
{ ...
|
4175
|
+
{ ...refblocks22.bottom1, labels: ["2"] },
|
4044
4176
|
// TODO add more "standard" labels
|
4045
|
-
{ ...
|
4177
|
+
{ ...refblocks22.left1, labels: ["3"] }
|
4046
4178
|
// TODO add more "standard" labels
|
4047
4179
|
],
|
4048
|
-
size: { width:
|
4049
|
-
center: { x:
|
4180
|
+
size: { width: bounds22.width + 0.4, height: bounds22.height },
|
4181
|
+
center: { x: bounds22.centerX + 0.2, y: bounds22.centerY }
|
4050
4182
|
});
|
4051
4183
|
|
4052
4184
|
// symbols/mosfet_depletion_normally_on_vert.ts
|
@@ -4672,20 +4804,20 @@ var mushroom_head_normally_open_momentary_default = {
|
|
4672
4804
|
};
|
4673
4805
|
|
4674
4806
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
4675
|
-
var { paths:
|
4807
|
+
var { paths: paths23, texts: texts29, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = mushroom_head_normally_open_momentary_default;
|
4676
4808
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
4677
4809
|
primitives: [
|
4678
|
-
...Object.values(
|
4679
|
-
...Object.values(
|
4680
|
-
{ ...
|
4681
|
-
{ ...
|
4810
|
+
...Object.values(paths23),
|
4811
|
+
...Object.values(circles17),
|
4812
|
+
{ ...texts29.top1, anchor: "middle_bottom", x: 0 },
|
4813
|
+
{ ...texts29.bottom1, anchor: "middle_top", x: 0 }
|
4682
4814
|
],
|
4683
4815
|
ports: [
|
4684
|
-
{ ...
|
4685
|
-
{ ...
|
4816
|
+
{ ...refblocks23.left1, labels: ["1"] },
|
4817
|
+
{ ...refblocks23.right1, labels: ["2"] }
|
4686
4818
|
],
|
4687
|
-
size: { width:
|
4688
|
-
center: { x:
|
4819
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4820
|
+
center: { x: bounds23.centerX + 6e-3, y: bounds23.centerY + 0.06 }
|
4689
4821
|
});
|
4690
4822
|
|
4691
4823
|
// symbols/mushroom_head_normally_open_momentary_vert.ts
|
@@ -4898,38 +5030,38 @@ var n_channel_d_mosfet_transistor_default = {
|
|
4898
5030
|
};
|
4899
5031
|
|
4900
5032
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
4901
|
-
var { paths:
|
5033
|
+
var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = n_channel_d_mosfet_transistor_default;
|
4902
5034
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
4903
5035
|
primitives: [
|
4904
|
-
...Object.values(
|
4905
|
-
...Object.values(
|
4906
|
-
{ ...
|
4907
|
-
{ ...
|
5036
|
+
...Object.values(paths24),
|
5037
|
+
...Object.values(circles18),
|
5038
|
+
{ ...texts30.top1, anchor: "middle_right", x: 0 },
|
5039
|
+
{ ...texts30.bottom1, anchor: "middle_right", x: 0 }
|
4908
5040
|
],
|
4909
5041
|
ports: [
|
4910
|
-
{ ...
|
5042
|
+
{ ...refblocks24.top1, labels: ["1", "drain"] },
|
4911
5043
|
// TODO add more "standard" labels
|
4912
|
-
{ ...
|
5044
|
+
{ ...refblocks24.bottom1, labels: ["2", "source"] },
|
4913
5045
|
// TODO add more "standard" labels
|
4914
|
-
{ ...
|
5046
|
+
{ ...refblocks24.left1, labels: ["3", "gate"] }
|
4915
5047
|
// TODO add more "standard" labels
|
4916
5048
|
],
|
4917
|
-
size: { width:
|
4918
|
-
center: { x:
|
5049
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5050
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4919
5051
|
});
|
4920
5052
|
|
4921
5053
|
// symbols/n_channel_d_mosfet_transistor_vert.ts
|
4922
|
-
var
|
4923
|
-
var
|
4924
|
-
var val12 =
|
5054
|
+
var rotatedSymbol12 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
|
5055
|
+
var texts31 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
5056
|
+
var val12 = texts31.find((t) => t.text === "{VAL}");
|
4925
5057
|
val12.x = -0.35;
|
4926
5058
|
val12.y = 0;
|
4927
5059
|
val12.anchor = "middle_right";
|
4928
|
-
var ref13 =
|
5060
|
+
var ref13 = texts31.find((t) => t.text === "{REF}");
|
4929
5061
|
ref13.y = 0;
|
4930
5062
|
ref13.x = 0.35;
|
4931
5063
|
ref13.anchor = "middle_left";
|
4932
|
-
var n_channel_d_mosfet_transistor_vert_default =
|
5064
|
+
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol12;
|
4933
5065
|
|
4934
5066
|
// assets/generated/n_channel_e_mosfet_transistor.json
|
4935
5067
|
var n_channel_e_mosfet_transistor_default = {
|
@@ -5155,38 +5287,38 @@ var n_channel_e_mosfet_transistor_default = {
|
|
5155
5287
|
};
|
5156
5288
|
|
5157
5289
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
5158
|
-
var { paths:
|
5290
|
+
var { paths: paths25, texts: texts32, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = n_channel_e_mosfet_transistor_default;
|
5159
5291
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
5160
5292
|
primitives: [
|
5161
|
-
...Object.values(
|
5162
|
-
...Object.values(
|
5163
|
-
{ ...
|
5164
|
-
{ ...
|
5293
|
+
...Object.values(paths25),
|
5294
|
+
...Object.values(circles19),
|
5295
|
+
{ ...texts32.top1, anchor: "middle_right", x: 0 },
|
5296
|
+
{ ...texts32.bottom1, anchor: "middle_right", x: 0 }
|
5165
5297
|
],
|
5166
5298
|
ports: [
|
5167
|
-
{ ...
|
5299
|
+
{ ...refblocks25.top1, labels: ["1", "drain"] },
|
5168
5300
|
// TODO add more "standard" labels
|
5169
|
-
{ ...
|
5301
|
+
{ ...refblocks25.bottom1, labels: ["2", "source"] },
|
5170
5302
|
// TODO add more "standard" labels
|
5171
|
-
{ ...
|
5303
|
+
{ ...refblocks25.left1, labels: ["3", "gate"] }
|
5172
5304
|
// TODO add more "standard" labels
|
5173
5305
|
],
|
5174
|
-
size: { width:
|
5175
|
-
center: { x:
|
5306
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5307
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
5176
5308
|
});
|
5177
5309
|
|
5178
5310
|
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
5179
|
-
var
|
5180
|
-
var
|
5181
|
-
var val13 =
|
5311
|
+
var rotatedSymbol13 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
5312
|
+
var texts33 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
5313
|
+
var val13 = texts33.find((t) => t.text === "{VAL}");
|
5182
5314
|
val13.x = -0.35;
|
5183
5315
|
val13.y = 0;
|
5184
5316
|
val13.anchor = "middle_right";
|
5185
|
-
var ref14 =
|
5317
|
+
var ref14 = texts33.find((t) => t.text === "{REF}");
|
5186
5318
|
ref14.y = 0;
|
5187
5319
|
ref14.x = 0.35;
|
5188
5320
|
ref14.anchor = "middle_left";
|
5189
|
-
var n_channel_e_mosfet_transistor_vert_default =
|
5321
|
+
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol13;
|
5190
5322
|
|
5191
5323
|
// assets/generated/njfet_transistor.json
|
5192
5324
|
var njfet_transistor_default = {
|
@@ -5352,38 +5484,38 @@ var njfet_transistor_default = {
|
|
5352
5484
|
};
|
5353
5485
|
|
5354
5486
|
// symbols/njfet_transistor_horz.ts
|
5355
|
-
var { paths:
|
5487
|
+
var { paths: paths26, texts: texts34, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = njfet_transistor_default;
|
5356
5488
|
var njfet_transistor_horz_default = defineSymbol({
|
5357
5489
|
primitives: [
|
5358
|
-
...Object.values(
|
5359
|
-
...Object.values(
|
5360
|
-
{ ...
|
5361
|
-
{ ...
|
5490
|
+
...Object.values(paths26),
|
5491
|
+
...Object.values(circles20),
|
5492
|
+
{ ...texts34.top1, anchor: "middle_right", x: 0 },
|
5493
|
+
{ ...texts34.bottom1, anchor: "middle_right", x: 0 }
|
5362
5494
|
],
|
5363
5495
|
ports: [
|
5364
|
-
{ ...
|
5496
|
+
{ ...refblocks26.top1, labels: ["1", "drain"] },
|
5365
5497
|
// TODO add more "standard" labels
|
5366
|
-
{ ...
|
5498
|
+
{ ...refblocks26.bottom1, labels: ["2", "source"] },
|
5367
5499
|
// TODO add more "standard" labels
|
5368
|
-
{ ...
|
5500
|
+
{ ...refblocks26.left1, labels: ["3", "gate"] }
|
5369
5501
|
// TODO add more "standard" labels
|
5370
5502
|
],
|
5371
|
-
size: { width:
|
5372
|
-
center: { x:
|
5503
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5504
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
5373
5505
|
});
|
5374
5506
|
|
5375
5507
|
// symbols/njfet_transistor_vert.ts
|
5376
|
-
var
|
5377
|
-
var
|
5378
|
-
var val14 =
|
5508
|
+
var rotatedSymbol14 = rotateSymbol(njfet_transistor_horz_default);
|
5509
|
+
var texts35 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
5510
|
+
var val14 = texts35.find((t) => t.text === "{VAL}");
|
5379
5511
|
val14.x = -0.35;
|
5380
5512
|
val14.y = 0;
|
5381
5513
|
val14.anchor = "middle_right";
|
5382
|
-
var ref15 =
|
5514
|
+
var ref15 = texts35.find((t) => t.text === "{REF}");
|
5383
5515
|
ref15.y = 0;
|
5384
5516
|
ref15.x = 0.35;
|
5385
5517
|
ref15.anchor = "middle_left";
|
5386
|
-
var njfet_transistor_vert_default =
|
5518
|
+
var njfet_transistor_vert_default = rotatedSymbol14;
|
5387
5519
|
|
5388
5520
|
// assets/generated/npn_bipolar_transistor.json
|
5389
5521
|
var npn_bipolar_transistor_default = {
|
@@ -5549,11 +5681,11 @@ var npn_bipolar_transistor_default = {
|
|
5549
5681
|
};
|
5550
5682
|
|
5551
5683
|
// symbols/npn_bipolar_transistor_horz.ts
|
5552
|
-
var { paths:
|
5684
|
+
var { paths: paths27, texts: texts36, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = npn_bipolar_transistor_default;
|
5553
5685
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
5554
5686
|
primitives: [
|
5555
|
-
...Object.values(
|
5556
|
-
...Object.values(
|
5687
|
+
...Object.values(paths27),
|
5688
|
+
...Object.values(circles21),
|
5557
5689
|
{
|
5558
5690
|
type: "text",
|
5559
5691
|
text: "{REF}",
|
@@ -5570,20 +5702,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
5570
5702
|
}
|
5571
5703
|
],
|
5572
5704
|
ports: [
|
5573
|
-
{ ...
|
5574
|
-
{ ...
|
5575
|
-
{ ...
|
5705
|
+
{ ...refblocks27.top1, labels: ["1", "collector"] },
|
5706
|
+
{ ...refblocks27.bottom1, labels: ["2", "emitter"] },
|
5707
|
+
{ ...refblocks27.left1, labels: ["3", "base"] }
|
5576
5708
|
],
|
5577
|
-
size: { width:
|
5578
|
-
center: { x:
|
5709
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5710
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5579
5711
|
});
|
5580
5712
|
|
5581
5713
|
// symbols/npn_bipolar_transistor_vert.ts
|
5582
|
-
var
|
5583
|
-
var
|
5584
|
-
var ref16 =
|
5714
|
+
var rotatedSymbol15 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
5715
|
+
var texts37 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
5716
|
+
var ref16 = texts37.find((t) => t.text === "{REF}");
|
5585
5717
|
ref16.anchor = "middle_left";
|
5586
|
-
var npn_bipolar_transistor_vert_default =
|
5718
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol15;
|
5587
5719
|
|
5588
5720
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
5589
5721
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -5779,38 +5911,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
5779
5911
|
};
|
5780
5912
|
|
5781
5913
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
5782
|
-
var { paths:
|
5914
|
+
var { paths: paths28, texts: texts38, bounds: bounds28, refblocks: refblocks28, circles: circles22 } = p_channel_d_mosfet_transistor_default;
|
5783
5915
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
5784
5916
|
primitives: [
|
5785
|
-
...Object.values(
|
5786
|
-
...Object.values(
|
5787
|
-
{ ...
|
5788
|
-
{ ...
|
5917
|
+
...Object.values(paths28),
|
5918
|
+
...Object.values(circles22),
|
5919
|
+
{ ...texts38.top1, anchor: "middle_right", x: 0 },
|
5920
|
+
{ ...texts38.bottom1, anchor: "middle_right", x: 0 }
|
5789
5921
|
],
|
5790
5922
|
ports: [
|
5791
|
-
{ ...
|
5923
|
+
{ ...refblocks28.top1, labels: ["1", "drain"] },
|
5792
5924
|
// TODO add more "standard" labels
|
5793
|
-
{ ...
|
5925
|
+
{ ...refblocks28.bottom1, labels: ["2", "source"] },
|
5794
5926
|
// TODO add more "standard" labels
|
5795
|
-
{ ...
|
5927
|
+
{ ...refblocks28.left1, labels: ["3", "gate"] }
|
5796
5928
|
// TODO add more "standard" labels
|
5797
5929
|
],
|
5798
|
-
size: { width:
|
5799
|
-
center: { x:
|
5930
|
+
size: { width: bounds28.width, height: bounds28.height },
|
5931
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5800
5932
|
});
|
5801
5933
|
|
5802
5934
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
5803
|
-
var
|
5804
|
-
var
|
5805
|
-
var val15 =
|
5935
|
+
var rotatedSymbol16 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
5936
|
+
var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
5937
|
+
var val15 = texts39.find((t) => t.text === "{VAL}");
|
5806
5938
|
val15.x = -0.35;
|
5807
5939
|
val15.y = 0;
|
5808
5940
|
val15.anchor = "middle_right";
|
5809
|
-
var ref17 =
|
5941
|
+
var ref17 = texts39.find((t) => t.text === "{REF}");
|
5810
5942
|
ref17.y = 0;
|
5811
5943
|
ref17.x = 0.35;
|
5812
5944
|
ref17.anchor = "middle_left";
|
5813
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
5945
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol16;
|
5814
5946
|
|
5815
5947
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
5816
5948
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -6036,38 +6168,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
6036
6168
|
};
|
6037
6169
|
|
6038
6170
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
6039
|
-
var { paths:
|
6171
|
+
var { paths: paths29, texts: texts40, bounds: bounds29, refblocks: refblocks29, circles: circles23 } = p_channel_e_mosfet_transistor_default;
|
6040
6172
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
6041
6173
|
primitives: [
|
6042
|
-
...Object.values(
|
6043
|
-
...Object.values(
|
6044
|
-
{ ...
|
6045
|
-
{ ...
|
6174
|
+
...Object.values(paths29),
|
6175
|
+
...Object.values(circles23),
|
6176
|
+
{ ...texts40.top1, anchor: "middle_right", x: 0 },
|
6177
|
+
{ ...texts40.bottom1, anchor: "middle_right", x: 0 }
|
6046
6178
|
],
|
6047
6179
|
ports: [
|
6048
|
-
{ ...
|
6180
|
+
{ ...refblocks29.top1, labels: ["1", "drain"] },
|
6049
6181
|
// TODO add more "standard" labels
|
6050
|
-
{ ...
|
6182
|
+
{ ...refblocks29.bottom1, labels: ["2", "source"] },
|
6051
6183
|
// TODO add more "standard" labels
|
6052
|
-
{ ...
|
6184
|
+
{ ...refblocks29.left1, labels: ["3", "gate"] }
|
6053
6185
|
// TODO add more "standard" labels
|
6054
6186
|
],
|
6055
|
-
size: { width:
|
6056
|
-
center: { x:
|
6187
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6188
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
6057
6189
|
});
|
6058
6190
|
|
6059
6191
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
6060
|
-
var
|
6061
|
-
var
|
6062
|
-
var val16 =
|
6192
|
+
var rotatedSymbol17 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
6193
|
+
var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
6194
|
+
var val16 = texts41.find((t) => t.text === "{VAL}");
|
6063
6195
|
val16.x = -0.35;
|
6064
6196
|
val16.y = 0;
|
6065
6197
|
val16.anchor = "middle_right";
|
6066
|
-
var ref18 =
|
6198
|
+
var ref18 = texts41.find((t) => t.text === "{REF}");
|
6067
6199
|
ref18.y = 0;
|
6068
6200
|
ref18.x = 0.35;
|
6069
6201
|
ref18.anchor = "middle_left";
|
6070
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
6202
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol17;
|
6071
6203
|
|
6072
6204
|
// assets/generated/photodiode.json
|
6073
6205
|
var photodiode_default = {
|
@@ -6294,11 +6426,11 @@ var photodiode_default = {
|
|
6294
6426
|
};
|
6295
6427
|
|
6296
6428
|
// symbols/photodiode_horz.ts
|
6297
|
-
var { paths:
|
6429
|
+
var { paths: paths30, texts: texts42, bounds: bounds30, refblocks: refblocks30, circles: circles24 } = photodiode_default;
|
6298
6430
|
var photodiode_horz_default = defineSymbol({
|
6299
6431
|
primitives: [
|
6300
|
-
...Object.values(
|
6301
|
-
...Object.values(
|
6432
|
+
...Object.values(paths30),
|
6433
|
+
...Object.values(circles24),
|
6302
6434
|
{
|
6303
6435
|
type: "text",
|
6304
6436
|
text: "{REF}",
|
@@ -6315,22 +6447,22 @@ var photodiode_horz_default = defineSymbol({
|
|
6315
6447
|
}
|
6316
6448
|
],
|
6317
6449
|
ports: [
|
6318
|
-
{ ...
|
6450
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
6319
6451
|
// TODO add more "standard" labels
|
6320
|
-
{ ...
|
6452
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
6321
6453
|
// TODO add more "standard" labels
|
6322
6454
|
],
|
6323
|
-
size: { width:
|
6324
|
-
center: { x:
|
6455
|
+
size: { width: bounds30.width, height: bounds30.height },
|
6456
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
6325
6457
|
});
|
6326
6458
|
|
6327
6459
|
// symbols/photodiode_vert.ts
|
6328
|
-
var
|
6329
|
-
var
|
6330
|
-
var ref19 =
|
6460
|
+
var rotatedSymbol18 = rotateSymbol(photodiode_horz_default);
|
6461
|
+
var texts43 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
6462
|
+
var ref19 = texts43.find((t) => t.text === "{REF}");
|
6331
6463
|
ref19.y = 0;
|
6332
6464
|
ref19.anchor = "middle_left";
|
6333
|
-
var photodiode_vert_default =
|
6465
|
+
var photodiode_vert_default = rotatedSymbol18;
|
6334
6466
|
|
6335
6467
|
// assets/generated/pjfet_transistor.json
|
6336
6468
|
var pjfet_transistor_default = {
|
@@ -6496,38 +6628,38 @@ var pjfet_transistor_default = {
|
|
6496
6628
|
};
|
6497
6629
|
|
6498
6630
|
// symbols/pjfet_transistor_horz.ts
|
6499
|
-
var { paths:
|
6631
|
+
var { paths: paths31, texts: texts44, bounds: bounds31, refblocks: refblocks31, circles: circles25 } = pjfet_transistor_default;
|
6500
6632
|
var pjfet_transistor_horz_default = defineSymbol({
|
6501
6633
|
primitives: [
|
6502
|
-
...Object.values(
|
6503
|
-
...Object.values(
|
6504
|
-
{ ...
|
6505
|
-
{ ...
|
6634
|
+
...Object.values(paths31),
|
6635
|
+
...Object.values(circles25),
|
6636
|
+
{ ...texts44.top1, anchor: "middle_right", x: 0 },
|
6637
|
+
{ ...texts44.bottom1, anchor: "middle_right" }
|
6506
6638
|
],
|
6507
6639
|
ports: [
|
6508
|
-
{ ...
|
6640
|
+
{ ...refblocks31.top1, labels: ["1", "drain"] },
|
6509
6641
|
// TODO add more "standard" labels
|
6510
|
-
{ ...
|
6642
|
+
{ ...refblocks31.bottom1, labels: ["2", "source"] },
|
6511
6643
|
// TODO add more "standard" labels
|
6512
|
-
{ ...
|
6644
|
+
{ ...refblocks31.left1, labels: ["3", "gate"] }
|
6513
6645
|
// TODO add more "standard" labels
|
6514
6646
|
],
|
6515
|
-
size: { width:
|
6516
|
-
center: { x:
|
6647
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6648
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6517
6649
|
});
|
6518
6650
|
|
6519
6651
|
// symbols/pjfet_transistor_vert.ts
|
6520
|
-
var
|
6521
|
-
var
|
6522
|
-
var val17 =
|
6652
|
+
var rotatedSymbol19 = rotateSymbol(pjfet_transistor_horz_default);
|
6653
|
+
var texts45 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
|
6654
|
+
var val17 = texts45.find((t) => t.text === "{VAL}");
|
6523
6655
|
val17.x = -0.35;
|
6524
6656
|
val17.y = 0;
|
6525
6657
|
val17.anchor = "middle_right";
|
6526
|
-
var ref20 =
|
6658
|
+
var ref20 = texts45.find((t) => t.text === "{REF}");
|
6527
6659
|
ref20.y = 0;
|
6528
6660
|
ref20.x = 0.35;
|
6529
6661
|
ref20.anchor = "middle_left";
|
6530
|
-
var pjfet_transistor_vert_default =
|
6662
|
+
var pjfet_transistor_vert_default = rotatedSymbol19;
|
6531
6663
|
|
6532
6664
|
// assets/generated/pnp_bipolar_transistor.json
|
6533
6665
|
var pnp_bipolar_transistor_default = {
|
@@ -6693,11 +6825,11 @@ var pnp_bipolar_transistor_default = {
|
|
6693
6825
|
};
|
6694
6826
|
|
6695
6827
|
// symbols/pnp_bipolar_transistor_horz.ts
|
6696
|
-
var { paths:
|
6828
|
+
var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32, circles: circles26 } = pnp_bipolar_transistor_default;
|
6697
6829
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
6698
6830
|
primitives: [
|
6699
|
-
...Object.values(
|
6700
|
-
...Object.values(
|
6831
|
+
...Object.values(paths32),
|
6832
|
+
...Object.values(circles26),
|
6701
6833
|
{
|
6702
6834
|
type: "text",
|
6703
6835
|
text: "{REF}",
|
@@ -6714,20 +6846,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
6714
6846
|
}
|
6715
6847
|
],
|
6716
6848
|
ports: [
|
6717
|
-
{ ...
|
6718
|
-
{ ...
|
6719
|
-
{ ...
|
6849
|
+
{ ...refblocks32.top1, labels: ["1", "collector"] },
|
6850
|
+
{ ...refblocks32.bottom1, labels: ["2", "emitter"] },
|
6851
|
+
{ ...refblocks32.left1, labels: ["3", "base"] }
|
6720
6852
|
],
|
6721
|
-
size: { width:
|
6722
|
-
center: { x:
|
6853
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6854
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6723
6855
|
});
|
6724
6856
|
|
6725
6857
|
// symbols/pnp_bipolar_transistor_vert.ts
|
6726
|
-
var
|
6727
|
-
var
|
6728
|
-
var ref21 =
|
6858
|
+
var rotatedSymbol20 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
6859
|
+
var texts47 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
|
6860
|
+
var ref21 = texts47.find((t) => t.text === "{REF}");
|
6729
6861
|
ref21.anchor = "middle_left";
|
6730
|
-
var pnp_bipolar_transistor_vert_default =
|
6862
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol20;
|
6731
6863
|
|
6732
6864
|
// assets/generated/potentiometer.json
|
6733
6865
|
var potentiometer_default = {
|
@@ -6844,21 +6976,21 @@ var potentiometer_default = {
|
|
6844
6976
|
};
|
6845
6977
|
|
6846
6978
|
// symbols/potentiometer_horz.ts
|
6847
|
-
var { paths:
|
6979
|
+
var { paths: paths33, texts: texts48, bounds: bounds33, refblocks: refblocks33 } = potentiometer_default;
|
6848
6980
|
var potentiometer_horz_default = defineSymbol({
|
6849
6981
|
primitives: [
|
6850
|
-
...Object.values(
|
6851
|
-
{ ...
|
6852
|
-
{ ...
|
6982
|
+
...Object.values(paths33),
|
6983
|
+
{ ...texts48.bottom1, y: 0.35, anchor: "middle_top" },
|
6984
|
+
{ ...texts48.top1, anchor: "middle_left" }
|
6853
6985
|
],
|
6854
6986
|
ports: [
|
6855
|
-
{ ...
|
6987
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6856
6988
|
// TODO add more "standard" labels
|
6857
|
-
{ ...
|
6989
|
+
{ ...refblocks33.right1, labels: ["2"] }
|
6858
6990
|
// TODO add more "standard" labels
|
6859
6991
|
],
|
6860
|
-
size: { width:
|
6861
|
-
center: { x:
|
6992
|
+
size: { width: bounds33.width + 0.05, height: bounds33.height },
|
6993
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6862
6994
|
});
|
6863
6995
|
|
6864
6996
|
// symbols/potentiometer_vert.ts
|
@@ -7021,21 +7153,21 @@ var potentiometer2_default = {
|
|
7021
7153
|
};
|
7022
7154
|
|
7023
7155
|
// symbols/potentiometer2_horz.ts
|
7024
|
-
var { paths:
|
7156
|
+
var { paths: paths34, texts: texts49, bounds: bounds34, refblocks: refblocks34 } = potentiometer2_default;
|
7025
7157
|
var potentiometer2_horz_default = defineSymbol({
|
7026
7158
|
primitives: [
|
7027
|
-
...Object.values(
|
7028
|
-
{ ...
|
7029
|
-
{ ...
|
7159
|
+
...Object.values(paths34),
|
7160
|
+
{ ...texts49.bottom1, anchor: "middle_right" },
|
7161
|
+
{ ...texts49.top1, anchor: "middle_left" }
|
7030
7162
|
],
|
7031
7163
|
ports: [
|
7032
|
-
{ ...
|
7164
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
7033
7165
|
// TODO add more "standard" labels
|
7034
|
-
{ ...
|
7166
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
7035
7167
|
// TODO add more "standard" labels
|
7036
7168
|
],
|
7037
|
-
size: { width:
|
7038
|
-
center: { x:
|
7169
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7170
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
7039
7171
|
});
|
7040
7172
|
|
7041
7173
|
// symbols/potentiometer2_vert.ts
|
@@ -7128,11 +7260,11 @@ var power_factor_meter_default = {
|
|
7128
7260
|
};
|
7129
7261
|
|
7130
7262
|
// symbols/power_factor_meter_horz.ts
|
7131
|
-
var { paths:
|
7263
|
+
var { paths: paths35, texts: texts50, bounds: bounds35, refblocks: refblocks35, circles: circles27 } = power_factor_meter_default;
|
7132
7264
|
var power_factor_meter_horz_default = defineSymbol({
|
7133
7265
|
primitives: [
|
7134
|
-
...Object.values(
|
7135
|
-
...Object.values(
|
7266
|
+
...Object.values(paths35),
|
7267
|
+
...Object.values(circles27),
|
7136
7268
|
// { ...texts.top1, anchor: "middle_left" },
|
7137
7269
|
{
|
7138
7270
|
type: "text",
|
@@ -7159,28 +7291,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
7159
7291
|
}
|
7160
7292
|
],
|
7161
7293
|
ports: [
|
7162
|
-
{ ...
|
7294
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
7163
7295
|
// TODO add more "standard" labels
|
7164
|
-
{ ...
|
7296
|
+
{ ...refblocks35.right1, labels: ["2"] }
|
7165
7297
|
// TODO add more "standard" labels
|
7166
7298
|
],
|
7167
|
-
size: { width:
|
7168
|
-
center: { x:
|
7299
|
+
size: { width: bounds35.width, height: bounds35.height },
|
7300
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
7169
7301
|
});
|
7170
7302
|
|
7171
7303
|
// symbols/power_factor_meter_vert.ts
|
7172
|
-
var
|
7173
|
-
var
|
7174
|
-
var ref22 =
|
7175
|
-
var val18 =
|
7176
|
-
var text_cos =
|
7304
|
+
var rotatedSymbol21 = rotateSymbol(power_factor_meter_horz_default);
|
7305
|
+
var texts51 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
7306
|
+
var ref22 = texts51.find((t) => t.text === "{REF}");
|
7307
|
+
var val18 = texts51.find((t) => t.text === "{VAL}");
|
7308
|
+
var text_cos = texts51.find((t) => t.text === "COS \u03C6");
|
7177
7309
|
ref22.x = 0.35;
|
7178
7310
|
ref22.y = 0;
|
7179
7311
|
val18.x = -0.6;
|
7180
7312
|
val18.y = 0;
|
7181
7313
|
text_cos.x = -0.1;
|
7182
7314
|
text_cos.y = 0;
|
7183
|
-
var power_factor_meter_vert_default =
|
7315
|
+
var power_factor_meter_vert_default = rotatedSymbol21;
|
7184
7316
|
|
7185
7317
|
// assets/generated/push_button_normally_closed_momentary.json
|
7186
7318
|
var push_button_normally_closed_momentary_default = {
|
@@ -7284,21 +7416,21 @@ var push_button_normally_closed_momentary_default = {
|
|
7284
7416
|
};
|
7285
7417
|
|
7286
7418
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
7287
|
-
var { paths:
|
7419
|
+
var { paths: paths36, texts: texts52, bounds: bounds36, refblocks: refblocks36 } = push_button_normally_closed_momentary_default;
|
7288
7420
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
7289
7421
|
primitives: [
|
7290
|
-
...Object.values(
|
7291
|
-
{ ...
|
7292
|
-
{ ...
|
7422
|
+
...Object.values(paths36),
|
7423
|
+
{ ...texts52.top1, anchor: "middle_bottom" },
|
7424
|
+
{ ...texts52.bottom1, anchor: "middle_top" }
|
7293
7425
|
],
|
7294
7426
|
ports: [
|
7295
|
-
{ ...
|
7427
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
7296
7428
|
// TODO add more "standard" labels
|
7297
|
-
{ ...
|
7429
|
+
{ ...refblocks36.right1, labels: ["2"] }
|
7298
7430
|
// TODO add more "standard" labels
|
7299
7431
|
],
|
7300
|
-
size: { width:
|
7301
|
-
center: { x:
|
7432
|
+
size: { width: bounds36.width, height: bounds36.height },
|
7433
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
7302
7434
|
});
|
7303
7435
|
|
7304
7436
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
@@ -7419,21 +7551,21 @@ var push_button_normally_open_momentary_default = {
|
|
7419
7551
|
};
|
7420
7552
|
|
7421
7553
|
// symbols/push_button_normally_open_momentary_horz.ts
|
7422
|
-
var { paths:
|
7554
|
+
var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37 } = push_button_normally_open_momentary_default;
|
7423
7555
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
7424
7556
|
primitives: [
|
7425
|
-
...Object.values(
|
7426
|
-
{ ...
|
7427
|
-
{ ...
|
7557
|
+
...Object.values(paths37),
|
7558
|
+
{ ...texts53.top1, anchor: "middle_bottom" },
|
7559
|
+
{ ...texts53.bottom1, anchor: "middle_top" }
|
7428
7560
|
],
|
7429
7561
|
ports: [
|
7430
|
-
{ ...
|
7562
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
7431
7563
|
// TODO add more "standard" labels
|
7432
|
-
{ ...
|
7564
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
7433
7565
|
// TODO add more "standard" labels
|
7434
7566
|
],
|
7435
|
-
size: { width:
|
7436
|
-
center: { x:
|
7567
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7568
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
7437
7569
|
});
|
7438
7570
|
|
7439
7571
|
// symbols/push_button_normally_open_momentary_vert.ts
|
@@ -7862,26 +7994,26 @@ var rectifier_diode_default = {
|
|
7862
7994
|
};
|
7863
7995
|
|
7864
7996
|
// symbols/rectifier_diode_horz.ts
|
7865
|
-
var { paths:
|
7997
|
+
var { paths: paths38, texts: texts54, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = rectifier_diode_default;
|
7866
7998
|
var rectifier_diode_horz_default = defineSymbol({
|
7867
7999
|
primitives: [
|
7868
|
-
...Object.values(
|
7869
|
-
...Object.values(
|
7870
|
-
{ ...
|
7871
|
-
{ ...
|
8000
|
+
...Object.values(paths38),
|
8001
|
+
...Object.values(circles28),
|
8002
|
+
{ ...texts54.top1, anchor: "middle_right" },
|
8003
|
+
{ ...texts54.bottom1, anchor: "middle_right" }
|
7872
8004
|
],
|
7873
8005
|
ports: [
|
7874
|
-
{ ...
|
8006
|
+
{ ...refblocks38.top1, labels: ["1"] },
|
7875
8007
|
// TODO add more "standard" labels
|
7876
|
-
{ ...
|
8008
|
+
{ ...refblocks38.bottom1, labels: ["2"] },
|
7877
8009
|
// TODO add more "standard" labels
|
7878
|
-
{ ...
|
8010
|
+
{ ...refblocks38.left1, labels: ["3"] },
|
7879
8011
|
// TODO add more "standard" labels
|
7880
|
-
{ ...
|
8012
|
+
{ ...refblocks38.right1, labels: ["4"] }
|
7881
8013
|
// TODO add more "standard" labels
|
7882
8014
|
],
|
7883
|
-
size: { width:
|
7884
|
-
center: { x:
|
8015
|
+
size: { width: bounds38.width, height: bounds38.height },
|
8016
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7885
8017
|
});
|
7886
8018
|
|
7887
8019
|
// symbols/rectifier_diode_vert.ts
|
@@ -8242,11 +8374,11 @@ var resonator_default = {
|
|
8242
8374
|
};
|
8243
8375
|
|
8244
8376
|
// symbols/resonator_horz.ts
|
8245
|
-
var { paths:
|
8377
|
+
var { paths: paths39, texts: texts55, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = resonator_default;
|
8246
8378
|
var resonator_horz_default = defineSymbol({
|
8247
8379
|
primitives: [
|
8248
|
-
...Object.values(
|
8249
|
-
...Object.values(
|
8380
|
+
...Object.values(paths39),
|
8381
|
+
...Object.values(circles29),
|
8250
8382
|
// { ...texts.top1, anchor: "middle_left" },
|
8251
8383
|
// { ...texts.bottom1, anchor: "middle_left" },
|
8252
8384
|
{
|
@@ -8265,15 +8397,15 @@ var resonator_horz_default = defineSymbol({
|
|
8265
8397
|
}
|
8266
8398
|
],
|
8267
8399
|
ports: [
|
8268
|
-
{ ...
|
8400
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
8269
8401
|
// TODO add more "standard" labels
|
8270
|
-
{ ...
|
8402
|
+
{ ...refblocks39.right1, labels: ["2"] },
|
8271
8403
|
// TODO add more "standard" labels
|
8272
|
-
{ ...
|
8404
|
+
{ ...refblocks39.right2, labels: ["3"] }
|
8273
8405
|
// TODO add more "standard" labels
|
8274
8406
|
],
|
8275
|
-
size: { width:
|
8276
|
-
center: { x:
|
8407
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8408
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
8277
8409
|
});
|
8278
8410
|
|
8279
8411
|
// symbols/resonator_vert.ts
|
@@ -8471,22 +8603,22 @@ var schottky_diode_default = {
|
|
8471
8603
|
};
|
8472
8604
|
|
8473
8605
|
// symbols/schottky_diode_horz.ts
|
8474
|
-
var { paths:
|
8606
|
+
var { paths: paths40, texts: texts56, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = schottky_diode_default;
|
8475
8607
|
var schottky_diode_horz_default = defineSymbol({
|
8476
8608
|
primitives: [
|
8477
|
-
...Object.values(
|
8478
|
-
...Object.values(
|
8479
|
-
{ ...
|
8480
|
-
{ ...
|
8609
|
+
...Object.values(paths40),
|
8610
|
+
...Object.values(circles30),
|
8611
|
+
{ ...texts56.top1, anchor: "middle_bottom" },
|
8612
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
8481
8613
|
],
|
8482
8614
|
ports: [
|
8483
|
-
{ ...
|
8615
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
8484
8616
|
// TODO add more "standard" labels
|
8485
|
-
{ ...
|
8617
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
8486
8618
|
// TODO add more "standard" labels
|
8487
8619
|
],
|
8488
|
-
size: { width:
|
8489
|
-
center: { x:
|
8620
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8621
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
8490
8622
|
});
|
8491
8623
|
|
8492
8624
|
// symbols/schottky_diode_vert.ts
|
@@ -8645,35 +8777,35 @@ var silicon_controlled_rectifier_default = {
|
|
8645
8777
|
};
|
8646
8778
|
|
8647
8779
|
// symbols/silicon_controlled_rectifier_horz.ts
|
8648
|
-
var { paths:
|
8780
|
+
var { paths: paths41, texts: texts57, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = silicon_controlled_rectifier_default;
|
8649
8781
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
8650
8782
|
primitives: [
|
8651
|
-
...Object.values(
|
8652
|
-
...Object.values(
|
8653
|
-
{ ...
|
8654
|
-
{ ...
|
8783
|
+
...Object.values(paths41),
|
8784
|
+
...Object.values(circles31),
|
8785
|
+
{ ...texts57.top1, anchor: "middle_left" },
|
8786
|
+
{ ...texts57.bottom1, anchor: "middle_top" }
|
8655
8787
|
],
|
8656
8788
|
ports: [
|
8657
|
-
{ ...
|
8789
|
+
{ ...refblocks41.left1, labels: ["1"] },
|
8658
8790
|
// TODO add more "standard" labels
|
8659
|
-
{ ...
|
8791
|
+
{ ...refblocks41.right1, labels: ["2"] },
|
8660
8792
|
// TODO add more "standard" labels
|
8661
|
-
{ ...
|
8793
|
+
{ ...refblocks41.bottom1, labels: ["3"] }
|
8662
8794
|
// TODO add more "standard" labels
|
8663
8795
|
],
|
8664
|
-
size: { width:
|
8665
|
-
center: { x:
|
8796
|
+
size: { width: bounds41.width, height: bounds41.height },
|
8797
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
8666
8798
|
});
|
8667
8799
|
|
8668
8800
|
// symbols/silicon_controlled_rectifier_vert.ts
|
8669
|
-
var
|
8670
|
-
var
|
8801
|
+
var rotatedSymbol22 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
8802
|
+
var texts58 = rotatedSymbol22.primitives.filter(
|
8671
8803
|
(primitive) => primitive.type === "text"
|
8672
8804
|
);
|
8673
|
-
var ref27 =
|
8805
|
+
var ref27 = texts58.find((text) => text.text === "{REF}");
|
8674
8806
|
ref27.y = 0;
|
8675
8807
|
ref27.anchor = "middle_left";
|
8676
|
-
var silicon_controlled_rectifier_vert_default =
|
8808
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol22;
|
8677
8809
|
|
8678
8810
|
// assets/generated/SPDT_switch.json
|
8679
8811
|
var SPDT_switch_default = {
|
@@ -8793,38 +8925,38 @@ var SPDT_switch_default = {
|
|
8793
8925
|
};
|
8794
8926
|
|
8795
8927
|
// symbols/SPDT_switch_horz.ts
|
8796
|
-
var { paths:
|
8928
|
+
var { paths: paths42, texts: texts59, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = SPDT_switch_default;
|
8797
8929
|
var SPDT_switch_horz_default = defineSymbol({
|
8798
8930
|
primitives: [
|
8799
|
-
...Object.values(
|
8800
|
-
...Object.values(
|
8801
|
-
{ ...
|
8802
|
-
{ ...
|
8931
|
+
...Object.values(paths42),
|
8932
|
+
...Object.values(circles32),
|
8933
|
+
{ ...texts59.top1, anchor: "middle_bottom", x: -0.01 },
|
8934
|
+
{ ...texts59.bottom1, anchor: "middle_top", x: -0.01 }
|
8803
8935
|
],
|
8804
8936
|
ports: [
|
8805
|
-
{ ...
|
8937
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
8806
8938
|
// TODO add more "standard" labels
|
8807
|
-
{ ...
|
8939
|
+
{ ...refblocks42.right1, labels: ["3"] },
|
8808
8940
|
// TODO add more "standard" labels
|
8809
|
-
{ ...
|
8941
|
+
{ ...refblocks42.right2, labels: ["2"] }
|
8810
8942
|
// TODO add more "standard" labels
|
8811
8943
|
],
|
8812
|
-
size: { width:
|
8813
|
-
center: { x:
|
8944
|
+
size: { width: bounds42.width, height: bounds42.height },
|
8945
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
8814
8946
|
});
|
8815
8947
|
|
8816
8948
|
// symbols/SPDT_switch_vert.ts
|
8817
|
-
var
|
8818
|
-
var
|
8819
|
-
var val23 =
|
8949
|
+
var rotatedSymbol23 = rotateSymbol(SPDT_switch_horz_default);
|
8950
|
+
var texts60 = rotatedSymbol23.primitives.filter((p) => p.type === "text");
|
8951
|
+
var val23 = texts60.find((t) => t.text === "{VAL}");
|
8820
8952
|
val23.anchor = "middle_right";
|
8821
8953
|
val23.x = -0.3;
|
8822
8954
|
val23.y = 0;
|
8823
|
-
var ref28 =
|
8955
|
+
var ref28 = texts60.find((t) => t.text === "{REF}");
|
8824
8956
|
ref28.anchor = "middle_left";
|
8825
8957
|
ref28.x = 0.3;
|
8826
8958
|
ref28.y = 0;
|
8827
|
-
var SPDT_switch_vert_default =
|
8959
|
+
var SPDT_switch_vert_default = rotatedSymbol23;
|
8828
8960
|
|
8829
8961
|
// assets/generated/SPST_switch.json
|
8830
8962
|
var SPST_switch_default = {
|
@@ -8921,36 +9053,36 @@ var SPST_switch_default = {
|
|
8921
9053
|
};
|
8922
9054
|
|
8923
9055
|
// symbols/SPST_switch_horz.ts
|
8924
|
-
var { paths:
|
9056
|
+
var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = SPST_switch_default;
|
8925
9057
|
var SPST_switch_horz_default = defineSymbol({
|
8926
9058
|
primitives: [
|
8927
|
-
...Object.values(
|
8928
|
-
...Object.values(
|
8929
|
-
{ ...
|
8930
|
-
{ ...
|
9059
|
+
...Object.values(paths43),
|
9060
|
+
...Object.values(circles33),
|
9061
|
+
{ ...texts61.top1, anchor: "middle_bottom", x: 0 },
|
9062
|
+
{ ...texts61.bottom1, anchor: "middle_top", x: 0 }
|
8931
9063
|
],
|
8932
9064
|
ports: [
|
8933
|
-
{ ...
|
9065
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
8934
9066
|
// TODO add more "standard" labels
|
8935
|
-
{ ...
|
9067
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
8936
9068
|
// TODO add more "standard" labels
|
8937
9069
|
],
|
8938
|
-
size: { width:
|
8939
|
-
center: { x:
|
9070
|
+
size: { width: bounds43.width, height: bounds43.height },
|
9071
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
8940
9072
|
});
|
8941
9073
|
|
8942
9074
|
// symbols/SPST_switch_vert.ts
|
8943
|
-
var
|
8944
|
-
var
|
8945
|
-
var val24 =
|
9075
|
+
var rotatedSymbol24 = rotateSymbol(SPST_switch_horz_default);
|
9076
|
+
var texts62 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
|
9077
|
+
var val24 = texts62.find((t) => t.text === "{VAL}");
|
8946
9078
|
val24.anchor = "middle_right";
|
8947
9079
|
val24.x = -0.3;
|
8948
9080
|
val24.y = 0;
|
8949
|
-
var ref29 =
|
9081
|
+
var ref29 = texts62.find((t) => t.text === "{REF}");
|
8950
9082
|
ref29.anchor = "middle_left";
|
8951
9083
|
ref29.x = 0.3;
|
8952
9084
|
ref29.y = 0;
|
8953
|
-
var SPST_switch_vert_default =
|
9085
|
+
var SPST_switch_vert_default = rotatedSymbol24;
|
8954
9086
|
|
8955
9087
|
// assets/generated/step_recovery_diode.json
|
8956
9088
|
var step_recovery_diode_default = {
|
@@ -9114,11 +9246,11 @@ var step_recovery_diode_default = {
|
|
9114
9246
|
};
|
9115
9247
|
|
9116
9248
|
// symbols/step_recovery_diode_horz.ts
|
9117
|
-
var { paths:
|
9249
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = step_recovery_diode_default;
|
9118
9250
|
var step_recovery_diode_horz_default = defineSymbol({
|
9119
9251
|
primitives: [
|
9120
|
-
...Object.values(
|
9121
|
-
...Object.values(
|
9252
|
+
...Object.values(paths44),
|
9253
|
+
...Object.values(circles34),
|
9122
9254
|
// { ...texts.top1, anchor: "middle_left" },
|
9123
9255
|
// { ...texts.bottom1, anchor: "middle_left" },
|
9124
9256
|
{
|
@@ -9137,13 +9269,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
9137
9269
|
}
|
9138
9270
|
],
|
9139
9271
|
ports: [
|
9140
|
-
{ ...
|
9272
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
9141
9273
|
// TODO add more "standard" labels
|
9142
|
-
{ ...
|
9274
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
9143
9275
|
// TODO add more "standard" labels
|
9144
9276
|
],
|
9145
|
-
size: { width:
|
9146
|
-
center: { x:
|
9277
|
+
size: { width: bounds44.width, height: bounds44.height },
|
9278
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
9147
9279
|
});
|
9148
9280
|
|
9149
9281
|
// symbols/step_recovery_diode_vert.ts
|
@@ -9236,11 +9368,11 @@ var tachometer_default = {
|
|
9236
9368
|
};
|
9237
9369
|
|
9238
9370
|
// symbols/tachometer_horz.ts
|
9239
|
-
var { paths:
|
9371
|
+
var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = tachometer_default;
|
9240
9372
|
var tachometer_horz_default = defineSymbol({
|
9241
9373
|
primitives: [
|
9242
|
-
...Object.values(
|
9243
|
-
...Object.values(
|
9374
|
+
...Object.values(paths45),
|
9375
|
+
...Object.values(circles35),
|
9244
9376
|
{
|
9245
9377
|
type: "text",
|
9246
9378
|
text: "{REF}",
|
@@ -9255,30 +9387,30 @@ var tachometer_horz_default = defineSymbol({
|
|
9255
9387
|
y: 0.35,
|
9256
9388
|
anchor: "middle_top"
|
9257
9389
|
},
|
9258
|
-
{ ...
|
9390
|
+
{ ...texts64.left1, anchor: "center", fontSize: 0.2 }
|
9259
9391
|
],
|
9260
9392
|
ports: [
|
9261
|
-
{ ...
|
9393
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
9262
9394
|
// TODO add more "standard" labels
|
9263
|
-
{ ...
|
9395
|
+
{ ...refblocks45.right1, labels: ["2"] }
|
9264
9396
|
// TODO add more "standard" labels
|
9265
9397
|
],
|
9266
|
-
size: { width:
|
9267
|
-
center: { x:
|
9398
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9399
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
9268
9400
|
});
|
9269
9401
|
|
9270
9402
|
// symbols/tachometer_vert.ts
|
9271
|
-
var { 5:
|
9272
|
-
function
|
9403
|
+
var { 5: letter5, ...rest5 } = tachometer_horz_default.primitives;
|
9404
|
+
function isPrimitive5(value) {
|
9273
9405
|
return typeof value === "object";
|
9274
9406
|
}
|
9275
|
-
var
|
9407
|
+
var rotatedSymbol25 = rotateSymbol({
|
9276
9408
|
...tachometer_horz_default,
|
9277
|
-
primitives: Object.values(
|
9409
|
+
primitives: Object.values(rest5).filter(isPrimitive5)
|
9278
9410
|
});
|
9279
9411
|
var tachometer_vert_default = {
|
9280
|
-
...
|
9281
|
-
primitives: [...
|
9412
|
+
...rotatedSymbol25,
|
9413
|
+
primitives: [...rotatedSymbol25.primitives, letter5]
|
9282
9414
|
};
|
9283
9415
|
|
9284
9416
|
// assets/generated/triac.json
|
@@ -9472,36 +9604,36 @@ var triac_default = {
|
|
9472
9604
|
};
|
9473
9605
|
|
9474
9606
|
// symbols/triac_horz.ts
|
9475
|
-
var { paths:
|
9607
|
+
var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = triac_default;
|
9476
9608
|
var triac_horz_default = defineSymbol({
|
9477
9609
|
primitives: [
|
9478
|
-
...Object.values(
|
9479
|
-
...Object.values(
|
9480
|
-
{ ...
|
9481
|
-
{ ...
|
9610
|
+
...Object.values(paths46),
|
9611
|
+
...Object.values(circles36),
|
9612
|
+
{ ...texts65.top1, anchor: "middle_left" },
|
9613
|
+
{ ...texts65.bottom1, anchor: "middle_top" }
|
9482
9614
|
],
|
9483
9615
|
ports: [
|
9484
|
-
{ ...
|
9616
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
9485
9617
|
// TODO add more "standard" labels
|
9486
|
-
{ ...
|
9618
|
+
{ ...refblocks46.right1, labels: ["2"] },
|
9487
9619
|
// TODO add more "standard" labels
|
9488
|
-
{ ...
|
9620
|
+
{ ...refblocks46.bottom1, labels: ["3"] }
|
9489
9621
|
// TODO add more "standard" labels
|
9490
9622
|
],
|
9491
|
-
size: { width:
|
9492
|
-
center: { x:
|
9623
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9624
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
9493
9625
|
});
|
9494
9626
|
|
9495
9627
|
// symbols/triac_vert.ts
|
9496
|
-
var
|
9497
|
-
var
|
9628
|
+
var rotatedSymbol26 = rotateSymbol(triac_horz_default);
|
9629
|
+
var texts66 = rotatedSymbol26.primitives.filter(
|
9498
9630
|
(primitive) => primitive.type === "text"
|
9499
9631
|
);
|
9500
|
-
var ref30 =
|
9501
|
-
var val25 =
|
9632
|
+
var ref30 = texts66.find((text) => text.text === "{REF}");
|
9633
|
+
var val25 = texts66.find((text) => text.text === "{VAL}");
|
9502
9634
|
ref30.y = 0;
|
9503
9635
|
val25.y = 0;
|
9504
|
-
var triac_vert_default =
|
9636
|
+
var triac_vert_default = rotatedSymbol26;
|
9505
9637
|
|
9506
9638
|
// assets/generated/tunnel_diode.json
|
9507
9639
|
var tunnel_diode_default = {
|
@@ -9665,22 +9797,22 @@ var tunnel_diode_default = {
|
|
9665
9797
|
};
|
9666
9798
|
|
9667
9799
|
// symbols/tunnel_diode_horz.ts
|
9668
|
-
var { paths:
|
9800
|
+
var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = tunnel_diode_default;
|
9669
9801
|
var tunnel_diode_horz_default = defineSymbol({
|
9670
9802
|
primitives: [
|
9671
|
-
...Object.values(
|
9672
|
-
...Object.values(
|
9673
|
-
{ ...
|
9674
|
-
{ ...
|
9803
|
+
...Object.values(paths47),
|
9804
|
+
...Object.values(circles37),
|
9805
|
+
{ ...texts67.top1, anchor: "middle_bottom" },
|
9806
|
+
{ ...texts67.bottom1, anchor: "middle_top" }
|
9675
9807
|
],
|
9676
9808
|
ports: [
|
9677
|
-
{ ...
|
9809
|
+
{ ...refblocks47.left1, labels: ["1"] },
|
9678
9810
|
// TODO add more "standard" labels
|
9679
|
-
{ ...
|
9811
|
+
{ ...refblocks47.right1, labels: ["2"] }
|
9680
9812
|
// TODO add more "standard" labels
|
9681
9813
|
],
|
9682
|
-
size: { width:
|
9683
|
-
center: { x:
|
9814
|
+
size: { width: bounds47.width, height: bounds47.height },
|
9815
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
9684
9816
|
});
|
9685
9817
|
|
9686
9818
|
// symbols/tunnel_diode_vert.ts
|
@@ -9863,37 +9995,37 @@ var unijunction_transistor_default = {
|
|
9863
9995
|
};
|
9864
9996
|
|
9865
9997
|
// symbols/unijunction_transistor_horz.ts
|
9866
|
-
var { paths:
|
9998
|
+
var { paths: paths48, texts: texts68, bounds: bounds48, refblocks: refblocks48, circles: circles38 } = unijunction_transistor_default;
|
9867
9999
|
var unijunction_transistor_horz_default = defineSymbol({
|
9868
10000
|
primitives: [
|
9869
|
-
...Object.values(
|
9870
|
-
...Object.values(
|
9871
|
-
{ ...
|
9872
|
-
{ ...
|
10001
|
+
...Object.values(paths48),
|
10002
|
+
...Object.values(circles38),
|
10003
|
+
{ ...texts68.top1, anchor: "middle_left" },
|
10004
|
+
{ ...texts68.bottom1, anchor: "middle_right" }
|
9873
10005
|
],
|
9874
10006
|
ports: [
|
9875
|
-
{ ...
|
10007
|
+
{ ...refblocks48.top1, labels: ["1"] },
|
9876
10008
|
// TODO add more "standard" labels
|
9877
|
-
{ ...
|
10009
|
+
{ ...refblocks48.bottom1, labels: ["2"] },
|
9878
10010
|
// TODO add more "standard" labels
|
9879
|
-
{ ...
|
10011
|
+
{ ...refblocks48.left1, labels: ["3"] }
|
9880
10012
|
// TODO add more "standard" labels
|
9881
10013
|
],
|
9882
|
-
size: { width:
|
9883
|
-
center: { x:
|
10014
|
+
size: { width: bounds48.width, height: bounds48.height },
|
10015
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
9884
10016
|
});
|
9885
10017
|
|
9886
10018
|
// symbols/unijunction_transistor_vert.ts
|
9887
|
-
var
|
9888
|
-
var
|
10019
|
+
var rotatedSymbol27 = rotateSymbol(unijunction_transistor_horz_default);
|
10020
|
+
var texts69 = rotatedSymbol27.primitives.filter(
|
9889
10021
|
(primitive) => primitive.type === "text"
|
9890
10022
|
);
|
9891
|
-
var ref32 =
|
10023
|
+
var ref32 = texts69.find((text) => text.text === "{REF}");
|
9892
10024
|
ref32.y = 0.1;
|
9893
|
-
var val27 =
|
10025
|
+
var val27 = texts69.find((text) => text.text === "{VAL}");
|
9894
10026
|
val27.y = 0.1;
|
9895
10027
|
val27.x = -0.4;
|
9896
|
-
var unijunction_transistor_vert_default =
|
10028
|
+
var unijunction_transistor_vert_default = rotatedSymbol27;
|
9897
10029
|
|
9898
10030
|
// assets/generated/var_meter.json
|
9899
10031
|
var var_meter_default = {
|
@@ -9982,33 +10114,33 @@ var var_meter_default = {
|
|
9982
10114
|
};
|
9983
10115
|
|
9984
10116
|
// symbols/var_meter_horz.ts
|
9985
|
-
var { paths:
|
10117
|
+
var { paths: paths49, texts: texts70, bounds: bounds49, refblocks: refblocks49, circles: circles39 } = var_meter_default;
|
9986
10118
|
var var_meter_horz_default = defineSymbol({
|
9987
10119
|
primitives: [
|
9988
|
-
...Object.values(
|
9989
|
-
...Object.values(
|
10120
|
+
...Object.values(paths49),
|
10121
|
+
...Object.values(circles39),
|
9990
10122
|
{
|
9991
|
-
...
|
10123
|
+
...texts70.top1,
|
9992
10124
|
x: 0,
|
9993
10125
|
y: -0.3594553499999995,
|
9994
10126
|
anchor: "middle_bottom"
|
9995
10127
|
},
|
9996
10128
|
{
|
9997
|
-
...
|
10129
|
+
...texts70.bottom1,
|
9998
10130
|
x: 0,
|
9999
10131
|
y: 0.35,
|
10000
10132
|
anchor: "middle_top"
|
10001
10133
|
},
|
10002
|
-
{ ...
|
10134
|
+
{ ...texts70.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
10003
10135
|
],
|
10004
10136
|
ports: [
|
10005
|
-
{ ...
|
10137
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
10006
10138
|
// TODO add more "standard" labels
|
10007
|
-
{ ...
|
10139
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
10008
10140
|
// TODO add more "standard" labels
|
10009
10141
|
],
|
10010
|
-
size: { width:
|
10011
|
-
center: { x:
|
10142
|
+
size: { width: bounds49.width, height: bounds49.height },
|
10143
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
10012
10144
|
});
|
10013
10145
|
|
10014
10146
|
// symbols/var_meter_vert.ts
|
@@ -10161,22 +10293,22 @@ var varactor_diode_default = {
|
|
10161
10293
|
};
|
10162
10294
|
|
10163
10295
|
// symbols/varactor_diode_horz.ts
|
10164
|
-
var { paths:
|
10296
|
+
var { paths: paths50, texts: texts71, bounds: bounds50, refblocks: refblocks50, circles: circles40 } = varactor_diode_default;
|
10165
10297
|
var varactor_diode_horz_default = defineSymbol({
|
10166
10298
|
primitives: [
|
10167
|
-
...Object.values(
|
10168
|
-
...Object.values(
|
10169
|
-
{ ...
|
10170
|
-
{ ...
|
10299
|
+
...Object.values(paths50),
|
10300
|
+
...Object.values(circles40),
|
10301
|
+
{ ...texts71.top1, anchor: "middle_bottom" },
|
10302
|
+
{ ...texts71.bottom1, anchor: "middle_top" }
|
10171
10303
|
],
|
10172
10304
|
ports: [
|
10173
|
-
{ ...
|
10305
|
+
{ ...refblocks50.left1, labels: ["1"] },
|
10174
10306
|
// TODO add more "standard" labels
|
10175
|
-
{ ...
|
10307
|
+
{ ...refblocks50.right1, labels: ["2"] }
|
10176
10308
|
// TODO add more "standard" labels
|
10177
10309
|
],
|
10178
|
-
size: { width:
|
10179
|
-
center: { x:
|
10310
|
+
size: { width: bounds50.width, height: bounds50.height },
|
10311
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
10180
10312
|
});
|
10181
10313
|
|
10182
10314
|
// symbols/varactor_diode_vert.ts
|
@@ -10324,26 +10456,26 @@ var varistor_default = {
|
|
10324
10456
|
};
|
10325
10457
|
|
10326
10458
|
// symbols/varistor_horz.ts
|
10327
|
-
var { paths:
|
10459
|
+
var { paths: paths51, texts: texts72, bounds: bounds51, refblocks: refblocks51 } = varistor_default;
|
10328
10460
|
var varistor_horz_default = defineSymbol({
|
10329
10461
|
primitives: [
|
10330
|
-
...Object.values(
|
10331
|
-
{ ...
|
10332
|
-
{ ...
|
10462
|
+
...Object.values(paths51),
|
10463
|
+
{ ...texts72.top1, anchor: "middle_left" },
|
10464
|
+
{ ...texts72.bottom1, anchor: "middle_right" }
|
10333
10465
|
],
|
10334
10466
|
ports: [
|
10335
10467
|
{
|
10336
|
-
...
|
10468
|
+
...refblocks51.left1,
|
10337
10469
|
labels: ["1", "-"]
|
10338
10470
|
},
|
10339
10471
|
{
|
10340
|
-
...
|
10472
|
+
...refblocks51.right1,
|
10341
10473
|
labels: ["2", "+"]
|
10342
10474
|
}
|
10343
10475
|
],
|
10344
|
-
size: { width:
|
10476
|
+
size: { width: bounds51.width, height: bounds51.height },
|
10345
10477
|
//{ width: 1, height: 0.24 },
|
10346
|
-
center: { x:
|
10478
|
+
center: { x: bounds51.centerX, y: bounds51.centerY }
|
10347
10479
|
});
|
10348
10480
|
|
10349
10481
|
// symbols/varistor_vert.ts
|
@@ -10449,11 +10581,11 @@ var volt_meter_default = {
|
|
10449
10581
|
};
|
10450
10582
|
|
10451
10583
|
// symbols/volt_meter_horz.ts
|
10452
|
-
var { paths:
|
10584
|
+
var { paths: paths52, texts: texts73, bounds: bounds52, circles: circles41, refblocks: refblocks52 } = volt_meter_default;
|
10453
10585
|
var volt_meter_horz_default = defineSymbol({
|
10454
10586
|
primitives: [
|
10455
|
-
...Object.values(
|
10456
|
-
...Object.values(
|
10587
|
+
...Object.values(paths52),
|
10588
|
+
...Object.values(circles41),
|
10457
10589
|
{
|
10458
10590
|
type: "text",
|
10459
10591
|
text: "{REF}",
|
@@ -10470,18 +10602,150 @@ var volt_meter_horz_default = defineSymbol({
|
|
10470
10602
|
}
|
10471
10603
|
],
|
10472
10604
|
ports: [
|
10473
|
-
{ ...
|
10605
|
+
{ ...refblocks52.left1, labels: ["1"] },
|
10474
10606
|
// TODO add more "standard" labels
|
10475
|
-
{ ...
|
10607
|
+
{ ...refblocks52.right1, labels: ["2"] }
|
10476
10608
|
// TODO add more "standard" labels
|
10477
10609
|
],
|
10478
|
-
size: { width:
|
10479
|
-
center: { x:
|
10610
|
+
size: { width: bounds52.width, height: bounds52.height },
|
10611
|
+
center: { x: bounds52.centerX, y: bounds52.centerY }
|
10480
10612
|
});
|
10481
10613
|
|
10482
10614
|
// symbols/volt_meter_vert.ts
|
10483
10615
|
var volt_meter_vert_default = rotateSymbol(volt_meter_horz_default);
|
10484
10616
|
|
10617
|
+
// assets/generated/watt_hour_meter.json
|
10618
|
+
var watt_hour_meter_default = {
|
10619
|
+
paths: {
|
10620
|
+
path11: {
|
10621
|
+
type: "path",
|
10622
|
+
points: [
|
10623
|
+
{
|
10624
|
+
x: -0.5307178,
|
10625
|
+
y: 0
|
10626
|
+
},
|
10627
|
+
{
|
10628
|
+
x: -0.3042887999999997,
|
10629
|
+
y: 0
|
10630
|
+
}
|
10631
|
+
],
|
10632
|
+
color: "primary",
|
10633
|
+
fill: false
|
10634
|
+
},
|
10635
|
+
path12: {
|
10636
|
+
type: "path",
|
10637
|
+
points: [
|
10638
|
+
{
|
10639
|
+
x: 0.2899773000000003,
|
10640
|
+
y: 0
|
10641
|
+
},
|
10642
|
+
{
|
10643
|
+
x: 0.5307178000000001,
|
10644
|
+
y: 0
|
10645
|
+
}
|
10646
|
+
],
|
10647
|
+
color: "primary",
|
10648
|
+
fill: false
|
10649
|
+
}
|
10650
|
+
},
|
10651
|
+
texts: {
|
10652
|
+
top1: {
|
10653
|
+
type: "text",
|
10654
|
+
text: "{REF}",
|
10655
|
+
x: -0.17652089999999898,
|
10656
|
+
y: -0.36197569999999946
|
10657
|
+
},
|
10658
|
+
bottom1: {
|
10659
|
+
type: "text",
|
10660
|
+
text: "{VAL}",
|
10661
|
+
x: -0.009849199999999891,
|
10662
|
+
y: 0.43234960000000044
|
10663
|
+
},
|
10664
|
+
left1: {
|
10665
|
+
type: "text",
|
10666
|
+
text: "Wh",
|
10667
|
+
x: 0,
|
10668
|
+
y: -0.025
|
10669
|
+
}
|
10670
|
+
},
|
10671
|
+
refblocks: {
|
10672
|
+
left1: {
|
10673
|
+
x: -0.5446330999999993,
|
10674
|
+
y: 852800000000542e-18
|
10675
|
+
},
|
10676
|
+
right1: {
|
10677
|
+
x: 0.5381638000000004,
|
10678
|
+
y: -14359999999924433e-20
|
10679
|
+
}
|
10680
|
+
},
|
10681
|
+
bounds: {
|
10682
|
+
minX: -0.5307178,
|
10683
|
+
maxX: 0.5307178000000001,
|
10684
|
+
minY: 0,
|
10685
|
+
maxY: 0,
|
10686
|
+
width: 1.0614356000000003,
|
10687
|
+
height: 1,
|
10688
|
+
centerX: 5551115123125783e-32,
|
10689
|
+
centerY: 0
|
10690
|
+
},
|
10691
|
+
circles: {
|
10692
|
+
path1: {
|
10693
|
+
type: "circle",
|
10694
|
+
x: -0.006997299999999651,
|
10695
|
+
y: -0.007128299999999532,
|
10696
|
+
radius: 0.28854213,
|
10697
|
+
color: "primary",
|
10698
|
+
fill: false
|
10699
|
+
}
|
10700
|
+
}
|
10701
|
+
};
|
10702
|
+
|
10703
|
+
// symbols/watt_hour_meter_horz.ts
|
10704
|
+
var { paths: paths53, texts: texts74, bounds: bounds53, refblocks: refblocks53, circles: circles42 } = watt_hour_meter_default;
|
10705
|
+
var watt_hour_meter_horz_default = defineSymbol({
|
10706
|
+
primitives: [
|
10707
|
+
...Object.values(paths53),
|
10708
|
+
...Object.values(circles42),
|
10709
|
+
{
|
10710
|
+
type: "text",
|
10711
|
+
text: "{REF}",
|
10712
|
+
x: 0,
|
10713
|
+
y: -0.3594553499999995,
|
10714
|
+
anchor: "middle_bottom"
|
10715
|
+
},
|
10716
|
+
{
|
10717
|
+
type: "text",
|
10718
|
+
text: "{VAL}",
|
10719
|
+
x: 0,
|
10720
|
+
y: 0.35,
|
10721
|
+
anchor: "middle_top"
|
10722
|
+
},
|
10723
|
+
{ ...texts74.left1, anchor: "center", fontSize: 0.2 }
|
10724
|
+
],
|
10725
|
+
ports: [
|
10726
|
+
{ ...refblocks53.left1, labels: ["1"] },
|
10727
|
+
// TODO add more "standard" labels
|
10728
|
+
{ ...refblocks53.right1, labels: ["2"] }
|
10729
|
+
// TODO add more "standard" labels
|
10730
|
+
],
|
10731
|
+
size: { width: bounds53.width, height: bounds53.height },
|
10732
|
+
center: { x: bounds53.centerX, y: bounds53.centerY }
|
10733
|
+
});
|
10734
|
+
|
10735
|
+
// symbols/watt_hour_meter_vert.ts
|
10736
|
+
var { 5: letter6, ...rest6 } = watt_hour_meter_horz_default.primitives;
|
10737
|
+
function isPrimitive6(value) {
|
10738
|
+
return typeof value === "object";
|
10739
|
+
}
|
10740
|
+
var rotatedSymbol28 = rotateSymbol({
|
10741
|
+
...watt_hour_meter_horz_default,
|
10742
|
+
primitives: Object.values(rest6).filter(isPrimitive6)
|
10743
|
+
});
|
10744
|
+
var watt_hour_meter_vert_default = {
|
10745
|
+
...rotatedSymbol28,
|
10746
|
+
primitives: [...rotatedSymbol28.primitives, letter6]
|
10747
|
+
};
|
10748
|
+
|
10485
10749
|
// assets/generated/zener_diode.json
|
10486
10750
|
var zener_diode_default = {
|
10487
10751
|
paths: {
|
@@ -10629,22 +10893,22 @@ var zener_diode_default = {
|
|
10629
10893
|
};
|
10630
10894
|
|
10631
10895
|
// symbols/zener_diode_horz.ts
|
10632
|
-
var { paths:
|
10896
|
+
var { paths: paths54, texts: texts75, bounds: bounds54, refblocks: refblocks54, circles: circles43 } = zener_diode_default;
|
10633
10897
|
var zener_diode_horz_default = defineSymbol({
|
10634
10898
|
primitives: [
|
10635
|
-
...Object.values(
|
10636
|
-
...Object.values(
|
10637
|
-
{ ...
|
10638
|
-
{ ...
|
10899
|
+
...Object.values(paths54),
|
10900
|
+
...Object.values(circles43),
|
10901
|
+
{ ...texts75.top1, anchor: "middle_bottom" },
|
10902
|
+
{ ...texts75.bottom1, anchor: "middle_top" }
|
10639
10903
|
],
|
10640
10904
|
ports: [
|
10641
|
-
{ ...
|
10905
|
+
{ ...refblocks54.left1, labels: ["1"] },
|
10642
10906
|
// TODO add more "standard" labels
|
10643
|
-
{ ...
|
10907
|
+
{ ...refblocks54.right1, labels: ["2"] }
|
10644
10908
|
// TODO add more "standard" labels
|
10645
10909
|
],
|
10646
|
-
size: { width:
|
10647
|
-
center: { x:
|
10910
|
+
size: { width: bounds54.width, height: bounds54.height },
|
10911
|
+
center: { x: bounds54.centerX, y: bounds54.centerY }
|
10648
10912
|
});
|
10649
10913
|
|
10650
10914
|
// symbols/zener_diode_vert.ts
|
@@ -10689,6 +10953,8 @@ var symbols_index_default = {
|
|
10689
10953
|
"dpst_switch_vert": dpst_switch_vert_default,
|
10690
10954
|
"filled_diode_horz": filled_diode_horz_default,
|
10691
10955
|
"filled_diode_vert": filled_diode_vert_default,
|
10956
|
+
"frequency_meter_horz": frequency_meter_horz_default,
|
10957
|
+
"frequency_meter_vert": frequency_meter_vert_default,
|
10692
10958
|
"fuse_horz": fuse_horz_default,
|
10693
10959
|
"fuse_vert": fuse_vert_default,
|
10694
10960
|
"gunn_diode_horz": gunn_diode_horz_default,
|
@@ -10763,6 +11029,8 @@ var symbols_index_default = {
|
|
10763
11029
|
"varistor_vert": varistor_vert_default,
|
10764
11030
|
"volt_meter_horz": volt_meter_horz_default,
|
10765
11031
|
"volt_meter_vert": volt_meter_vert_default,
|
11032
|
+
"watt_hour_meter_horz": watt_hour_meter_horz_default,
|
11033
|
+
"watt_hour_meter_vert": watt_hour_meter_vert_default,
|
10766
11034
|
"zener_diode_horz": zener_diode_horz_default,
|
10767
11035
|
"zener_diode_vert": zener_diode_vert_default
|
10768
11036
|
};
|