schematic-symbols 0.0.165 → 0.0.166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +234 -165
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -44,10 +44,10 @@ function getBoundsOfPrimitives(primitives) {
|
|
44
44
|
function defineSymbol(symbol8) {
|
45
45
|
let size = symbol8.size;
|
46
46
|
if (!size) {
|
47
|
-
const
|
47
|
+
const bounds74 = getBoundsOfPrimitives(symbol8.primitives);
|
48
48
|
size = {
|
49
|
-
width:
|
50
|
-
height:
|
49
|
+
width: bounds74.maxX - bounds74.minX,
|
50
|
+
height: bounds74.maxY - bounds74.minY
|
51
51
|
};
|
52
52
|
}
|
53
53
|
return { ...symbol8, size };
|
@@ -494,14 +494,14 @@ var rotateRightFacingSymbol = (symbol8, opts) => {
|
|
494
494
|
...applyToPoint(transform2, port)
|
495
495
|
})
|
496
496
|
);
|
497
|
-
const
|
497
|
+
const bounds74 = getBoundsOfPrimitives(rotatedPrimitives);
|
498
498
|
return {
|
499
499
|
primitives: rotatedPrimitives,
|
500
500
|
center,
|
501
501
|
ports: rotatedPorts,
|
502
502
|
size: {
|
503
|
-
width:
|
504
|
-
height:
|
503
|
+
width: bounds74.maxX - bounds74.minX,
|
504
|
+
height: bounds74.maxY - bounds74.minY
|
505
505
|
},
|
506
506
|
...overrides
|
507
507
|
};
|
@@ -902,10 +902,10 @@ var SymbolModifier = class {
|
|
902
902
|
return this;
|
903
903
|
}
|
904
904
|
computeSize() {
|
905
|
-
const
|
905
|
+
const bounds74 = getBoundsOfPrimitives(this.symbol.primitives);
|
906
906
|
return {
|
907
|
-
width:
|
908
|
-
height:
|
907
|
+
width: bounds74.maxX - bounds74.minX,
|
908
|
+
height: bounds74.maxY - bounds74.minY
|
909
909
|
};
|
910
910
|
}
|
911
911
|
build() {
|
@@ -11884,6 +11884,71 @@ ref27.x = 0.35;
|
|
11884
11884
|
ref27.anchor = "middle_left";
|
11885
11885
|
var njfet_transistor_vert_default = rotatedSymbol11;
|
11886
11886
|
|
11887
|
+
// assets/generated/not_connected.json
|
11888
|
+
var not_connected_default = {
|
11889
|
+
paths: {
|
11890
|
+
diag1: {
|
11891
|
+
type: "path",
|
11892
|
+
points: [
|
11893
|
+
{ x: -0.1, y: -0.1 },
|
11894
|
+
{ x: 0.1, y: 0.1 }
|
11895
|
+
],
|
11896
|
+
color: "primary",
|
11897
|
+
fill: false
|
11898
|
+
},
|
11899
|
+
diag2: {
|
11900
|
+
type: "path",
|
11901
|
+
points: [
|
11902
|
+
{ x: -0.1, y: 0.1 },
|
11903
|
+
{ x: 0.1, y: -0.1 }
|
11904
|
+
],
|
11905
|
+
color: "primary",
|
11906
|
+
fill: false
|
11907
|
+
},
|
11908
|
+
stem: {
|
11909
|
+
type: "path",
|
11910
|
+
points: [
|
11911
|
+
{ x: -0.2, y: 0 },
|
11912
|
+
{ x: 0, y: 0 }
|
11913
|
+
],
|
11914
|
+
color: "primary",
|
11915
|
+
fill: false
|
11916
|
+
}
|
11917
|
+
},
|
11918
|
+
texts: {},
|
11919
|
+
refblocks: {
|
11920
|
+
left1: { x: -0.2, y: 0 }
|
11921
|
+
},
|
11922
|
+
bounds: {
|
11923
|
+
minX: -0.195,
|
11924
|
+
maxX: 0.195,
|
11925
|
+
minY: -0.12,
|
11926
|
+
maxY: 0.12,
|
11927
|
+
width: 0.39,
|
11928
|
+
height: 0.24,
|
11929
|
+
centerX: 0,
|
11930
|
+
centerY: 0
|
11931
|
+
},
|
11932
|
+
circles: {}
|
11933
|
+
};
|
11934
|
+
|
11935
|
+
// symbols/not_connected_right.ts
|
11936
|
+
var { paths: paths44, bounds: bounds44, refblocks: refblocks44 } = not_connected_default;
|
11937
|
+
var not_connected_right_default = modifySymbol({
|
11938
|
+
primitives: [...Object.values(paths44)],
|
11939
|
+
ports: [{ ...refblocks44.left1, labels: ["1"] }],
|
11940
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
11941
|
+
}).rotateRightFacingSymbol("right").labelPort("left1", ["1"]).build();
|
11942
|
+
|
11943
|
+
// symbols/not_connected_down.ts
|
11944
|
+
var not_connected_down_default = rotateSymbol(not_connected_right_default, "down");
|
11945
|
+
|
11946
|
+
// symbols/not_connected_left.ts
|
11947
|
+
var not_connected_left_default = rotateSymbol(not_connected_right_default, "left");
|
11948
|
+
|
11949
|
+
// symbols/not_connected_up.ts
|
11950
|
+
var not_connected_up_default = rotateSymbol(not_connected_right_default, "up");
|
11951
|
+
|
11887
11952
|
// assets/generated/npn_bipolar_transistor.json
|
11888
11953
|
var npn_bipolar_transistor_default = {
|
11889
11954
|
paths: {
|
@@ -12052,7 +12117,7 @@ var npn_bipolar_transistor_default = {
|
|
12052
12117
|
};
|
12053
12118
|
|
12054
12119
|
// symbols/npn_bipolar_transistor_horz.ts
|
12055
|
-
var { paths:
|
12120
|
+
var { paths: paths45, texts: texts50, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = npn_bipolar_transistor_default;
|
12056
12121
|
var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["1"]).labelPort("bottom1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
|
12057
12122
|
|
12058
12123
|
// symbols/npn_bipolar_transistor_vert.ts
|
@@ -12682,24 +12747,24 @@ var p_channel_d_mosfet_transistor_default = {
|
|
12682
12747
|
};
|
12683
12748
|
|
12684
12749
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
12685
|
-
var { paths:
|
12750
|
+
var { paths: paths46, texts: texts52, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = p_channel_d_mosfet_transistor_default;
|
12686
12751
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
12687
12752
|
primitives: [
|
12688
|
-
...Object.values(
|
12753
|
+
...Object.values(paths46),
|
12689
12754
|
...Object.values(circles42),
|
12690
12755
|
{ ...texts52.top1, anchor: "middle_right", x: 0 },
|
12691
12756
|
{ ...texts52.bottom1, anchor: "middle_right", x: 0 }
|
12692
12757
|
],
|
12693
12758
|
ports: [
|
12694
|
-
{ ...
|
12759
|
+
{ ...refblocks46.top1, labels: ["1", "drain"] },
|
12695
12760
|
// TODO add more "standard" labels
|
12696
|
-
{ ...
|
12761
|
+
{ ...refblocks46.bottom1, labels: ["2", "source"] },
|
12697
12762
|
// TODO add more "standard" labels
|
12698
|
-
{ ...
|
12763
|
+
{ ...refblocks46.left1, labels: ["3", "gate"] }
|
12699
12764
|
// TODO add more "standard" labels
|
12700
12765
|
],
|
12701
|
-
size: { width:
|
12702
|
-
center: { x:
|
12766
|
+
size: { width: bounds46.width, height: bounds46.height },
|
12767
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
12703
12768
|
});
|
12704
12769
|
|
12705
12770
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
@@ -12943,24 +13008,24 @@ var p_channel_e_mosfet_transistor_default = {
|
|
12943
13008
|
};
|
12944
13009
|
|
12945
13010
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
12946
|
-
var { paths:
|
13011
|
+
var { paths: paths47, texts: texts54, bounds: bounds47, refblocks: refblocks47, circles: circles43 } = p_channel_e_mosfet_transistor_default;
|
12947
13012
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
12948
13013
|
primitives: [
|
12949
|
-
...Object.values(
|
13014
|
+
...Object.values(paths47),
|
12950
13015
|
...Object.values(circles43),
|
12951
13016
|
{ ...texts54.top1, anchor: "middle_right", x: 0 },
|
12952
13017
|
{ ...texts54.bottom1, anchor: "middle_right", x: 0 }
|
12953
13018
|
],
|
12954
13019
|
ports: [
|
12955
|
-
{ ...
|
13020
|
+
{ ...refblocks47.top1, labels: ["1", "drain"] },
|
12956
13021
|
// TODO add more "standard" labels
|
12957
|
-
{ ...
|
13022
|
+
{ ...refblocks47.bottom1, labels: ["2", "source"] },
|
12958
13023
|
// TODO add more "standard" labels
|
12959
|
-
{ ...
|
13024
|
+
{ ...refblocks47.left1, labels: ["3", "gate"] }
|
12960
13025
|
// TODO add more "standard" labels
|
12961
13026
|
],
|
12962
|
-
size: { width:
|
12963
|
-
center: { x:
|
13027
|
+
size: { width: bounds47.width, height: bounds47.height },
|
13028
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
12964
13029
|
});
|
12965
13030
|
|
12966
13031
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
@@ -13379,24 +13444,24 @@ var pjfet_transistor_default = {
|
|
13379
13444
|
};
|
13380
13445
|
|
13381
13446
|
// symbols/pjfet_transistor_horz.ts
|
13382
|
-
var { paths:
|
13447
|
+
var { paths: paths48, texts: texts57, bounds: bounds48, refblocks: refblocks48, circles: circles44 } = pjfet_transistor_default;
|
13383
13448
|
var pjfet_transistor_horz_default = defineSymbol({
|
13384
13449
|
primitives: [
|
13385
|
-
...Object.values(
|
13450
|
+
...Object.values(paths48),
|
13386
13451
|
...Object.values(circles44),
|
13387
13452
|
{ ...texts57.top1, anchor: "middle_right", x: 0 },
|
13388
13453
|
{ ...texts57.bottom1, anchor: "middle_right" }
|
13389
13454
|
],
|
13390
13455
|
ports: [
|
13391
|
-
{ ...
|
13456
|
+
{ ...refblocks48.top1, labels: ["1", "drain"] },
|
13392
13457
|
// TODO add more "standard" labels
|
13393
|
-
{ ...
|
13458
|
+
{ ...refblocks48.bottom1, labels: ["2", "source"] },
|
13394
13459
|
// TODO add more "standard" labels
|
13395
|
-
{ ...
|
13460
|
+
{ ...refblocks48.left1, labels: ["3", "gate"] }
|
13396
13461
|
// TODO add more "standard" labels
|
13397
13462
|
],
|
13398
|
-
size: { width:
|
13399
|
-
center: { x:
|
13463
|
+
size: { width: bounds48.width, height: bounds48.height },
|
13464
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
13400
13465
|
});
|
13401
13466
|
|
13402
13467
|
// symbols/pjfet_transistor_vert.ts
|
@@ -13999,21 +14064,21 @@ var potentiometer_default = {
|
|
13999
14064
|
};
|
14000
14065
|
|
14001
14066
|
// symbols/potentiometer_horz.ts
|
14002
|
-
var { paths:
|
14067
|
+
var { paths: paths49, texts: texts60, bounds: bounds49, refblocks: refblocks49 } = potentiometer_default;
|
14003
14068
|
var potentiometer_horz_default = defineSymbol({
|
14004
14069
|
primitives: [
|
14005
|
-
...Object.values(
|
14070
|
+
...Object.values(paths49),
|
14006
14071
|
{ ...texts60.bottom1, y: 0.35, anchor: "middle_top" },
|
14007
14072
|
{ ...texts60.top1, anchor: "middle_left" }
|
14008
14073
|
],
|
14009
14074
|
ports: [
|
14010
|
-
{ ...
|
14075
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
14011
14076
|
// TODO add more "standard" labels
|
14012
|
-
{ ...
|
14077
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
14013
14078
|
// TODO add more "standard" labels
|
14014
14079
|
],
|
14015
|
-
size: { width:
|
14016
|
-
center: { x:
|
14080
|
+
size: { width: bounds49.width + 0.05, height: bounds49.height },
|
14081
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
14017
14082
|
});
|
14018
14083
|
|
14019
14084
|
// symbols/potentiometer_vert.ts
|
@@ -14176,21 +14241,21 @@ var potentiometer2_default = {
|
|
14176
14241
|
};
|
14177
14242
|
|
14178
14243
|
// symbols/potentiometer2_right.ts
|
14179
|
-
var { paths:
|
14244
|
+
var { paths: paths50, texts: texts61, bounds: bounds50, refblocks: refblocks50 } = potentiometer2_default;
|
14180
14245
|
var potentiometer2_right_default = defineSymbol({
|
14181
14246
|
primitives: [
|
14182
|
-
...Object.values(
|
14247
|
+
...Object.values(paths50),
|
14183
14248
|
{ ...texts61.bottom1, x: 0, y: -0.35, anchor: "middle_top" },
|
14184
14249
|
{ ...texts61.top1, x: 0, y: 0.35, anchor: "middle_bottom" }
|
14185
14250
|
],
|
14186
14251
|
ports: [
|
14187
|
-
{ ...
|
14252
|
+
{ ...refblocks50.left1, labels: ["1"] },
|
14188
14253
|
// TODO add more "standard" labels
|
14189
|
-
{ ...
|
14254
|
+
{ ...refblocks50.right1, labels: ["2"] }
|
14190
14255
|
// TODO add more "standard" labels
|
14191
14256
|
],
|
14192
|
-
size: { width:
|
14193
|
-
center: { x:
|
14257
|
+
size: { width: bounds50.width + 0.05, height: bounds50.height },
|
14258
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
14194
14259
|
});
|
14195
14260
|
|
14196
14261
|
// symbols/potentiometer2_down.ts
|
@@ -14435,10 +14500,10 @@ var power_factor_meter_default = {
|
|
14435
14500
|
};
|
14436
14501
|
|
14437
14502
|
// symbols/power_factor_meter_horz.ts
|
14438
|
-
var { paths:
|
14503
|
+
var { paths: paths51, texts: texts62, bounds: bounds51, refblocks: refblocks51, circles: circles45 } = power_factor_meter_default;
|
14439
14504
|
var power_factor_meter_horz_default = defineSymbol({
|
14440
14505
|
primitives: [
|
14441
|
-
...Object.values(
|
14506
|
+
...Object.values(paths51),
|
14442
14507
|
...Object.values(circles45),
|
14443
14508
|
// { ...texts.top1, anchor: "middle_left" },
|
14444
14509
|
{
|
@@ -14466,13 +14531,13 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
14466
14531
|
}
|
14467
14532
|
],
|
14468
14533
|
ports: [
|
14469
|
-
{ ...
|
14534
|
+
{ ...refblocks51.left1, labels: ["1"] },
|
14470
14535
|
// TODO add more "standard" labels
|
14471
|
-
{ ...
|
14536
|
+
{ ...refblocks51.right1, labels: ["2"] }
|
14472
14537
|
// TODO add more "standard" labels
|
14473
14538
|
],
|
14474
|
-
size: { width:
|
14475
|
-
center: { x:
|
14539
|
+
size: { width: bounds51.width, height: bounds51.height },
|
14540
|
+
center: { x: bounds51.centerX, y: bounds51.centerY }
|
14476
14541
|
});
|
14477
14542
|
|
14478
14543
|
// symbols/power_factor_meter_vert.ts
|
@@ -14611,22 +14676,22 @@ var push_button_normally_closed_momentary_default = {
|
|
14611
14676
|
};
|
14612
14677
|
|
14613
14678
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
14614
|
-
var { paths:
|
14679
|
+
var { paths: paths52, texts: texts64, bounds: bounds52, refblocks: refblocks52, circles: circles46 } = push_button_normally_closed_momentary_default;
|
14615
14680
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
14616
14681
|
primitives: [
|
14617
|
-
...Object.values(
|
14682
|
+
...Object.values(paths52),
|
14618
14683
|
...Object.values(circles46),
|
14619
14684
|
{ ...texts64.top1, anchor: "middle_left" },
|
14620
14685
|
{ ...texts64.bottom1, anchor: "middle_left" }
|
14621
14686
|
],
|
14622
14687
|
ports: [
|
14623
|
-
{ ...
|
14688
|
+
{ ...refblocks52.left1, labels: ["1"] },
|
14624
14689
|
// TODO add more "standard" labels
|
14625
|
-
{ ...
|
14690
|
+
{ ...refblocks52.right1, labels: ["2"] }
|
14626
14691
|
// TODO add more "standard" labels
|
14627
14692
|
],
|
14628
|
-
size: { width:
|
14629
|
-
center: { x:
|
14693
|
+
size: { width: bounds52.width, height: bounds52.height },
|
14694
|
+
center: { x: bounds52.centerX, y: bounds52.centerY }
|
14630
14695
|
});
|
14631
14696
|
|
14632
14697
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
@@ -14781,22 +14846,22 @@ var push_button_normally_open_momentary_default = {
|
|
14781
14846
|
};
|
14782
14847
|
|
14783
14848
|
// symbols/push_button_normally_open_momentary_horz.ts
|
14784
|
-
var { paths:
|
14849
|
+
var { paths: paths53, texts: texts65, bounds: bounds53, refblocks: refblocks53, circles: circles47 } = push_button_normally_open_momentary_default;
|
14785
14850
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
14786
14851
|
primitives: [
|
14787
|
-
...Object.values(
|
14852
|
+
...Object.values(paths53),
|
14788
14853
|
...Object.values(circles47),
|
14789
14854
|
{ ...texts65.top1, anchor: "middle_left" },
|
14790
14855
|
{ ...texts65.bottom1, anchor: "middle_left" }
|
14791
14856
|
],
|
14792
14857
|
ports: [
|
14793
|
-
{ ...
|
14858
|
+
{ ...refblocks53.left1, labels: ["1"] },
|
14794
14859
|
// TODO add more "standard" labels
|
14795
|
-
{ ...
|
14860
|
+
{ ...refblocks53.right1, labels: ["2"] }
|
14796
14861
|
// TODO add more "standard" labels
|
14797
14862
|
],
|
14798
|
-
size: { width:
|
14799
|
-
center: { x:
|
14863
|
+
size: { width: bounds53.width, height: bounds53.height },
|
14864
|
+
center: { x: bounds53.centerX, y: bounds53.centerY }
|
14800
14865
|
});
|
14801
14866
|
|
14802
14867
|
// symbols/push_button_normally_open_momentary_vert.ts
|
@@ -15212,26 +15277,26 @@ var rectifier_diode_default = {
|
|
15212
15277
|
};
|
15213
15278
|
|
15214
15279
|
// symbols/rectifier_diode_horz.ts
|
15215
|
-
var { paths:
|
15280
|
+
var { paths: paths54, texts: texts66, bounds: bounds54, refblocks: refblocks54, circles: circles48 } = rectifier_diode_default;
|
15216
15281
|
var rectifier_diode_horz_default = defineSymbol({
|
15217
15282
|
primitives: [
|
15218
|
-
...Object.values(
|
15283
|
+
...Object.values(paths54),
|
15219
15284
|
...Object.values(circles48),
|
15220
15285
|
{ ...texts66.top1, anchor: "middle_right" },
|
15221
15286
|
{ ...texts66.bottom1, anchor: "middle_right" }
|
15222
15287
|
],
|
15223
15288
|
ports: [
|
15224
|
-
{ ...
|
15289
|
+
{ ...refblocks54.top1, labels: ["1"] },
|
15225
15290
|
// TODO add more "standard" labels
|
15226
|
-
{ ...
|
15291
|
+
{ ...refblocks54.bottom1, labels: ["2"] },
|
15227
15292
|
// TODO add more "standard" labels
|
15228
|
-
{ ...
|
15293
|
+
{ ...refblocks54.left1, labels: ["3"] },
|
15229
15294
|
// TODO add more "standard" labels
|
15230
|
-
{ ...
|
15295
|
+
{ ...refblocks54.right1, labels: ["4"] }
|
15231
15296
|
// TODO add more "standard" labels
|
15232
15297
|
],
|
15233
|
-
size: { width:
|
15234
|
-
center: { x:
|
15298
|
+
size: { width: bounds54.width, height: bounds54.height },
|
15299
|
+
center: { x: bounds54.centerX, y: bounds54.centerY }
|
15235
15300
|
});
|
15236
15301
|
|
15237
15302
|
// symbols/rectifier_diode_vert.ts
|
@@ -15453,10 +15518,10 @@ var resistor_default = {
|
|
15453
15518
|
};
|
15454
15519
|
|
15455
15520
|
// symbols/resistor_down.ts
|
15456
|
-
var { paths:
|
15521
|
+
var { paths: paths55, texts: texts67, bounds: bounds55, refblocks: refblocks55, circles: circles49 } = resistor_default;
|
15457
15522
|
var resistor_down_default = modifySymbol({
|
15458
15523
|
primitives: [
|
15459
|
-
...Object.values(
|
15524
|
+
...Object.values(paths55),
|
15460
15525
|
...Object.values(circles49),
|
15461
15526
|
{
|
15462
15527
|
type: "text",
|
@@ -15472,20 +15537,20 @@ var resistor_down_default = modifySymbol({
|
|
15472
15537
|
}
|
15473
15538
|
],
|
15474
15539
|
ports: [
|
15475
|
-
{ ...
|
15540
|
+
{ ...refblocks55.left1, labels: ["1"] },
|
15476
15541
|
// TODO add more "standard" labels
|
15477
|
-
{ ...
|
15542
|
+
{ ...refblocks55.right1, labels: ["2"] }
|
15478
15543
|
// TODO add more "standard" labels
|
15479
15544
|
],
|
15480
|
-
size: { width:
|
15481
|
-
center: { x:
|
15545
|
+
size: { width: bounds55.width, height: bounds55.height },
|
15546
|
+
center: { x: bounds55.centerX, y: bounds55.centerY }
|
15482
15547
|
}).rotateRightFacingSymbol("down").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
|
15483
15548
|
|
15484
15549
|
// symbols/resistor_left.ts
|
15485
|
-
var { paths:
|
15550
|
+
var { paths: paths56, texts: texts68, bounds: bounds56, refblocks: refblocks56, circles: circles50 } = resistor_default;
|
15486
15551
|
var resistor_left_default = modifySymbol({
|
15487
15552
|
primitives: [
|
15488
|
-
...Object.values(
|
15553
|
+
...Object.values(paths56),
|
15489
15554
|
...Object.values(circles50),
|
15490
15555
|
{
|
15491
15556
|
type: "text",
|
@@ -15501,20 +15566,20 @@ var resistor_left_default = modifySymbol({
|
|
15501
15566
|
}
|
15502
15567
|
],
|
15503
15568
|
ports: [
|
15504
|
-
{ ...
|
15569
|
+
{ ...refblocks56.left1, labels: ["1"] },
|
15505
15570
|
// TODO add more "standard" labels
|
15506
|
-
{ ...
|
15571
|
+
{ ...refblocks56.right1, labels: ["2"] }
|
15507
15572
|
// TODO add more "standard" labels
|
15508
15573
|
],
|
15509
|
-
size: { width:
|
15510
|
-
center: { x:
|
15574
|
+
size: { width: bounds56.width, height: bounds56.height },
|
15575
|
+
center: { x: bounds56.centerX, y: bounds56.centerY }
|
15511
15576
|
}).rotateRightFacingSymbol("left").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
|
15512
15577
|
|
15513
15578
|
// symbols/resistor_right.ts
|
15514
|
-
var { paths:
|
15579
|
+
var { paths: paths57, texts: texts69, bounds: bounds57, refblocks: refblocks57, circles: circles51 } = resistor_default;
|
15515
15580
|
var resistor_right_default = modifySymbol({
|
15516
15581
|
primitives: [
|
15517
|
-
...Object.values(
|
15582
|
+
...Object.values(paths57),
|
15518
15583
|
...Object.values(circles51),
|
15519
15584
|
{
|
15520
15585
|
type: "text",
|
@@ -15530,20 +15595,20 @@ var resistor_right_default = modifySymbol({
|
|
15530
15595
|
}
|
15531
15596
|
],
|
15532
15597
|
ports: [
|
15533
|
-
{ ...
|
15598
|
+
{ ...refblocks57.left1, labels: ["1"] },
|
15534
15599
|
// TODO add more "standard" labels
|
15535
|
-
{ ...
|
15600
|
+
{ ...refblocks57.right1, labels: ["2"] }
|
15536
15601
|
// TODO add more "standard" labels
|
15537
15602
|
],
|
15538
|
-
size: { width:
|
15539
|
-
center: { x:
|
15603
|
+
size: { width: bounds57.width, height: bounds57.height },
|
15604
|
+
center: { x: bounds57.centerX, y: bounds57.centerY }
|
15540
15605
|
}).rotateRightFacingSymbol("right").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
|
15541
15606
|
|
15542
15607
|
// symbols/resistor_up.ts
|
15543
|
-
var { paths:
|
15608
|
+
var { paths: paths58, texts: texts70, bounds: bounds58, refblocks: refblocks58, circles: circles52 } = resistor_default;
|
15544
15609
|
var resistor_up_default = modifySymbol({
|
15545
15610
|
primitives: [
|
15546
|
-
...Object.values(
|
15611
|
+
...Object.values(paths58),
|
15547
15612
|
...Object.values(circles52),
|
15548
15613
|
{
|
15549
15614
|
type: "text",
|
@@ -15559,13 +15624,13 @@ var resistor_up_default = modifySymbol({
|
|
15559
15624
|
}
|
15560
15625
|
],
|
15561
15626
|
ports: [
|
15562
|
-
{ ...
|
15627
|
+
{ ...refblocks58.left1, labels: ["1"] },
|
15563
15628
|
// TODO add more "standard" labels
|
15564
|
-
{ ...
|
15629
|
+
{ ...refblocks58.right1, labels: ["2"] }
|
15565
15630
|
// TODO add more "standard" labels
|
15566
15631
|
],
|
15567
|
-
size: { width:
|
15568
|
-
center: { x:
|
15632
|
+
size: { width: bounds58.width, height: bounds58.height },
|
15633
|
+
center: { x: bounds58.centerX, y: bounds58.centerY }
|
15569
15634
|
}).rotateRightFacingSymbol("up").labelPort("left", ["1"]).labelPort("right", ["2"]).changeTextAnchor("{REF}", "middle_left").changeTextAnchor("{VAL}", "middle_left").build();
|
15570
15635
|
|
15571
15636
|
// assets/generated/resonator.json
|
@@ -15914,10 +15979,10 @@ var resonator_default = {
|
|
15914
15979
|
};
|
15915
15980
|
|
15916
15981
|
// symbols/resonator_horz.ts
|
15917
|
-
var { paths:
|
15982
|
+
var { paths: paths59, texts: texts71, bounds: bounds59, refblocks: refblocks59, circles: circles53 } = resonator_default;
|
15918
15983
|
var resonator_horz_default = defineSymbol({
|
15919
15984
|
primitives: [
|
15920
|
-
...Object.values(
|
15985
|
+
...Object.values(paths59),
|
15921
15986
|
...Object.values(circles53),
|
15922
15987
|
// { ...texts.top1, anchor: "middle_left" },
|
15923
15988
|
// { ...texts.bottom1, anchor: "middle_left" },
|
@@ -15937,15 +16002,15 @@ var resonator_horz_default = defineSymbol({
|
|
15937
16002
|
}
|
15938
16003
|
],
|
15939
16004
|
ports: [
|
15940
|
-
{ ...
|
16005
|
+
{ ...refblocks59.left1, labels: ["1"] },
|
15941
16006
|
// TODO add more "standard" labels
|
15942
|
-
{ ...
|
16007
|
+
{ ...refblocks59.right1, labels: ["2"] },
|
15943
16008
|
// TODO add more "standard" labels
|
15944
|
-
{ ...
|
16009
|
+
{ ...refblocks59.right2, labels: ["3"] }
|
15945
16010
|
// TODO add more "standard" labels
|
15946
16011
|
],
|
15947
|
-
size: { width:
|
15948
|
-
center: { x:
|
16012
|
+
size: { width: bounds59.width, height: bounds59.height },
|
16013
|
+
center: { x: bounds59.centerX, y: bounds59.centerY }
|
15949
16014
|
});
|
15950
16015
|
|
15951
16016
|
// symbols/resonator_vert.ts
|
@@ -16337,7 +16402,7 @@ var silicon_controlled_rectifier_default = {
|
|
16337
16402
|
};
|
16338
16403
|
|
16339
16404
|
// symbols/silicon_controlled_rectifier_horz.ts
|
16340
|
-
var { paths:
|
16405
|
+
var { paths: paths60, texts: texts72, bounds: bounds60, refblocks: refblocks60, circles: circles54 } = silicon_controlled_rectifier_default;
|
16341
16406
|
var silicon_controlled_rectifier_horz_default = modifySymbol(silicon_controlled_rectifier_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
|
16342
16407
|
|
16343
16408
|
// symbols/silicon_controlled_rectifier_vert.ts
|
@@ -19905,7 +19970,7 @@ var step_recovery_diode_default = {
|
|
19905
19970
|
};
|
19906
19971
|
|
19907
19972
|
// symbols/step_recovery_diode_horz.ts
|
19908
|
-
var { paths:
|
19973
|
+
var { paths: paths61, texts: texts74, bounds: bounds61, refblocks: refblocks61, circles: circles55 } = step_recovery_diode_default;
|
19909
19974
|
var step_recovery_diode_horz_default = modifySymbol(step_recovery_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
|
19910
19975
|
|
19911
19976
|
// symbols/step_recovery_diode_vert.ts
|
@@ -19998,10 +20063,10 @@ var tachometer_default = {
|
|
19998
20063
|
};
|
19999
20064
|
|
20000
20065
|
// symbols/tachometer_horz.ts
|
20001
|
-
var { paths:
|
20066
|
+
var { paths: paths62, texts: texts75, bounds: bounds62, refblocks: refblocks62, circles: circles56 } = tachometer_default;
|
20002
20067
|
var tachometer_horz_default = defineSymbol({
|
20003
20068
|
primitives: [
|
20004
|
-
...Object.values(
|
20069
|
+
...Object.values(paths62),
|
20005
20070
|
...Object.values(circles56),
|
20006
20071
|
{
|
20007
20072
|
type: "text",
|
@@ -20020,13 +20085,13 @@ var tachometer_horz_default = defineSymbol({
|
|
20020
20085
|
{ ...texts75.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
|
20021
20086
|
],
|
20022
20087
|
ports: [
|
20023
|
-
{ ...
|
20088
|
+
{ ...refblocks62.left1, labels: ["1"] },
|
20024
20089
|
// TODO add more "standard" labels
|
20025
|
-
{ ...
|
20090
|
+
{ ...refblocks62.right1, labels: ["2"] }
|
20026
20091
|
// TODO add more "standard" labels
|
20027
20092
|
],
|
20028
|
-
size: { width:
|
20029
|
-
center: { x:
|
20093
|
+
size: { width: bounds62.width, height: bounds62.height },
|
20094
|
+
center: { x: bounds62.centerX, y: bounds62.centerY }
|
20030
20095
|
});
|
20031
20096
|
|
20032
20097
|
// symbols/tachometer_vert.ts
|
@@ -20448,7 +20513,7 @@ var triac_default = {
|
|
20448
20513
|
};
|
20449
20514
|
|
20450
20515
|
// symbols/triac_horz.ts
|
20451
|
-
var { paths:
|
20516
|
+
var { paths: paths63, texts: texts76, bounds: bounds63, refblocks: refblocks63, circles: circles57 } = triac_default;
|
20452
20517
|
var triac_horz_default = modifySymbol(triac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
|
20453
20518
|
|
20454
20519
|
// symbols/triac_vert.ts
|
@@ -20624,22 +20689,22 @@ var tunnel_diode_default = {
|
|
20624
20689
|
};
|
20625
20690
|
|
20626
20691
|
// symbols/tunnel_diode_horz.ts
|
20627
|
-
var { paths:
|
20692
|
+
var { paths: paths64, texts: texts78, bounds: bounds64, refblocks: refblocks64, circles: circles58 } = tunnel_diode_default;
|
20628
20693
|
var tunnel_diode_horz_default = defineSymbol({
|
20629
20694
|
primitives: [
|
20630
|
-
...Object.values(
|
20695
|
+
...Object.values(paths64),
|
20631
20696
|
...Object.values(circles58),
|
20632
20697
|
{ ...texts78.top1, anchor: "middle_bottom" },
|
20633
20698
|
{ ...texts78.bottom1, anchor: "middle_top" }
|
20634
20699
|
],
|
20635
20700
|
ports: [
|
20636
|
-
{ ...
|
20701
|
+
{ ...refblocks64.left1, labels: ["1"] },
|
20637
20702
|
// TODO add more "standard" labels
|
20638
|
-
{ ...
|
20703
|
+
{ ...refblocks64.right1, labels: ["2"] }
|
20639
20704
|
// TODO add more "standard" labels
|
20640
20705
|
],
|
20641
|
-
size: { width:
|
20642
|
-
center: { x:
|
20706
|
+
size: { width: bounds64.width, height: bounds64.height },
|
20707
|
+
center: { x: bounds64.centerX, y: bounds64.centerY }
|
20643
20708
|
});
|
20644
20709
|
|
20645
20710
|
// symbols/tunnel_diode_vert.ts
|
@@ -20822,24 +20887,24 @@ var unijunction_transistor_default = {
|
|
20822
20887
|
};
|
20823
20888
|
|
20824
20889
|
// symbols/unijunction_transistor_horz.ts
|
20825
|
-
var { paths:
|
20890
|
+
var { paths: paths65, texts: texts79, bounds: bounds65, refblocks: refblocks65, circles: circles59 } = unijunction_transistor_default;
|
20826
20891
|
var unijunction_transistor_horz_default = defineSymbol({
|
20827
20892
|
primitives: [
|
20828
|
-
...Object.values(
|
20893
|
+
...Object.values(paths65),
|
20829
20894
|
...Object.values(circles59),
|
20830
20895
|
{ ...texts79.top1, anchor: "middle_left" },
|
20831
20896
|
{ ...texts79.bottom1, anchor: "middle_right" }
|
20832
20897
|
],
|
20833
20898
|
ports: [
|
20834
|
-
{ ...
|
20899
|
+
{ ...refblocks65.top1, labels: ["1"] },
|
20835
20900
|
// TODO add more "standard" labels
|
20836
|
-
{ ...
|
20901
|
+
{ ...refblocks65.bottom1, labels: ["2"] },
|
20837
20902
|
// TODO add more "standard" labels
|
20838
|
-
{ ...
|
20903
|
+
{ ...refblocks65.left1, labels: ["3"] }
|
20839
20904
|
// TODO add more "standard" labels
|
20840
20905
|
],
|
20841
|
-
size: { width:
|
20842
|
-
center: { x:
|
20906
|
+
size: { width: bounds65.width, height: bounds65.height },
|
20907
|
+
center: { x: bounds65.centerX, y: bounds65.centerY }
|
20843
20908
|
});
|
20844
20909
|
|
20845
20910
|
// symbols/unijunction_transistor_vert.ts
|
@@ -20941,10 +21006,10 @@ var var_meter_default = {
|
|
20941
21006
|
};
|
20942
21007
|
|
20943
21008
|
// symbols/var_meter_horz.ts
|
20944
|
-
var { paths:
|
21009
|
+
var { paths: paths66, texts: texts81, bounds: bounds66, refblocks: refblocks66, circles: circles60 } = var_meter_default;
|
20945
21010
|
var var_meter_horz_default = defineSymbol({
|
20946
21011
|
primitives: [
|
20947
|
-
...Object.values(
|
21012
|
+
...Object.values(paths66),
|
20948
21013
|
...Object.values(circles60),
|
20949
21014
|
{
|
20950
21015
|
...texts81.top1,
|
@@ -20961,13 +21026,13 @@ var var_meter_horz_default = defineSymbol({
|
|
20961
21026
|
{ ...texts81.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
|
20962
21027
|
],
|
20963
21028
|
ports: [
|
20964
|
-
{ ...
|
21029
|
+
{ ...refblocks66.left1, labels: ["1"] },
|
20965
21030
|
// TODO add more "standard" labels
|
20966
|
-
{ ...
|
21031
|
+
{ ...refblocks66.right1, labels: ["2"] }
|
20967
21032
|
// TODO add more "standard" labels
|
20968
21033
|
],
|
20969
|
-
size: { width:
|
20970
|
-
center: { x:
|
21034
|
+
size: { width: bounds66.width, height: bounds66.height },
|
21035
|
+
center: { x: bounds66.centerX, y: bounds66.centerY }
|
20971
21036
|
});
|
20972
21037
|
|
20973
21038
|
// symbols/var_meter_vert.ts
|
@@ -21120,22 +21185,22 @@ var varactor_diode_default = {
|
|
21120
21185
|
};
|
21121
21186
|
|
21122
21187
|
// symbols/varactor_diode_horz.ts
|
21123
|
-
var { paths:
|
21188
|
+
var { paths: paths67, texts: texts82, bounds: bounds67, refblocks: refblocks67, circles: circles61 } = varactor_diode_default;
|
21124
21189
|
var varactor_diode_horz_default = defineSymbol({
|
21125
21190
|
primitives: [
|
21126
|
-
...Object.values(
|
21191
|
+
...Object.values(paths67),
|
21127
21192
|
...Object.values(circles61),
|
21128
21193
|
{ ...texts82.top1, anchor: "middle_bottom" },
|
21129
21194
|
{ ...texts82.bottom1, anchor: "middle_top" }
|
21130
21195
|
],
|
21131
21196
|
ports: [
|
21132
|
-
{ ...
|
21197
|
+
{ ...refblocks67.left1, labels: ["1"] },
|
21133
21198
|
// TODO add more "standard" labels
|
21134
|
-
{ ...
|
21199
|
+
{ ...refblocks67.right1, labels: ["2"] }
|
21135
21200
|
// TODO add more "standard" labels
|
21136
21201
|
],
|
21137
|
-
size: { width:
|
21138
|
-
center: { x:
|
21202
|
+
size: { width: bounds67.width, height: bounds67.height },
|
21203
|
+
center: { x: bounds67.centerX, y: bounds67.centerY }
|
21139
21204
|
});
|
21140
21205
|
|
21141
21206
|
// symbols/varactor_diode_vert.ts
|
@@ -21283,26 +21348,26 @@ var varistor_default = {
|
|
21283
21348
|
};
|
21284
21349
|
|
21285
21350
|
// symbols/varistor_horz.ts
|
21286
|
-
var { paths:
|
21351
|
+
var { paths: paths68, texts: texts83, bounds: bounds68, refblocks: refblocks68 } = varistor_default;
|
21287
21352
|
var varistor_horz_default = defineSymbol({
|
21288
21353
|
primitives: [
|
21289
|
-
...Object.values(
|
21354
|
+
...Object.values(paths68),
|
21290
21355
|
{ ...texts83.top1, anchor: "middle_left" },
|
21291
21356
|
{ ...texts83.bottom1, anchor: "middle_right" }
|
21292
21357
|
],
|
21293
21358
|
ports: [
|
21294
21359
|
{
|
21295
|
-
...
|
21360
|
+
...refblocks68.left1,
|
21296
21361
|
labels: ["1", "-"]
|
21297
21362
|
},
|
21298
21363
|
{
|
21299
|
-
...
|
21364
|
+
...refblocks68.right1,
|
21300
21365
|
labels: ["2", "+"]
|
21301
21366
|
}
|
21302
21367
|
],
|
21303
|
-
size: { width:
|
21368
|
+
size: { width: bounds68.width, height: bounds68.height },
|
21304
21369
|
//{ width: 1, height: 0.24 },
|
21305
|
-
center: { x:
|
21370
|
+
center: { x: bounds68.centerX, y: bounds68.centerY }
|
21306
21371
|
});
|
21307
21372
|
|
21308
21373
|
// symbols/varistor_vert.ts
|
@@ -21395,10 +21460,10 @@ var varmeter_default = {
|
|
21395
21460
|
};
|
21396
21461
|
|
21397
21462
|
// symbols/varmeter_horz.ts
|
21398
|
-
var { paths:
|
21463
|
+
var { paths: paths69, texts: texts84, bounds: bounds69, refblocks: refblocks69, circles: circles62 } = varmeter_default;
|
21399
21464
|
var varmeter_horz_default = defineSymbol({
|
21400
21465
|
primitives: [
|
21401
|
-
...Object.values(
|
21466
|
+
...Object.values(paths69),
|
21402
21467
|
...Object.values(circles62),
|
21403
21468
|
{
|
21404
21469
|
type: "text",
|
@@ -21417,13 +21482,13 @@ var varmeter_horz_default = defineSymbol({
|
|
21417
21482
|
{ ...texts84.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
|
21418
21483
|
],
|
21419
21484
|
ports: [
|
21420
|
-
{ ...
|
21485
|
+
{ ...refblocks69.left1, labels: ["1"] },
|
21421
21486
|
// TODO add more "standard" labels
|
21422
|
-
{ ...
|
21487
|
+
{ ...refblocks69.right1, labels: ["2"] }
|
21423
21488
|
// TODO add more "standard" labels
|
21424
21489
|
],
|
21425
|
-
size: { width:
|
21426
|
-
center: { x:
|
21490
|
+
size: { width: bounds69.width, height: bounds69.height },
|
21491
|
+
center: { x: bounds69.centerX, y: bounds69.centerY }
|
21427
21492
|
});
|
21428
21493
|
|
21429
21494
|
// symbols/varmeter_vert.ts
|
@@ -21628,7 +21693,7 @@ var volt_meter_default = {
|
|
21628
21693
|
};
|
21629
21694
|
|
21630
21695
|
// symbols/volt_meter_horz.ts
|
21631
|
-
var { paths:
|
21696
|
+
var { paths: paths70, texts: texts85, bounds: bounds70, circles: circles63, refblocks: refblocks70 } = volt_meter_default;
|
21632
21697
|
var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
|
21633
21698
|
|
21634
21699
|
// symbols/volt_meter_vert.ts
|
@@ -21721,10 +21786,10 @@ var watt_hour_meter_default = {
|
|
21721
21786
|
};
|
21722
21787
|
|
21723
21788
|
// symbols/watt_hour_meter_horz.ts
|
21724
|
-
var { paths:
|
21789
|
+
var { paths: paths71, texts: texts86, bounds: bounds71, refblocks: refblocks71, circles: circles64 } = watt_hour_meter_default;
|
21725
21790
|
var watt_hour_meter_horz_default = defineSymbol({
|
21726
21791
|
primitives: [
|
21727
|
-
...Object.values(
|
21792
|
+
...Object.values(paths71),
|
21728
21793
|
...Object.values(circles64),
|
21729
21794
|
{
|
21730
21795
|
type: "text",
|
@@ -21743,13 +21808,13 @@ var watt_hour_meter_horz_default = defineSymbol({
|
|
21743
21808
|
{ ...texts86.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
|
21744
21809
|
],
|
21745
21810
|
ports: [
|
21746
|
-
{ ...
|
21811
|
+
{ ...refblocks71.left1, labels: ["1"] },
|
21747
21812
|
// TODO add more "standard" labels
|
21748
|
-
{ ...
|
21813
|
+
{ ...refblocks71.right1, labels: ["2"] }
|
21749
21814
|
// TODO add more "standard" labels
|
21750
21815
|
],
|
21751
|
-
size: { width:
|
21752
|
-
center: { x:
|
21816
|
+
size: { width: bounds71.width, height: bounds71.height },
|
21817
|
+
center: { x: bounds71.centerX, y: bounds71.centerY }
|
21753
21818
|
});
|
21754
21819
|
|
21755
21820
|
// symbols/watt_hour_meter_vert.ts
|
@@ -21853,10 +21918,10 @@ var wattmeter_default = {
|
|
21853
21918
|
};
|
21854
21919
|
|
21855
21920
|
// symbols/wattmeter_horz.ts
|
21856
|
-
var { paths:
|
21921
|
+
var { paths: paths72, texts: texts87, bounds: bounds72, refblocks: refblocks72, circles: circles65 } = wattmeter_default;
|
21857
21922
|
var wattmeter_horz_default = defineSymbol({
|
21858
21923
|
primitives: [
|
21859
|
-
...Object.values(
|
21924
|
+
...Object.values(paths72),
|
21860
21925
|
...Object.values(circles65),
|
21861
21926
|
{
|
21862
21927
|
type: "text",
|
@@ -21875,13 +21940,13 @@ var wattmeter_horz_default = defineSymbol({
|
|
21875
21940
|
{ ...texts87.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
|
21876
21941
|
],
|
21877
21942
|
ports: [
|
21878
|
-
{ ...
|
21943
|
+
{ ...refblocks72.left1, labels: ["1"] },
|
21879
21944
|
// TODO add more "standard" labels
|
21880
|
-
{ ...
|
21945
|
+
{ ...refblocks72.right1, labels: ["2"] }
|
21881
21946
|
// TODO add more "standard" labels
|
21882
21947
|
],
|
21883
|
-
size: { width:
|
21884
|
-
center: { x:
|
21948
|
+
size: { width: bounds72.width, height: bounds72.height },
|
21949
|
+
center: { x: bounds72.centerX, y: bounds72.centerY }
|
21885
21950
|
});
|
21886
21951
|
|
21887
21952
|
// symbols/wattmeter_vert.ts
|
@@ -22045,22 +22110,22 @@ var zener_diode_default = {
|
|
22045
22110
|
};
|
22046
22111
|
|
22047
22112
|
// symbols/zener_diode_horz.ts
|
22048
|
-
var { paths:
|
22113
|
+
var { paths: paths73, texts: texts88, bounds: bounds73, refblocks: refblocks73, circles: circles66 } = zener_diode_default;
|
22049
22114
|
var zener_diode_horz_default = defineSymbol({
|
22050
22115
|
primitives: [
|
22051
|
-
...Object.values(
|
22116
|
+
...Object.values(paths73),
|
22052
22117
|
...Object.values(circles66),
|
22053
22118
|
{ ...texts88.top1, anchor: "middle_bottom" },
|
22054
22119
|
{ ...texts88.bottom1, anchor: "middle_top" }
|
22055
22120
|
],
|
22056
22121
|
ports: [
|
22057
|
-
{ ...
|
22122
|
+
{ ...refblocks73.left1, labels: ["1"] },
|
22058
22123
|
// TODO add more "standard" labels
|
22059
|
-
{ ...
|
22124
|
+
{ ...refblocks73.right1, labels: ["2"] }
|
22060
22125
|
// TODO add more "standard" labels
|
22061
22126
|
],
|
22062
|
-
size: { width:
|
22063
|
-
center: { x:
|
22127
|
+
size: { width: bounds73.width, height: bounds73.height },
|
22128
|
+
center: { x: bounds73.centerX, y: bounds73.centerY }
|
22064
22129
|
});
|
22065
22130
|
|
22066
22131
|
// symbols/zener_diode_vert.ts
|
@@ -22195,6 +22260,10 @@ var symbols_index_default = {
|
|
22195
22260
|
"n_channel_e_mosfet_transistor_vert": n_channel_e_mosfet_transistor_vert_default,
|
22196
22261
|
"njfet_transistor_horz": njfet_transistor_horz_default,
|
22197
22262
|
"njfet_transistor_vert": njfet_transistor_vert_default,
|
22263
|
+
"not_connected_down": not_connected_down_default,
|
22264
|
+
"not_connected_left": not_connected_left_default,
|
22265
|
+
"not_connected_right": not_connected_right_default,
|
22266
|
+
"not_connected_up": not_connected_up_default,
|
22198
22267
|
"npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
|
22199
22268
|
"npn_bipolar_transistor_vert": npn_bipolar_transistor_vert_default,
|
22200
22269
|
"opamp_no_power_down": opamp_no_power_down_default,
|