schematic-symbols 0.0.92 → 0.0.93
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +5 -3
- package/dist/index.js +111 -123
- package/dist/index.js.map +1 -1
- package/drawing/rotateSymbol.ts +22 -4
- package/package.json +1 -1
- package/symbols/diode_down.ts +4 -0
- package/symbols/diode_left.ts +4 -0
- package/symbols/{diode_horz.ts → diode_right.ts} +5 -3
- package/symbols/diode_up.ts +4 -0
- package/symbols/varistor_vert.ts +1 -1
- package/symbols/diode_vert.ts +0 -4
package/dist/index.js
CHANGED
@@ -204,8 +204,18 @@ var rotateAnchor = (anchor) => {
|
|
204
204
|
}
|
205
205
|
return anchor;
|
206
206
|
};
|
207
|
-
var rotateSymbol = (symbol, overrides) => {
|
208
|
-
const
|
207
|
+
var rotateSymbol = (symbol, orientation, overrides) => {
|
208
|
+
const angleMap = {
|
209
|
+
up: -Math.PI / 2,
|
210
|
+
right: 0,
|
211
|
+
down: Math.PI / 2,
|
212
|
+
left: -Math.PI
|
213
|
+
};
|
214
|
+
const transform = rotate(
|
215
|
+
orientation ? angleMap[orientation] : Math.PI / 2,
|
216
|
+
symbol.center.x,
|
217
|
+
symbol.center.y
|
218
|
+
);
|
209
219
|
const { primitives, center, size, ports } = symbol;
|
210
220
|
const rotatedPrimitives = primitives.map((primitive) => {
|
211
221
|
primitive = { ...primitive };
|
@@ -262,10 +272,9 @@ var rotateSymbol = (symbol, overrides) => {
|
|
262
272
|
primitives: rotatedPrimitives,
|
263
273
|
center,
|
264
274
|
ports: rotatedPorts,
|
265
|
-
// TODO recompute size using overrides
|
266
275
|
size: {
|
267
|
-
width: size.height,
|
268
|
-
height: size.width
|
276
|
+
width: orientation === "up" || orientation === "down" ? size.width : size.height,
|
277
|
+
height: orientation === "up" || orientation === "down" ? size.height : size.width
|
269
278
|
},
|
270
279
|
...overrides
|
271
280
|
};
|
@@ -2067,36 +2076,6 @@ var diode_default = {
|
|
2067
2076
|
],
|
2068
2077
|
color: "primary",
|
2069
2078
|
fill: false
|
2070
|
-
},
|
2071
|
-
"path43-5": {
|
2072
|
-
type: "path",
|
2073
|
-
points: [
|
2074
|
-
{
|
2075
|
-
x: 0.19156529999999972,
|
2076
|
-
y: 0.09340209999999871
|
2077
|
-
},
|
2078
|
-
{
|
2079
|
-
x: 0.14591529999999908,
|
2080
|
-
y: 0.0937620999999993
|
2081
|
-
}
|
2082
|
-
],
|
2083
|
-
color: "primary",
|
2084
|
-
fill: false
|
2085
|
-
},
|
2086
|
-
"path43-5-2": {
|
2087
|
-
type: "path",
|
2088
|
-
points: [
|
2089
|
-
{
|
2090
|
-
x: 0.19233440000000046,
|
2091
|
-
y: 0.1405493999999976
|
2092
|
-
},
|
2093
|
-
{
|
2094
|
-
x: 0.19197439999999988,
|
2095
|
-
y: 0.09489939999999919
|
2096
|
-
}
|
2097
|
-
],
|
2098
|
-
color: "primary",
|
2099
|
-
fill: false
|
2100
2079
|
}
|
2101
2080
|
},
|
2102
2081
|
texts: {
|
@@ -2136,11 +2115,12 @@ var diode_default = {
|
|
2136
2115
|
circles: {}
|
2137
2116
|
};
|
2138
2117
|
|
2139
|
-
// symbols/
|
2140
|
-
var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12 } = diode_default;
|
2141
|
-
var
|
2118
|
+
// symbols/diode_right.ts
|
2119
|
+
var { paths: paths12, texts: texts14, bounds: bounds12, refblocks: refblocks12, circles: circles10 } = diode_default;
|
2120
|
+
var diode_right_default = defineSymbol({
|
2142
2121
|
primitives: [
|
2143
2122
|
...Object.values(paths12),
|
2123
|
+
...Object.values(circles10),
|
2144
2124
|
{ ...texts14.top1, anchor: "middle_bottom" },
|
2145
2125
|
{ ...texts14.bottom1, anchor: "middle_top" }
|
2146
2126
|
],
|
@@ -2154,8 +2134,14 @@ var diode_horz_default = defineSymbol({
|
|
2154
2134
|
center: { x: bounds12.centerX, y: bounds12.centerY }
|
2155
2135
|
});
|
2156
2136
|
|
2157
|
-
// symbols/
|
2158
|
-
var
|
2137
|
+
// symbols/diode_down.ts
|
2138
|
+
var diode_down_default = rotateSymbol(diode_right_default, "down");
|
2139
|
+
|
2140
|
+
// symbols/diode_left.ts
|
2141
|
+
var diode_left_default = rotateSymbol(diode_right_default, "left");
|
2142
|
+
|
2143
|
+
// symbols/diode_up.ts
|
2144
|
+
var diode_up_default = rotateSymbol(diode_right_default, "up");
|
2159
2145
|
|
2160
2146
|
// assets/generated/dpst_switch.json
|
2161
2147
|
var dpst_switch_default = {
|
@@ -2313,11 +2299,11 @@ var dpst_switch_default = {
|
|
2313
2299
|
};
|
2314
2300
|
|
2315
2301
|
// symbols/dpst_switch_horz.ts
|
2316
|
-
var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles:
|
2302
|
+
var { paths: paths13, texts: texts15, bounds: bounds13, refblocks: refblocks13, circles: circles11 } = dpst_switch_default;
|
2317
2303
|
var dpst_switch_horz_default = defineSymbol({
|
2318
2304
|
primitives: [
|
2319
2305
|
...Object.values(paths13),
|
2320
|
-
...Object.values(
|
2306
|
+
...Object.values(circles11),
|
2321
2307
|
{ ...texts15.top1, anchor: "middle_bottom", x: 0 },
|
2322
2308
|
{ ...texts15.bottom1, anchor: "middle_top", x: 0 }
|
2323
2309
|
],
|
@@ -2464,11 +2450,11 @@ var filled_diode_default = {
|
|
2464
2450
|
};
|
2465
2451
|
|
2466
2452
|
// symbols/filled_diode_horz.ts
|
2467
|
-
var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles:
|
2453
|
+
var { paths: paths14, texts: texts17, bounds: bounds14, refblocks: refblocks14, circles: circles12 } = filled_diode_default;
|
2468
2454
|
var filled_diode_horz_default = defineSymbol({
|
2469
2455
|
primitives: [
|
2470
2456
|
...Object.values(paths14),
|
2471
|
-
...Object.values(
|
2457
|
+
...Object.values(circles12),
|
2472
2458
|
{
|
2473
2459
|
type: "text",
|
2474
2460
|
text: "{REF}",
|
@@ -2584,11 +2570,11 @@ var frequency_meter_default = {
|
|
2584
2570
|
};
|
2585
2571
|
|
2586
2572
|
// symbols/frequency_meter_horz.ts
|
2587
|
-
var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles:
|
2573
|
+
var { paths: paths15, texts: texts18, bounds: bounds15, refblocks: refblocks15, circles: circles13 } = frequency_meter_default;
|
2588
2574
|
var frequency_meter_horz_default = defineSymbol({
|
2589
2575
|
primitives: [
|
2590
2576
|
...Object.values(paths15),
|
2591
|
-
...Object.values(
|
2577
|
+
...Object.values(circles13),
|
2592
2578
|
{
|
2593
2579
|
type: "text",
|
2594
2580
|
text: "{REF}",
|
@@ -2845,11 +2831,11 @@ var ground_default = {
|
|
2845
2831
|
};
|
2846
2832
|
|
2847
2833
|
// symbols/ground_horz.ts
|
2848
|
-
var { paths: paths17, circles:
|
2834
|
+
var { paths: paths17, circles: circles14, bounds: bounds17, refblocks: refblocks17 } = ground_default;
|
2849
2835
|
var horizontalSymbol = defineSymbol({
|
2850
2836
|
primitives: [
|
2851
2837
|
...Object.values(paths17),
|
2852
|
-
...Object.values(
|
2838
|
+
...Object.values(circles14),
|
2853
2839
|
{
|
2854
2840
|
type: "text",
|
2855
2841
|
text: "{REF}",
|
@@ -2880,11 +2866,11 @@ var horizontalSymbol = defineSymbol({
|
|
2880
2866
|
var ground_horz_default = horizontalSymbol;
|
2881
2867
|
|
2882
2868
|
// symbols/ground_vert.ts
|
2883
|
-
var { paths: paths18, circles:
|
2869
|
+
var { paths: paths18, circles: circles15, bounds: bounds18, refblocks: refblocks18 } = ground_default;
|
2884
2870
|
var verticalSymbol = defineSymbol({
|
2885
2871
|
primitives: [
|
2886
2872
|
...Object.values(paths18),
|
2887
|
-
...Object.values(
|
2873
|
+
...Object.values(circles15),
|
2888
2874
|
{
|
2889
2875
|
type: "text",
|
2890
2876
|
text: "{REF}",
|
@@ -3032,11 +3018,11 @@ var gunn_diode_default = {
|
|
3032
3018
|
};
|
3033
3019
|
|
3034
3020
|
// symbols/gunn_diode_horz.ts
|
3035
|
-
var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles:
|
3021
|
+
var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles16 } = gunn_diode_default;
|
3036
3022
|
var gunn_diode_horz_default = defineSymbol({
|
3037
3023
|
primitives: [
|
3038
3024
|
...Object.values(paths19),
|
3039
|
-
...Object.values(
|
3025
|
+
...Object.values(circles16),
|
3040
3026
|
{ ...texts20.top1, anchor: "middle_left" },
|
3041
3027
|
{
|
3042
3028
|
type: "text",
|
@@ -3246,11 +3232,11 @@ var igbt_transistor_default = {
|
|
3246
3232
|
};
|
3247
3233
|
|
3248
3234
|
// symbols/igbt_transistor_horz.ts
|
3249
|
-
var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles:
|
3235
|
+
var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles17 } = igbt_transistor_default;
|
3250
3236
|
var igbt_transistor_horz_default = defineSymbol({
|
3251
3237
|
primitives: [
|
3252
3238
|
...Object.values(paths20),
|
3253
|
-
...Object.values(
|
3239
|
+
...Object.values(circles17),
|
3254
3240
|
{
|
3255
3241
|
type: "text",
|
3256
3242
|
text: "{REF}",
|
@@ -3525,11 +3511,11 @@ var illuminated_push_button_normally_open_default = {
|
|
3525
3511
|
};
|
3526
3512
|
|
3527
3513
|
// symbols/illuminated_push_button_normally_open_horz.ts
|
3528
|
-
var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles:
|
3514
|
+
var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles18 } = illuminated_push_button_normally_open_default;
|
3529
3515
|
var illuminated_push_button_normally_open_horz_default = defineSymbol({
|
3530
3516
|
primitives: [
|
3531
3517
|
...Object.values(paths21),
|
3532
|
-
...Object.values(
|
3518
|
+
...Object.values(circles18),
|
3533
3519
|
{ ...texts23.top1, anchor: "middle_right", x: 0, y: -0.4 },
|
3534
3520
|
{ ...texts23.bottom1, anchor: "middle_right", x: 0 }
|
3535
3521
|
],
|
@@ -4632,11 +4618,11 @@ var inductor_default = {
|
|
4632
4618
|
};
|
4633
4619
|
|
4634
4620
|
// symbols/inductor_horz.ts
|
4635
|
-
var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles:
|
4621
|
+
var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22, circles: circles19 } = inductor_default;
|
4636
4622
|
var inductor_horz_default = defineSymbol({
|
4637
4623
|
primitives: [
|
4638
4624
|
...Object.values(paths22),
|
4639
|
-
...Object.values(
|
4625
|
+
...Object.values(circles19),
|
4640
4626
|
{ ...texts25.top1, anchor: "middle_bottom" },
|
4641
4627
|
{ ...texts25.bottom1, anchor: "middle_top" }
|
4642
4628
|
],
|
@@ -4893,11 +4879,11 @@ var laser_diode_default = {
|
|
4893
4879
|
};
|
4894
4880
|
|
4895
4881
|
// symbols/laser_diode_horz.ts
|
4896
|
-
var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles:
|
4882
|
+
var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles20 } = laser_diode_default;
|
4897
4883
|
var laser_diode_horz_default = defineSymbol({
|
4898
4884
|
primitives: [
|
4899
4885
|
...Object.values(paths23),
|
4900
|
-
...Object.values(
|
4886
|
+
...Object.values(circles20),
|
4901
4887
|
{ ...texts26.top1, anchor: "middle_left" },
|
4902
4888
|
{ ...texts26.bottom1, anchor: "middle_bottom" }
|
4903
4889
|
],
|
@@ -5391,11 +5377,11 @@ var light_dependent_resistor_default = {
|
|
5391
5377
|
};
|
5392
5378
|
|
5393
5379
|
// symbols/light_dependent_resistor_horz.ts
|
5394
|
-
var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles:
|
5380
|
+
var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles21 } = light_dependent_resistor_default;
|
5395
5381
|
var light_dependent_resistor_horz_default = defineSymbol({
|
5396
5382
|
primitives: [
|
5397
5383
|
...Object.values(paths25),
|
5398
|
-
...Object.values(
|
5384
|
+
...Object.values(circles21),
|
5399
5385
|
{ ...texts29.top1, anchor: "middle_left", x: 0 },
|
5400
5386
|
{ ...texts29.bottom1, anchor: "middle_left", x: 0 }
|
5401
5387
|
],
|
@@ -6335,11 +6321,11 @@ var mushroom_head_normally_open_momentary_default = {
|
|
6335
6321
|
};
|
6336
6322
|
|
6337
6323
|
// symbols/mushroom_head_normally_open_momentary_horz.ts
|
6338
|
-
var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles:
|
6324
|
+
var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles22 } = mushroom_head_normally_open_momentary_default;
|
6339
6325
|
var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
|
6340
6326
|
primitives: [
|
6341
6327
|
...Object.values(paths27),
|
6342
|
-
...Object.values(
|
6328
|
+
...Object.values(circles22),
|
6343
6329
|
{ ...texts32.top1, anchor: "middle_bottom", x: 0 },
|
6344
6330
|
{ ...texts32.bottom1, anchor: "middle_top", x: 0 }
|
6345
6331
|
],
|
@@ -6561,11 +6547,11 @@ var n_channel_d_mosfet_transistor_default = {
|
|
6561
6547
|
};
|
6562
6548
|
|
6563
6549
|
// symbols/n_channel_d_mosfet_transistor_horz.ts
|
6564
|
-
var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles:
|
6550
|
+
var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles23 } = n_channel_d_mosfet_transistor_default;
|
6565
6551
|
var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
6566
6552
|
primitives: [
|
6567
6553
|
...Object.values(paths28),
|
6568
|
-
...Object.values(
|
6554
|
+
...Object.values(circles23),
|
6569
6555
|
{ ...texts33.top1, anchor: "middle_right", x: 0 },
|
6570
6556
|
{ ...texts33.bottom1, anchor: "middle_right", x: 0 }
|
6571
6557
|
],
|
@@ -6818,11 +6804,11 @@ var n_channel_e_mosfet_transistor_default = {
|
|
6818
6804
|
};
|
6819
6805
|
|
6820
6806
|
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
6821
|
-
var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles:
|
6807
|
+
var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles24 } = n_channel_e_mosfet_transistor_default;
|
6822
6808
|
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
6823
6809
|
primitives: [
|
6824
6810
|
...Object.values(paths29),
|
6825
|
-
...Object.values(
|
6811
|
+
...Object.values(circles24),
|
6826
6812
|
{ ...texts35.top1, anchor: "middle_right", x: 0 },
|
6827
6813
|
{ ...texts35.bottom1, anchor: "middle_right", x: 0 }
|
6828
6814
|
],
|
@@ -7015,11 +7001,11 @@ var njfet_transistor_default = {
|
|
7015
7001
|
};
|
7016
7002
|
|
7017
7003
|
// symbols/njfet_transistor_horz.ts
|
7018
|
-
var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles:
|
7004
|
+
var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles25 } = njfet_transistor_default;
|
7019
7005
|
var njfet_transistor_horz_default = defineSymbol({
|
7020
7006
|
primitives: [
|
7021
7007
|
...Object.values(paths30),
|
7022
|
-
...Object.values(
|
7008
|
+
...Object.values(circles25),
|
7023
7009
|
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
7024
7010
|
{ ...texts37.bottom1, anchor: "middle_right", x: 0 }
|
7025
7011
|
],
|
@@ -7212,11 +7198,11 @@ var npn_bipolar_transistor_default = {
|
|
7212
7198
|
};
|
7213
7199
|
|
7214
7200
|
// symbols/npn_bipolar_transistor_horz.ts
|
7215
|
-
var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles:
|
7201
|
+
var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles26 } = npn_bipolar_transistor_default;
|
7216
7202
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
7217
7203
|
primitives: [
|
7218
7204
|
...Object.values(paths31),
|
7219
|
-
...Object.values(
|
7205
|
+
...Object.values(circles26),
|
7220
7206
|
{
|
7221
7207
|
type: "text",
|
7222
7208
|
text: "{REF}",
|
@@ -7442,11 +7428,11 @@ var p_channel_d_mosfet_transistor_default = {
|
|
7442
7428
|
};
|
7443
7429
|
|
7444
7430
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
7445
|
-
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles:
|
7431
|
+
var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles27 } = p_channel_d_mosfet_transistor_default;
|
7446
7432
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
7447
7433
|
primitives: [
|
7448
7434
|
...Object.values(paths32),
|
7449
|
-
...Object.values(
|
7435
|
+
...Object.values(circles27),
|
7450
7436
|
{ ...texts41.top1, anchor: "middle_right", x: 0 },
|
7451
7437
|
{ ...texts41.bottom1, anchor: "middle_right", x: 0 }
|
7452
7438
|
],
|
@@ -7699,11 +7685,11 @@ var p_channel_e_mosfet_transistor_default = {
|
|
7699
7685
|
};
|
7700
7686
|
|
7701
7687
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
7702
|
-
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles:
|
7688
|
+
var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles28 } = p_channel_e_mosfet_transistor_default;
|
7703
7689
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
7704
7690
|
primitives: [
|
7705
7691
|
...Object.values(paths33),
|
7706
|
-
...Object.values(
|
7692
|
+
...Object.values(circles28),
|
7707
7693
|
{ ...texts43.top1, anchor: "middle_right", x: 0 },
|
7708
7694
|
{ ...texts43.bottom1, anchor: "middle_right", x: 0 }
|
7709
7695
|
],
|
@@ -7957,11 +7943,11 @@ var photodiode_default = {
|
|
7957
7943
|
};
|
7958
7944
|
|
7959
7945
|
// symbols/photodiode_horz.ts
|
7960
|
-
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles:
|
7946
|
+
var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles29 } = photodiode_default;
|
7961
7947
|
var photodiode_horz_default = defineSymbol({
|
7962
7948
|
primitives: [
|
7963
7949
|
...Object.values(paths34),
|
7964
|
-
...Object.values(
|
7950
|
+
...Object.values(circles29),
|
7965
7951
|
{
|
7966
7952
|
type: "text",
|
7967
7953
|
text: "{REF}",
|
@@ -8159,11 +8145,11 @@ var pjfet_transistor_default = {
|
|
8159
8145
|
};
|
8160
8146
|
|
8161
8147
|
// symbols/pjfet_transistor_horz.ts
|
8162
|
-
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles:
|
8148
|
+
var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles30 } = pjfet_transistor_default;
|
8163
8149
|
var pjfet_transistor_horz_default = defineSymbol({
|
8164
8150
|
primitives: [
|
8165
8151
|
...Object.values(paths35),
|
8166
|
-
...Object.values(
|
8152
|
+
...Object.values(circles30),
|
8167
8153
|
{ ...texts47.top1, anchor: "middle_right", x: 0 },
|
8168
8154
|
{ ...texts47.bottom1, anchor: "middle_right" }
|
8169
8155
|
],
|
@@ -8356,11 +8342,11 @@ var pnp_bipolar_transistor_default = {
|
|
8356
8342
|
};
|
8357
8343
|
|
8358
8344
|
// symbols/pnp_bipolar_transistor_horz.ts
|
8359
|
-
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles:
|
8345
|
+
var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles31 } = pnp_bipolar_transistor_default;
|
8360
8346
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
8361
8347
|
primitives: [
|
8362
8348
|
...Object.values(paths36),
|
8363
|
-
...Object.values(
|
8349
|
+
...Object.values(circles31),
|
8364
8350
|
{
|
8365
8351
|
type: "text",
|
8366
8352
|
text: "{REF}",
|
@@ -8791,11 +8777,11 @@ var power_factor_meter_default = {
|
|
8791
8777
|
};
|
8792
8778
|
|
8793
8779
|
// symbols/power_factor_meter_horz.ts
|
8794
|
-
var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles:
|
8780
|
+
var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles32 } = power_factor_meter_default;
|
8795
8781
|
var power_factor_meter_horz_default = defineSymbol({
|
8796
8782
|
primitives: [
|
8797
8783
|
...Object.values(paths39),
|
8798
|
-
...Object.values(
|
8784
|
+
...Object.values(circles32),
|
8799
8785
|
// { ...texts.top1, anchor: "middle_left" },
|
8800
8786
|
{
|
8801
8787
|
type: "text",
|
@@ -9525,11 +9511,11 @@ var rectifier_diode_default = {
|
|
9525
9511
|
};
|
9526
9512
|
|
9527
9513
|
// symbols/rectifier_diode_horz.ts
|
9528
|
-
var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles:
|
9514
|
+
var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles33 } = rectifier_diode_default;
|
9529
9515
|
var rectifier_diode_horz_default = defineSymbol({
|
9530
9516
|
primitives: [
|
9531
9517
|
...Object.values(paths42),
|
9532
|
-
...Object.values(
|
9518
|
+
...Object.values(circles33),
|
9533
9519
|
{ ...texts57.top1, anchor: "middle_right" },
|
9534
9520
|
{ ...texts57.bottom1, anchor: "middle_right" }
|
9535
9521
|
],
|
@@ -9905,11 +9891,11 @@ var resonator_default = {
|
|
9905
9891
|
};
|
9906
9892
|
|
9907
9893
|
// symbols/resonator_horz.ts
|
9908
|
-
var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles:
|
9894
|
+
var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles34 } = resonator_default;
|
9909
9895
|
var resonator_horz_default = defineSymbol({
|
9910
9896
|
primitives: [
|
9911
9897
|
...Object.values(paths43),
|
9912
|
-
...Object.values(
|
9898
|
+
...Object.values(circles34),
|
9913
9899
|
// { ...texts.top1, anchor: "middle_left" },
|
9914
9900
|
// { ...texts.bottom1, anchor: "middle_left" },
|
9915
9901
|
{
|
@@ -10134,11 +10120,11 @@ var schottky_diode_default = {
|
|
10134
10120
|
};
|
10135
10121
|
|
10136
10122
|
// symbols/schottky_diode_horz.ts
|
10137
|
-
var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles:
|
10123
|
+
var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles35 } = schottky_diode_default;
|
10138
10124
|
var schottky_diode_horz_default = defineSymbol({
|
10139
10125
|
primitives: [
|
10140
10126
|
...Object.values(paths44),
|
10141
|
-
...Object.values(
|
10127
|
+
...Object.values(circles35),
|
10142
10128
|
{ ...texts59.top1, anchor: "middle_bottom" },
|
10143
10129
|
{ ...texts59.bottom1, anchor: "middle_top" }
|
10144
10130
|
],
|
@@ -10308,11 +10294,11 @@ var silicon_controlled_rectifier_default = {
|
|
10308
10294
|
};
|
10309
10295
|
|
10310
10296
|
// symbols/silicon_controlled_rectifier_horz.ts
|
10311
|
-
var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles:
|
10297
|
+
var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles36 } = silicon_controlled_rectifier_default;
|
10312
10298
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
10313
10299
|
primitives: [
|
10314
10300
|
...Object.values(paths45),
|
10315
|
-
...Object.values(
|
10301
|
+
...Object.values(circles36),
|
10316
10302
|
{ ...texts60.top1, anchor: "middle_left" },
|
10317
10303
|
{ ...texts60.bottom1, anchor: "middle_top" }
|
10318
10304
|
],
|
@@ -10456,11 +10442,11 @@ var SPDT_switch_default = {
|
|
10456
10442
|
};
|
10457
10443
|
|
10458
10444
|
// symbols/SPDT_switch_horz.ts
|
10459
|
-
var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles:
|
10445
|
+
var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles37 } = SPDT_switch_default;
|
10460
10446
|
var SPDT_switch_horz_default = defineSymbol({
|
10461
10447
|
primitives: [
|
10462
10448
|
...Object.values(paths46),
|
10463
|
-
...Object.values(
|
10449
|
+
...Object.values(circles37),
|
10464
10450
|
{ ...texts62.top1, anchor: "middle_bottom", x: -0.01 },
|
10465
10451
|
{ ...texts62.bottom1, anchor: "middle_top", x: -0.01 }
|
10466
10452
|
],
|
@@ -10584,11 +10570,11 @@ var SPST_switch_default = {
|
|
10584
10570
|
};
|
10585
10571
|
|
10586
10572
|
// symbols/SPST_switch_horz.ts
|
10587
|
-
var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles:
|
10573
|
+
var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles38 } = SPST_switch_default;
|
10588
10574
|
var SPST_switch_horz_default = defineSymbol({
|
10589
10575
|
primitives: [
|
10590
10576
|
...Object.values(paths47),
|
10591
|
-
...Object.values(
|
10577
|
+
...Object.values(circles38),
|
10592
10578
|
{ ...texts64.top1, anchor: "middle_bottom", x: 0 },
|
10593
10579
|
{ ...texts64.bottom1, anchor: "middle_top", x: 0 }
|
10594
10580
|
],
|
@@ -10777,11 +10763,11 @@ var step_recovery_diode_default = {
|
|
10777
10763
|
};
|
10778
10764
|
|
10779
10765
|
// symbols/step_recovery_diode_horz.ts
|
10780
|
-
var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles:
|
10766
|
+
var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles39 } = step_recovery_diode_default;
|
10781
10767
|
var step_recovery_diode_horz_default = defineSymbol({
|
10782
10768
|
primitives: [
|
10783
10769
|
...Object.values(paths48),
|
10784
|
-
...Object.values(
|
10770
|
+
...Object.values(circles39),
|
10785
10771
|
// { ...texts.top1, anchor: "middle_left" },
|
10786
10772
|
// { ...texts.bottom1, anchor: "middle_left" },
|
10787
10773
|
{
|
@@ -10899,11 +10885,11 @@ var tachometer_default = {
|
|
10899
10885
|
};
|
10900
10886
|
|
10901
10887
|
// symbols/tachometer_horz.ts
|
10902
|
-
var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles:
|
10888
|
+
var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles40 } = tachometer_default;
|
10903
10889
|
var tachometer_horz_default = defineSymbol({
|
10904
10890
|
primitives: [
|
10905
10891
|
...Object.values(paths49),
|
10906
|
-
...Object.values(
|
10892
|
+
...Object.values(circles40),
|
10907
10893
|
{
|
10908
10894
|
type: "text",
|
10909
10895
|
text: "{REF}",
|
@@ -11135,11 +11121,11 @@ var triac_default = {
|
|
11135
11121
|
};
|
11136
11122
|
|
11137
11123
|
// symbols/triac_horz.ts
|
11138
|
-
var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles:
|
11124
|
+
var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles41 } = triac_default;
|
11139
11125
|
var triac_horz_default = defineSymbol({
|
11140
11126
|
primitives: [
|
11141
11127
|
...Object.values(paths50),
|
11142
|
-
...Object.values(
|
11128
|
+
...Object.values(circles41),
|
11143
11129
|
{ ...texts68.top1, anchor: "middle_left" },
|
11144
11130
|
{ ...texts68.bottom1, anchor: "middle_top" }
|
11145
11131
|
],
|
@@ -11328,11 +11314,11 @@ var tunnel_diode_default = {
|
|
11328
11314
|
};
|
11329
11315
|
|
11330
11316
|
// symbols/tunnel_diode_horz.ts
|
11331
|
-
var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles:
|
11317
|
+
var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles42 } = tunnel_diode_default;
|
11332
11318
|
var tunnel_diode_horz_default = defineSymbol({
|
11333
11319
|
primitives: [
|
11334
11320
|
...Object.values(paths51),
|
11335
|
-
...Object.values(
|
11321
|
+
...Object.values(circles42),
|
11336
11322
|
{ ...texts70.top1, anchor: "middle_bottom" },
|
11337
11323
|
{ ...texts70.bottom1, anchor: "middle_top" }
|
11338
11324
|
],
|
@@ -11526,11 +11512,11 @@ var unijunction_transistor_default = {
|
|
11526
11512
|
};
|
11527
11513
|
|
11528
11514
|
// symbols/unijunction_transistor_horz.ts
|
11529
|
-
var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles:
|
11515
|
+
var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles43 } = unijunction_transistor_default;
|
11530
11516
|
var unijunction_transistor_horz_default = defineSymbol({
|
11531
11517
|
primitives: [
|
11532
11518
|
...Object.values(paths52),
|
11533
|
-
...Object.values(
|
11519
|
+
...Object.values(circles43),
|
11534
11520
|
{ ...texts71.top1, anchor: "middle_left" },
|
11535
11521
|
{ ...texts71.bottom1, anchor: "middle_right" }
|
11536
11522
|
],
|
@@ -11645,11 +11631,11 @@ var var_meter_default = {
|
|
11645
11631
|
};
|
11646
11632
|
|
11647
11633
|
// symbols/var_meter_horz.ts
|
11648
|
-
var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles:
|
11634
|
+
var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles44 } = var_meter_default;
|
11649
11635
|
var var_meter_horz_default = defineSymbol({
|
11650
11636
|
primitives: [
|
11651
11637
|
...Object.values(paths53),
|
11652
|
-
...Object.values(
|
11638
|
+
...Object.values(circles44),
|
11653
11639
|
{
|
11654
11640
|
...texts73.top1,
|
11655
11641
|
x: 0,
|
@@ -11824,11 +11810,11 @@ var varactor_diode_default = {
|
|
11824
11810
|
};
|
11825
11811
|
|
11826
11812
|
// symbols/varactor_diode_horz.ts
|
11827
|
-
var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles:
|
11813
|
+
var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles45 } = varactor_diode_default;
|
11828
11814
|
var varactor_diode_horz_default = defineSymbol({
|
11829
11815
|
primitives: [
|
11830
11816
|
...Object.values(paths54),
|
11831
|
-
...Object.values(
|
11817
|
+
...Object.values(circles45),
|
11832
11818
|
{ ...texts74.top1, anchor: "middle_bottom" },
|
11833
11819
|
{ ...texts74.bottom1, anchor: "middle_top" }
|
11834
11820
|
],
|
@@ -12010,7 +11996,7 @@ var varistor_horz_default = defineSymbol({
|
|
12010
11996
|
});
|
12011
11997
|
|
12012
11998
|
// symbols/varistor_vert.ts
|
12013
|
-
var varistor_vert_default = rotateSymbol(varistor_horz_default
|
11999
|
+
var varistor_vert_default = rotateSymbol(varistor_horz_default);
|
12014
12000
|
|
12015
12001
|
// assets/generated/varmeter.json
|
12016
12002
|
var varmeter_default = {
|
@@ -12099,11 +12085,11 @@ var varmeter_default = {
|
|
12099
12085
|
};
|
12100
12086
|
|
12101
12087
|
// symbols/varmeter_horz.ts
|
12102
|
-
var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles:
|
12088
|
+
var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles46 } = varmeter_default;
|
12103
12089
|
var varmeter_horz_default = defineSymbol({
|
12104
12090
|
primitives: [
|
12105
12091
|
...Object.values(paths56),
|
12106
|
-
...Object.values(
|
12092
|
+
...Object.values(circles46),
|
12107
12093
|
{
|
12108
12094
|
type: "text",
|
12109
12095
|
text: "{REF}",
|
@@ -12244,11 +12230,11 @@ var volt_meter_default = {
|
|
12244
12230
|
};
|
12245
12231
|
|
12246
12232
|
// symbols/volt_meter_horz.ts
|
12247
|
-
var { paths: paths57, texts: texts77, bounds: bounds57, circles:
|
12233
|
+
var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles47, refblocks: refblocks57 } = volt_meter_default;
|
12248
12234
|
var volt_meter_horz_default = defineSymbol({
|
12249
12235
|
primitives: [
|
12250
12236
|
...Object.values(paths57),
|
12251
|
-
...Object.values(
|
12237
|
+
...Object.values(circles47),
|
12252
12238
|
{
|
12253
12239
|
type: "text",
|
12254
12240
|
text: "{REF}",
|
@@ -12364,11 +12350,11 @@ var watt_hour_meter_default = {
|
|
12364
12350
|
};
|
12365
12351
|
|
12366
12352
|
// symbols/watt_hour_meter_horz.ts
|
12367
|
-
var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles:
|
12353
|
+
var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles48 } = watt_hour_meter_default;
|
12368
12354
|
var watt_hour_meter_horz_default = defineSymbol({
|
12369
12355
|
primitives: [
|
12370
12356
|
...Object.values(paths58),
|
12371
|
-
...Object.values(
|
12357
|
+
...Object.values(circles48),
|
12372
12358
|
{
|
12373
12359
|
type: "text",
|
12374
12360
|
text: "{REF}",
|
@@ -12496,11 +12482,11 @@ var wattmeter_default = {
|
|
12496
12482
|
};
|
12497
12483
|
|
12498
12484
|
// symbols/wattmeter_horz.ts
|
12499
|
-
var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles:
|
12485
|
+
var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles49 } = wattmeter_default;
|
12500
12486
|
var wattmeter_horz_default = defineSymbol({
|
12501
12487
|
primitives: [
|
12502
12488
|
...Object.values(paths59),
|
12503
|
-
...Object.values(
|
12489
|
+
...Object.values(circles49),
|
12504
12490
|
{
|
12505
12491
|
type: "text",
|
12506
12492
|
text: "{REF}",
|
@@ -12688,11 +12674,11 @@ var zener_diode_default = {
|
|
12688
12674
|
};
|
12689
12675
|
|
12690
12676
|
// symbols/zener_diode_horz.ts
|
12691
|
-
var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles:
|
12677
|
+
var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles50 } = zener_diode_default;
|
12692
12678
|
var zener_diode_horz_default = defineSymbol({
|
12693
12679
|
primitives: [
|
12694
12680
|
...Object.values(paths60),
|
12695
|
-
...Object.values(
|
12681
|
+
...Object.values(circles50),
|
12696
12682
|
{ ...texts80.top1, anchor: "middle_bottom" },
|
12697
12683
|
{ ...texts80.bottom1, anchor: "middle_top" }
|
12698
12684
|
],
|
@@ -12742,8 +12728,10 @@ var symbols_index_default = {
|
|
12742
12728
|
"dc_voltmeter_vert": dc_voltmeter_vert_default,
|
12743
12729
|
"diac_horz": diac_horz_default,
|
12744
12730
|
"diac_vert": diac_vert_default,
|
12745
|
-
"
|
12746
|
-
"
|
12731
|
+
"diode_down": diode_down_default,
|
12732
|
+
"diode_left": diode_left_default,
|
12733
|
+
"diode_right": diode_right_default,
|
12734
|
+
"diode_up": diode_up_default,
|
12747
12735
|
"dpst_switch_horz": dpst_switch_horz_default,
|
12748
12736
|
"dpst_switch_vert": dpst_switch_vert_default,
|
12749
12737
|
"filled_diode_horz": filled_diode_horz_default,
|