jscad-electronics 0.0.103 → 0.0.104
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 +3 -1
- package/dist/index.js +138 -81
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +54 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -246,6 +246,8 @@ declare const SOD323: () => react_jsx_runtime.JSX.Element;
|
|
|
246
246
|
|
|
247
247
|
declare const SOD323F: () => react_jsx_runtime.JSX.Element;
|
|
248
248
|
|
|
249
|
+
declare const SOD323FL: () => react_jsx_runtime.JSX.Element;
|
|
250
|
+
|
|
249
251
|
declare const SOD923: () => react_jsx_runtime.JSX.Element;
|
|
250
252
|
|
|
251
253
|
declare const SOT223: () => react_jsx_runtime.JSX.Element;
|
|
@@ -321,4 +323,4 @@ declare const TO220: () => react_jsx_runtime.JSX.Element;
|
|
|
321
323
|
|
|
322
324
|
declare const TO92: () => react_jsx_runtime.JSX.Element;
|
|
323
325
|
|
|
324
|
-
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, DFN, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, LQFP, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MicroMELF, type MicroMELFProps, PinRow, QFN, QFP, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD123W, SOD128, SOD323, SOD323F, SOD523, SOD882, SOD923, SOT223, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, TO220, TO92, TQFP, Tssop, VSSOP };
|
|
326
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, DFN, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, LQFP, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MicroMELF, type MicroMELFProps, PinRow, QFN, QFP, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD123W, SOD128, SOD323, SOD323F, SOD323FL, SOD523, SOD882, SOD923, SOT223, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, TO220, TO92, TQFP, Tssop, VSSOP };
|
package/dist/index.js
CHANGED
|
@@ -3921,15 +3921,69 @@ var SOD323F = () => {
|
|
|
3921
3921
|
] });
|
|
3922
3922
|
};
|
|
3923
3923
|
|
|
3924
|
+
// lib/sod-323FL.tsx
|
|
3925
|
+
import { Colorize as Colorize30, Cuboid as Cuboid37 } from "jscad-fiber";
|
|
3926
|
+
import { Fragment as Fragment52, jsx as jsx57, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
3927
|
+
var SOD323FL = () => {
|
|
3928
|
+
const fullWidth = 1.775;
|
|
3929
|
+
const bodyLength10 = 1.25;
|
|
3930
|
+
const bodyHeight = 0.725;
|
|
3931
|
+
const padWidth = 0.325;
|
|
3932
|
+
const padLength = 0.4;
|
|
3933
|
+
const padThickness = 0.13;
|
|
3934
|
+
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
3935
|
+
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
3936
|
+
const taperOffset = 0.2;
|
|
3937
|
+
return /* @__PURE__ */ jsxs55(Fragment52, { children: [
|
|
3938
|
+
/* @__PURE__ */ jsx57(
|
|
3939
|
+
Cuboid37,
|
|
3940
|
+
{
|
|
3941
|
+
color: "#ccc",
|
|
3942
|
+
size: [padLength, padWidth, padThickness],
|
|
3943
|
+
center: [leftPadCenterX, 0, padThickness / 2]
|
|
3944
|
+
}
|
|
3945
|
+
),
|
|
3946
|
+
/* @__PURE__ */ jsx57(
|
|
3947
|
+
Cuboid37,
|
|
3948
|
+
{
|
|
3949
|
+
color: "#ccc",
|
|
3950
|
+
size: [padLength, padWidth, padThickness],
|
|
3951
|
+
center: [rightPadCenterX, 0, padThickness / 2]
|
|
3952
|
+
}
|
|
3953
|
+
),
|
|
3954
|
+
/* @__PURE__ */ jsx57(Colorize30, { color: "#222", children: /* @__PURE__ */ jsx57(
|
|
3955
|
+
ChipBody,
|
|
3956
|
+
{
|
|
3957
|
+
width: fullWidth,
|
|
3958
|
+
length: bodyLength10,
|
|
3959
|
+
height: bodyHeight,
|
|
3960
|
+
center: { x: 0, y: 0, z: 0 },
|
|
3961
|
+
heightAboveSurface: 0,
|
|
3962
|
+
straightHeightRatio: 0.7,
|
|
3963
|
+
taperRatio: 0.06,
|
|
3964
|
+
includeNotch: false
|
|
3965
|
+
}
|
|
3966
|
+
) }),
|
|
3967
|
+
/* @__PURE__ */ jsx57(
|
|
3968
|
+
Cuboid37,
|
|
3969
|
+
{
|
|
3970
|
+
color: "#777",
|
|
3971
|
+
size: [fullWidth / 3, bodyLength10 - 0.05, 0.02],
|
|
3972
|
+
center: [leftPadCenterX + fullWidth / 4.4 + taperOffset, 0, bodyHeight]
|
|
3973
|
+
}
|
|
3974
|
+
)
|
|
3975
|
+
] });
|
|
3976
|
+
};
|
|
3977
|
+
|
|
3924
3978
|
// lib/Footprinter3d.tsx
|
|
3925
|
-
import { jsx as
|
|
3979
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
3926
3980
|
var Footprinter3d = ({ footprint }) => {
|
|
3927
3981
|
const fpJson = fp3.string(footprint).json();
|
|
3928
3982
|
switch (fpJson.fn) {
|
|
3929
3983
|
case "dip":
|
|
3930
|
-
return /* @__PURE__ */
|
|
3984
|
+
return /* @__PURE__ */ jsx58(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
3931
3985
|
case "tssop":
|
|
3932
|
-
return /* @__PURE__ */
|
|
3986
|
+
return /* @__PURE__ */ jsx58(
|
|
3933
3987
|
Tssop,
|
|
3934
3988
|
{
|
|
3935
3989
|
pinCount: fpJson.num_pins,
|
|
@@ -3940,7 +3994,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3940
3994
|
}
|
|
3941
3995
|
);
|
|
3942
3996
|
case "msop":
|
|
3943
|
-
return /* @__PURE__ */
|
|
3997
|
+
return /* @__PURE__ */ jsx58(
|
|
3944
3998
|
MSOP,
|
|
3945
3999
|
{
|
|
3946
4000
|
pinCount: fpJson.num_pins,
|
|
@@ -3951,7 +4005,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3951
4005
|
}
|
|
3952
4006
|
);
|
|
3953
4007
|
case "vssop":
|
|
3954
|
-
return /* @__PURE__ */
|
|
4008
|
+
return /* @__PURE__ */ jsx58(
|
|
3955
4009
|
VSSOP,
|
|
3956
4010
|
{
|
|
3957
4011
|
pinCount: fpJson.num_pins,
|
|
@@ -3963,7 +4017,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3963
4017
|
}
|
|
3964
4018
|
);
|
|
3965
4019
|
case "qfp":
|
|
3966
|
-
return /* @__PURE__ */
|
|
4020
|
+
return /* @__PURE__ */ jsx58(
|
|
3967
4021
|
QFP,
|
|
3968
4022
|
{
|
|
3969
4023
|
pinCount: fpJson.num_pins,
|
|
@@ -3974,12 +4028,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3974
4028
|
}
|
|
3975
4029
|
);
|
|
3976
4030
|
case "tqfp":
|
|
3977
|
-
return /* @__PURE__ */
|
|
4031
|
+
return /* @__PURE__ */ jsx58(tqfp_default, {});
|
|
3978
4032
|
case "lqfp":
|
|
3979
|
-
return /* @__PURE__ */
|
|
4033
|
+
return /* @__PURE__ */ jsx58(LQFP, { pinCount: fpJson.num_pins });
|
|
3980
4034
|
case "qfn": {
|
|
3981
4035
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
3982
|
-
return /* @__PURE__ */
|
|
4036
|
+
return /* @__PURE__ */ jsx58(
|
|
3983
4037
|
qfn_default,
|
|
3984
4038
|
{
|
|
3985
4039
|
num_pins: fpJson.num_pins,
|
|
@@ -3997,7 +4051,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3997
4051
|
}
|
|
3998
4052
|
case "dfn": {
|
|
3999
4053
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4000
|
-
return /* @__PURE__ */
|
|
4054
|
+
return /* @__PURE__ */ jsx58(
|
|
4001
4055
|
DFN,
|
|
4002
4056
|
{
|
|
4003
4057
|
num_pins: fpJson.num_pins,
|
|
@@ -4015,47 +4069,49 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4015
4069
|
}
|
|
4016
4070
|
case "pinrow":
|
|
4017
4071
|
if (fpJson.male)
|
|
4018
|
-
return /* @__PURE__ */
|
|
4072
|
+
return /* @__PURE__ */ jsx58(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
4019
4073
|
if (fpJson.female)
|
|
4020
|
-
return /* @__PURE__ */
|
|
4074
|
+
return /* @__PURE__ */ jsx58(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
4021
4075
|
case "cap": {
|
|
4022
4076
|
switch (fpJson.imperial) {
|
|
4023
4077
|
case "0402":
|
|
4024
|
-
return /* @__PURE__ */
|
|
4078
|
+
return /* @__PURE__ */ jsx58(A0402, { color: "#856c4d" });
|
|
4025
4079
|
case "0603":
|
|
4026
|
-
return /* @__PURE__ */
|
|
4080
|
+
return /* @__PURE__ */ jsx58(A0603, { color: "#856c4d" });
|
|
4027
4081
|
case "0805":
|
|
4028
|
-
return /* @__PURE__ */
|
|
4082
|
+
return /* @__PURE__ */ jsx58(A0805, { color: "#856c4d" });
|
|
4029
4083
|
case "0201":
|
|
4030
|
-
return /* @__PURE__ */
|
|
4084
|
+
return /* @__PURE__ */ jsx58(A0201, { color: "#856c4d" });
|
|
4031
4085
|
case "01005":
|
|
4032
|
-
return /* @__PURE__ */
|
|
4086
|
+
return /* @__PURE__ */ jsx58(A01005, { color: "#856c4d" });
|
|
4033
4087
|
case "1206":
|
|
4034
|
-
return /* @__PURE__ */
|
|
4088
|
+
return /* @__PURE__ */ jsx58(A1206, { color: "#856c4d" });
|
|
4035
4089
|
case "1210":
|
|
4036
|
-
return /* @__PURE__ */
|
|
4090
|
+
return /* @__PURE__ */ jsx58(A1210, { color: "#856c4d" });
|
|
4037
4091
|
case "2010":
|
|
4038
|
-
return /* @__PURE__ */
|
|
4092
|
+
return /* @__PURE__ */ jsx58(A2010, { color: "#856c4d" });
|
|
4039
4093
|
case "2512":
|
|
4040
|
-
return /* @__PURE__ */
|
|
4094
|
+
return /* @__PURE__ */ jsx58(A2512, { color: "#856c4d" });
|
|
4041
4095
|
}
|
|
4042
4096
|
}
|
|
4043
4097
|
case "sot235":
|
|
4044
|
-
return /* @__PURE__ */
|
|
4098
|
+
return /* @__PURE__ */ jsx58(SOT_235_default, {});
|
|
4045
4099
|
case "sot457":
|
|
4046
|
-
return /* @__PURE__ */
|
|
4100
|
+
return /* @__PURE__ */ jsx58(SOT457, {});
|
|
4047
4101
|
case "sot223":
|
|
4048
|
-
return /* @__PURE__ */
|
|
4102
|
+
return /* @__PURE__ */ jsx58(SOT223, {});
|
|
4049
4103
|
case "sot23w":
|
|
4050
|
-
return /* @__PURE__ */
|
|
4104
|
+
return /* @__PURE__ */ jsx58(SOT23W, {});
|
|
4051
4105
|
case "sot323":
|
|
4052
|
-
return /* @__PURE__ */
|
|
4106
|
+
return /* @__PURE__ */ jsx58(SOT323, {});
|
|
4053
4107
|
case "sod323f":
|
|
4054
|
-
return /* @__PURE__ */
|
|
4108
|
+
return /* @__PURE__ */ jsx58(SOD323F, {});
|
|
4109
|
+
case "sod323fl":
|
|
4110
|
+
return /* @__PURE__ */ jsx58(SOD323FL, {});
|
|
4055
4111
|
case "sot363":
|
|
4056
|
-
return /* @__PURE__ */
|
|
4112
|
+
return /* @__PURE__ */ jsx58(SOT_363_default, {});
|
|
4057
4113
|
case "pushbutton":
|
|
4058
|
-
return /* @__PURE__ */
|
|
4114
|
+
return /* @__PURE__ */ jsx58(
|
|
4059
4115
|
PushButton,
|
|
4060
4116
|
{
|
|
4061
4117
|
width: fpJson.w,
|
|
@@ -4064,7 +4120,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4064
4120
|
}
|
|
4065
4121
|
);
|
|
4066
4122
|
case "soic":
|
|
4067
|
-
return /* @__PURE__ */
|
|
4123
|
+
return /* @__PURE__ */ jsx58(
|
|
4068
4124
|
SOIC,
|
|
4069
4125
|
{
|
|
4070
4126
|
pinCount: fpJson.num_pins,
|
|
@@ -4075,39 +4131,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4075
4131
|
}
|
|
4076
4132
|
);
|
|
4077
4133
|
case "sod523":
|
|
4078
|
-
return /* @__PURE__ */
|
|
4134
|
+
return /* @__PURE__ */ jsx58(SOD523, {});
|
|
4079
4135
|
case "sod882":
|
|
4080
|
-
return /* @__PURE__ */
|
|
4136
|
+
return /* @__PURE__ */ jsx58(SOD882, {});
|
|
4081
4137
|
case "sma":
|
|
4082
|
-
return /* @__PURE__ */
|
|
4138
|
+
return /* @__PURE__ */ jsx58(SMA, {});
|
|
4083
4139
|
case "smb":
|
|
4084
|
-
return /* @__PURE__ */
|
|
4140
|
+
return /* @__PURE__ */ jsx58(SMB, {});
|
|
4085
4141
|
case "smc":
|
|
4086
|
-
return /* @__PURE__ */
|
|
4142
|
+
return /* @__PURE__ */ jsx58(SMC, {});
|
|
4087
4143
|
case "smf":
|
|
4088
|
-
return /* @__PURE__ */
|
|
4144
|
+
return /* @__PURE__ */ jsx58(SMF, {});
|
|
4089
4145
|
case "sod123f":
|
|
4090
|
-
return /* @__PURE__ */
|
|
4146
|
+
return /* @__PURE__ */ jsx58(SOD123F, {});
|
|
4091
4147
|
case "sod123fl":
|
|
4092
|
-
return /* @__PURE__ */
|
|
4148
|
+
return /* @__PURE__ */ jsx58(SOD123FL, {});
|
|
4093
4149
|
case "sod123w":
|
|
4094
|
-
return /* @__PURE__ */
|
|
4150
|
+
return /* @__PURE__ */ jsx58(SOD123W, {});
|
|
4095
4151
|
case "sod128":
|
|
4096
|
-
return /* @__PURE__ */
|
|
4152
|
+
return /* @__PURE__ */ jsx58(SOD128, {});
|
|
4097
4153
|
case "sod323":
|
|
4098
|
-
return /* @__PURE__ */
|
|
4154
|
+
return /* @__PURE__ */ jsx58(SOD323, {});
|
|
4099
4155
|
case "sod923":
|
|
4100
|
-
return /* @__PURE__ */
|
|
4156
|
+
return /* @__PURE__ */ jsx58(SOD923, {});
|
|
4101
4157
|
case "hc49":
|
|
4102
|
-
return /* @__PURE__ */
|
|
4158
|
+
return /* @__PURE__ */ jsx58(HC49, {});
|
|
4103
4159
|
case "micromelf":
|
|
4104
|
-
return /* @__PURE__ */
|
|
4160
|
+
return /* @__PURE__ */ jsx58(MicroMELF, {});
|
|
4105
4161
|
case "minimelf":
|
|
4106
|
-
return /* @__PURE__ */
|
|
4162
|
+
return /* @__PURE__ */ jsx58(MINIMELF, {});
|
|
4107
4163
|
case "melf":
|
|
4108
|
-
return /* @__PURE__ */
|
|
4164
|
+
return /* @__PURE__ */ jsx58(MELF, {});
|
|
4109
4165
|
case "ms012":
|
|
4110
|
-
return /* @__PURE__ */
|
|
4166
|
+
return /* @__PURE__ */ jsx58(
|
|
4111
4167
|
MS012,
|
|
4112
4168
|
{
|
|
4113
4169
|
pinCount: fpJson.num_pins,
|
|
@@ -4117,7 +4173,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4117
4173
|
}
|
|
4118
4174
|
);
|
|
4119
4175
|
case "ms013":
|
|
4120
|
-
return /* @__PURE__ */
|
|
4176
|
+
return /* @__PURE__ */ jsx58(
|
|
4121
4177
|
MS013,
|
|
4122
4178
|
{
|
|
4123
4179
|
pinCount: fpJson.num_pins,
|
|
@@ -4127,39 +4183,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4127
4183
|
}
|
|
4128
4184
|
);
|
|
4129
4185
|
case "sot723":
|
|
4130
|
-
return /* @__PURE__ */
|
|
4186
|
+
return /* @__PURE__ */ jsx58(SOT723, {});
|
|
4131
4187
|
case "to220":
|
|
4132
|
-
return /* @__PURE__ */
|
|
4188
|
+
return /* @__PURE__ */ jsx58(TO220, {});
|
|
4133
4189
|
case "to92":
|
|
4134
|
-
return /* @__PURE__ */
|
|
4190
|
+
return /* @__PURE__ */ jsx58(TO92, {});
|
|
4135
4191
|
}
|
|
4136
4192
|
const colorMatch = footprint.match(/_color\(([^)]+)\)/);
|
|
4137
4193
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
4138
4194
|
switch (fpJson.imperial) {
|
|
4139
4195
|
case "0402":
|
|
4140
|
-
return /* @__PURE__ */
|
|
4196
|
+
return /* @__PURE__ */ jsx58(A0402, { color });
|
|
4141
4197
|
case "0603":
|
|
4142
|
-
return /* @__PURE__ */
|
|
4198
|
+
return /* @__PURE__ */ jsx58(A0603, { color });
|
|
4143
4199
|
case "0805":
|
|
4144
|
-
return /* @__PURE__ */
|
|
4200
|
+
return /* @__PURE__ */ jsx58(A0805, { color });
|
|
4145
4201
|
case "0201":
|
|
4146
|
-
return /* @__PURE__ */
|
|
4202
|
+
return /* @__PURE__ */ jsx58(A0201, { color });
|
|
4147
4203
|
case "01005":
|
|
4148
|
-
return /* @__PURE__ */
|
|
4204
|
+
return /* @__PURE__ */ jsx58(A01005, { color });
|
|
4149
4205
|
case "1206":
|
|
4150
|
-
return /* @__PURE__ */
|
|
4206
|
+
return /* @__PURE__ */ jsx58(A1206, { color });
|
|
4151
4207
|
case "1210":
|
|
4152
|
-
return /* @__PURE__ */
|
|
4208
|
+
return /* @__PURE__ */ jsx58(A1210, { color });
|
|
4153
4209
|
case "2010":
|
|
4154
|
-
return /* @__PURE__ */
|
|
4210
|
+
return /* @__PURE__ */ jsx58(A2010, { color });
|
|
4155
4211
|
case "2512":
|
|
4156
|
-
return /* @__PURE__ */
|
|
4212
|
+
return /* @__PURE__ */ jsx58(A2512, { color });
|
|
4157
4213
|
}
|
|
4158
4214
|
return null;
|
|
4159
4215
|
};
|
|
4160
4216
|
|
|
4161
4217
|
// lib/SOT-23-3P.tsx
|
|
4162
|
-
import { Fragment as
|
|
4218
|
+
import { Fragment as Fragment53, jsx as jsx59, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4163
4219
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
4164
4220
|
const bodyWidth = 1.3;
|
|
4165
4221
|
const bodyLength10 = 2.9;
|
|
@@ -4170,8 +4226,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4170
4226
|
const padContactLength = 0.4;
|
|
4171
4227
|
const padThickness = leadThickness / 2;
|
|
4172
4228
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
4173
|
-
return /* @__PURE__ */
|
|
4174
|
-
/* @__PURE__ */
|
|
4229
|
+
return /* @__PURE__ */ jsxs56(Fragment53, { children: [
|
|
4230
|
+
/* @__PURE__ */ jsx59(
|
|
4175
4231
|
SmdChipLead,
|
|
4176
4232
|
{
|
|
4177
4233
|
rotation: Math.PI,
|
|
@@ -4188,7 +4244,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4188
4244
|
},
|
|
4189
4245
|
1
|
|
4190
4246
|
),
|
|
4191
|
-
/* @__PURE__ */
|
|
4247
|
+
/* @__PURE__ */ jsx59(
|
|
4192
4248
|
SmdChipLead,
|
|
4193
4249
|
{
|
|
4194
4250
|
rotation: Math.PI,
|
|
@@ -4205,7 +4261,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4205
4261
|
},
|
|
4206
4262
|
2
|
|
4207
4263
|
),
|
|
4208
|
-
/* @__PURE__ */
|
|
4264
|
+
/* @__PURE__ */ jsx59(
|
|
4209
4265
|
SmdChipLead,
|
|
4210
4266
|
{
|
|
4211
4267
|
position: {
|
|
@@ -4221,7 +4277,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4221
4277
|
},
|
|
4222
4278
|
3
|
|
4223
4279
|
),
|
|
4224
|
-
/* @__PURE__ */
|
|
4280
|
+
/* @__PURE__ */ jsx59(
|
|
4225
4281
|
ChipBody,
|
|
4226
4282
|
{
|
|
4227
4283
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4234,8 +4290,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4234
4290
|
};
|
|
4235
4291
|
|
|
4236
4292
|
// lib/SOT-563.tsx
|
|
4237
|
-
import { Cuboid as
|
|
4238
|
-
import { Fragment as
|
|
4293
|
+
import { Cuboid as Cuboid38, Translate as Translate26, Rotate as Rotate10, Colorize as Colorize31 } from "jscad-fiber";
|
|
4294
|
+
import { Fragment as Fragment54, jsx as jsx60, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4239
4295
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
4240
4296
|
const bodyWidth = 1.2;
|
|
4241
4297
|
const bodyLength10 = 1.6;
|
|
@@ -4245,28 +4301,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4245
4301
|
const leadHeight = 0.13;
|
|
4246
4302
|
const leadSpacing = 0.5;
|
|
4247
4303
|
const bodyZOffset = -0.4;
|
|
4248
|
-
return /* @__PURE__ */
|
|
4249
|
-
/* @__PURE__ */
|
|
4304
|
+
return /* @__PURE__ */ jsxs57(Fragment54, { children: [
|
|
4305
|
+
/* @__PURE__ */ jsx60(Rotate10, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx60(Translate26, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx60(Colorize31, { color: "grey", children: /* @__PURE__ */ jsx60(Cuboid38, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
4250
4306
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
4251
4307
|
// Left lead
|
|
4252
|
-
/* @__PURE__ */
|
|
4253
|
-
|
|
4308
|
+
/* @__PURE__ */ jsx60(
|
|
4309
|
+
Translate26,
|
|
4254
4310
|
{
|
|
4255
4311
|
center: [
|
|
4256
4312
|
-bodyWidth / 2 - 0.03,
|
|
4257
4313
|
yOffset * leadSpacing,
|
|
4258
4314
|
leadHeight / 2
|
|
4259
4315
|
],
|
|
4260
|
-
children: /* @__PURE__ */
|
|
4316
|
+
children: /* @__PURE__ */ jsx60(Cuboid38, { size: [leadLength, leadWidth, leadHeight] })
|
|
4261
4317
|
},
|
|
4262
4318
|
`left-${index}`
|
|
4263
4319
|
),
|
|
4264
4320
|
// Right lead
|
|
4265
|
-
/* @__PURE__ */
|
|
4266
|
-
|
|
4321
|
+
/* @__PURE__ */ jsx60(
|
|
4322
|
+
Translate26,
|
|
4267
4323
|
{
|
|
4268
4324
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
4269
|
-
children: /* @__PURE__ */
|
|
4325
|
+
children: /* @__PURE__ */ jsx60(Cuboid38, { size: [leadLength, leadWidth, leadHeight] })
|
|
4270
4326
|
},
|
|
4271
4327
|
`right-${index}`
|
|
4272
4328
|
)
|
|
@@ -4275,7 +4331,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4275
4331
|
};
|
|
4276
4332
|
|
|
4277
4333
|
// lib/sod-123.tsx
|
|
4278
|
-
import { Fragment as
|
|
4334
|
+
import { Fragment as Fragment55, jsx as jsx61, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4279
4335
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
4280
4336
|
const bodyWidth = 2.9;
|
|
4281
4337
|
const bodyLength10 = 1.3;
|
|
@@ -4286,8 +4342,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4286
4342
|
const padContactLength = 0.4;
|
|
4287
4343
|
const padThickness = leadThickness / 2;
|
|
4288
4344
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
4289
|
-
return /* @__PURE__ */
|
|
4290
|
-
/* @__PURE__ */
|
|
4345
|
+
return /* @__PURE__ */ jsxs58(Fragment55, { children: [
|
|
4346
|
+
/* @__PURE__ */ jsx61(
|
|
4291
4347
|
SmdChipLead,
|
|
4292
4348
|
{
|
|
4293
4349
|
position: {
|
|
@@ -4303,7 +4359,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4303
4359
|
},
|
|
4304
4360
|
1
|
|
4305
4361
|
),
|
|
4306
|
-
/* @__PURE__ */
|
|
4362
|
+
/* @__PURE__ */ jsx61(
|
|
4307
4363
|
SmdChipLead,
|
|
4308
4364
|
{
|
|
4309
4365
|
rotation: Math.PI,
|
|
@@ -4320,7 +4376,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4320
4376
|
},
|
|
4321
4377
|
2
|
|
4322
4378
|
),
|
|
4323
|
-
/* @__PURE__ */
|
|
4379
|
+
/* @__PURE__ */ jsx61(
|
|
4324
4380
|
ChipBody,
|
|
4325
4381
|
{
|
|
4326
4382
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4370,6 +4426,7 @@ export {
|
|
|
4370
4426
|
SOD128,
|
|
4371
4427
|
SOD323,
|
|
4372
4428
|
SOD323F,
|
|
4429
|
+
SOD323FL,
|
|
4373
4430
|
SOD523,
|
|
4374
4431
|
SOD882,
|
|
4375
4432
|
SOD923,
|