schematic-symbols 0.0.83 → 0.0.84
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +11 -1
- package/dist/index.js +216 -82
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/symbols/tachometer_horz.ts +32 -0
- package/symbols/tachometer_vert.ts +19 -0
package/dist/index.d.ts
CHANGED
@@ -177,6 +177,16 @@ declare const _default: {
|
|
177
177
|
SPST_switch_vert: undefined;
|
178
178
|
step_recovery_diode_horz: undefined;
|
179
179
|
step_recovery_diode_vert: undefined;
|
180
|
+
tachometer_horz: undefined;
|
181
|
+
tachometer_vert: {
|
182
|
+
primitives: Primitive[];
|
183
|
+
center: Point;
|
184
|
+
ports: Port[];
|
185
|
+
size: {
|
186
|
+
width: number;
|
187
|
+
height: number;
|
188
|
+
};
|
189
|
+
};
|
180
190
|
triac_horz: undefined;
|
181
191
|
triac_vert: undefined;
|
182
192
|
tunnel_diode_horz: undefined;
|
@@ -195,7 +205,7 @@ declare const _default: {
|
|
195
205
|
zener_diode_vert: undefined;
|
196
206
|
};
|
197
207
|
|
198
|
-
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "constant_current_diode" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpst_switch" | "filled_diode" | "fuse" | "gunn_diode" | "igbt_transistor" | "laser_diode" | "led" | "light_dependent_resistor" | "mosfet_depletion_normally_on" | "mushroom_head_normally_open_momentary" | "n_channel_d_mosfet_transistor" | "n_channel_e_mosfet_transistor" | "njfet_transistor" | "npn_bipolar_transistor" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "pnp_bipolar_transistor" | "potentiometer" | "potentiometer2" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "rectifier_diode" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "SPDT_switch" | "SPST_switch" | "step_recovery_diode" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "volt_meter" | "zener_diode";
|
208
|
+
type BaseSymbolName = "ac_voltmeter" | "avalanche_diode" | "battery" | "boxresistor" | "capacitor" | "constant_current_diode" | "crystal" | "darlington_pair_transistor" | "dc_ammeter" | "dc_voltmeter" | "diac" | "diode" | "dpst_switch" | "filled_diode" | "fuse" | "gunn_diode" | "igbt_transistor" | "laser_diode" | "led" | "light_dependent_resistor" | "mosfet_depletion_normally_on" | "mushroom_head_normally_open_momentary" | "n_channel_d_mosfet_transistor" | "n_channel_e_mosfet_transistor" | "njfet_transistor" | "npn_bipolar_transistor" | "p_channel_d_mosfet_transistor" | "p_channel_e_mosfet_transistor" | "photodiode" | "pjfet_transistor" | "pnp_bipolar_transistor" | "potentiometer" | "potentiometer2" | "power_factor_meter" | "push_button_normally_closed_momentary" | "push_button_normally_open_momentary" | "rectifier_diode" | "resonator" | "schottky_diode" | "silicon_controlled_rectifier" | "SPDT_switch" | "SPST_switch" | "step_recovery_diode" | "tachometer" | "triac" | "tunnel_diode" | "unijunction_transistor" | "var_meter" | "varactor_diode" | "varistor" | "volt_meter" | "zener_diode";
|
199
209
|
|
200
210
|
/**
|
201
211
|
* Utility for easier autocomplete:
|
package/dist/index.js
CHANGED
@@ -9149,6 +9149,138 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
9149
9149
|
// symbols/step_recovery_diode_vert.ts
|
9150
9150
|
var step_recovery_diode_vert_default = rotateSymbol(step_recovery_diode_horz_default);
|
9151
9151
|
|
9152
|
+
// assets/generated/tachometer.json
|
9153
|
+
var tachometer_default = {
|
9154
|
+
paths: {
|
9155
|
+
path11: {
|
9156
|
+
type: "path",
|
9157
|
+
points: [
|
9158
|
+
{
|
9159
|
+
x: -0.5307178,
|
9160
|
+
y: 0
|
9161
|
+
},
|
9162
|
+
{
|
9163
|
+
x: -0.3042887999999997,
|
9164
|
+
y: 0
|
9165
|
+
}
|
9166
|
+
],
|
9167
|
+
color: "primary",
|
9168
|
+
fill: false
|
9169
|
+
},
|
9170
|
+
path12: {
|
9171
|
+
type: "path",
|
9172
|
+
points: [
|
9173
|
+
{
|
9174
|
+
x: 0.2899773000000003,
|
9175
|
+
y: 0
|
9176
|
+
},
|
9177
|
+
{
|
9178
|
+
x: 0.5307178000000001,
|
9179
|
+
y: 0
|
9180
|
+
}
|
9181
|
+
],
|
9182
|
+
color: "primary",
|
9183
|
+
fill: false
|
9184
|
+
}
|
9185
|
+
},
|
9186
|
+
texts: {
|
9187
|
+
top1: {
|
9188
|
+
type: "text",
|
9189
|
+
text: "{REF}",
|
9190
|
+
x: -0.17652089999999898,
|
9191
|
+
y: -0.36197569999999946
|
9192
|
+
},
|
9193
|
+
bottom1: {
|
9194
|
+
type: "text",
|
9195
|
+
text: "{VAL}",
|
9196
|
+
x: -0.009849199999999891,
|
9197
|
+
y: 0.43234960000000044
|
9198
|
+
},
|
9199
|
+
left1: {
|
9200
|
+
type: "text",
|
9201
|
+
text: "RPM",
|
9202
|
+
x: 0,
|
9203
|
+
y: -0.025
|
9204
|
+
}
|
9205
|
+
},
|
9206
|
+
refblocks: {
|
9207
|
+
left1: {
|
9208
|
+
x: -0.5446330999999993,
|
9209
|
+
y: 852800000000542e-18
|
9210
|
+
},
|
9211
|
+
right1: {
|
9212
|
+
x: 0.5381638000000004,
|
9213
|
+
y: -14359999999924433e-20
|
9214
|
+
}
|
9215
|
+
},
|
9216
|
+
bounds: {
|
9217
|
+
minX: -0.5307178,
|
9218
|
+
maxX: 0.5307178000000001,
|
9219
|
+
minY: 0,
|
9220
|
+
maxY: 0,
|
9221
|
+
width: 1.0614356000000003,
|
9222
|
+
height: 1,
|
9223
|
+
centerX: 5551115123125783e-32,
|
9224
|
+
centerY: 0
|
9225
|
+
},
|
9226
|
+
circles: {
|
9227
|
+
path1: {
|
9228
|
+
type: "circle",
|
9229
|
+
x: -0.006997299999999651,
|
9230
|
+
y: -0.007128299999999532,
|
9231
|
+
radius: 0.28854213,
|
9232
|
+
color: "primary",
|
9233
|
+
fill: false
|
9234
|
+
}
|
9235
|
+
}
|
9236
|
+
};
|
9237
|
+
|
9238
|
+
// symbols/tachometer_horz.ts
|
9239
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44, circles: circles34 } = tachometer_default;
|
9240
|
+
var tachometer_horz_default = defineSymbol({
|
9241
|
+
primitives: [
|
9242
|
+
...Object.values(paths44),
|
9243
|
+
...Object.values(circles34),
|
9244
|
+
{
|
9245
|
+
type: "text",
|
9246
|
+
text: "{REF}",
|
9247
|
+
x: 0,
|
9248
|
+
y: -0.3594553499999995,
|
9249
|
+
anchor: "middle_bottom"
|
9250
|
+
},
|
9251
|
+
{
|
9252
|
+
type: "text",
|
9253
|
+
text: "{VAL}",
|
9254
|
+
x: 0,
|
9255
|
+
y: 0.35,
|
9256
|
+
anchor: "middle_top"
|
9257
|
+
},
|
9258
|
+
{ ...texts63.left1, anchor: "center", fontSize: 0.2 }
|
9259
|
+
],
|
9260
|
+
ports: [
|
9261
|
+
{ ...refblocks44.left1, labels: ["1"] },
|
9262
|
+
// TODO add more "standard" labels
|
9263
|
+
{ ...refblocks44.right1, labels: ["2"] }
|
9264
|
+
// TODO add more "standard" labels
|
9265
|
+
],
|
9266
|
+
size: { width: bounds44.width, height: bounds44.height },
|
9267
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
9268
|
+
});
|
9269
|
+
|
9270
|
+
// symbols/tachometer_vert.ts
|
9271
|
+
var { 5: letter4, ...rest4 } = tachometer_horz_default.primitives;
|
9272
|
+
function isPrimitive4(value) {
|
9273
|
+
return typeof value === "object";
|
9274
|
+
}
|
9275
|
+
var rotatedSymbol24 = rotateSymbol({
|
9276
|
+
...tachometer_horz_default,
|
9277
|
+
primitives: Object.values(rest4).filter(isPrimitive4)
|
9278
|
+
});
|
9279
|
+
var tachometer_vert_default = {
|
9280
|
+
...rotatedSymbol24,
|
9281
|
+
primitives: [...rotatedSymbol24.primitives, letter4]
|
9282
|
+
};
|
9283
|
+
|
9152
9284
|
// assets/generated/triac.json
|
9153
9285
|
var triac_default = {
|
9154
9286
|
paths: {
|
@@ -9340,36 +9472,36 @@ var triac_default = {
|
|
9340
9472
|
};
|
9341
9473
|
|
9342
9474
|
// symbols/triac_horz.ts
|
9343
|
-
var { paths:
|
9475
|
+
var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles35 } = triac_default;
|
9344
9476
|
var triac_horz_default = defineSymbol({
|
9345
9477
|
primitives: [
|
9346
|
-
...Object.values(
|
9347
|
-
...Object.values(
|
9348
|
-
{ ...
|
9349
|
-
{ ...
|
9478
|
+
...Object.values(paths45),
|
9479
|
+
...Object.values(circles35),
|
9480
|
+
{ ...texts64.top1, anchor: "middle_left" },
|
9481
|
+
{ ...texts64.bottom1, anchor: "middle_top" }
|
9350
9482
|
],
|
9351
9483
|
ports: [
|
9352
|
-
{ ...
|
9484
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
9353
9485
|
// TODO add more "standard" labels
|
9354
|
-
{ ...
|
9486
|
+
{ ...refblocks45.right1, labels: ["2"] },
|
9355
9487
|
// TODO add more "standard" labels
|
9356
|
-
{ ...
|
9488
|
+
{ ...refblocks45.bottom1, labels: ["3"] }
|
9357
9489
|
// TODO add more "standard" labels
|
9358
9490
|
],
|
9359
|
-
size: { width:
|
9360
|
-
center: { x:
|
9491
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9492
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
9361
9493
|
});
|
9362
9494
|
|
9363
9495
|
// symbols/triac_vert.ts
|
9364
|
-
var
|
9365
|
-
var
|
9496
|
+
var rotatedSymbol25 = rotateSymbol(triac_horz_default);
|
9497
|
+
var texts65 = rotatedSymbol25.primitives.filter(
|
9366
9498
|
(primitive) => primitive.type === "text"
|
9367
9499
|
);
|
9368
|
-
var ref30 =
|
9369
|
-
var val25 =
|
9500
|
+
var ref30 = texts65.find((text) => text.text === "{REF}");
|
9501
|
+
var val25 = texts65.find((text) => text.text === "{VAL}");
|
9370
9502
|
ref30.y = 0;
|
9371
9503
|
val25.y = 0;
|
9372
|
-
var triac_vert_default =
|
9504
|
+
var triac_vert_default = rotatedSymbol25;
|
9373
9505
|
|
9374
9506
|
// assets/generated/tunnel_diode.json
|
9375
9507
|
var tunnel_diode_default = {
|
@@ -9533,22 +9665,22 @@ var tunnel_diode_default = {
|
|
9533
9665
|
};
|
9534
9666
|
|
9535
9667
|
// symbols/tunnel_diode_horz.ts
|
9536
|
-
var { paths:
|
9668
|
+
var { paths: paths46, texts: texts66, bounds: bounds46, refblocks: refblocks46, circles: circles36 } = tunnel_diode_default;
|
9537
9669
|
var tunnel_diode_horz_default = defineSymbol({
|
9538
9670
|
primitives: [
|
9539
|
-
...Object.values(
|
9540
|
-
...Object.values(
|
9541
|
-
{ ...
|
9542
|
-
{ ...
|
9671
|
+
...Object.values(paths46),
|
9672
|
+
...Object.values(circles36),
|
9673
|
+
{ ...texts66.top1, anchor: "middle_bottom" },
|
9674
|
+
{ ...texts66.bottom1, anchor: "middle_top" }
|
9543
9675
|
],
|
9544
9676
|
ports: [
|
9545
|
-
{ ...
|
9677
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
9546
9678
|
// TODO add more "standard" labels
|
9547
|
-
{ ...
|
9679
|
+
{ ...refblocks46.right1, labels: ["2"] }
|
9548
9680
|
// TODO add more "standard" labels
|
9549
9681
|
],
|
9550
|
-
size: { width:
|
9551
|
-
center: { x:
|
9682
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9683
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
9552
9684
|
});
|
9553
9685
|
|
9554
9686
|
// symbols/tunnel_diode_vert.ts
|
@@ -9731,37 +9863,37 @@ var unijunction_transistor_default = {
|
|
9731
9863
|
};
|
9732
9864
|
|
9733
9865
|
// symbols/unijunction_transistor_horz.ts
|
9734
|
-
var { paths:
|
9866
|
+
var { paths: paths47, texts: texts67, bounds: bounds47, refblocks: refblocks47, circles: circles37 } = unijunction_transistor_default;
|
9735
9867
|
var unijunction_transistor_horz_default = defineSymbol({
|
9736
9868
|
primitives: [
|
9737
|
-
...Object.values(
|
9738
|
-
...Object.values(
|
9739
|
-
{ ...
|
9740
|
-
{ ...
|
9869
|
+
...Object.values(paths47),
|
9870
|
+
...Object.values(circles37),
|
9871
|
+
{ ...texts67.top1, anchor: "middle_left" },
|
9872
|
+
{ ...texts67.bottom1, anchor: "middle_right" }
|
9741
9873
|
],
|
9742
9874
|
ports: [
|
9743
|
-
{ ...
|
9875
|
+
{ ...refblocks47.top1, labels: ["1"] },
|
9744
9876
|
// TODO add more "standard" labels
|
9745
|
-
{ ...
|
9877
|
+
{ ...refblocks47.bottom1, labels: ["2"] },
|
9746
9878
|
// TODO add more "standard" labels
|
9747
|
-
{ ...
|
9879
|
+
{ ...refblocks47.left1, labels: ["3"] }
|
9748
9880
|
// TODO add more "standard" labels
|
9749
9881
|
],
|
9750
|
-
size: { width:
|
9751
|
-
center: { x:
|
9882
|
+
size: { width: bounds47.width, height: bounds47.height },
|
9883
|
+
center: { x: bounds47.centerX, y: bounds47.centerY }
|
9752
9884
|
});
|
9753
9885
|
|
9754
9886
|
// symbols/unijunction_transistor_vert.ts
|
9755
|
-
var
|
9756
|
-
var
|
9887
|
+
var rotatedSymbol26 = rotateSymbol(unijunction_transistor_horz_default);
|
9888
|
+
var texts68 = rotatedSymbol26.primitives.filter(
|
9757
9889
|
(primitive) => primitive.type === "text"
|
9758
9890
|
);
|
9759
|
-
var ref32 =
|
9891
|
+
var ref32 = texts68.find((text) => text.text === "{REF}");
|
9760
9892
|
ref32.y = 0.1;
|
9761
|
-
var val27 =
|
9893
|
+
var val27 = texts68.find((text) => text.text === "{VAL}");
|
9762
9894
|
val27.y = 0.1;
|
9763
9895
|
val27.x = -0.4;
|
9764
|
-
var unijunction_transistor_vert_default =
|
9896
|
+
var unijunction_transistor_vert_default = rotatedSymbol26;
|
9765
9897
|
|
9766
9898
|
// assets/generated/var_meter.json
|
9767
9899
|
var var_meter_default = {
|
@@ -9850,33 +9982,33 @@ var var_meter_default = {
|
|
9850
9982
|
};
|
9851
9983
|
|
9852
9984
|
// symbols/var_meter_horz.ts
|
9853
|
-
var { paths:
|
9985
|
+
var { paths: paths48, texts: texts69, bounds: bounds48, refblocks: refblocks48, circles: circles38 } = var_meter_default;
|
9854
9986
|
var var_meter_horz_default = defineSymbol({
|
9855
9987
|
primitives: [
|
9856
|
-
...Object.values(
|
9857
|
-
...Object.values(
|
9988
|
+
...Object.values(paths48),
|
9989
|
+
...Object.values(circles38),
|
9858
9990
|
{
|
9859
|
-
...
|
9991
|
+
...texts69.top1,
|
9860
9992
|
x: 0,
|
9861
9993
|
y: -0.3594553499999995,
|
9862
9994
|
anchor: "middle_bottom"
|
9863
9995
|
},
|
9864
9996
|
{
|
9865
|
-
...
|
9997
|
+
...texts69.bottom1,
|
9866
9998
|
x: 0,
|
9867
9999
|
y: 0.35,
|
9868
10000
|
anchor: "middle_top"
|
9869
10001
|
},
|
9870
|
-
{ ...
|
10002
|
+
{ ...texts69.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
9871
10003
|
],
|
9872
10004
|
ports: [
|
9873
|
-
{ ...
|
10005
|
+
{ ...refblocks48.left1, labels: ["1"] },
|
9874
10006
|
// TODO add more "standard" labels
|
9875
|
-
{ ...
|
10007
|
+
{ ...refblocks48.right1, labels: ["2"] }
|
9876
10008
|
// TODO add more "standard" labels
|
9877
10009
|
],
|
9878
|
-
size: { width:
|
9879
|
-
center: { x:
|
10010
|
+
size: { width: bounds48.width, height: bounds48.height },
|
10011
|
+
center: { x: bounds48.centerX, y: bounds48.centerY }
|
9880
10012
|
});
|
9881
10013
|
|
9882
10014
|
// symbols/var_meter_vert.ts
|
@@ -10029,22 +10161,22 @@ var varactor_diode_default = {
|
|
10029
10161
|
};
|
10030
10162
|
|
10031
10163
|
// symbols/varactor_diode_horz.ts
|
10032
|
-
var { paths:
|
10164
|
+
var { paths: paths49, texts: texts70, bounds: bounds49, refblocks: refblocks49, circles: circles39 } = varactor_diode_default;
|
10033
10165
|
var varactor_diode_horz_default = defineSymbol({
|
10034
10166
|
primitives: [
|
10035
|
-
...Object.values(
|
10036
|
-
...Object.values(
|
10037
|
-
{ ...
|
10038
|
-
{ ...
|
10167
|
+
...Object.values(paths49),
|
10168
|
+
...Object.values(circles39),
|
10169
|
+
{ ...texts70.top1, anchor: "middle_bottom" },
|
10170
|
+
{ ...texts70.bottom1, anchor: "middle_top" }
|
10039
10171
|
],
|
10040
10172
|
ports: [
|
10041
|
-
{ ...
|
10173
|
+
{ ...refblocks49.left1, labels: ["1"] },
|
10042
10174
|
// TODO add more "standard" labels
|
10043
|
-
{ ...
|
10175
|
+
{ ...refblocks49.right1, labels: ["2"] }
|
10044
10176
|
// TODO add more "standard" labels
|
10045
10177
|
],
|
10046
|
-
size: { width:
|
10047
|
-
center: { x:
|
10178
|
+
size: { width: bounds49.width, height: bounds49.height },
|
10179
|
+
center: { x: bounds49.centerX, y: bounds49.centerY }
|
10048
10180
|
});
|
10049
10181
|
|
10050
10182
|
// symbols/varactor_diode_vert.ts
|
@@ -10192,26 +10324,26 @@ var varistor_default = {
|
|
10192
10324
|
};
|
10193
10325
|
|
10194
10326
|
// symbols/varistor_horz.ts
|
10195
|
-
var { paths:
|
10327
|
+
var { paths: paths50, texts: texts71, bounds: bounds50, refblocks: refblocks50 } = varistor_default;
|
10196
10328
|
var varistor_horz_default = defineSymbol({
|
10197
10329
|
primitives: [
|
10198
|
-
...Object.values(
|
10199
|
-
{ ...
|
10200
|
-
{ ...
|
10330
|
+
...Object.values(paths50),
|
10331
|
+
{ ...texts71.top1, anchor: "middle_left" },
|
10332
|
+
{ ...texts71.bottom1, anchor: "middle_right" }
|
10201
10333
|
],
|
10202
10334
|
ports: [
|
10203
10335
|
{
|
10204
|
-
...
|
10336
|
+
...refblocks50.left1,
|
10205
10337
|
labels: ["1", "-"]
|
10206
10338
|
},
|
10207
10339
|
{
|
10208
|
-
...
|
10340
|
+
...refblocks50.right1,
|
10209
10341
|
labels: ["2", "+"]
|
10210
10342
|
}
|
10211
10343
|
],
|
10212
|
-
size: { width:
|
10344
|
+
size: { width: bounds50.width, height: bounds50.height },
|
10213
10345
|
//{ width: 1, height: 0.24 },
|
10214
|
-
center: { x:
|
10346
|
+
center: { x: bounds50.centerX, y: bounds50.centerY }
|
10215
10347
|
});
|
10216
10348
|
|
10217
10349
|
// symbols/varistor_vert.ts
|
@@ -10317,11 +10449,11 @@ var volt_meter_default = {
|
|
10317
10449
|
};
|
10318
10450
|
|
10319
10451
|
// symbols/volt_meter_horz.ts
|
10320
|
-
var { paths:
|
10452
|
+
var { paths: paths51, texts: texts72, bounds: bounds51, circles: circles40, refblocks: refblocks51 } = volt_meter_default;
|
10321
10453
|
var volt_meter_horz_default = defineSymbol({
|
10322
10454
|
primitives: [
|
10323
|
-
...Object.values(
|
10324
|
-
...Object.values(
|
10455
|
+
...Object.values(paths51),
|
10456
|
+
...Object.values(circles40),
|
10325
10457
|
{
|
10326
10458
|
type: "text",
|
10327
10459
|
text: "{REF}",
|
@@ -10338,13 +10470,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
10338
10470
|
}
|
10339
10471
|
],
|
10340
10472
|
ports: [
|
10341
|
-
{ ...
|
10473
|
+
{ ...refblocks51.left1, labels: ["1"] },
|
10342
10474
|
// TODO add more "standard" labels
|
10343
|
-
{ ...
|
10475
|
+
{ ...refblocks51.right1, labels: ["2"] }
|
10344
10476
|
// TODO add more "standard" labels
|
10345
10477
|
],
|
10346
|
-
size: { width:
|
10347
|
-
center: { x:
|
10478
|
+
size: { width: bounds51.width, height: bounds51.height },
|
10479
|
+
center: { x: bounds51.centerX, y: bounds51.centerY }
|
10348
10480
|
});
|
10349
10481
|
|
10350
10482
|
// symbols/volt_meter_vert.ts
|
@@ -10497,22 +10629,22 @@ var zener_diode_default = {
|
|
10497
10629
|
};
|
10498
10630
|
|
10499
10631
|
// symbols/zener_diode_horz.ts
|
10500
|
-
var { paths:
|
10632
|
+
var { paths: paths52, texts: texts73, bounds: bounds52, refblocks: refblocks52, circles: circles41 } = zener_diode_default;
|
10501
10633
|
var zener_diode_horz_default = defineSymbol({
|
10502
10634
|
primitives: [
|
10503
|
-
...Object.values(
|
10504
|
-
...Object.values(
|
10505
|
-
{ ...
|
10506
|
-
{ ...
|
10635
|
+
...Object.values(paths52),
|
10636
|
+
...Object.values(circles41),
|
10637
|
+
{ ...texts73.top1, anchor: "middle_bottom" },
|
10638
|
+
{ ...texts73.bottom1, anchor: "middle_top" }
|
10507
10639
|
],
|
10508
10640
|
ports: [
|
10509
|
-
{ ...
|
10641
|
+
{ ...refblocks52.left1, labels: ["1"] },
|
10510
10642
|
// TODO add more "standard" labels
|
10511
|
-
{ ...
|
10643
|
+
{ ...refblocks52.right1, labels: ["2"] }
|
10512
10644
|
// TODO add more "standard" labels
|
10513
10645
|
],
|
10514
|
-
size: { width:
|
10515
|
-
center: { x:
|
10646
|
+
size: { width: bounds52.width, height: bounds52.height },
|
10647
|
+
center: { x: bounds52.centerX, y: bounds52.centerY }
|
10516
10648
|
});
|
10517
10649
|
|
10518
10650
|
// symbols/zener_diode_vert.ts
|
@@ -10615,6 +10747,8 @@ var symbols_index_default = {
|
|
10615
10747
|
"SPST_switch_vert": SPST_switch_vert_default,
|
10616
10748
|
"step_recovery_diode_horz": step_recovery_diode_horz_default,
|
10617
10749
|
"step_recovery_diode_vert": step_recovery_diode_vert_default,
|
10750
|
+
"tachometer_horz": tachometer_horz_default,
|
10751
|
+
"tachometer_vert": tachometer_vert_default,
|
10618
10752
|
"triac_horz": triac_horz_default,
|
10619
10753
|
"triac_vert": triac_vert_default,
|
10620
10754
|
"tunnel_diode_horz": tunnel_diode_horz_default,
|