schematic-symbols 0.0.76 → 0.0.77
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js
CHANGED
@@ -4037,6 +4037,263 @@ ref11.x = 0.35;
|
|
4037
4037
|
ref11.anchor = "middle_left";
|
4038
4038
|
var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol9;
|
4039
4039
|
|
4040
|
+
// assets/generated/n_channel_e_mosfet_transistor.json
|
4041
|
+
var n_channel_e_mosfet_transistor_default = {
|
4042
|
+
paths: {
|
4043
|
+
path11: {
|
4044
|
+
type: "path",
|
4045
|
+
points: [
|
4046
|
+
{
|
4047
|
+
x: -0.39274354450000026,
|
4048
|
+
y: 0.10329954999999957
|
4049
|
+
},
|
4050
|
+
{
|
4051
|
+
x: 0.05111245549999932,
|
4052
|
+
y: 0.1059225499999994
|
4053
|
+
}
|
4054
|
+
],
|
4055
|
+
color: "primary",
|
4056
|
+
fill: false
|
4057
|
+
},
|
4058
|
+
"path12-1": {
|
4059
|
+
type: "path",
|
4060
|
+
points: [
|
4061
|
+
{
|
4062
|
+
x: 0.30382435550000064,
|
4063
|
+
y: -0.53233025
|
4064
|
+
},
|
4065
|
+
{
|
4066
|
+
x: 0.3032243555000005,
|
4067
|
+
y: -0.10600584999999985
|
4068
|
+
}
|
4069
|
+
],
|
4070
|
+
color: "primary",
|
4071
|
+
fill: false
|
4072
|
+
},
|
4073
|
+
"path12-1-5": {
|
4074
|
+
type: "path",
|
4075
|
+
points: [
|
4076
|
+
{
|
4077
|
+
x: 0.3108281555000003,
|
4078
|
+
y: 0.5323308500000001
|
4079
|
+
},
|
4080
|
+
{
|
4081
|
+
x: 0.31142815550000025,
|
4082
|
+
y: 0.005876249999999805
|
4083
|
+
}
|
4084
|
+
],
|
4085
|
+
color: "primary",
|
4086
|
+
fill: false
|
4087
|
+
},
|
4088
|
+
path2: {
|
4089
|
+
type: "path",
|
4090
|
+
points: [
|
4091
|
+
{
|
4092
|
+
x: 0.09383795549999951,
|
4093
|
+
y: -0.10788365000000044
|
4094
|
+
},
|
4095
|
+
{
|
4096
|
+
x: 0.31104975549999936,
|
4097
|
+
y: -0.10659565000000004
|
4098
|
+
}
|
4099
|
+
],
|
4100
|
+
color: "primary",
|
4101
|
+
fill: false
|
4102
|
+
},
|
4103
|
+
"path2-8-3-7": {
|
4104
|
+
type: "path",
|
4105
|
+
points: [
|
4106
|
+
{
|
4107
|
+
x: 0.09448295549999952,
|
4108
|
+
y: -0.14677165000000048
|
4109
|
+
},
|
4110
|
+
{
|
4111
|
+
x: 0.09319295549999951,
|
4112
|
+
y: -0.06899565000000041
|
4113
|
+
}
|
4114
|
+
],
|
4115
|
+
color: "primary",
|
4116
|
+
fill: false
|
4117
|
+
},
|
4118
|
+
"path2-5": {
|
4119
|
+
type: "path",
|
4120
|
+
points: [
|
4121
|
+
{
|
4122
|
+
x: 0.09383795549999951,
|
4123
|
+
y: 0.10232114999999986
|
4124
|
+
},
|
4125
|
+
{
|
4126
|
+
x: 0.31104975549999936,
|
4127
|
+
y: 0.10360915000000026
|
4128
|
+
}
|
4129
|
+
],
|
4130
|
+
color: "primary",
|
4131
|
+
fill: false
|
4132
|
+
},
|
4133
|
+
"path2-8-3": {
|
4134
|
+
type: "path",
|
4135
|
+
points: [
|
4136
|
+
{
|
4137
|
+
x: 0.09440455549999993,
|
4138
|
+
y: 0.07703174999999951
|
4139
|
+
},
|
4140
|
+
{
|
4141
|
+
x: 0.09311455549999992,
|
4142
|
+
y: 0.15480774999999958
|
4143
|
+
}
|
4144
|
+
],
|
4145
|
+
color: "primary",
|
4146
|
+
fill: false
|
4147
|
+
},
|
4148
|
+
"path2-8-3-2": {
|
4149
|
+
type: "path",
|
4150
|
+
points: [
|
4151
|
+
{
|
4152
|
+
x: 0.09448295549999952,
|
4153
|
+
y: -0.03486995000000048
|
4154
|
+
},
|
4155
|
+
{
|
4156
|
+
x: 0.09319295549999951,
|
4157
|
+
y: 0.042906049999999585
|
4158
|
+
}
|
4159
|
+
],
|
4160
|
+
color: "primary",
|
4161
|
+
fill: false
|
4162
|
+
},
|
4163
|
+
path15: {
|
4164
|
+
type: "path",
|
4165
|
+
points: [
|
4166
|
+
{
|
4167
|
+
x: 0.2741991554999996,
|
4168
|
+
y: 0.040776550000000134
|
4169
|
+
},
|
4170
|
+
{
|
4171
|
+
x: 0.2741991554999996,
|
4172
|
+
y: -0.030615549999999825
|
4173
|
+
},
|
4174
|
+
{
|
4175
|
+
x: 0.2024441554999994,
|
4176
|
+
y: 0.004662350000000037
|
4177
|
+
}
|
4178
|
+
],
|
4179
|
+
color: "primary",
|
4180
|
+
fill: true
|
4181
|
+
},
|
4182
|
+
"path2-0": {
|
4183
|
+
type: "path",
|
4184
|
+
points: [
|
4185
|
+
{
|
4186
|
+
x: 0.09383795549999951,
|
4187
|
+
y: 0.004018049999999551
|
4188
|
+
},
|
4189
|
+
{
|
4190
|
+
x: 0.31104975549999936,
|
4191
|
+
y: 0.005306049999999729
|
4192
|
+
}
|
4193
|
+
],
|
4194
|
+
color: "primary",
|
4195
|
+
fill: false
|
4196
|
+
},
|
4197
|
+
"path12-1-0": {
|
4198
|
+
type: "path",
|
4199
|
+
points: [
|
4200
|
+
{
|
4201
|
+
x: 0.05171245550000081,
|
4202
|
+
y: -0.10847375000000059
|
4203
|
+
},
|
4204
|
+
{
|
4205
|
+
x: 0.05111245550000065,
|
4206
|
+
y: 0.1059225499999994
|
4207
|
+
}
|
4208
|
+
],
|
4209
|
+
color: "primary",
|
4210
|
+
fill: false
|
4211
|
+
}
|
4212
|
+
},
|
4213
|
+
texts: {
|
4214
|
+
top1: {
|
4215
|
+
type: "text",
|
4216
|
+
text: "{REF}",
|
4217
|
+
x: -0.13197254449999907,
|
4218
|
+
y: -0.36092494999999936
|
4219
|
+
},
|
4220
|
+
bottom1: {
|
4221
|
+
type: "text",
|
4222
|
+
text: "{VAL}",
|
4223
|
+
x: 0.05891105550000031,
|
4224
|
+
y: 0.42489435000000064
|
4225
|
+
}
|
4226
|
+
},
|
4227
|
+
refblocks: {
|
4228
|
+
top1: {
|
4229
|
+
x: 0.30397715549999993,
|
4230
|
+
y: -0.5519248499999992
|
4231
|
+
},
|
4232
|
+
bottom1: {
|
4233
|
+
x: 0.31067575550000126,
|
4234
|
+
y: 0.5519248499999994
|
4235
|
+
},
|
4236
|
+
left1: {
|
4237
|
+
x: -0.41859744450000025,
|
4238
|
+
y: 0.10250625000000024
|
4239
|
+
}
|
4240
|
+
},
|
4241
|
+
bounds: {
|
4242
|
+
minX: -0.4467558855000002,
|
4243
|
+
maxX: 0.44675588550000006,
|
4244
|
+
minY: -0.5800832909999992,
|
4245
|
+
maxY: 0.5800832909999993,
|
4246
|
+
width: 1,
|
4247
|
+
height: 1.1601665819999987,
|
4248
|
+
centerX: -8326672684688674e-32,
|
4249
|
+
centerY: 5551115123125783e-32
|
4250
|
+
},
|
4251
|
+
circles: {
|
4252
|
+
path1: {
|
4253
|
+
type: "circle",
|
4254
|
+
x: 0.15821375550000005,
|
4255
|
+
y: -0.003454549999999612,
|
4256
|
+
radius: 0.28854213,
|
4257
|
+
color: "primary",
|
4258
|
+
fill: false
|
4259
|
+
}
|
4260
|
+
}
|
4261
|
+
};
|
4262
|
+
|
4263
|
+
// symbols/n_channel_e_mosfet_transistor_horz.ts
|
4264
|
+
var { paths: paths20, texts: texts25, bounds: bounds20, refblocks: refblocks20, circles: circles14 } = n_channel_e_mosfet_transistor_default;
|
4265
|
+
var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
4266
|
+
primitives: [
|
4267
|
+
...Object.values(paths20),
|
4268
|
+
...Object.values(circles14),
|
4269
|
+
{ ...texts25.top1, anchor: "middle_right", x: 0 },
|
4270
|
+
{ ...texts25.bottom1, anchor: "middle_right", x: 0 }
|
4271
|
+
],
|
4272
|
+
ports: [
|
4273
|
+
{ ...refblocks20.top1, labels: ["1", "drain"] },
|
4274
|
+
// TODO add more "standard" labels
|
4275
|
+
{ ...refblocks20.bottom1, labels: ["2", "source"] },
|
4276
|
+
// TODO add more "standard" labels
|
4277
|
+
{ ...refblocks20.left1, labels: ["3", "gate"] }
|
4278
|
+
// TODO add more "standard" labels
|
4279
|
+
],
|
4280
|
+
size: { width: bounds20.width, height: bounds20.height },
|
4281
|
+
center: { x: bounds20.centerX, y: bounds20.centerY }
|
4282
|
+
});
|
4283
|
+
|
4284
|
+
// symbols/n_channel_e_mosfet_transistor_vert.ts
|
4285
|
+
var rotatedSymbol10 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
|
4286
|
+
var texts26 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
|
4287
|
+
var val11 = texts26.find((t) => t.text === "{VAL}");
|
4288
|
+
val11.x = -0.35;
|
4289
|
+
val11.y = 0;
|
4290
|
+
val11.anchor = "middle_right";
|
4291
|
+
var ref12 = texts26.find((t) => t.text === "{REF}");
|
4292
|
+
ref12.y = 0;
|
4293
|
+
ref12.x = 0.35;
|
4294
|
+
ref12.anchor = "middle_left";
|
4295
|
+
var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol10;
|
4296
|
+
|
4040
4297
|
// assets/generated/njfet_transistor.json
|
4041
4298
|
var njfet_transistor_default = {
|
4042
4299
|
paths: {
|
@@ -4201,38 +4458,38 @@ var njfet_transistor_default = {
|
|
4201
4458
|
};
|
4202
4459
|
|
4203
4460
|
// symbols/njfet_transistor_horz.ts
|
4204
|
-
var { paths:
|
4461
|
+
var { paths: paths21, texts: texts27, bounds: bounds21, refblocks: refblocks21, circles: circles15 } = njfet_transistor_default;
|
4205
4462
|
var njfet_transistor_horz_default = defineSymbol({
|
4206
4463
|
primitives: [
|
4207
|
-
...Object.values(
|
4208
|
-
...Object.values(
|
4209
|
-
{ ...
|
4210
|
-
{ ...
|
4464
|
+
...Object.values(paths21),
|
4465
|
+
...Object.values(circles15),
|
4466
|
+
{ ...texts27.top1, anchor: "middle_right", x: 0 },
|
4467
|
+
{ ...texts27.bottom1, anchor: "middle_right", x: 0 }
|
4211
4468
|
],
|
4212
4469
|
ports: [
|
4213
|
-
{ ...
|
4470
|
+
{ ...refblocks21.top1, labels: ["1", "drain"] },
|
4214
4471
|
// TODO add more "standard" labels
|
4215
|
-
{ ...
|
4472
|
+
{ ...refblocks21.bottom1, labels: ["2", "source"] },
|
4216
4473
|
// TODO add more "standard" labels
|
4217
|
-
{ ...
|
4474
|
+
{ ...refblocks21.left1, labels: ["3", "gate"] }
|
4218
4475
|
// TODO add more "standard" labels
|
4219
4476
|
],
|
4220
|
-
size: { width:
|
4221
|
-
center: { x:
|
4477
|
+
size: { width: bounds21.width, height: bounds21.height },
|
4478
|
+
center: { x: bounds21.centerX, y: bounds21.centerY }
|
4222
4479
|
});
|
4223
4480
|
|
4224
4481
|
// symbols/njfet_transistor_vert.ts
|
4225
|
-
var
|
4226
|
-
var
|
4227
|
-
var
|
4228
|
-
|
4229
|
-
|
4230
|
-
|
4231
|
-
var
|
4232
|
-
|
4233
|
-
|
4234
|
-
|
4235
|
-
var njfet_transistor_vert_default =
|
4482
|
+
var rotatedSymbol11 = rotateSymbol(njfet_transistor_horz_default);
|
4483
|
+
var texts28 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
|
4484
|
+
var val12 = texts28.find((t) => t.text === "{VAL}");
|
4485
|
+
val12.x = -0.35;
|
4486
|
+
val12.y = 0;
|
4487
|
+
val12.anchor = "middle_right";
|
4488
|
+
var ref13 = texts28.find((t) => t.text === "{REF}");
|
4489
|
+
ref13.y = 0;
|
4490
|
+
ref13.x = 0.35;
|
4491
|
+
ref13.anchor = "middle_left";
|
4492
|
+
var njfet_transistor_vert_default = rotatedSymbol11;
|
4236
4493
|
|
4237
4494
|
// assets/generated/npn_bipolar_transistor.json
|
4238
4495
|
var npn_bipolar_transistor_default = {
|
@@ -4398,11 +4655,11 @@ var npn_bipolar_transistor_default = {
|
|
4398
4655
|
};
|
4399
4656
|
|
4400
4657
|
// symbols/npn_bipolar_transistor_horz.ts
|
4401
|
-
var { paths:
|
4658
|
+
var { paths: paths22, texts: texts29, bounds: bounds22, refblocks: refblocks22, circles: circles16 } = npn_bipolar_transistor_default;
|
4402
4659
|
var npn_bipolar_transistor_horz_default = defineSymbol({
|
4403
4660
|
primitives: [
|
4404
|
-
...Object.values(
|
4405
|
-
...Object.values(
|
4661
|
+
...Object.values(paths22),
|
4662
|
+
...Object.values(circles16),
|
4406
4663
|
{
|
4407
4664
|
type: "text",
|
4408
4665
|
text: "{REF}",
|
@@ -4419,20 +4676,20 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
|
|
4419
4676
|
}
|
4420
4677
|
],
|
4421
4678
|
ports: [
|
4422
|
-
{ ...
|
4423
|
-
{ ...
|
4424
|
-
{ ...
|
4679
|
+
{ ...refblocks22.top1, labels: ["1", "collector"] },
|
4680
|
+
{ ...refblocks22.bottom1, labels: ["2", "emitter"] },
|
4681
|
+
{ ...refblocks22.left1, labels: ["3", "base"] }
|
4425
4682
|
],
|
4426
|
-
size: { width:
|
4427
|
-
center: { x:
|
4683
|
+
size: { width: bounds22.width, height: bounds22.height },
|
4684
|
+
center: { x: bounds22.centerX, y: bounds22.centerY }
|
4428
4685
|
});
|
4429
4686
|
|
4430
4687
|
// symbols/npn_bipolar_transistor_vert.ts
|
4431
|
-
var
|
4432
|
-
var
|
4433
|
-
var
|
4434
|
-
|
4435
|
-
var npn_bipolar_transistor_vert_default =
|
4688
|
+
var rotatedSymbol12 = rotateSymbol(npn_bipolar_transistor_horz_default);
|
4689
|
+
var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
|
4690
|
+
var ref14 = texts30.find((t) => t.text === "{REF}");
|
4691
|
+
ref14.anchor = "middle_left";
|
4692
|
+
var npn_bipolar_transistor_vert_default = rotatedSymbol12;
|
4436
4693
|
|
4437
4694
|
// assets/generated/p_channel_d_mosfet_transistor.json
|
4438
4695
|
var p_channel_d_mosfet_transistor_default = {
|
@@ -4628,38 +4885,38 @@ var p_channel_d_mosfet_transistor_default = {
|
|
4628
4885
|
};
|
4629
4886
|
|
4630
4887
|
// symbols/p_channel_d_mosfet_transistor_horz.ts
|
4631
|
-
var { paths:
|
4888
|
+
var { paths: paths23, texts: texts31, bounds: bounds23, refblocks: refblocks23, circles: circles17 } = p_channel_d_mosfet_transistor_default;
|
4632
4889
|
var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
|
4633
4890
|
primitives: [
|
4634
|
-
...Object.values(
|
4635
|
-
...Object.values(
|
4636
|
-
{ ...
|
4637
|
-
{ ...
|
4891
|
+
...Object.values(paths23),
|
4892
|
+
...Object.values(circles17),
|
4893
|
+
{ ...texts31.top1, anchor: "middle_right", x: 0 },
|
4894
|
+
{ ...texts31.bottom1, anchor: "middle_right", x: 0 }
|
4638
4895
|
],
|
4639
4896
|
ports: [
|
4640
|
-
{ ...
|
4897
|
+
{ ...refblocks23.top1, labels: ["1", "drain"] },
|
4641
4898
|
// TODO add more "standard" labels
|
4642
|
-
{ ...
|
4899
|
+
{ ...refblocks23.bottom1, labels: ["2", "source"] },
|
4643
4900
|
// TODO add more "standard" labels
|
4644
|
-
{ ...
|
4901
|
+
{ ...refblocks23.left1, labels: ["3", "gate"] }
|
4645
4902
|
// TODO add more "standard" labels
|
4646
4903
|
],
|
4647
|
-
size: { width:
|
4648
|
-
center: { x:
|
4904
|
+
size: { width: bounds23.width, height: bounds23.height },
|
4905
|
+
center: { x: bounds23.centerX, y: bounds23.centerY }
|
4649
4906
|
});
|
4650
4907
|
|
4651
4908
|
// symbols/p_channel_d_mosfet_transistor_vert.ts
|
4652
|
-
var
|
4653
|
-
var
|
4654
|
-
var
|
4655
|
-
|
4656
|
-
|
4657
|
-
|
4658
|
-
var
|
4659
|
-
|
4660
|
-
|
4661
|
-
|
4662
|
-
var p_channel_d_mosfet_transistor_vert_default =
|
4909
|
+
var rotatedSymbol13 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
|
4910
|
+
var texts32 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
|
4911
|
+
var val13 = texts32.find((t) => t.text === "{VAL}");
|
4912
|
+
val13.x = -0.35;
|
4913
|
+
val13.y = 0;
|
4914
|
+
val13.anchor = "middle_right";
|
4915
|
+
var ref15 = texts32.find((t) => t.text === "{REF}");
|
4916
|
+
ref15.y = 0;
|
4917
|
+
ref15.x = 0.35;
|
4918
|
+
ref15.anchor = "middle_left";
|
4919
|
+
var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
|
4663
4920
|
|
4664
4921
|
// assets/generated/p_channel_e_mosfet_transistor.json
|
4665
4922
|
var p_channel_e_mosfet_transistor_default = {
|
@@ -4885,38 +5142,38 @@ var p_channel_e_mosfet_transistor_default = {
|
|
4885
5142
|
};
|
4886
5143
|
|
4887
5144
|
// symbols/p_channel_e_mosfet_transistor_horz.ts
|
4888
|
-
var { paths:
|
5145
|
+
var { paths: paths24, texts: texts33, bounds: bounds24, refblocks: refblocks24, circles: circles18 } = p_channel_e_mosfet_transistor_default;
|
4889
5146
|
var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
|
4890
5147
|
primitives: [
|
4891
|
-
...Object.values(
|
4892
|
-
...Object.values(
|
4893
|
-
{ ...
|
4894
|
-
{ ...
|
5148
|
+
...Object.values(paths24),
|
5149
|
+
...Object.values(circles18),
|
5150
|
+
{ ...texts33.top1, anchor: "middle_right", x: 0 },
|
5151
|
+
{ ...texts33.bottom1, anchor: "middle_right", x: 0 }
|
4895
5152
|
],
|
4896
5153
|
ports: [
|
4897
|
-
{ ...
|
5154
|
+
{ ...refblocks24.top1, labels: ["1", "drain"] },
|
4898
5155
|
// TODO add more "standard" labels
|
4899
|
-
{ ...
|
5156
|
+
{ ...refblocks24.bottom1, labels: ["2", "source"] },
|
4900
5157
|
// TODO add more "standard" labels
|
4901
|
-
{ ...
|
5158
|
+
{ ...refblocks24.left1, labels: ["3", "gate"] }
|
4902
5159
|
// TODO add more "standard" labels
|
4903
5160
|
],
|
4904
|
-
size: { width:
|
4905
|
-
center: { x:
|
5161
|
+
size: { width: bounds24.width, height: bounds24.height },
|
5162
|
+
center: { x: bounds24.centerX, y: bounds24.centerY }
|
4906
5163
|
});
|
4907
5164
|
|
4908
5165
|
// symbols/p_channel_e_mosfet_transistor_vert.ts
|
4909
|
-
var
|
4910
|
-
var
|
4911
|
-
var
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
var
|
4916
|
-
|
4917
|
-
|
4918
|
-
|
4919
|
-
var p_channel_e_mosfet_transistor_vert_default =
|
5166
|
+
var rotatedSymbol14 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
|
5167
|
+
var texts34 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
|
5168
|
+
var val14 = texts34.find((t) => t.text === "{VAL}");
|
5169
|
+
val14.x = -0.35;
|
5170
|
+
val14.y = 0;
|
5171
|
+
val14.anchor = "middle_right";
|
5172
|
+
var ref16 = texts34.find((t) => t.text === "{REF}");
|
5173
|
+
ref16.y = 0;
|
5174
|
+
ref16.x = 0.35;
|
5175
|
+
ref16.anchor = "middle_left";
|
5176
|
+
var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
|
4920
5177
|
|
4921
5178
|
// assets/generated/photodiode.json
|
4922
5179
|
var photodiode_default = {
|
@@ -5143,11 +5400,11 @@ var photodiode_default = {
|
|
5143
5400
|
};
|
5144
5401
|
|
5145
5402
|
// symbols/photodiode_horz.ts
|
5146
|
-
var { paths:
|
5403
|
+
var { paths: paths25, texts: texts35, bounds: bounds25, refblocks: refblocks25, circles: circles19 } = photodiode_default;
|
5147
5404
|
var photodiode_horz_default = defineSymbol({
|
5148
5405
|
primitives: [
|
5149
|
-
...Object.values(
|
5150
|
-
...Object.values(
|
5406
|
+
...Object.values(paths25),
|
5407
|
+
...Object.values(circles19),
|
5151
5408
|
{
|
5152
5409
|
type: "text",
|
5153
5410
|
text: "{REF}",
|
@@ -5164,22 +5421,22 @@ var photodiode_horz_default = defineSymbol({
|
|
5164
5421
|
}
|
5165
5422
|
],
|
5166
5423
|
ports: [
|
5167
|
-
{ ...
|
5424
|
+
{ ...refblocks25.left1, labels: ["1"] },
|
5168
5425
|
// TODO add more "standard" labels
|
5169
|
-
{ ...
|
5426
|
+
{ ...refblocks25.right1, labels: ["2"] }
|
5170
5427
|
// TODO add more "standard" labels
|
5171
5428
|
],
|
5172
|
-
size: { width:
|
5173
|
-
center: { x:
|
5429
|
+
size: { width: bounds25.width, height: bounds25.height },
|
5430
|
+
center: { x: bounds25.centerX, y: bounds25.centerY }
|
5174
5431
|
});
|
5175
5432
|
|
5176
5433
|
// symbols/photodiode_vert.ts
|
5177
|
-
var
|
5178
|
-
var
|
5179
|
-
var
|
5180
|
-
|
5181
|
-
|
5182
|
-
var photodiode_vert_default =
|
5434
|
+
var rotatedSymbol15 = rotateSymbol(photodiode_horz_default);
|
5435
|
+
var texts36 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
|
5436
|
+
var ref17 = texts36.find((t) => t.text === "{REF}");
|
5437
|
+
ref17.y = 0;
|
5438
|
+
ref17.anchor = "middle_left";
|
5439
|
+
var photodiode_vert_default = rotatedSymbol15;
|
5183
5440
|
|
5184
5441
|
// assets/generated/pjfet_transistor.json
|
5185
5442
|
var pjfet_transistor_default = {
|
@@ -5345,38 +5602,38 @@ var pjfet_transistor_default = {
|
|
5345
5602
|
};
|
5346
5603
|
|
5347
5604
|
// symbols/pjfet_transistor_horz.ts
|
5348
|
-
var { paths:
|
5605
|
+
var { paths: paths26, texts: texts37, bounds: bounds26, refblocks: refblocks26, circles: circles20 } = pjfet_transistor_default;
|
5349
5606
|
var pjfet_transistor_horz_default = defineSymbol({
|
5350
5607
|
primitives: [
|
5351
|
-
...Object.values(
|
5352
|
-
...Object.values(
|
5353
|
-
{ ...
|
5354
|
-
{ ...
|
5608
|
+
...Object.values(paths26),
|
5609
|
+
...Object.values(circles20),
|
5610
|
+
{ ...texts37.top1, anchor: "middle_right", x: 0 },
|
5611
|
+
{ ...texts37.bottom1, anchor: "middle_right" }
|
5355
5612
|
],
|
5356
5613
|
ports: [
|
5357
|
-
{ ...
|
5614
|
+
{ ...refblocks26.top1, labels: ["1", "drain"] },
|
5358
5615
|
// TODO add more "standard" labels
|
5359
|
-
{ ...
|
5616
|
+
{ ...refblocks26.bottom1, labels: ["2", "source"] },
|
5360
5617
|
// TODO add more "standard" labels
|
5361
|
-
{ ...
|
5618
|
+
{ ...refblocks26.left1, labels: ["3", "gate"] }
|
5362
5619
|
// TODO add more "standard" labels
|
5363
5620
|
],
|
5364
|
-
size: { width:
|
5365
|
-
center: { x:
|
5621
|
+
size: { width: bounds26.width, height: bounds26.height },
|
5622
|
+
center: { x: bounds26.centerX, y: bounds26.centerY }
|
5366
5623
|
});
|
5367
5624
|
|
5368
5625
|
// symbols/pjfet_transistor_vert.ts
|
5369
|
-
var
|
5370
|
-
var
|
5371
|
-
var
|
5372
|
-
|
5373
|
-
|
5374
|
-
|
5375
|
-
var
|
5376
|
-
|
5377
|
-
|
5378
|
-
|
5379
|
-
var pjfet_transistor_vert_default =
|
5626
|
+
var rotatedSymbol16 = rotateSymbol(pjfet_transistor_horz_default);
|
5627
|
+
var texts38 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
|
5628
|
+
var val15 = texts38.find((t) => t.text === "{VAL}");
|
5629
|
+
val15.x = -0.35;
|
5630
|
+
val15.y = 0;
|
5631
|
+
val15.anchor = "middle_right";
|
5632
|
+
var ref18 = texts38.find((t) => t.text === "{REF}");
|
5633
|
+
ref18.y = 0;
|
5634
|
+
ref18.x = 0.35;
|
5635
|
+
ref18.anchor = "middle_left";
|
5636
|
+
var pjfet_transistor_vert_default = rotatedSymbol16;
|
5380
5637
|
|
5381
5638
|
// assets/generated/pnp_bipolar_transistor.json
|
5382
5639
|
var pnp_bipolar_transistor_default = {
|
@@ -5542,11 +5799,11 @@ var pnp_bipolar_transistor_default = {
|
|
5542
5799
|
};
|
5543
5800
|
|
5544
5801
|
// symbols/pnp_bipolar_transistor_horz.ts
|
5545
|
-
var { paths:
|
5802
|
+
var { paths: paths27, texts: texts39, bounds: bounds27, refblocks: refblocks27, circles: circles21 } = pnp_bipolar_transistor_default;
|
5546
5803
|
var pnp_bipolar_transistor_horz_default = defineSymbol({
|
5547
5804
|
primitives: [
|
5548
|
-
...Object.values(
|
5549
|
-
...Object.values(
|
5805
|
+
...Object.values(paths27),
|
5806
|
+
...Object.values(circles21),
|
5550
5807
|
{
|
5551
5808
|
type: "text",
|
5552
5809
|
text: "{REF}",
|
@@ -5563,20 +5820,20 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
|
|
5563
5820
|
}
|
5564
5821
|
],
|
5565
5822
|
ports: [
|
5566
|
-
{ ...
|
5567
|
-
{ ...
|
5568
|
-
{ ...
|
5823
|
+
{ ...refblocks27.top1, labels: ["1", "collector"] },
|
5824
|
+
{ ...refblocks27.bottom1, labels: ["2", "emitter"] },
|
5825
|
+
{ ...refblocks27.left1, labels: ["3", "base"] }
|
5569
5826
|
],
|
5570
|
-
size: { width:
|
5571
|
-
center: { x:
|
5827
|
+
size: { width: bounds27.width, height: bounds27.height },
|
5828
|
+
center: { x: bounds27.centerX, y: bounds27.centerY }
|
5572
5829
|
});
|
5573
5830
|
|
5574
5831
|
// symbols/pnp_bipolar_transistor_vert.ts
|
5575
|
-
var
|
5576
|
-
var
|
5577
|
-
var
|
5578
|
-
|
5579
|
-
var pnp_bipolar_transistor_vert_default =
|
5832
|
+
var rotatedSymbol17 = rotateSymbol(pnp_bipolar_transistor_horz_default);
|
5833
|
+
var texts40 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
|
5834
|
+
var ref19 = texts40.find((t) => t.text === "{REF}");
|
5835
|
+
ref19.anchor = "middle_left";
|
5836
|
+
var pnp_bipolar_transistor_vert_default = rotatedSymbol17;
|
5580
5837
|
|
5581
5838
|
// assets/generated/potentiometer.json
|
5582
5839
|
var potentiometer_default = {
|
@@ -5714,21 +5971,21 @@ var potentiometer_default = {
|
|
5714
5971
|
};
|
5715
5972
|
|
5716
5973
|
// symbols/potentiometer_horz.ts
|
5717
|
-
var { paths:
|
5974
|
+
var { paths: paths28, texts: texts41, bounds: bounds28, refblocks: refblocks28 } = potentiometer_default;
|
5718
5975
|
var potentiometer_horz_default = defineSymbol({
|
5719
5976
|
primitives: [
|
5720
|
-
...Object.values(
|
5721
|
-
{ ...
|
5722
|
-
{ ...
|
5977
|
+
...Object.values(paths28),
|
5978
|
+
{ ...texts41.bottom1, y: 0.35, anchor: "middle_top" },
|
5979
|
+
{ ...texts41.right1, anchor: "middle_left" }
|
5723
5980
|
],
|
5724
5981
|
ports: [
|
5725
|
-
{ ...
|
5982
|
+
{ ...refblocks28.left1, labels: ["1"] },
|
5726
5983
|
// TODO add more "standard" labels
|
5727
|
-
{ ...
|
5984
|
+
{ ...refblocks28.right1, labels: ["2"] }
|
5728
5985
|
// TODO add more "standard" labels
|
5729
5986
|
],
|
5730
|
-
size: { width:
|
5731
|
-
center: { x:
|
5987
|
+
size: { width: bounds28.width + 0.05, height: bounds28.height },
|
5988
|
+
center: { x: bounds28.centerX, y: bounds28.centerY }
|
5732
5989
|
});
|
5733
5990
|
|
5734
5991
|
// symbols/potentiometer_vert.ts
|
@@ -5890,21 +6147,21 @@ var potentiometer2_default = {
|
|
5890
6147
|
};
|
5891
6148
|
|
5892
6149
|
// symbols/potentiometer2_horz.ts
|
5893
|
-
var { paths:
|
6150
|
+
var { paths: paths29, texts: texts42, bounds: bounds29, refblocks: refblocks29 } = potentiometer2_default;
|
5894
6151
|
var potentiometer2_horz_default = defineSymbol({
|
5895
6152
|
primitives: [
|
5896
|
-
...Object.values(
|
5897
|
-
{ ...
|
5898
|
-
{ ...
|
6153
|
+
...Object.values(paths29),
|
6154
|
+
{ ...texts42.bottom1, anchor: "middle_right" },
|
6155
|
+
{ ...texts42.top1, anchor: "middle_left" }
|
5899
6156
|
],
|
5900
6157
|
ports: [
|
5901
|
-
{ ...
|
6158
|
+
{ ...refblocks29.left1, labels: ["1"] },
|
5902
6159
|
// TODO add more "standard" labels
|
5903
|
-
{ ...
|
6160
|
+
{ ...refblocks29.right1, labels: ["2"] }
|
5904
6161
|
// TODO add more "standard" labels
|
5905
6162
|
],
|
5906
|
-
size: { width:
|
5907
|
-
center: { x:
|
6163
|
+
size: { width: bounds29.width, height: bounds29.height },
|
6164
|
+
center: { x: bounds29.centerX, y: bounds29.centerY }
|
5908
6165
|
});
|
5909
6166
|
|
5910
6167
|
// symbols/potentiometer2_vert.ts
|
@@ -5997,11 +6254,11 @@ var power_factor_meter_default = {
|
|
5997
6254
|
};
|
5998
6255
|
|
5999
6256
|
// symbols/power_factor_meter_horz.ts
|
6000
|
-
var { paths:
|
6257
|
+
var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles22 } = power_factor_meter_default;
|
6001
6258
|
var power_factor_meter_horz_default = defineSymbol({
|
6002
6259
|
primitives: [
|
6003
|
-
...Object.values(
|
6004
|
-
...Object.values(
|
6260
|
+
...Object.values(paths30),
|
6261
|
+
...Object.values(circles22),
|
6005
6262
|
// { ...texts.top1, anchor: "middle_left" },
|
6006
6263
|
{
|
6007
6264
|
type: "text",
|
@@ -6028,28 +6285,28 @@ var power_factor_meter_horz_default = defineSymbol({
|
|
6028
6285
|
}
|
6029
6286
|
],
|
6030
6287
|
ports: [
|
6031
|
-
{ ...
|
6288
|
+
{ ...refblocks30.left1, labels: ["1"] },
|
6032
6289
|
// TODO add more "standard" labels
|
6033
|
-
{ ...
|
6290
|
+
{ ...refblocks30.right1, labels: ["2"] }
|
6034
6291
|
// TODO add more "standard" labels
|
6035
6292
|
],
|
6036
|
-
size: { width:
|
6037
|
-
center: { x:
|
6293
|
+
size: { width: bounds30.width, height: bounds30.height },
|
6294
|
+
center: { x: bounds30.centerX, y: bounds30.centerY }
|
6038
6295
|
});
|
6039
6296
|
|
6040
6297
|
// symbols/power_factor_meter_vert.ts
|
6041
|
-
var
|
6042
|
-
var
|
6043
|
-
var
|
6044
|
-
var
|
6045
|
-
var text_cos =
|
6046
|
-
|
6047
|
-
|
6048
|
-
|
6049
|
-
|
6298
|
+
var rotatedSymbol18 = rotateSymbol(power_factor_meter_horz_default);
|
6299
|
+
var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
|
6300
|
+
var ref20 = texts44.find((t) => t.text === "{REF}");
|
6301
|
+
var val16 = texts44.find((t) => t.text === "{VAL}");
|
6302
|
+
var text_cos = texts44.find((t) => t.text === "COS \u03C6");
|
6303
|
+
ref20.x = 0.35;
|
6304
|
+
ref20.y = 0;
|
6305
|
+
val16.x = -0.6;
|
6306
|
+
val16.y = 0;
|
6050
6307
|
text_cos.x = -0.1;
|
6051
6308
|
text_cos.y = 0;
|
6052
|
-
var power_factor_meter_vert_default =
|
6309
|
+
var power_factor_meter_vert_default = rotatedSymbol18;
|
6053
6310
|
|
6054
6311
|
// assets/generated/push_button_normally_closed_momentary.json
|
6055
6312
|
var push_button_normally_closed_momentary_default = {
|
@@ -6152,37 +6409,37 @@ var push_button_normally_closed_momentary_default = {
|
|
6152
6409
|
};
|
6153
6410
|
|
6154
6411
|
// symbols/push_button_normally_closed_momentary_horz.ts
|
6155
|
-
var { paths:
|
6412
|
+
var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31 } = push_button_normally_closed_momentary_default;
|
6156
6413
|
var push_button_normally_closed_momentary_horz_default = defineSymbol({
|
6157
6414
|
primitives: [
|
6158
|
-
...Object.values(
|
6159
|
-
{ ...
|
6160
|
-
{ ...
|
6415
|
+
...Object.values(paths31),
|
6416
|
+
{ ...texts45.top1, anchor: "middle_bottom" },
|
6417
|
+
{ ...texts45.bottom1, anchor: "middle_top" }
|
6161
6418
|
],
|
6162
6419
|
ports: [
|
6163
|
-
{ ...
|
6420
|
+
{ ...refblocks31.left1, labels: ["1"] },
|
6164
6421
|
// TODO add more "standard" labels
|
6165
|
-
{ ...
|
6422
|
+
{ ...refblocks31.right1, labels: ["2"] }
|
6166
6423
|
// TODO add more "standard" labels
|
6167
6424
|
],
|
6168
|
-
size: { width:
|
6169
|
-
center: { x:
|
6425
|
+
size: { width: bounds31.width, height: bounds31.height },
|
6426
|
+
center: { x: bounds31.centerX, y: bounds31.centerY }
|
6170
6427
|
});
|
6171
6428
|
|
6172
6429
|
// symbols/push_button_normally_closed_momentary_vert.ts
|
6173
6430
|
var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
|
6174
|
-
var
|
6431
|
+
var ref21 = rotated7.primitives.find(
|
6175
6432
|
(p) => p.type === "text" && p.text === "{REF}"
|
6176
6433
|
);
|
6177
|
-
var
|
6434
|
+
var val17 = rotated7.primitives.find(
|
6178
6435
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6179
6436
|
);
|
6180
|
-
|
6181
|
-
|
6182
|
-
|
6183
|
-
|
6184
|
-
|
6185
|
-
|
6437
|
+
ref21.anchor = "middle_left";
|
6438
|
+
val17.anchor = "middle_right";
|
6439
|
+
ref21.x = ref21.x - 0.03;
|
6440
|
+
ref21.y = ref21.y;
|
6441
|
+
val17.x = val17.x;
|
6442
|
+
val17.y = 0;
|
6186
6443
|
var push_button_normally_closed_momentary_vert_default = rotated7;
|
6187
6444
|
|
6188
6445
|
// assets/generated/push_button_normally_open_momentary.json
|
@@ -6286,37 +6543,37 @@ var push_button_normally_open_momentary_default = {
|
|
6286
6543
|
};
|
6287
6544
|
|
6288
6545
|
// symbols/push_button_normally_open_momentary_horz.ts
|
6289
|
-
var { paths:
|
6546
|
+
var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32 } = push_button_normally_open_momentary_default;
|
6290
6547
|
var push_button_normally_open_momentary_horz_default = defineSymbol({
|
6291
6548
|
primitives: [
|
6292
|
-
...Object.values(
|
6293
|
-
{ ...
|
6294
|
-
{ ...
|
6549
|
+
...Object.values(paths32),
|
6550
|
+
{ ...texts46.top1, anchor: "middle_bottom" },
|
6551
|
+
{ ...texts46.bottom1, anchor: "middle_top" }
|
6295
6552
|
],
|
6296
6553
|
ports: [
|
6297
|
-
{ ...
|
6554
|
+
{ ...refblocks32.left1, labels: ["1"] },
|
6298
6555
|
// TODO add more "standard" labels
|
6299
|
-
{ ...
|
6556
|
+
{ ...refblocks32.right1, labels: ["2"] }
|
6300
6557
|
// TODO add more "standard" labels
|
6301
6558
|
],
|
6302
|
-
size: { width:
|
6303
|
-
center: { x:
|
6559
|
+
size: { width: bounds32.width, height: bounds32.height },
|
6560
|
+
center: { x: bounds32.centerX, y: bounds32.centerY }
|
6304
6561
|
});
|
6305
6562
|
|
6306
6563
|
// symbols/push_button_normally_open_momentary_vert.ts
|
6307
6564
|
var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
|
6308
|
-
var
|
6565
|
+
var ref22 = rotated8.primitives.find(
|
6309
6566
|
(p) => p.type === "text" && p.text === "{REF}"
|
6310
6567
|
);
|
6311
|
-
var
|
6568
|
+
var val18 = rotated8.primitives.find(
|
6312
6569
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6313
6570
|
);
|
6314
|
-
|
6315
|
-
|
6316
|
-
|
6317
|
-
|
6318
|
-
|
6319
|
-
|
6571
|
+
ref22.anchor = "middle_left";
|
6572
|
+
val18.anchor = "middle_right";
|
6573
|
+
ref22.x = ref22.x + 0.1;
|
6574
|
+
ref22.y = ref22.y;
|
6575
|
+
val18.x = val18.x;
|
6576
|
+
val18.y = 0;
|
6320
6577
|
var push_button_normally_open_momentary_vert_default = rotated8;
|
6321
6578
|
|
6322
6579
|
// assets/generated/resonator.json
|
@@ -6665,11 +6922,11 @@ var resonator_default = {
|
|
6665
6922
|
};
|
6666
6923
|
|
6667
6924
|
// symbols/resonator_horz.ts
|
6668
|
-
var { paths:
|
6925
|
+
var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles23 } = resonator_default;
|
6669
6926
|
var resonator_horz_default = defineSymbol({
|
6670
6927
|
primitives: [
|
6671
|
-
...Object.values(
|
6672
|
-
...Object.values(
|
6928
|
+
...Object.values(paths33),
|
6929
|
+
...Object.values(circles23),
|
6673
6930
|
// { ...texts.top1, anchor: "middle_left" },
|
6674
6931
|
// { ...texts.bottom1, anchor: "middle_left" },
|
6675
6932
|
{
|
@@ -6688,15 +6945,15 @@ var resonator_horz_default = defineSymbol({
|
|
6688
6945
|
}
|
6689
6946
|
],
|
6690
6947
|
ports: [
|
6691
|
-
{ ...
|
6948
|
+
{ ...refblocks33.left1, labels: ["1"] },
|
6692
6949
|
// TODO add more "standard" labels
|
6693
|
-
{ ...
|
6950
|
+
{ ...refblocks33.right1, labels: ["2"] },
|
6694
6951
|
// TODO add more "standard" labels
|
6695
|
-
{ ...
|
6952
|
+
{ ...refblocks33.right2, labels: ["3"] }
|
6696
6953
|
// TODO add more "standard" labels
|
6697
6954
|
],
|
6698
|
-
size: { width:
|
6699
|
-
center: { x:
|
6955
|
+
size: { width: bounds33.width, height: bounds33.height },
|
6956
|
+
center: { x: bounds33.centerX, y: bounds33.centerY }
|
6700
6957
|
});
|
6701
6958
|
|
6702
6959
|
// symbols/resonator_vert.ts
|
@@ -6894,34 +7151,34 @@ var schottky_diode_default = {
|
|
6894
7151
|
};
|
6895
7152
|
|
6896
7153
|
// symbols/schottky_diode_horz.ts
|
6897
|
-
var { paths:
|
7154
|
+
var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles24 } = schottky_diode_default;
|
6898
7155
|
var schottky_diode_horz_default = defineSymbol({
|
6899
7156
|
primitives: [
|
6900
|
-
...Object.values(
|
6901
|
-
...Object.values(
|
6902
|
-
{ ...
|
6903
|
-
{ ...
|
7157
|
+
...Object.values(paths34),
|
7158
|
+
...Object.values(circles24),
|
7159
|
+
{ ...texts48.top1, anchor: "middle_bottom" },
|
7160
|
+
{ ...texts48.bottom1, anchor: "middle_top" }
|
6904
7161
|
],
|
6905
7162
|
ports: [
|
6906
|
-
{ ...
|
7163
|
+
{ ...refblocks34.left1, labels: ["1"] },
|
6907
7164
|
// TODO add more "standard" labels
|
6908
|
-
{ ...
|
7165
|
+
{ ...refblocks34.right1, labels: ["2"] }
|
6909
7166
|
// TODO add more "standard" labels
|
6910
7167
|
],
|
6911
|
-
size: { width:
|
6912
|
-
center: { x:
|
7168
|
+
size: { width: bounds34.width, height: bounds34.height },
|
7169
|
+
center: { x: bounds34.centerX, y: bounds34.centerY }
|
6913
7170
|
});
|
6914
7171
|
|
6915
7172
|
// symbols/schottky_diode_vert.ts
|
6916
7173
|
var rotated9 = rotateSymbol(schottky_diode_horz_default);
|
6917
|
-
var
|
7174
|
+
var ref23 = rotated9.primitives.find(
|
6918
7175
|
(p) => p.type === "text" && p.text === "{REF}"
|
6919
7176
|
);
|
6920
|
-
var
|
7177
|
+
var val19 = rotated9.primitives.find(
|
6921
7178
|
(p) => p.type === "text" && p.text === "{VAL}"
|
6922
7179
|
);
|
6923
|
-
|
6924
|
-
|
7180
|
+
ref23.anchor = "middle_left";
|
7181
|
+
val19.anchor = "middle_right";
|
6925
7182
|
var schottky_diode_vert_default = rotated9;
|
6926
7183
|
|
6927
7184
|
// assets/generated/silicon_controlled_rectifier.json
|
@@ -7068,35 +7325,35 @@ var silicon_controlled_rectifier_default = {
|
|
7068
7325
|
};
|
7069
7326
|
|
7070
7327
|
// symbols/silicon_controlled_rectifier_horz.ts
|
7071
|
-
var { paths:
|
7328
|
+
var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles25 } = silicon_controlled_rectifier_default;
|
7072
7329
|
var silicon_controlled_rectifier_horz_default = defineSymbol({
|
7073
7330
|
primitives: [
|
7074
|
-
...Object.values(
|
7075
|
-
...Object.values(
|
7076
|
-
{ ...
|
7077
|
-
{ ...
|
7331
|
+
...Object.values(paths35),
|
7332
|
+
...Object.values(circles25),
|
7333
|
+
{ ...texts49.top1, anchor: "middle_left" },
|
7334
|
+
{ ...texts49.bottom1, anchor: "middle_top" }
|
7078
7335
|
],
|
7079
7336
|
ports: [
|
7080
|
-
{ ...
|
7337
|
+
{ ...refblocks35.left1, labels: ["1"] },
|
7081
7338
|
// TODO add more "standard" labels
|
7082
|
-
{ ...
|
7339
|
+
{ ...refblocks35.right1, labels: ["2"] },
|
7083
7340
|
// TODO add more "standard" labels
|
7084
|
-
{ ...
|
7341
|
+
{ ...refblocks35.bottom1, labels: ["3"] }
|
7085
7342
|
// TODO add more "standard" labels
|
7086
7343
|
],
|
7087
|
-
size: { width:
|
7088
|
-
center: { x:
|
7344
|
+
size: { width: bounds35.width, height: bounds35.height },
|
7345
|
+
center: { x: bounds35.centerX, y: bounds35.centerY }
|
7089
7346
|
});
|
7090
7347
|
|
7091
7348
|
// symbols/silicon_controlled_rectifier_vert.ts
|
7092
|
-
var
|
7093
|
-
var
|
7349
|
+
var rotatedSymbol19 = rotateSymbol(silicon_controlled_rectifier_horz_default);
|
7350
|
+
var texts50 = rotatedSymbol19.primitives.filter(
|
7094
7351
|
(primitive) => primitive.type === "text"
|
7095
7352
|
);
|
7096
|
-
var
|
7097
|
-
|
7098
|
-
|
7099
|
-
var silicon_controlled_rectifier_vert_default =
|
7353
|
+
var ref24 = texts50.find((text) => text.text === "{REF}");
|
7354
|
+
ref24.y = 0;
|
7355
|
+
ref24.anchor = "middle_left";
|
7356
|
+
var silicon_controlled_rectifier_vert_default = rotatedSymbol19;
|
7100
7357
|
|
7101
7358
|
// assets/generated/SPDT_switch.json
|
7102
7359
|
var SPDT_switch_default = {
|
@@ -7216,38 +7473,38 @@ var SPDT_switch_default = {
|
|
7216
7473
|
};
|
7217
7474
|
|
7218
7475
|
// symbols/SPDT_switch_horz.ts
|
7219
|
-
var { paths:
|
7476
|
+
var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles26 } = SPDT_switch_default;
|
7220
7477
|
var SPDT_switch_horz_default = defineSymbol({
|
7221
7478
|
primitives: [
|
7222
|
-
...Object.values(
|
7223
|
-
...Object.values(
|
7224
|
-
{ ...
|
7225
|
-
{ ...
|
7479
|
+
...Object.values(paths36),
|
7480
|
+
...Object.values(circles26),
|
7481
|
+
{ ...texts51.top1, anchor: "middle_bottom", x: -0.01 },
|
7482
|
+
{ ...texts51.bottom1, anchor: "middle_top", x: -0.01 }
|
7226
7483
|
],
|
7227
7484
|
ports: [
|
7228
|
-
{ ...
|
7485
|
+
{ ...refblocks36.left1, labels: ["1"] },
|
7229
7486
|
// TODO add more "standard" labels
|
7230
|
-
{ ...
|
7487
|
+
{ ...refblocks36.right1, labels: ["3"] },
|
7231
7488
|
// TODO add more "standard" labels
|
7232
|
-
{ ...
|
7489
|
+
{ ...refblocks36.right2, labels: ["2"] }
|
7233
7490
|
// TODO add more "standard" labels
|
7234
7491
|
],
|
7235
|
-
size: { width:
|
7236
|
-
center: { x:
|
7492
|
+
size: { width: bounds36.width, height: bounds36.height },
|
7493
|
+
center: { x: bounds36.centerX, y: bounds36.centerY }
|
7237
7494
|
});
|
7238
7495
|
|
7239
7496
|
// symbols/SPDT_switch_vert.ts
|
7240
|
-
var
|
7241
|
-
var
|
7242
|
-
var
|
7243
|
-
|
7244
|
-
|
7245
|
-
|
7246
|
-
var
|
7247
|
-
|
7248
|
-
|
7249
|
-
|
7250
|
-
var SPDT_switch_vert_default =
|
7497
|
+
var rotatedSymbol20 = rotateSymbol(SPDT_switch_horz_default);
|
7498
|
+
var texts52 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
|
7499
|
+
var val20 = texts52.find((t) => t.text === "{VAL}");
|
7500
|
+
val20.anchor = "middle_right";
|
7501
|
+
val20.x = -0.3;
|
7502
|
+
val20.y = 0;
|
7503
|
+
var ref25 = texts52.find((t) => t.text === "{REF}");
|
7504
|
+
ref25.anchor = "middle_left";
|
7505
|
+
ref25.x = 0.3;
|
7506
|
+
ref25.y = 0;
|
7507
|
+
var SPDT_switch_vert_default = rotatedSymbol20;
|
7251
7508
|
|
7252
7509
|
// assets/generated/SPST_switch.json
|
7253
7510
|
var SPST_switch_default = {
|
@@ -7344,36 +7601,36 @@ var SPST_switch_default = {
|
|
7344
7601
|
};
|
7345
7602
|
|
7346
7603
|
// symbols/SPST_switch_horz.ts
|
7347
|
-
var { paths:
|
7604
|
+
var { paths: paths37, texts: texts53, bounds: bounds37, refblocks: refblocks37, circles: circles27 } = SPST_switch_default;
|
7348
7605
|
var SPST_switch_horz_default = defineSymbol({
|
7349
7606
|
primitives: [
|
7350
|
-
...Object.values(
|
7351
|
-
...Object.values(
|
7352
|
-
{ ...
|
7353
|
-
{ ...
|
7607
|
+
...Object.values(paths37),
|
7608
|
+
...Object.values(circles27),
|
7609
|
+
{ ...texts53.top1, anchor: "middle_bottom", x: 0 },
|
7610
|
+
{ ...texts53.bottom1, anchor: "middle_top", x: 0 }
|
7354
7611
|
],
|
7355
7612
|
ports: [
|
7356
|
-
{ ...
|
7613
|
+
{ ...refblocks37.left1, labels: ["1"] },
|
7357
7614
|
// TODO add more "standard" labels
|
7358
|
-
{ ...
|
7615
|
+
{ ...refblocks37.right1, labels: ["2"] }
|
7359
7616
|
// TODO add more "standard" labels
|
7360
7617
|
],
|
7361
|
-
size: { width:
|
7362
|
-
center: { x:
|
7618
|
+
size: { width: bounds37.width, height: bounds37.height },
|
7619
|
+
center: { x: bounds37.centerX, y: bounds37.centerY }
|
7363
7620
|
});
|
7364
7621
|
|
7365
7622
|
// symbols/SPST_switch_vert.ts
|
7366
|
-
var
|
7367
|
-
var
|
7368
|
-
var
|
7369
|
-
|
7370
|
-
|
7371
|
-
|
7372
|
-
var
|
7373
|
-
|
7374
|
-
|
7375
|
-
|
7376
|
-
var SPST_switch_vert_default =
|
7623
|
+
var rotatedSymbol21 = rotateSymbol(SPST_switch_horz_default);
|
7624
|
+
var texts54 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
|
7625
|
+
var val21 = texts54.find((t) => t.text === "{VAL}");
|
7626
|
+
val21.anchor = "middle_right";
|
7627
|
+
val21.x = -0.3;
|
7628
|
+
val21.y = 0;
|
7629
|
+
var ref26 = texts54.find((t) => t.text === "{REF}");
|
7630
|
+
ref26.anchor = "middle_left";
|
7631
|
+
ref26.x = 0.3;
|
7632
|
+
ref26.y = 0;
|
7633
|
+
var SPST_switch_vert_default = rotatedSymbol21;
|
7377
7634
|
|
7378
7635
|
// assets/generated/step_recovery_diode.json
|
7379
7636
|
var step_recovery_diode_default = {
|
@@ -7537,11 +7794,11 @@ var step_recovery_diode_default = {
|
|
7537
7794
|
};
|
7538
7795
|
|
7539
7796
|
// symbols/step_recovery_diode_horz.ts
|
7540
|
-
var { paths:
|
7797
|
+
var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles28 } = step_recovery_diode_default;
|
7541
7798
|
var step_recovery_diode_horz_default = defineSymbol({
|
7542
7799
|
primitives: [
|
7543
|
-
...Object.values(
|
7544
|
-
...Object.values(
|
7800
|
+
...Object.values(paths38),
|
7801
|
+
...Object.values(circles28),
|
7545
7802
|
// { ...texts.top1, anchor: "middle_left" },
|
7546
7803
|
// { ...texts.bottom1, anchor: "middle_left" },
|
7547
7804
|
{
|
@@ -7560,13 +7817,13 @@ var step_recovery_diode_horz_default = defineSymbol({
|
|
7560
7817
|
}
|
7561
7818
|
],
|
7562
7819
|
ports: [
|
7563
|
-
{ ...
|
7820
|
+
{ ...refblocks38.left1, labels: ["1"] },
|
7564
7821
|
// TODO add more "standard" labels
|
7565
|
-
{ ...
|
7822
|
+
{ ...refblocks38.right1, labels: ["2"] }
|
7566
7823
|
// TODO add more "standard" labels
|
7567
7824
|
],
|
7568
|
-
size: { width:
|
7569
|
-
center: { x:
|
7825
|
+
size: { width: bounds38.width, height: bounds38.height },
|
7826
|
+
center: { x: bounds38.centerX, y: bounds38.centerY }
|
7570
7827
|
});
|
7571
7828
|
|
7572
7829
|
// symbols/step_recovery_diode_vert.ts
|
@@ -7763,36 +8020,36 @@ var triac_default = {
|
|
7763
8020
|
};
|
7764
8021
|
|
7765
8022
|
// symbols/triac_horz.ts
|
7766
|
-
var { paths:
|
8023
|
+
var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles29 } = triac_default;
|
7767
8024
|
var triac_horz_default = defineSymbol({
|
7768
8025
|
primitives: [
|
7769
|
-
...Object.values(
|
7770
|
-
...Object.values(
|
7771
|
-
{ ...
|
7772
|
-
{ ...
|
8026
|
+
...Object.values(paths39),
|
8027
|
+
...Object.values(circles29),
|
8028
|
+
{ ...texts56.top1, anchor: "middle_left" },
|
8029
|
+
{ ...texts56.bottom1, anchor: "middle_top" }
|
7773
8030
|
],
|
7774
8031
|
ports: [
|
7775
|
-
{ ...
|
8032
|
+
{ ...refblocks39.left1, labels: ["1"] },
|
7776
8033
|
// TODO add more "standard" labels
|
7777
|
-
{ ...
|
8034
|
+
{ ...refblocks39.right1, labels: ["2"] },
|
7778
8035
|
// TODO add more "standard" labels
|
7779
|
-
{ ...
|
8036
|
+
{ ...refblocks39.bottom1, labels: ["3"] }
|
7780
8037
|
// TODO add more "standard" labels
|
7781
8038
|
],
|
7782
|
-
size: { width:
|
7783
|
-
center: { x:
|
8039
|
+
size: { width: bounds39.width, height: bounds39.height },
|
8040
|
+
center: { x: bounds39.centerX, y: bounds39.centerY }
|
7784
8041
|
});
|
7785
8042
|
|
7786
8043
|
// symbols/triac_vert.ts
|
7787
|
-
var
|
7788
|
-
var
|
8044
|
+
var rotatedSymbol22 = rotateSymbol(triac_horz_default);
|
8045
|
+
var texts57 = rotatedSymbol22.primitives.filter(
|
7789
8046
|
(primitive) => primitive.type === "text"
|
7790
8047
|
);
|
7791
|
-
var
|
7792
|
-
var
|
7793
|
-
|
7794
|
-
|
7795
|
-
var triac_vert_default =
|
8048
|
+
var ref27 = texts57.find((text) => text.text === "{REF}");
|
8049
|
+
var val22 = texts57.find((text) => text.text === "{VAL}");
|
8050
|
+
ref27.y = 0;
|
8051
|
+
val22.y = 0;
|
8052
|
+
var triac_vert_default = rotatedSymbol22;
|
7796
8053
|
|
7797
8054
|
// assets/generated/tunnel_diode.json
|
7798
8055
|
var tunnel_diode_default = {
|
@@ -7956,34 +8213,34 @@ var tunnel_diode_default = {
|
|
7956
8213
|
};
|
7957
8214
|
|
7958
8215
|
// symbols/tunnel_diode_horz.ts
|
7959
|
-
var { paths:
|
8216
|
+
var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles30 } = tunnel_diode_default;
|
7960
8217
|
var tunnel_diode_horz_default = defineSymbol({
|
7961
8218
|
primitives: [
|
7962
|
-
...Object.values(
|
7963
|
-
...Object.values(
|
7964
|
-
{ ...
|
7965
|
-
{ ...
|
8219
|
+
...Object.values(paths40),
|
8220
|
+
...Object.values(circles30),
|
8221
|
+
{ ...texts58.top1, anchor: "middle_bottom" },
|
8222
|
+
{ ...texts58.bottom1, anchor: "middle_top" }
|
7966
8223
|
],
|
7967
8224
|
ports: [
|
7968
|
-
{ ...
|
8225
|
+
{ ...refblocks40.left1, labels: ["1"] },
|
7969
8226
|
// TODO add more "standard" labels
|
7970
|
-
{ ...
|
8227
|
+
{ ...refblocks40.right1, labels: ["2"] }
|
7971
8228
|
// TODO add more "standard" labels
|
7972
8229
|
],
|
7973
|
-
size: { width:
|
7974
|
-
center: { x:
|
8230
|
+
size: { width: bounds40.width, height: bounds40.height },
|
8231
|
+
center: { x: bounds40.centerX, y: bounds40.centerY }
|
7975
8232
|
});
|
7976
8233
|
|
7977
8234
|
// symbols/tunnel_diode_vert.ts
|
7978
8235
|
var rotated10 = rotateSymbol(tunnel_diode_horz_default);
|
7979
|
-
var
|
8236
|
+
var ref28 = rotated10.primitives.find(
|
7980
8237
|
(p) => p.type === "text" && p.text === "{REF}"
|
7981
8238
|
);
|
7982
|
-
var
|
8239
|
+
var val23 = rotated10.primitives.find(
|
7983
8240
|
(p) => p.type === "text" && p.text === "{VAL}"
|
7984
8241
|
);
|
7985
|
-
|
7986
|
-
|
8242
|
+
ref28.anchor = "middle_left";
|
8243
|
+
val23.anchor = "middle_right";
|
7987
8244
|
var tunnel_diode_vert_default = rotated10;
|
7988
8245
|
|
7989
8246
|
// assets/generated/unijunction_transistor.json
|
@@ -8154,37 +8411,37 @@ var unijunction_transistor_default = {
|
|
8154
8411
|
};
|
8155
8412
|
|
8156
8413
|
// symbols/unijunction_transistor_horz.ts
|
8157
|
-
var { paths:
|
8414
|
+
var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles31 } = unijunction_transistor_default;
|
8158
8415
|
var unijunction_transistor_horz_default = defineSymbol({
|
8159
8416
|
primitives: [
|
8160
|
-
...Object.values(
|
8161
|
-
...Object.values(
|
8162
|
-
{ ...
|
8163
|
-
{ ...
|
8417
|
+
...Object.values(paths41),
|
8418
|
+
...Object.values(circles31),
|
8419
|
+
{ ...texts59.top1, anchor: "middle_left" },
|
8420
|
+
{ ...texts59.bottom1, anchor: "middle_right" }
|
8164
8421
|
],
|
8165
8422
|
ports: [
|
8166
|
-
{ ...
|
8423
|
+
{ ...refblocks41.top1, labels: ["1"] },
|
8167
8424
|
// TODO add more "standard" labels
|
8168
|
-
{ ...
|
8425
|
+
{ ...refblocks41.bottom1, labels: ["2"] },
|
8169
8426
|
// TODO add more "standard" labels
|
8170
|
-
{ ...
|
8427
|
+
{ ...refblocks41.left1, labels: ["3"] }
|
8171
8428
|
// TODO add more "standard" labels
|
8172
8429
|
],
|
8173
|
-
size: { width:
|
8174
|
-
center: { x:
|
8430
|
+
size: { width: bounds41.width, height: bounds41.height },
|
8431
|
+
center: { x: bounds41.centerX, y: bounds41.centerY }
|
8175
8432
|
});
|
8176
8433
|
|
8177
8434
|
// symbols/unijunction_transistor_vert.ts
|
8178
|
-
var
|
8179
|
-
var
|
8435
|
+
var rotatedSymbol23 = rotateSymbol(unijunction_transistor_horz_default);
|
8436
|
+
var texts60 = rotatedSymbol23.primitives.filter(
|
8180
8437
|
(primitive) => primitive.type === "text"
|
8181
8438
|
);
|
8182
|
-
var
|
8183
|
-
|
8184
|
-
var
|
8185
|
-
|
8186
|
-
|
8187
|
-
var unijunction_transistor_vert_default =
|
8439
|
+
var ref29 = texts60.find((text) => text.text === "{REF}");
|
8440
|
+
ref29.y = 0.1;
|
8441
|
+
var val24 = texts60.find((text) => text.text === "{VAL}");
|
8442
|
+
val24.y = 0.1;
|
8443
|
+
val24.x = -0.4;
|
8444
|
+
var unijunction_transistor_vert_default = rotatedSymbol23;
|
8188
8445
|
|
8189
8446
|
// assets/generated/var_meter.json
|
8190
8447
|
var var_meter_default = {
|
@@ -8273,33 +8530,33 @@ var var_meter_default = {
|
|
8273
8530
|
};
|
8274
8531
|
|
8275
8532
|
// symbols/var_meter_horz.ts
|
8276
|
-
var { paths:
|
8533
|
+
var { paths: paths42, texts: texts61, bounds: bounds42, refblocks: refblocks42, circles: circles32 } = var_meter_default;
|
8277
8534
|
var var_meter_horz_default = defineSymbol({
|
8278
8535
|
primitives: [
|
8279
|
-
...Object.values(
|
8280
|
-
...Object.values(
|
8536
|
+
...Object.values(paths42),
|
8537
|
+
...Object.values(circles32),
|
8281
8538
|
{
|
8282
|
-
...
|
8539
|
+
...texts61.top1,
|
8283
8540
|
x: 0,
|
8284
8541
|
y: -0.3594553499999995,
|
8285
8542
|
anchor: "middle_bottom"
|
8286
8543
|
},
|
8287
8544
|
{
|
8288
|
-
...
|
8545
|
+
...texts61.bottom1,
|
8289
8546
|
x: 0,
|
8290
8547
|
y: 0.35,
|
8291
8548
|
anchor: "middle_top"
|
8292
8549
|
},
|
8293
|
-
{ ...
|
8550
|
+
{ ...texts61.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: "center" }
|
8294
8551
|
],
|
8295
8552
|
ports: [
|
8296
|
-
{ ...
|
8553
|
+
{ ...refblocks42.left1, labels: ["1"] },
|
8297
8554
|
// TODO add more "standard" labels
|
8298
|
-
{ ...
|
8555
|
+
{ ...refblocks42.right1, labels: ["2"] }
|
8299
8556
|
// TODO add more "standard" labels
|
8300
8557
|
],
|
8301
|
-
size: { width:
|
8302
|
-
center: { x:
|
8558
|
+
size: { width: bounds42.width, height: bounds42.height },
|
8559
|
+
center: { x: bounds42.centerX, y: bounds42.centerY }
|
8303
8560
|
});
|
8304
8561
|
|
8305
8562
|
// symbols/var_meter_vert.ts
|
@@ -8452,34 +8709,34 @@ var varactor_diode_default = {
|
|
8452
8709
|
};
|
8453
8710
|
|
8454
8711
|
// symbols/varactor_diode_horz.ts
|
8455
|
-
var { paths:
|
8712
|
+
var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles33 } = varactor_diode_default;
|
8456
8713
|
var varactor_diode_horz_default = defineSymbol({
|
8457
8714
|
primitives: [
|
8458
|
-
...Object.values(
|
8459
|
-
...Object.values(
|
8460
|
-
{ ...
|
8461
|
-
{ ...
|
8715
|
+
...Object.values(paths43),
|
8716
|
+
...Object.values(circles33),
|
8717
|
+
{ ...texts62.top1, anchor: "middle_bottom" },
|
8718
|
+
{ ...texts62.bottom1, anchor: "middle_top" }
|
8462
8719
|
],
|
8463
8720
|
ports: [
|
8464
|
-
{ ...
|
8721
|
+
{ ...refblocks43.left1, labels: ["1"] },
|
8465
8722
|
// TODO add more "standard" labels
|
8466
|
-
{ ...
|
8723
|
+
{ ...refblocks43.right1, labels: ["2"] }
|
8467
8724
|
// TODO add more "standard" labels
|
8468
8725
|
],
|
8469
|
-
size: { width:
|
8470
|
-
center: { x:
|
8726
|
+
size: { width: bounds43.width, height: bounds43.height },
|
8727
|
+
center: { x: bounds43.centerX, y: bounds43.centerY }
|
8471
8728
|
});
|
8472
8729
|
|
8473
8730
|
// symbols/varactor_diode_vert.ts
|
8474
8731
|
var rotated11 = rotateSymbol(varactor_diode_horz_default);
|
8475
|
-
var
|
8732
|
+
var ref30 = rotated11.primitives.find(
|
8476
8733
|
(p) => p.type === "text" && p.text === "{REF}"
|
8477
8734
|
);
|
8478
|
-
var
|
8735
|
+
var val25 = rotated11.primitives.find(
|
8479
8736
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8480
8737
|
);
|
8481
|
-
|
8482
|
-
|
8738
|
+
ref30.anchor = "middle_left";
|
8739
|
+
val25.anchor = "middle_right";
|
8483
8740
|
var varactor_diode_vert_default = rotated11;
|
8484
8741
|
|
8485
8742
|
// assets/generated/varistor.json
|
@@ -8614,26 +8871,26 @@ var varistor_default = {
|
|
8614
8871
|
};
|
8615
8872
|
|
8616
8873
|
// symbols/varistor_horz.ts
|
8617
|
-
var { paths:
|
8874
|
+
var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44 } = varistor_default;
|
8618
8875
|
var varistor_horz_default = defineSymbol({
|
8619
8876
|
primitives: [
|
8620
|
-
...Object.values(
|
8621
|
-
{ ...
|
8622
|
-
{ ...
|
8877
|
+
...Object.values(paths44),
|
8878
|
+
{ ...texts63.top1, anchor: "middle_left" },
|
8879
|
+
{ ...texts63.bottom1, anchor: "middle_right" }
|
8623
8880
|
],
|
8624
8881
|
ports: [
|
8625
8882
|
{
|
8626
|
-
...
|
8883
|
+
...refblocks44.left1,
|
8627
8884
|
labels: ["1", "-"]
|
8628
8885
|
},
|
8629
8886
|
{
|
8630
|
-
...
|
8887
|
+
...refblocks44.right1,
|
8631
8888
|
labels: ["2", "+"]
|
8632
8889
|
}
|
8633
8890
|
],
|
8634
|
-
size: { width:
|
8891
|
+
size: { width: bounds44.width, height: bounds44.height },
|
8635
8892
|
//{ width: 1, height: 0.24 },
|
8636
|
-
center: { x:
|
8893
|
+
center: { x: bounds44.centerX, y: bounds44.centerY }
|
8637
8894
|
});
|
8638
8895
|
|
8639
8896
|
// symbols/varistor_vert.ts
|
@@ -8739,11 +8996,11 @@ var volt_meter_default = {
|
|
8739
8996
|
};
|
8740
8997
|
|
8741
8998
|
// symbols/volt_meter_horz.ts
|
8742
|
-
var { paths:
|
8999
|
+
var { paths: paths45, texts: texts64, bounds: bounds45, circles: circles34, refblocks: refblocks45 } = volt_meter_default;
|
8743
9000
|
var volt_meter_horz_default = defineSymbol({
|
8744
9001
|
primitives: [
|
8745
|
-
...Object.values(
|
8746
|
-
...Object.values(
|
9002
|
+
...Object.values(paths45),
|
9003
|
+
...Object.values(circles34),
|
8747
9004
|
{
|
8748
9005
|
type: "text",
|
8749
9006
|
text: "{REF}",
|
@@ -8760,13 +9017,13 @@ var volt_meter_horz_default = defineSymbol({
|
|
8760
9017
|
}
|
8761
9018
|
],
|
8762
9019
|
ports: [
|
8763
|
-
{ ...
|
9020
|
+
{ ...refblocks45.left1, labels: ["1"] },
|
8764
9021
|
// TODO add more "standard" labels
|
8765
|
-
{ ...
|
9022
|
+
{ ...refblocks45.right1, labels: ["2"] }
|
8766
9023
|
// TODO add more "standard" labels
|
8767
9024
|
],
|
8768
|
-
size: { width:
|
8769
|
-
center: { x:
|
9025
|
+
size: { width: bounds45.width, height: bounds45.height },
|
9026
|
+
center: { x: bounds45.centerX, y: bounds45.centerY }
|
8770
9027
|
});
|
8771
9028
|
|
8772
9029
|
// symbols/volt_meter_vert.ts
|
@@ -8919,34 +9176,34 @@ var zener_diode_default = {
|
|
8919
9176
|
};
|
8920
9177
|
|
8921
9178
|
// symbols/zener_diode_horz.ts
|
8922
|
-
var { paths:
|
9179
|
+
var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles35 } = zener_diode_default;
|
8923
9180
|
var zener_diode_horz_default = defineSymbol({
|
8924
9181
|
primitives: [
|
8925
|
-
...Object.values(
|
8926
|
-
...Object.values(
|
8927
|
-
{ ...
|
8928
|
-
{ ...
|
9182
|
+
...Object.values(paths46),
|
9183
|
+
...Object.values(circles35),
|
9184
|
+
{ ...texts65.top1, anchor: "middle_bottom" },
|
9185
|
+
{ ...texts65.bottom1, anchor: "middle_top" }
|
8929
9186
|
],
|
8930
9187
|
ports: [
|
8931
|
-
{ ...
|
9188
|
+
{ ...refblocks46.left1, labels: ["1"] },
|
8932
9189
|
// TODO add more "standard" labels
|
8933
|
-
{ ...
|
9190
|
+
{ ...refblocks46.right1, labels: ["2"] }
|
8934
9191
|
// TODO add more "standard" labels
|
8935
9192
|
],
|
8936
|
-
size: { width:
|
8937
|
-
center: { x:
|
9193
|
+
size: { width: bounds46.width, height: bounds46.height },
|
9194
|
+
center: { x: bounds46.centerX, y: bounds46.centerY }
|
8938
9195
|
});
|
8939
9196
|
|
8940
9197
|
// symbols/zener_diode_vert.ts
|
8941
9198
|
var rotated12 = rotateSymbol(zener_diode_horz_default);
|
8942
|
-
var
|
9199
|
+
var ref31 = rotated12.primitives.find(
|
8943
9200
|
(p) => p.type === "text" && p.text === "{REF}"
|
8944
9201
|
);
|
8945
|
-
var
|
9202
|
+
var val26 = rotated12.primitives.find(
|
8946
9203
|
(p) => p.type === "text" && p.text === "{VAL}"
|
8947
9204
|
);
|
8948
|
-
|
8949
|
-
|
9205
|
+
ref31.anchor = "middle_left";
|
9206
|
+
val26.anchor = "middle_right";
|
8950
9207
|
var zener_diode_vert_default = rotated12;
|
8951
9208
|
|
8952
9209
|
// generated/symbols-index.ts
|
@@ -8989,6 +9246,8 @@ var symbols_index_default = {
|
|
8989
9246
|
"mushroom_head_normally_open_momentary_vert": mushroom_head_normally_open_momentary_vert_default,
|
8990
9247
|
"n_channel_d_mosfet_transistor_horz": n_channel_d_mosfet_transistor_horz_default,
|
8991
9248
|
"n_channel_d_mosfet_transistor_vert": n_channel_d_mosfet_transistor_vert_default,
|
9249
|
+
"n_channel_e_mosfet_transistor_horz": n_channel_e_mosfet_transistor_horz_default,
|
9250
|
+
"n_channel_e_mosfet_transistor_vert": n_channel_e_mosfet_transistor_vert_default,
|
8992
9251
|
"njfet_transistor_horz": njfet_transistor_horz_default,
|
8993
9252
|
"njfet_transistor_vert": njfet_transistor_vert_default,
|
8994
9253
|
"npn_bipolar_transistor_horz": npn_bipolar_transistor_horz_default,
|