jscad-electronics 0.0.115 → 0.0.116
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 +31 -1
- package/dist/index.js +706 -507
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +290 -96
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1009,9 +1009,96 @@ var getLeadWidth = (pinCount, width10) => {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
};
|
|
1011
1011
|
|
|
1012
|
-
// lib/
|
|
1012
|
+
// lib/PinHeader.tsx
|
|
1013
1013
|
import { Colorize as Colorize6, Cuboid as Cuboid14, Hull as Hull2, Rotate as Rotate5, Translate as Translate8 } from "jscad-fiber";
|
|
1014
1014
|
import { Fragment as Fragment16, jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1015
|
+
var PinHeader = ({
|
|
1016
|
+
x,
|
|
1017
|
+
y,
|
|
1018
|
+
pinThickness,
|
|
1019
|
+
shortSidePinLength,
|
|
1020
|
+
longSidePinLength,
|
|
1021
|
+
bodyHeight,
|
|
1022
|
+
bodyLength: bodyLength10 = 2.54,
|
|
1023
|
+
bodyWidth = 2.54,
|
|
1024
|
+
flipZ,
|
|
1025
|
+
faceup,
|
|
1026
|
+
smd,
|
|
1027
|
+
rightangle
|
|
1028
|
+
}) => {
|
|
1029
|
+
return /* @__PURE__ */ jsxs18(Fragment16, { children: [
|
|
1030
|
+
/* @__PURE__ */ jsx20(Translate8, { y: rightangle ? -3 : 0, children: /* @__PURE__ */ jsx20(
|
|
1031
|
+
Cuboid14,
|
|
1032
|
+
{
|
|
1033
|
+
color: "#222",
|
|
1034
|
+
size: [bodyLength10, bodyWidth, bodyHeight],
|
|
1035
|
+
center: [x, y, flipZ(bodyHeight / 2)]
|
|
1036
|
+
}
|
|
1037
|
+
) }),
|
|
1038
|
+
!faceup && /* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: smd ? /* @__PURE__ */ jsx20(
|
|
1039
|
+
SmdChipLead,
|
|
1040
|
+
{
|
|
1041
|
+
rotation: -Math.PI / 2,
|
|
1042
|
+
position: {
|
|
1043
|
+
x,
|
|
1044
|
+
y: y + 1,
|
|
1045
|
+
z: pinThickness / 2
|
|
1046
|
+
},
|
|
1047
|
+
thickness: pinThickness,
|
|
1048
|
+
width: pinThickness,
|
|
1049
|
+
height: pinThickness,
|
|
1050
|
+
padContactLength: 2,
|
|
1051
|
+
bodyDistance: 3
|
|
1052
|
+
}
|
|
1053
|
+
) : /* @__PURE__ */ jsxs18(Hull2, { children: [
|
|
1054
|
+
/* @__PURE__ */ jsx20(
|
|
1055
|
+
Cuboid14,
|
|
1056
|
+
{
|
|
1057
|
+
color: "gold",
|
|
1058
|
+
size: [pinThickness, pinThickness, shortSidePinLength * 0.9],
|
|
1059
|
+
center: [x, y, flipZ(bodyHeight * 0.9 + bodyHeight / 2)]
|
|
1060
|
+
}
|
|
1061
|
+
),
|
|
1062
|
+
/* @__PURE__ */ jsx20(
|
|
1063
|
+
Cuboid14,
|
|
1064
|
+
{
|
|
1065
|
+
color: "gold",
|
|
1066
|
+
size: [
|
|
1067
|
+
pinThickness / 1.8,
|
|
1068
|
+
pinThickness / 1.8,
|
|
1069
|
+
shortSidePinLength
|
|
1070
|
+
],
|
|
1071
|
+
center: [x, y, flipZ(bodyHeight + bodyHeight / 2)]
|
|
1072
|
+
}
|
|
1073
|
+
)
|
|
1074
|
+
] }) }),
|
|
1075
|
+
/* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: /* @__PURE__ */ jsx20(Translate8, { y: rightangle ? -3.9 : 0, z: rightangle ? 1 : 0, children: /* @__PURE__ */ jsx20(Rotate5, { rotation: rightangle ? [-Math.PI / 2, 0, 0] : [0, 0, 0], children: /* @__PURE__ */ jsxs18(Hull2, { children: [
|
|
1076
|
+
/* @__PURE__ */ jsx20(
|
|
1077
|
+
Cuboid14,
|
|
1078
|
+
{
|
|
1079
|
+
color: "gold",
|
|
1080
|
+
size: [pinThickness, pinThickness, longSidePinLength * 0.9],
|
|
1081
|
+
center: [x, y, flipZ(-longSidePinLength / 2 * 0.9)]
|
|
1082
|
+
}
|
|
1083
|
+
),
|
|
1084
|
+
/* @__PURE__ */ jsx20(
|
|
1085
|
+
Cuboid14,
|
|
1086
|
+
{
|
|
1087
|
+
color: "gold",
|
|
1088
|
+
size: [
|
|
1089
|
+
pinThickness / 1.8,
|
|
1090
|
+
pinThickness / 1.8,
|
|
1091
|
+
longSidePinLength
|
|
1092
|
+
],
|
|
1093
|
+
center: [x, y, flipZ(-longSidePinLength / 2)]
|
|
1094
|
+
}
|
|
1095
|
+
)
|
|
1096
|
+
] }) }) }) })
|
|
1097
|
+
] });
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
// lib/PinRow.tsx
|
|
1101
|
+
import { Fragment as Fragment17, jsx as jsx21 } from "react/jsx-runtime";
|
|
1015
1102
|
var PinRow = ({
|
|
1016
1103
|
numberOfPins,
|
|
1017
1104
|
pitch = 2.54,
|
|
@@ -1026,106 +1113,32 @@ var PinRow = ({
|
|
|
1026
1113
|
const bodyHeight = 2;
|
|
1027
1114
|
const pinsPerRow = Math.ceil(numberOfPins / rows);
|
|
1028
1115
|
const rowSpacing = 2.54;
|
|
1029
|
-
const bodyWidth = pinsPerRow * pitch;
|
|
1030
|
-
const bodyDepth = rows > 1 ? (rows - 1) * rowSpacing + pinThickness * 3 : pinThickness * 3;
|
|
1031
1116
|
const shortSidePinLength = 3;
|
|
1032
1117
|
const xoff = -((pinsPerRow - 1) / 2) * pitch;
|
|
1033
|
-
const bodyCenterY = rows > 1 ? -((rows - 1) * rowSpacing) / 2 : 0;
|
|
1034
1118
|
const zOffset = !smd && !rightangle ? -bodyHeight - 1.6 : 0;
|
|
1035
1119
|
const flipZ = (z) => (invert || faceup ? -z + bodyHeight : z) + zOffset;
|
|
1036
|
-
return /* @__PURE__ */
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
z: pinThickness / 2
|
|
1059
|
-
},
|
|
1060
|
-
thickness: pinThickness,
|
|
1061
|
-
width: pinThickness,
|
|
1062
|
-
height: pinThickness,
|
|
1063
|
-
padContactLength: 2,
|
|
1064
|
-
bodyDistance: 3
|
|
1065
|
-
},
|
|
1066
|
-
`short-smd-${i}`
|
|
1067
|
-
) : /* @__PURE__ */ jsxs18(Hull2, { children: [
|
|
1068
|
-
/* @__PURE__ */ jsx20(
|
|
1069
|
-
Cuboid14,
|
|
1070
|
-
{
|
|
1071
|
-
color: "gold",
|
|
1072
|
-
size: [
|
|
1073
|
-
pinThickness,
|
|
1074
|
-
pinThickness,
|
|
1075
|
-
shortSidePinLength * 0.9
|
|
1076
|
-
],
|
|
1077
|
-
center: [x, y, flipZ(bodyHeight * 0.9 + bodyHeight / 2)]
|
|
1078
|
-
}
|
|
1079
|
-
),
|
|
1080
|
-
/* @__PURE__ */ jsx20(
|
|
1081
|
-
Cuboid14,
|
|
1082
|
-
{
|
|
1083
|
-
color: "gold",
|
|
1084
|
-
size: [
|
|
1085
|
-
pinThickness / 1.8,
|
|
1086
|
-
pinThickness / 1.8,
|
|
1087
|
-
shortSidePinLength
|
|
1088
|
-
],
|
|
1089
|
-
center: [x, y, flipZ(bodyHeight + bodyHeight / 2)]
|
|
1090
|
-
}
|
|
1091
|
-
)
|
|
1092
|
-
] }) }, `short-${i}`),
|
|
1093
|
-
/* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: /* @__PURE__ */ jsx20(Translate8, { y: rightangle ? -3.9 : 0, z: rightangle ? 1 : 0, children: /* @__PURE__ */ jsx20(
|
|
1094
|
-
Rotate5,
|
|
1095
|
-
{
|
|
1096
|
-
rotation: rightangle ? [-Math.PI / 2, 0, 0] : [0, 0, 0],
|
|
1097
|
-
children: /* @__PURE__ */ jsxs18(Hull2, { children: [
|
|
1098
|
-
/* @__PURE__ */ jsx20(
|
|
1099
|
-
Cuboid14,
|
|
1100
|
-
{
|
|
1101
|
-
color: "gold",
|
|
1102
|
-
size: [
|
|
1103
|
-
pinThickness,
|
|
1104
|
-
pinThickness,
|
|
1105
|
-
longSidePinLength * 0.9
|
|
1106
|
-
],
|
|
1107
|
-
center: [x, y, flipZ(-longSidePinLength / 2 * 0.9)]
|
|
1108
|
-
}
|
|
1109
|
-
),
|
|
1110
|
-
/* @__PURE__ */ jsx20(
|
|
1111
|
-
Cuboid14,
|
|
1112
|
-
{
|
|
1113
|
-
color: "gold",
|
|
1114
|
-
size: [
|
|
1115
|
-
pinThickness / 1.8,
|
|
1116
|
-
pinThickness / 1.8,
|
|
1117
|
-
longSidePinLength
|
|
1118
|
-
],
|
|
1119
|
-
center: [x, y, flipZ(-longSidePinLength / 2)]
|
|
1120
|
-
}
|
|
1121
|
-
)
|
|
1122
|
-
] })
|
|
1123
|
-
},
|
|
1124
|
-
`rotate-${i}`
|
|
1125
|
-
) }) }, `long-${i}`)
|
|
1126
|
-
] });
|
|
1127
|
-
})
|
|
1128
|
-
] });
|
|
1120
|
+
return /* @__PURE__ */ jsx21(Fragment17, { children: Array.from({ length: numberOfPins }, (_, i) => {
|
|
1121
|
+
const row = Math.floor(i / pinsPerRow);
|
|
1122
|
+
const col = i % pinsPerRow;
|
|
1123
|
+
const x = xoff + col * pitch;
|
|
1124
|
+
const y = -row * rowSpacing;
|
|
1125
|
+
return /* @__PURE__ */ jsx21(
|
|
1126
|
+
PinHeader,
|
|
1127
|
+
{
|
|
1128
|
+
x,
|
|
1129
|
+
y,
|
|
1130
|
+
pinThickness,
|
|
1131
|
+
shortSidePinLength,
|
|
1132
|
+
longSidePinLength,
|
|
1133
|
+
bodyHeight,
|
|
1134
|
+
flipZ,
|
|
1135
|
+
faceup,
|
|
1136
|
+
smd,
|
|
1137
|
+
rightangle
|
|
1138
|
+
},
|
|
1139
|
+
i
|
|
1140
|
+
);
|
|
1141
|
+
}) });
|
|
1129
1142
|
};
|
|
1130
1143
|
|
|
1131
1144
|
// lib/qfn.tsx
|
|
@@ -1219,7 +1232,7 @@ var getQuadPinMap = ({
|
|
|
1219
1232
|
};
|
|
1220
1233
|
|
|
1221
1234
|
// lib/qfn.tsx
|
|
1222
|
-
import { Fragment as
|
|
1235
|
+
import { Fragment as Fragment18, jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1223
1236
|
var QFN = ({
|
|
1224
1237
|
num_pins = 16,
|
|
1225
1238
|
bodyWidth = 9,
|
|
@@ -1261,15 +1274,15 @@ var QFN = ({
|
|
|
1261
1274
|
const pn = pin_map[i + 1];
|
|
1262
1275
|
pinPositions.push({ pn, x, y, pw, pl });
|
|
1263
1276
|
}
|
|
1264
|
-
return /* @__PURE__ */ jsxs19(
|
|
1265
|
-
/* @__PURE__ */
|
|
1277
|
+
return /* @__PURE__ */ jsxs19(Fragment18, { children: [
|
|
1278
|
+
/* @__PURE__ */ jsx22(Colorize7, { color: "grey", children: /* @__PURE__ */ jsx22(
|
|
1266
1279
|
Cuboid15,
|
|
1267
1280
|
{
|
|
1268
1281
|
center: { x: 0, y: 0, z: bodyThickness / 2 },
|
|
1269
1282
|
size: [bodyWidth, bodyLength10, bodyThickness]
|
|
1270
1283
|
}
|
|
1271
1284
|
) }),
|
|
1272
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
1285
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx22(
|
|
1273
1286
|
Cuboid15,
|
|
1274
1287
|
{
|
|
1275
1288
|
center: { x: p.x, y: p.y, z: thermalPadThickness / 2 },
|
|
@@ -1277,7 +1290,7 @@ var QFN = ({
|
|
|
1277
1290
|
},
|
|
1278
1291
|
i
|
|
1279
1292
|
)),
|
|
1280
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
1293
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx22(
|
|
1281
1294
|
Cuboid15,
|
|
1282
1295
|
{
|
|
1283
1296
|
center: { x: 0, y: 0, z: thermalPadThickness / 2 },
|
|
@@ -1293,7 +1306,7 @@ var QFN = ({
|
|
|
1293
1306
|
var qfn_default = QFN;
|
|
1294
1307
|
|
|
1295
1308
|
// lib/SOT-235.tsx
|
|
1296
|
-
import { Fragment as
|
|
1309
|
+
import { Fragment as Fragment19, jsx as jsx23, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1297
1310
|
var SOT235 = () => {
|
|
1298
1311
|
const fullWidth = 2.8;
|
|
1299
1312
|
const bodyWidth = 1.6;
|
|
@@ -1305,8 +1318,8 @@ var SOT235 = () => {
|
|
|
1305
1318
|
const padContactLength = 0.5;
|
|
1306
1319
|
const padPitch = 0.95;
|
|
1307
1320
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
1308
|
-
return /* @__PURE__ */ jsxs20(
|
|
1309
|
-
/* @__PURE__ */
|
|
1321
|
+
return /* @__PURE__ */ jsxs20(Fragment19, { children: [
|
|
1322
|
+
/* @__PURE__ */ jsx23(
|
|
1310
1323
|
SmdChipLead,
|
|
1311
1324
|
{
|
|
1312
1325
|
rotation: Math.PI,
|
|
@@ -1323,7 +1336,7 @@ var SOT235 = () => {
|
|
|
1323
1336
|
},
|
|
1324
1337
|
1
|
|
1325
1338
|
),
|
|
1326
|
-
/* @__PURE__ */
|
|
1339
|
+
/* @__PURE__ */ jsx23(
|
|
1327
1340
|
SmdChipLead,
|
|
1328
1341
|
{
|
|
1329
1342
|
rotation: Math.PI,
|
|
@@ -1340,7 +1353,7 @@ var SOT235 = () => {
|
|
|
1340
1353
|
},
|
|
1341
1354
|
2
|
|
1342
1355
|
),
|
|
1343
|
-
/* @__PURE__ */
|
|
1356
|
+
/* @__PURE__ */ jsx23(
|
|
1344
1357
|
SmdChipLead,
|
|
1345
1358
|
{
|
|
1346
1359
|
position: {
|
|
@@ -1356,7 +1369,7 @@ var SOT235 = () => {
|
|
|
1356
1369
|
},
|
|
1357
1370
|
3
|
|
1358
1371
|
),
|
|
1359
|
-
/* @__PURE__ */
|
|
1372
|
+
/* @__PURE__ */ jsx23(
|
|
1360
1373
|
SmdChipLead,
|
|
1361
1374
|
{
|
|
1362
1375
|
position: {
|
|
@@ -1372,7 +1385,7 @@ var SOT235 = () => {
|
|
|
1372
1385
|
},
|
|
1373
1386
|
1
|
|
1374
1387
|
),
|
|
1375
|
-
/* @__PURE__ */
|
|
1388
|
+
/* @__PURE__ */ jsx23(
|
|
1376
1389
|
SmdChipLead,
|
|
1377
1390
|
{
|
|
1378
1391
|
position: {
|
|
@@ -1388,7 +1401,7 @@ var SOT235 = () => {
|
|
|
1388
1401
|
},
|
|
1389
1402
|
2
|
|
1390
1403
|
),
|
|
1391
|
-
/* @__PURE__ */
|
|
1404
|
+
/* @__PURE__ */ jsx23(
|
|
1392
1405
|
ChipBody,
|
|
1393
1406
|
{
|
|
1394
1407
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -1402,7 +1415,7 @@ var SOT235 = () => {
|
|
|
1402
1415
|
var SOT_235_default = SOT235;
|
|
1403
1416
|
|
|
1404
1417
|
// lib/SOT-23W.tsx
|
|
1405
|
-
import { Fragment as
|
|
1418
|
+
import { Fragment as Fragment20, jsx as jsx24, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1406
1419
|
var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
1407
1420
|
const bodyWidth = 1.92;
|
|
1408
1421
|
const bodyLength10 = 2.9;
|
|
@@ -1413,8 +1426,8 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1413
1426
|
const padContactLength = 0.25;
|
|
1414
1427
|
const padThickness = leadThickness / 2;
|
|
1415
1428
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1416
|
-
return /* @__PURE__ */ jsxs21(
|
|
1417
|
-
/* @__PURE__ */
|
|
1429
|
+
return /* @__PURE__ */ jsxs21(Fragment20, { children: [
|
|
1430
|
+
/* @__PURE__ */ jsx24(
|
|
1418
1431
|
SmdChipLead,
|
|
1419
1432
|
{
|
|
1420
1433
|
rotation: Math.PI,
|
|
@@ -1431,7 +1444,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1431
1444
|
},
|
|
1432
1445
|
1
|
|
1433
1446
|
),
|
|
1434
|
-
/* @__PURE__ */
|
|
1447
|
+
/* @__PURE__ */ jsx24(
|
|
1435
1448
|
SmdChipLead,
|
|
1436
1449
|
{
|
|
1437
1450
|
position: {
|
|
@@ -1447,7 +1460,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1447
1460
|
},
|
|
1448
1461
|
2
|
|
1449
1462
|
),
|
|
1450
|
-
/* @__PURE__ */
|
|
1463
|
+
/* @__PURE__ */ jsx24(
|
|
1451
1464
|
SmdChipLead,
|
|
1452
1465
|
{
|
|
1453
1466
|
position: {
|
|
@@ -1463,7 +1476,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1463
1476
|
},
|
|
1464
1477
|
3
|
|
1465
1478
|
),
|
|
1466
|
-
/* @__PURE__ */
|
|
1479
|
+
/* @__PURE__ */ jsx24(
|
|
1467
1480
|
ChipBody,
|
|
1468
1481
|
{
|
|
1469
1482
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -1479,7 +1492,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1479
1492
|
|
|
1480
1493
|
// lib/FemaleHeader.tsx
|
|
1481
1494
|
import { Cuboid as Cuboid16, Colorize as Colorize8, Hull as Hull3, Subtract as Subtract3, Cylinder as Cylinder3 } from "jscad-fiber";
|
|
1482
|
-
import { Fragment as
|
|
1495
|
+
import { Fragment as Fragment21, jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1483
1496
|
var FemaleHeader = ({
|
|
1484
1497
|
numberOfPins,
|
|
1485
1498
|
pitch = 2.54,
|
|
@@ -1498,8 +1511,8 @@ var FemaleHeader = ({
|
|
|
1498
1511
|
const gapWidth = pinThickness * 1.6;
|
|
1499
1512
|
const xoff = -((pinsPerRow - 1) / 2) * pitch;
|
|
1500
1513
|
const bodyCenterY = rows > 1 ? -((rows - 1) * rowSpacing) / 2 : 0;
|
|
1501
|
-
const Body = /* @__PURE__ */
|
|
1502
|
-
/* @__PURE__ */
|
|
1514
|
+
const Body = /* @__PURE__ */ jsx25(Colorize8, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs22(Subtract3, { children: [
|
|
1515
|
+
/* @__PURE__ */ jsx25(
|
|
1503
1516
|
Cuboid16,
|
|
1504
1517
|
{
|
|
1505
1518
|
color: "#000",
|
|
@@ -1512,7 +1525,7 @@ var FemaleHeader = ({
|
|
|
1512
1525
|
const col = i % pinsPerRow;
|
|
1513
1526
|
const x = xoff + col * pitch;
|
|
1514
1527
|
const y = -row * rowSpacing;
|
|
1515
|
-
return innerDiameter ? /* @__PURE__ */
|
|
1528
|
+
return innerDiameter ? /* @__PURE__ */ jsx25(
|
|
1516
1529
|
Cylinder3,
|
|
1517
1530
|
{
|
|
1518
1531
|
height: bodyHeight + 0.1,
|
|
@@ -1521,7 +1534,7 @@ var FemaleHeader = ({
|
|
|
1521
1534
|
color: "#222"
|
|
1522
1535
|
},
|
|
1523
1536
|
i
|
|
1524
|
-
) : /* @__PURE__ */
|
|
1537
|
+
) : /* @__PURE__ */ jsx25(
|
|
1525
1538
|
Cuboid16,
|
|
1526
1539
|
{
|
|
1527
1540
|
size: [gapWidth, gapWidth, bodyHeight],
|
|
@@ -1531,7 +1544,7 @@ var FemaleHeader = ({
|
|
|
1531
1544
|
);
|
|
1532
1545
|
})
|
|
1533
1546
|
] }) });
|
|
1534
|
-
return /* @__PURE__ */ jsxs22(
|
|
1547
|
+
return /* @__PURE__ */ jsxs22(Fragment21, { children: [
|
|
1535
1548
|
Body,
|
|
1536
1549
|
Array.from({ length: numberOfPins }, (_, i) => {
|
|
1537
1550
|
const row = Math.floor(i / pinsPerRow);
|
|
@@ -1540,7 +1553,7 @@ var FemaleHeader = ({
|
|
|
1540
1553
|
const y = -row * rowSpacing;
|
|
1541
1554
|
return /* @__PURE__ */ jsxs22(Colorize8, { color: "silver", children: [
|
|
1542
1555
|
/* @__PURE__ */ jsxs22(Hull3, { children: [
|
|
1543
|
-
/* @__PURE__ */
|
|
1556
|
+
/* @__PURE__ */ jsx25(
|
|
1544
1557
|
Cuboid16,
|
|
1545
1558
|
{
|
|
1546
1559
|
color: "silver",
|
|
@@ -1548,7 +1561,7 @@ var FemaleHeader = ({
|
|
|
1548
1561
|
center: [x, y, -legsLength / 2 * 0.9]
|
|
1549
1562
|
}
|
|
1550
1563
|
),
|
|
1551
|
-
/* @__PURE__ */
|
|
1564
|
+
/* @__PURE__ */ jsx25(
|
|
1552
1565
|
Cuboid16,
|
|
1553
1566
|
{
|
|
1554
1567
|
color: "silver",
|
|
@@ -1557,7 +1570,7 @@ var FemaleHeader = ({
|
|
|
1557
1570
|
}
|
|
1558
1571
|
)
|
|
1559
1572
|
] }),
|
|
1560
|
-
/* @__PURE__ */
|
|
1573
|
+
/* @__PURE__ */ jsx25(
|
|
1561
1574
|
Cuboid16,
|
|
1562
1575
|
{
|
|
1563
1576
|
color: "silver",
|
|
@@ -1580,7 +1593,7 @@ import {
|
|
|
1580
1593
|
RoundedCuboid,
|
|
1581
1594
|
Translate as Translate9
|
|
1582
1595
|
} from "jscad-fiber";
|
|
1583
|
-
import { Fragment as
|
|
1596
|
+
import { Fragment as Fragment22, jsx as jsx26, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1584
1597
|
var PushButton = ({
|
|
1585
1598
|
width: width10,
|
|
1586
1599
|
length,
|
|
@@ -1590,8 +1603,8 @@ var PushButton = ({
|
|
|
1590
1603
|
const bodyLength10 = length;
|
|
1591
1604
|
const bodyHeight = width10 * 0.7;
|
|
1592
1605
|
const legWidth = innerDiameter / 2.5;
|
|
1593
|
-
return /* @__PURE__ */ jsxs23(
|
|
1594
|
-
/* @__PURE__ */
|
|
1606
|
+
return /* @__PURE__ */ jsxs23(Fragment22, { children: [
|
|
1607
|
+
/* @__PURE__ */ jsx26(
|
|
1595
1608
|
RoundedCuboid,
|
|
1596
1609
|
{
|
|
1597
1610
|
color: "#1a1a1f",
|
|
@@ -1600,7 +1613,7 @@ var PushButton = ({
|
|
|
1600
1613
|
roundRadius: 0.3
|
|
1601
1614
|
}
|
|
1602
1615
|
),
|
|
1603
|
-
/* @__PURE__ */
|
|
1616
|
+
/* @__PURE__ */ jsx26(
|
|
1604
1617
|
RoundedCuboid,
|
|
1605
1618
|
{
|
|
1606
1619
|
color: "#f2f2f2",
|
|
@@ -1609,7 +1622,7 @@ var PushButton = ({
|
|
|
1609
1622
|
roundRadius: 0.14
|
|
1610
1623
|
}
|
|
1611
1624
|
),
|
|
1612
|
-
/* @__PURE__ */
|
|
1625
|
+
/* @__PURE__ */ jsx26(
|
|
1613
1626
|
Cylinder4,
|
|
1614
1627
|
{
|
|
1615
1628
|
color: "#1a1a1f",
|
|
@@ -1618,7 +1631,7 @@ var PushButton = ({
|
|
|
1618
1631
|
center: [0, 0, bodyHeight + bodyHeight * 0.8 / 2]
|
|
1619
1632
|
}
|
|
1620
1633
|
),
|
|
1621
|
-
/* @__PURE__ */
|
|
1634
|
+
/* @__PURE__ */ jsx26(
|
|
1622
1635
|
Cylinder4,
|
|
1623
1636
|
{
|
|
1624
1637
|
color: "#1a1a1f",
|
|
@@ -1631,7 +1644,7 @@ var PushButton = ({
|
|
|
1631
1644
|
]
|
|
1632
1645
|
}
|
|
1633
1646
|
),
|
|
1634
|
-
/* @__PURE__ */
|
|
1647
|
+
/* @__PURE__ */ jsx26(
|
|
1635
1648
|
Cylinder4,
|
|
1636
1649
|
{
|
|
1637
1650
|
color: "#1a1a1f",
|
|
@@ -1644,7 +1657,7 @@ var PushButton = ({
|
|
|
1644
1657
|
]
|
|
1645
1658
|
}
|
|
1646
1659
|
),
|
|
1647
|
-
/* @__PURE__ */
|
|
1660
|
+
/* @__PURE__ */ jsx26(
|
|
1648
1661
|
Cylinder4,
|
|
1649
1662
|
{
|
|
1650
1663
|
color: "#1a1a1f",
|
|
@@ -1657,7 +1670,7 @@ var PushButton = ({
|
|
|
1657
1670
|
]
|
|
1658
1671
|
}
|
|
1659
1672
|
),
|
|
1660
|
-
/* @__PURE__ */
|
|
1673
|
+
/* @__PURE__ */ jsx26(
|
|
1661
1674
|
Cylinder4,
|
|
1662
1675
|
{
|
|
1663
1676
|
color: "#1a1a1f",
|
|
@@ -1670,7 +1683,7 @@ var PushButton = ({
|
|
|
1670
1683
|
]
|
|
1671
1684
|
}
|
|
1672
1685
|
),
|
|
1673
|
-
/* @__PURE__ */
|
|
1686
|
+
/* @__PURE__ */ jsx26(
|
|
1674
1687
|
PushButtonLeg,
|
|
1675
1688
|
{
|
|
1676
1689
|
thickness: innerDiameter / 3,
|
|
@@ -1684,7 +1697,7 @@ var PushButton = ({
|
|
|
1684
1697
|
}
|
|
1685
1698
|
}
|
|
1686
1699
|
),
|
|
1687
|
-
/* @__PURE__ */
|
|
1700
|
+
/* @__PURE__ */ jsx26(
|
|
1688
1701
|
PushButtonLeg,
|
|
1689
1702
|
{
|
|
1690
1703
|
thickness: innerDiameter / 3,
|
|
@@ -1699,7 +1712,7 @@ var PushButton = ({
|
|
|
1699
1712
|
rotation: Math.PI
|
|
1700
1713
|
}
|
|
1701
1714
|
),
|
|
1702
|
-
/* @__PURE__ */
|
|
1715
|
+
/* @__PURE__ */ jsx26(
|
|
1703
1716
|
PushButtonLeg,
|
|
1704
1717
|
{
|
|
1705
1718
|
thickness: innerDiameter / 3,
|
|
@@ -1710,7 +1723,7 @@ var PushButton = ({
|
|
|
1710
1723
|
rotation: Math.PI
|
|
1711
1724
|
}
|
|
1712
1725
|
),
|
|
1713
|
-
/* @__PURE__ */
|
|
1726
|
+
/* @__PURE__ */ jsx26(
|
|
1714
1727
|
PushButtonLeg,
|
|
1715
1728
|
{
|
|
1716
1729
|
thickness: innerDiameter / 3,
|
|
@@ -1742,7 +1755,7 @@ var PushButtonLeg = (props) => {
|
|
|
1742
1755
|
[0, 0]
|
|
1743
1756
|
];
|
|
1744
1757
|
const polygon = getExpandedStroke(points, thickness);
|
|
1745
|
-
return /* @__PURE__ */
|
|
1758
|
+
return /* @__PURE__ */ jsx26(Colorize9, { color: "#f2f2f2", children: /* @__PURE__ */ jsx26(
|
|
1746
1759
|
Translate9,
|
|
1747
1760
|
{
|
|
1748
1761
|
offset: {
|
|
@@ -1750,13 +1763,13 @@ var PushButtonLeg = (props) => {
|
|
|
1750
1763
|
y: position?.y || 0,
|
|
1751
1764
|
z: position?.z || 0
|
|
1752
1765
|
},
|
|
1753
|
-
children: /* @__PURE__ */
|
|
1766
|
+
children: /* @__PURE__ */ jsx26(Rotate6, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx26(ExtrudeLinear3, { height: width10, children: /* @__PURE__ */ jsx26(Polygon3, { points: polygon.map((p) => [p.y, p.x]) }) }) })
|
|
1754
1767
|
}
|
|
1755
1768
|
) });
|
|
1756
1769
|
};
|
|
1757
1770
|
|
|
1758
1771
|
// lib/SOIC.tsx
|
|
1759
|
-
import { Fragment as
|
|
1772
|
+
import { Fragment as Fragment23, jsx as jsx27, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1760
1773
|
var SOIC = ({
|
|
1761
1774
|
pinCount,
|
|
1762
1775
|
leadLength,
|
|
@@ -1772,8 +1785,8 @@ var SOIC = ({
|
|
|
1772
1785
|
const leadBodyOffset = leadLength * 0;
|
|
1773
1786
|
const fullLength10 = pitch * (sidePinCount - 1) + leadWidth + 0.2;
|
|
1774
1787
|
const bodyWidthAdjusted = bodyWidth * 0.55;
|
|
1775
|
-
return /* @__PURE__ */ jsxs24(
|
|
1776
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1788
|
+
return /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
1789
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx27(
|
|
1777
1790
|
SmdChipLead,
|
|
1778
1791
|
{
|
|
1779
1792
|
position: {
|
|
@@ -1789,7 +1802,7 @@ var SOIC = ({
|
|
|
1789
1802
|
},
|
|
1790
1803
|
i
|
|
1791
1804
|
)),
|
|
1792
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1805
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx27(
|
|
1793
1806
|
SmdChipLead,
|
|
1794
1807
|
{
|
|
1795
1808
|
rotation: Math.PI,
|
|
@@ -1806,7 +1819,7 @@ var SOIC = ({
|
|
|
1806
1819
|
},
|
|
1807
1820
|
i
|
|
1808
1821
|
)),
|
|
1809
|
-
/* @__PURE__ */
|
|
1822
|
+
/* @__PURE__ */ jsx27(
|
|
1810
1823
|
ChipBody,
|
|
1811
1824
|
{
|
|
1812
1825
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1819,7 +1832,7 @@ var SOIC = ({
|
|
|
1819
1832
|
};
|
|
1820
1833
|
|
|
1821
1834
|
// lib/VSSOP.tsx
|
|
1822
|
-
import { Fragment as
|
|
1835
|
+
import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1823
1836
|
var VSSOP = ({
|
|
1824
1837
|
pinCount,
|
|
1825
1838
|
pitch,
|
|
@@ -1849,8 +1862,8 @@ var VSSOP = ({
|
|
|
1849
1862
|
const componentFullWidth = 4.5;
|
|
1850
1863
|
const leadBodyDistance = (componentFullWidth - _bodyWidth) / 2;
|
|
1851
1864
|
const padContactLength = leadBodyDistance * 0.5;
|
|
1852
|
-
return /* @__PURE__ */ jsxs25(
|
|
1853
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1865
|
+
return /* @__PURE__ */ jsxs25(Fragment24, { children: [
|
|
1866
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx28(
|
|
1854
1867
|
SmdChipLead,
|
|
1855
1868
|
{
|
|
1856
1869
|
position: {
|
|
@@ -1866,7 +1879,7 @@ var VSSOP = ({
|
|
|
1866
1879
|
},
|
|
1867
1880
|
`left-${i}`
|
|
1868
1881
|
)),
|
|
1869
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1882
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx28(
|
|
1870
1883
|
SmdChipLead,
|
|
1871
1884
|
{
|
|
1872
1885
|
rotation: Math.PI,
|
|
@@ -1883,7 +1896,7 @@ var VSSOP = ({
|
|
|
1883
1896
|
},
|
|
1884
1897
|
`right-${i}`
|
|
1885
1898
|
)),
|
|
1886
|
-
/* @__PURE__ */
|
|
1899
|
+
/* @__PURE__ */ jsx28(
|
|
1887
1900
|
ChipBody,
|
|
1888
1901
|
{
|
|
1889
1902
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1897,7 +1910,7 @@ var VSSOP = ({
|
|
|
1897
1910
|
|
|
1898
1911
|
// lib/SOD523.tsx
|
|
1899
1912
|
import { Colorize as Colorize10, Cuboid as Cuboid18, Hull as Hull4, Translate as Translate10, Union as Union4 } from "jscad-fiber";
|
|
1900
|
-
import { Fragment as
|
|
1913
|
+
import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1901
1914
|
var SOD523 = () => {
|
|
1902
1915
|
const fullWidth = 2.15;
|
|
1903
1916
|
const bodyLength10 = 0.8;
|
|
@@ -1910,8 +1923,8 @@ var SOD523 = () => {
|
|
|
1910
1923
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
1911
1924
|
const taperOffset = 0.2;
|
|
1912
1925
|
const straightHeight = bodyHeight * 0.5;
|
|
1913
|
-
return /* @__PURE__ */ jsxs26(
|
|
1914
|
-
/* @__PURE__ */
|
|
1926
|
+
return /* @__PURE__ */ jsxs26(Fragment25, { children: [
|
|
1927
|
+
/* @__PURE__ */ jsx29(
|
|
1915
1928
|
Cuboid18,
|
|
1916
1929
|
{
|
|
1917
1930
|
color: "#ccc",
|
|
@@ -1919,7 +1932,7 @@ var SOD523 = () => {
|
|
|
1919
1932
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1920
1933
|
}
|
|
1921
1934
|
),
|
|
1922
|
-
/* @__PURE__ */
|
|
1935
|
+
/* @__PURE__ */ jsx29(
|
|
1923
1936
|
Cuboid18,
|
|
1924
1937
|
{
|
|
1925
1938
|
color: "#ccc",
|
|
@@ -1927,11 +1940,11 @@ var SOD523 = () => {
|
|
|
1927
1940
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1928
1941
|
}
|
|
1929
1942
|
),
|
|
1930
|
-
/* @__PURE__ */
|
|
1931
|
-
/* @__PURE__ */
|
|
1943
|
+
/* @__PURE__ */ jsx29(Colorize10, { color: "#222", children: /* @__PURE__ */ jsxs26(Union4, { children: [
|
|
1944
|
+
/* @__PURE__ */ jsx29(Translate10, { z: straightHeight / 2, children: /* @__PURE__ */ jsx29(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
1932
1945
|
/* @__PURE__ */ jsxs26(Hull4, { children: [
|
|
1933
|
-
/* @__PURE__ */
|
|
1934
|
-
/* @__PURE__ */
|
|
1946
|
+
/* @__PURE__ */ jsx29(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx29(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1947
|
+
/* @__PURE__ */ jsx29(Translate10, { z: bodyHeight, children: /* @__PURE__ */ jsx29(
|
|
1935
1948
|
Cuboid18,
|
|
1936
1949
|
{
|
|
1937
1950
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -1944,7 +1957,7 @@ var SOD523 = () => {
|
|
|
1944
1957
|
|
|
1945
1958
|
// lib/SOD882.tsx
|
|
1946
1959
|
import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate11 } from "jscad-fiber";
|
|
1947
|
-
import { Fragment as
|
|
1960
|
+
import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1948
1961
|
var SOD882 = () => {
|
|
1949
1962
|
const bodyLength10 = 0.98;
|
|
1950
1963
|
const bodyHeight = 0.47;
|
|
@@ -1955,8 +1968,8 @@ var SOD882 = () => {
|
|
|
1955
1968
|
const bodyWidth = 0.58;
|
|
1956
1969
|
const leftPadCenterX = -pitch / 2;
|
|
1957
1970
|
const rightPadCenterX = pitch / 2;
|
|
1958
|
-
return /* @__PURE__ */ jsxs27(
|
|
1959
|
-
/* @__PURE__ */
|
|
1971
|
+
return /* @__PURE__ */ jsxs27(Fragment26, { children: [
|
|
1972
|
+
/* @__PURE__ */ jsx30(
|
|
1960
1973
|
Cuboid19,
|
|
1961
1974
|
{
|
|
1962
1975
|
color: "#ccc",
|
|
@@ -1964,7 +1977,7 @@ var SOD882 = () => {
|
|
|
1964
1977
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1965
1978
|
}
|
|
1966
1979
|
),
|
|
1967
|
-
/* @__PURE__ */
|
|
1980
|
+
/* @__PURE__ */ jsx30(
|
|
1968
1981
|
Cuboid19,
|
|
1969
1982
|
{
|
|
1970
1983
|
color: "#ccc",
|
|
@@ -1972,8 +1985,8 @@ var SOD882 = () => {
|
|
|
1972
1985
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1973
1986
|
}
|
|
1974
1987
|
),
|
|
1975
|
-
/* @__PURE__ */
|
|
1976
|
-
/* @__PURE__ */
|
|
1988
|
+
/* @__PURE__ */ jsx30(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx30(Translate11, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx30(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
|
|
1989
|
+
/* @__PURE__ */ jsx30(
|
|
1977
1990
|
Cuboid19,
|
|
1978
1991
|
{
|
|
1979
1992
|
color: "#ccc",
|
|
@@ -1981,7 +1994,7 @@ var SOD882 = () => {
|
|
|
1981
1994
|
center: [0, padLength / 2, bodyHeight / 4]
|
|
1982
1995
|
}
|
|
1983
1996
|
),
|
|
1984
|
-
/* @__PURE__ */
|
|
1997
|
+
/* @__PURE__ */ jsx30(
|
|
1985
1998
|
Cuboid19,
|
|
1986
1999
|
{
|
|
1987
2000
|
color: "#ccc",
|
|
@@ -1989,7 +2002,7 @@ var SOD882 = () => {
|
|
|
1989
2002
|
center: [0, -padLength / 2, bodyHeight / 4]
|
|
1990
2003
|
}
|
|
1991
2004
|
),
|
|
1992
|
-
/* @__PURE__ */
|
|
2005
|
+
/* @__PURE__ */ jsx30(
|
|
1993
2006
|
Cuboid19,
|
|
1994
2007
|
{
|
|
1995
2008
|
color: "#ccc",
|
|
@@ -1997,7 +2010,7 @@ var SOD882 = () => {
|
|
|
1997
2010
|
center: [pitch / 2, 0, bodyHeight / 4]
|
|
1998
2011
|
}
|
|
1999
2012
|
),
|
|
2000
|
-
/* @__PURE__ */
|
|
2013
|
+
/* @__PURE__ */ jsx30(
|
|
2001
2014
|
Cuboid19,
|
|
2002
2015
|
{
|
|
2003
2016
|
color: "#ccc",
|
|
@@ -2010,7 +2023,7 @@ var SOD882 = () => {
|
|
|
2010
2023
|
|
|
2011
2024
|
// lib/SMA.tsx
|
|
2012
2025
|
import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union6, Hull as Hull6, Translate as Translate12 } from "jscad-fiber";
|
|
2013
|
-
import { Fragment as
|
|
2026
|
+
import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2014
2027
|
var SMA = () => {
|
|
2015
2028
|
const bodyWidth = 4.4;
|
|
2016
2029
|
const bodyLength10 = 3.4;
|
|
@@ -2021,19 +2034,19 @@ var SMA = () => {
|
|
|
2021
2034
|
const leadHeight = 1.14;
|
|
2022
2035
|
const taperOffset = 0.4;
|
|
2023
2036
|
const straightHeight = bodyHeight * 0.5;
|
|
2024
|
-
const Body = /* @__PURE__ */
|
|
2037
|
+
const Body = /* @__PURE__ */ jsx31(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Union6, { children: [
|
|
2025
2038
|
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2026
|
-
/* @__PURE__ */
|
|
2039
|
+
/* @__PURE__ */ jsx31(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx31(
|
|
2027
2040
|
Cuboid20,
|
|
2028
2041
|
{
|
|
2029
2042
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2030
2043
|
}
|
|
2031
2044
|
) }),
|
|
2032
|
-
/* @__PURE__ */
|
|
2045
|
+
/* @__PURE__ */ jsx31(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2033
2046
|
] }),
|
|
2034
2047
|
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2035
|
-
/* @__PURE__ */
|
|
2036
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ jsx31(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2049
|
+
/* @__PURE__ */ jsx31(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx31(
|
|
2037
2050
|
Cuboid20,
|
|
2038
2051
|
{
|
|
2039
2052
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2049,22 +2062,22 @@ var SMA = () => {
|
|
|
2049
2062
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2050
2063
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2051
2064
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2052
|
-
return /* @__PURE__ */
|
|
2053
|
-
/* @__PURE__ */
|
|
2065
|
+
return /* @__PURE__ */ jsx31(Colorize12, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs28(Union6, { children: [
|
|
2066
|
+
/* @__PURE__ */ jsx31(
|
|
2054
2067
|
Cuboid20,
|
|
2055
2068
|
{
|
|
2056
2069
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2057
2070
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2058
2071
|
}
|
|
2059
2072
|
),
|
|
2060
|
-
/* @__PURE__ */
|
|
2073
|
+
/* @__PURE__ */ jsx31(
|
|
2061
2074
|
Cuboid20,
|
|
2062
2075
|
{
|
|
2063
2076
|
size: [leadThickness, padWidth, leadHeight],
|
|
2064
2077
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2065
2078
|
}
|
|
2066
2079
|
),
|
|
2067
|
-
/* @__PURE__ */
|
|
2080
|
+
/* @__PURE__ */ jsx31(
|
|
2068
2081
|
Cuboid20,
|
|
2069
2082
|
{
|
|
2070
2083
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2073,16 +2086,16 @@ var SMA = () => {
|
|
|
2073
2086
|
)
|
|
2074
2087
|
] }) });
|
|
2075
2088
|
};
|
|
2076
|
-
return /* @__PURE__ */ jsxs28(
|
|
2077
|
-
/* @__PURE__ */
|
|
2078
|
-
/* @__PURE__ */
|
|
2089
|
+
return /* @__PURE__ */ jsxs28(Fragment27, { children: [
|
|
2090
|
+
/* @__PURE__ */ jsx31(Lead, { xDir: 1 }),
|
|
2091
|
+
/* @__PURE__ */ jsx31(Lead, { xDir: -1 }),
|
|
2079
2092
|
Body
|
|
2080
2093
|
] });
|
|
2081
2094
|
};
|
|
2082
2095
|
|
|
2083
2096
|
// lib/SMB.tsx
|
|
2084
2097
|
import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union7, Hull as Hull7, Translate as Translate13 } from "jscad-fiber";
|
|
2085
|
-
import { Fragment as
|
|
2098
|
+
import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2086
2099
|
var SMB = () => {
|
|
2087
2100
|
const bodyWidth = 4.4;
|
|
2088
2101
|
const bodyLength10 = 3.4;
|
|
@@ -2093,19 +2106,19 @@ var SMB = () => {
|
|
|
2093
2106
|
const leadHeight = 1.14;
|
|
2094
2107
|
const taperOffset = 0.4;
|
|
2095
2108
|
const straightHeight = bodyHeight * 0.5;
|
|
2096
|
-
const Body = /* @__PURE__ */
|
|
2109
|
+
const Body = /* @__PURE__ */ jsx32(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Union7, { children: [
|
|
2097
2110
|
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2098
|
-
/* @__PURE__ */
|
|
2111
|
+
/* @__PURE__ */ jsx32(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx32(
|
|
2099
2112
|
Cuboid21,
|
|
2100
2113
|
{
|
|
2101
2114
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2102
2115
|
}
|
|
2103
2116
|
) }),
|
|
2104
|
-
/* @__PURE__ */
|
|
2117
|
+
/* @__PURE__ */ jsx32(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2105
2118
|
] }),
|
|
2106
2119
|
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2107
|
-
/* @__PURE__ */
|
|
2108
|
-
/* @__PURE__ */
|
|
2120
|
+
/* @__PURE__ */ jsx32(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2121
|
+
/* @__PURE__ */ jsx32(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
|
|
2109
2122
|
Cuboid21,
|
|
2110
2123
|
{
|
|
2111
2124
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2121,22 +2134,22 @@ var SMB = () => {
|
|
|
2121
2134
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2122
2135
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2123
2136
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2124
|
-
return /* @__PURE__ */
|
|
2125
|
-
/* @__PURE__ */
|
|
2137
|
+
return /* @__PURE__ */ jsx32(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs29(Union7, { children: [
|
|
2138
|
+
/* @__PURE__ */ jsx32(
|
|
2126
2139
|
Cuboid21,
|
|
2127
2140
|
{
|
|
2128
2141
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2129
2142
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2130
2143
|
}
|
|
2131
2144
|
),
|
|
2132
|
-
/* @__PURE__ */
|
|
2145
|
+
/* @__PURE__ */ jsx32(
|
|
2133
2146
|
Cuboid21,
|
|
2134
2147
|
{
|
|
2135
2148
|
size: [leadThickness, padWidth, leadHeight],
|
|
2136
2149
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2137
2150
|
}
|
|
2138
2151
|
),
|
|
2139
|
-
/* @__PURE__ */
|
|
2152
|
+
/* @__PURE__ */ jsx32(
|
|
2140
2153
|
Cuboid21,
|
|
2141
2154
|
{
|
|
2142
2155
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2145,16 +2158,16 @@ var SMB = () => {
|
|
|
2145
2158
|
)
|
|
2146
2159
|
] }) });
|
|
2147
2160
|
};
|
|
2148
|
-
return /* @__PURE__ */ jsxs29(
|
|
2149
|
-
/* @__PURE__ */
|
|
2150
|
-
/* @__PURE__ */
|
|
2161
|
+
return /* @__PURE__ */ jsxs29(Fragment28, { children: [
|
|
2162
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: 1 }),
|
|
2163
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: -1 }),
|
|
2151
2164
|
Body
|
|
2152
2165
|
] });
|
|
2153
2166
|
};
|
|
2154
2167
|
|
|
2155
2168
|
// lib/SMC.tsx
|
|
2156
2169
|
import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union8, Hull as Hull8, Translate as Translate14 } from "jscad-fiber";
|
|
2157
|
-
import { Fragment as
|
|
2170
|
+
import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2158
2171
|
var SMC = () => {
|
|
2159
2172
|
const bodyWidth = 6.8;
|
|
2160
2173
|
const bodyLength10 = 6;
|
|
@@ -2165,19 +2178,19 @@ var SMC = () => {
|
|
|
2165
2178
|
const leadHeight = 1.14;
|
|
2166
2179
|
const taperOffset = 0.4;
|
|
2167
2180
|
const straightHeight = bodyHeight * 0.5;
|
|
2168
|
-
const Body = /* @__PURE__ */
|
|
2181
|
+
const Body = /* @__PURE__ */ jsx33(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs30(Union8, { children: [
|
|
2169
2182
|
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2170
|
-
/* @__PURE__ */
|
|
2183
|
+
/* @__PURE__ */ jsx33(Translate14, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx33(
|
|
2171
2184
|
Cuboid22,
|
|
2172
2185
|
{
|
|
2173
2186
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2174
2187
|
}
|
|
2175
2188
|
) }),
|
|
2176
|
-
/* @__PURE__ */
|
|
2189
|
+
/* @__PURE__ */ jsx33(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2177
2190
|
] }),
|
|
2178
2191
|
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2179
|
-
/* @__PURE__ */
|
|
2180
|
-
/* @__PURE__ */
|
|
2192
|
+
/* @__PURE__ */ jsx33(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2193
|
+
/* @__PURE__ */ jsx33(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
|
|
2181
2194
|
Cuboid22,
|
|
2182
2195
|
{
|
|
2183
2196
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2193,22 +2206,22 @@ var SMC = () => {
|
|
|
2193
2206
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2194
2207
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2195
2208
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2196
|
-
return /* @__PURE__ */
|
|
2197
|
-
/* @__PURE__ */
|
|
2209
|
+
return /* @__PURE__ */ jsx33(Colorize14, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs30(Union8, { children: [
|
|
2210
|
+
/* @__PURE__ */ jsx33(
|
|
2198
2211
|
Cuboid22,
|
|
2199
2212
|
{
|
|
2200
2213
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2201
2214
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2202
2215
|
}
|
|
2203
2216
|
),
|
|
2204
|
-
/* @__PURE__ */
|
|
2217
|
+
/* @__PURE__ */ jsx33(
|
|
2205
2218
|
Cuboid22,
|
|
2206
2219
|
{
|
|
2207
2220
|
size: [leadThickness, padWidth, leadHeight],
|
|
2208
2221
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2209
2222
|
}
|
|
2210
2223
|
),
|
|
2211
|
-
/* @__PURE__ */
|
|
2224
|
+
/* @__PURE__ */ jsx33(
|
|
2212
2225
|
Cuboid22,
|
|
2213
2226
|
{
|
|
2214
2227
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2217,16 +2230,16 @@ var SMC = () => {
|
|
|
2217
2230
|
)
|
|
2218
2231
|
] }) });
|
|
2219
2232
|
};
|
|
2220
|
-
return /* @__PURE__ */ jsxs30(
|
|
2221
|
-
/* @__PURE__ */
|
|
2222
|
-
/* @__PURE__ */
|
|
2233
|
+
return /* @__PURE__ */ jsxs30(Fragment29, { children: [
|
|
2234
|
+
/* @__PURE__ */ jsx33(Lead, { xDir: 1 }),
|
|
2235
|
+
/* @__PURE__ */ jsx33(Lead, { xDir: -1 }),
|
|
2223
2236
|
Body
|
|
2224
2237
|
] });
|
|
2225
2238
|
};
|
|
2226
2239
|
|
|
2227
2240
|
// lib/SMF.tsx
|
|
2228
2241
|
import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate15, Union as Union9 } from "jscad-fiber";
|
|
2229
|
-
import { Fragment as
|
|
2242
|
+
import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2230
2243
|
var SMF = () => {
|
|
2231
2244
|
const fullWidth = 2.9;
|
|
2232
2245
|
const bodyLength10 = 1.9;
|
|
@@ -2239,11 +2252,11 @@ var SMF = () => {
|
|
|
2239
2252
|
const rightPadCenterX = 1.3;
|
|
2240
2253
|
const taperOffset = 0.2;
|
|
2241
2254
|
const straightHeight = bodyHeight * 0.5;
|
|
2242
|
-
const Body = /* @__PURE__ */
|
|
2243
|
-
/* @__PURE__ */
|
|
2255
|
+
const Body = /* @__PURE__ */ jsx34(Colorize15, { color: "#222", children: /* @__PURE__ */ jsxs31(Union9, { children: [
|
|
2256
|
+
/* @__PURE__ */ jsx34(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx34(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2244
2257
|
/* @__PURE__ */ jsxs31(Hull9, { children: [
|
|
2245
|
-
/* @__PURE__ */
|
|
2246
|
-
/* @__PURE__ */
|
|
2258
|
+
/* @__PURE__ */ jsx34(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2259
|
+
/* @__PURE__ */ jsx34(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
|
|
2247
2260
|
Cuboid23,
|
|
2248
2261
|
{
|
|
2249
2262
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2251,8 +2264,8 @@ var SMF = () => {
|
|
|
2251
2264
|
) })
|
|
2252
2265
|
] })
|
|
2253
2266
|
] }) });
|
|
2254
|
-
return /* @__PURE__ */ jsxs31(
|
|
2255
|
-
/* @__PURE__ */
|
|
2267
|
+
return /* @__PURE__ */ jsxs31(Fragment30, { children: [
|
|
2268
|
+
/* @__PURE__ */ jsx34(
|
|
2256
2269
|
Cuboid23,
|
|
2257
2270
|
{
|
|
2258
2271
|
color: "#ccc",
|
|
@@ -2260,7 +2273,7 @@ var SMF = () => {
|
|
|
2260
2273
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2261
2274
|
}
|
|
2262
2275
|
),
|
|
2263
|
-
/* @__PURE__ */
|
|
2276
|
+
/* @__PURE__ */ jsx34(
|
|
2264
2277
|
Cuboid23,
|
|
2265
2278
|
{
|
|
2266
2279
|
color: "#ccc",
|
|
@@ -2274,7 +2287,7 @@ var SMF = () => {
|
|
|
2274
2287
|
|
|
2275
2288
|
// lib/sod-123F.tsx
|
|
2276
2289
|
import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate16, Union as Union10 } from "jscad-fiber";
|
|
2277
|
-
import { Fragment as
|
|
2290
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2278
2291
|
var SOD123F = () => {
|
|
2279
2292
|
const fullWidth = 2.7;
|
|
2280
2293
|
const bodyLength10 = 1.6;
|
|
@@ -2286,8 +2299,8 @@ var SOD123F = () => {
|
|
|
2286
2299
|
const rightPadCenterX = 1.3;
|
|
2287
2300
|
const taperOffset = 0.2;
|
|
2288
2301
|
const straightHeight = bodyHeight * 0.5;
|
|
2289
|
-
return /* @__PURE__ */ jsxs32(
|
|
2290
|
-
/* @__PURE__ */
|
|
2302
|
+
return /* @__PURE__ */ jsxs32(Fragment31, { children: [
|
|
2303
|
+
/* @__PURE__ */ jsx35(
|
|
2291
2304
|
Cuboid24,
|
|
2292
2305
|
{
|
|
2293
2306
|
color: "#ccc",
|
|
@@ -2295,7 +2308,7 @@ var SOD123F = () => {
|
|
|
2295
2308
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2296
2309
|
}
|
|
2297
2310
|
),
|
|
2298
|
-
/* @__PURE__ */
|
|
2311
|
+
/* @__PURE__ */ jsx35(
|
|
2299
2312
|
Cuboid24,
|
|
2300
2313
|
{
|
|
2301
2314
|
color: "#ccc",
|
|
@@ -2303,11 +2316,11 @@ var SOD123F = () => {
|
|
|
2303
2316
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2304
2317
|
}
|
|
2305
2318
|
),
|
|
2306
|
-
/* @__PURE__ */
|
|
2307
|
-
/* @__PURE__ */
|
|
2319
|
+
/* @__PURE__ */ jsx35(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs32(Union10, { children: [
|
|
2320
|
+
/* @__PURE__ */ jsx35(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2308
2321
|
/* @__PURE__ */ jsxs32(Hull10, { children: [
|
|
2309
|
-
/* @__PURE__ */
|
|
2310
|
-
/* @__PURE__ */
|
|
2322
|
+
/* @__PURE__ */ jsx35(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2323
|
+
/* @__PURE__ */ jsx35(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
|
|
2311
2324
|
Cuboid24,
|
|
2312
2325
|
{
|
|
2313
2326
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2320,7 +2333,7 @@ var SOD123F = () => {
|
|
|
2320
2333
|
|
|
2321
2334
|
// lib/sod-123FL.tsx
|
|
2322
2335
|
import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate17, Union as Union11 } from "jscad-fiber";
|
|
2323
|
-
import { Fragment as
|
|
2336
|
+
import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2324
2337
|
var SOD123FL = () => {
|
|
2325
2338
|
const fullWidth = 2.75;
|
|
2326
2339
|
const bodyLength10 = 1.8;
|
|
@@ -2332,8 +2345,8 @@ var SOD123FL = () => {
|
|
|
2332
2345
|
const rightPadCenterX = fullWidth / 2 - 0.075;
|
|
2333
2346
|
const taperOffset = 0.4;
|
|
2334
2347
|
const straightHeight = bodyHeight * 0.2;
|
|
2335
|
-
return /* @__PURE__ */ jsxs33(
|
|
2336
|
-
/* @__PURE__ */
|
|
2348
|
+
return /* @__PURE__ */ jsxs33(Fragment32, { children: [
|
|
2349
|
+
/* @__PURE__ */ jsx36(
|
|
2337
2350
|
Cuboid25,
|
|
2338
2351
|
{
|
|
2339
2352
|
color: "#ccc",
|
|
@@ -2341,7 +2354,7 @@ var SOD123FL = () => {
|
|
|
2341
2354
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2342
2355
|
}
|
|
2343
2356
|
),
|
|
2344
|
-
/* @__PURE__ */
|
|
2357
|
+
/* @__PURE__ */ jsx36(
|
|
2345
2358
|
Cuboid25,
|
|
2346
2359
|
{
|
|
2347
2360
|
color: "#ccc",
|
|
@@ -2349,11 +2362,11 @@ var SOD123FL = () => {
|
|
|
2349
2362
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2350
2363
|
}
|
|
2351
2364
|
),
|
|
2352
|
-
/* @__PURE__ */
|
|
2353
|
-
/* @__PURE__ */
|
|
2365
|
+
/* @__PURE__ */ jsx36(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs33(Union11, { children: [
|
|
2366
|
+
/* @__PURE__ */ jsx36(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx36(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2354
2367
|
/* @__PURE__ */ jsxs33(Hull11, { children: [
|
|
2355
|
-
/* @__PURE__ */
|
|
2356
|
-
/* @__PURE__ */
|
|
2368
|
+
/* @__PURE__ */ jsx36(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2369
|
+
/* @__PURE__ */ jsx36(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
|
|
2357
2370
|
Cuboid25,
|
|
2358
2371
|
{
|
|
2359
2372
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2361,7 +2374,7 @@ var SOD123FL = () => {
|
|
|
2361
2374
|
) })
|
|
2362
2375
|
] })
|
|
2363
2376
|
] }) }),
|
|
2364
|
-
/* @__PURE__ */
|
|
2377
|
+
/* @__PURE__ */ jsx36(
|
|
2365
2378
|
Cuboid25,
|
|
2366
2379
|
{
|
|
2367
2380
|
color: "#777",
|
|
@@ -2374,7 +2387,7 @@ var SOD123FL = () => {
|
|
|
2374
2387
|
|
|
2375
2388
|
// lib/sod-123W.tsx
|
|
2376
2389
|
import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate18, Union as Union12 } from "jscad-fiber";
|
|
2377
|
-
import { Fragment as
|
|
2390
|
+
import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2378
2391
|
var SOD123W = () => {
|
|
2379
2392
|
const fullWidth = 2.6;
|
|
2380
2393
|
const bodyLength10 = 1.7;
|
|
@@ -2387,8 +2400,8 @@ var SOD123W = () => {
|
|
|
2387
2400
|
const taperOffset = 0.4;
|
|
2388
2401
|
const lowerTaperOffset = 0.1;
|
|
2389
2402
|
const straightHeight = bodyHeight * 0.2;
|
|
2390
|
-
return /* @__PURE__ */ jsxs34(
|
|
2391
|
-
/* @__PURE__ */
|
|
2403
|
+
return /* @__PURE__ */ jsxs34(Fragment33, { children: [
|
|
2404
|
+
/* @__PURE__ */ jsx37(
|
|
2392
2405
|
Cuboid26,
|
|
2393
2406
|
{
|
|
2394
2407
|
color: "#ccc",
|
|
@@ -2396,7 +2409,7 @@ var SOD123W = () => {
|
|
|
2396
2409
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2397
2410
|
}
|
|
2398
2411
|
),
|
|
2399
|
-
/* @__PURE__ */
|
|
2412
|
+
/* @__PURE__ */ jsx37(
|
|
2400
2413
|
Cuboid26,
|
|
2401
2414
|
{
|
|
2402
2415
|
color: "#ccc",
|
|
@@ -2404,9 +2417,9 @@ var SOD123W = () => {
|
|
|
2404
2417
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2405
2418
|
}
|
|
2406
2419
|
),
|
|
2407
|
-
/* @__PURE__ */
|
|
2420
|
+
/* @__PURE__ */ jsx37(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs34(Union12, { children: [
|
|
2408
2421
|
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2409
|
-
/* @__PURE__ */
|
|
2422
|
+
/* @__PURE__ */ jsx37(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx37(
|
|
2410
2423
|
Cuboid26,
|
|
2411
2424
|
{
|
|
2412
2425
|
size: [
|
|
@@ -2416,7 +2429,7 @@ var SOD123W = () => {
|
|
|
2416
2429
|
]
|
|
2417
2430
|
}
|
|
2418
2431
|
) }),
|
|
2419
|
-
/* @__PURE__ */
|
|
2432
|
+
/* @__PURE__ */ jsx37(Translate18, { z: 0.01, children: /* @__PURE__ */ jsx37(
|
|
2420
2433
|
Cuboid26,
|
|
2421
2434
|
{
|
|
2422
2435
|
size: [
|
|
@@ -2428,8 +2441,8 @@ var SOD123W = () => {
|
|
|
2428
2441
|
) })
|
|
2429
2442
|
] }),
|
|
2430
2443
|
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2431
|
-
/* @__PURE__ */
|
|
2432
|
-
/* @__PURE__ */
|
|
2444
|
+
/* @__PURE__ */ jsx37(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx37(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2445
|
+
/* @__PURE__ */ jsx37(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx37(
|
|
2433
2446
|
Cuboid26,
|
|
2434
2447
|
{
|
|
2435
2448
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2437,7 +2450,7 @@ var SOD123W = () => {
|
|
|
2437
2450
|
) })
|
|
2438
2451
|
] })
|
|
2439
2452
|
] }) }),
|
|
2440
|
-
/* @__PURE__ */
|
|
2453
|
+
/* @__PURE__ */ jsx37(
|
|
2441
2454
|
Cuboid26,
|
|
2442
2455
|
{
|
|
2443
2456
|
color: "#777",
|
|
@@ -2450,7 +2463,7 @@ var SOD123W = () => {
|
|
|
2450
2463
|
|
|
2451
2464
|
// lib/sod-128.tsx
|
|
2452
2465
|
import { Colorize as Colorize19, Cuboid as Cuboid27, Hull as Hull13, Translate as Translate19, Union as Union13 } from "jscad-fiber";
|
|
2453
|
-
import { Fragment as
|
|
2466
|
+
import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2454
2467
|
var SOD128 = () => {
|
|
2455
2468
|
const fullWidth = 3.8;
|
|
2456
2469
|
const bodyLength10 = 2.5;
|
|
@@ -2463,8 +2476,8 @@ var SOD128 = () => {
|
|
|
2463
2476
|
const taperOffset = 0.4;
|
|
2464
2477
|
const lowerTaperOffset = 0.05;
|
|
2465
2478
|
const straightHeight = bodyHeight * 0.2;
|
|
2466
|
-
return /* @__PURE__ */ jsxs35(
|
|
2467
|
-
/* @__PURE__ */
|
|
2479
|
+
return /* @__PURE__ */ jsxs35(Fragment34, { children: [
|
|
2480
|
+
/* @__PURE__ */ jsx38(
|
|
2468
2481
|
Cuboid27,
|
|
2469
2482
|
{
|
|
2470
2483
|
color: "#ccc",
|
|
@@ -2472,7 +2485,7 @@ var SOD128 = () => {
|
|
|
2472
2485
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2473
2486
|
}
|
|
2474
2487
|
),
|
|
2475
|
-
/* @__PURE__ */
|
|
2488
|
+
/* @__PURE__ */ jsx38(
|
|
2476
2489
|
Cuboid27,
|
|
2477
2490
|
{
|
|
2478
2491
|
color: "#ccc",
|
|
@@ -2480,9 +2493,9 @@ var SOD128 = () => {
|
|
|
2480
2493
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2481
2494
|
}
|
|
2482
2495
|
),
|
|
2483
|
-
/* @__PURE__ */
|
|
2496
|
+
/* @__PURE__ */ jsx38(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs35(Union13, { children: [
|
|
2484
2497
|
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2485
|
-
/* @__PURE__ */
|
|
2498
|
+
/* @__PURE__ */ jsx38(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx38(
|
|
2486
2499
|
Cuboid27,
|
|
2487
2500
|
{
|
|
2488
2501
|
size: [
|
|
@@ -2492,7 +2505,7 @@ var SOD128 = () => {
|
|
|
2492
2505
|
]
|
|
2493
2506
|
}
|
|
2494
2507
|
) }),
|
|
2495
|
-
/* @__PURE__ */
|
|
2508
|
+
/* @__PURE__ */ jsx38(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx38(
|
|
2496
2509
|
Cuboid27,
|
|
2497
2510
|
{
|
|
2498
2511
|
size: [
|
|
@@ -2504,8 +2517,8 @@ var SOD128 = () => {
|
|
|
2504
2517
|
) })
|
|
2505
2518
|
] }),
|
|
2506
2519
|
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2507
|
-
/* @__PURE__ */
|
|
2508
|
-
/* @__PURE__ */
|
|
2520
|
+
/* @__PURE__ */ jsx38(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx38(Cuboid27, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2521
|
+
/* @__PURE__ */ jsx38(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx38(
|
|
2509
2522
|
Cuboid27,
|
|
2510
2523
|
{
|
|
2511
2524
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2513,7 +2526,7 @@ var SOD128 = () => {
|
|
|
2513
2526
|
) })
|
|
2514
2527
|
] })
|
|
2515
2528
|
] }) }),
|
|
2516
|
-
/* @__PURE__ */
|
|
2529
|
+
/* @__PURE__ */ jsx38(
|
|
2517
2530
|
Cuboid27,
|
|
2518
2531
|
{
|
|
2519
2532
|
color: "#777",
|
|
@@ -2526,7 +2539,7 @@ var SOD128 = () => {
|
|
|
2526
2539
|
|
|
2527
2540
|
// lib/SOD-923.tsx
|
|
2528
2541
|
import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull14, Translate as Translate20, Union as Union14 } from "jscad-fiber";
|
|
2529
|
-
import { Fragment as
|
|
2542
|
+
import { Fragment as Fragment35, jsx as jsx39, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2530
2543
|
var SOD923 = () => {
|
|
2531
2544
|
const fullWidth = 0.8;
|
|
2532
2545
|
const bodyLength10 = 0.6;
|
|
@@ -2538,8 +2551,8 @@ var SOD923 = () => {
|
|
|
2538
2551
|
const rightPadCenterX = fullWidth / 2;
|
|
2539
2552
|
const taperOffset = 0.1;
|
|
2540
2553
|
const straightHeight = padThickness;
|
|
2541
|
-
return /* @__PURE__ */ jsxs36(
|
|
2542
|
-
/* @__PURE__ */
|
|
2554
|
+
return /* @__PURE__ */ jsxs36(Fragment35, { children: [
|
|
2555
|
+
/* @__PURE__ */ jsx39(
|
|
2543
2556
|
Cuboid28,
|
|
2544
2557
|
{
|
|
2545
2558
|
color: "#ccc",
|
|
@@ -2547,7 +2560,7 @@ var SOD923 = () => {
|
|
|
2547
2560
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2548
2561
|
}
|
|
2549
2562
|
),
|
|
2550
|
-
/* @__PURE__ */
|
|
2563
|
+
/* @__PURE__ */ jsx39(
|
|
2551
2564
|
Cuboid28,
|
|
2552
2565
|
{
|
|
2553
2566
|
color: "#ccc",
|
|
@@ -2555,11 +2568,11 @@ var SOD923 = () => {
|
|
|
2555
2568
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2556
2569
|
}
|
|
2557
2570
|
),
|
|
2558
|
-
/* @__PURE__ */
|
|
2559
|
-
/* @__PURE__ */
|
|
2571
|
+
/* @__PURE__ */ jsx39(Colorize20, { color: "#222", children: /* @__PURE__ */ jsxs36(Union14, { children: [
|
|
2572
|
+
/* @__PURE__ */ jsx39(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx39(Cuboid28, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2560
2573
|
/* @__PURE__ */ jsxs36(Hull14, { children: [
|
|
2561
|
-
/* @__PURE__ */
|
|
2562
|
-
/* @__PURE__ */
|
|
2574
|
+
/* @__PURE__ */ jsx39(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx39(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2575
|
+
/* @__PURE__ */ jsx39(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx39(
|
|
2563
2576
|
Cuboid28,
|
|
2564
2577
|
{
|
|
2565
2578
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2571,7 +2584,7 @@ var SOD923 = () => {
|
|
|
2571
2584
|
};
|
|
2572
2585
|
|
|
2573
2586
|
// lib/SOT-223.tsx
|
|
2574
|
-
import { Fragment as
|
|
2587
|
+
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2575
2588
|
var SOT223 = () => {
|
|
2576
2589
|
const fullWidth = 6.6;
|
|
2577
2590
|
const bodyWidth = 3.5;
|
|
@@ -2584,8 +2597,8 @@ var SOT223 = () => {
|
|
|
2584
2597
|
const padContactLength = 0.5;
|
|
2585
2598
|
const padPitch = 2.3;
|
|
2586
2599
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2587
|
-
return /* @__PURE__ */ jsxs37(
|
|
2588
|
-
/* @__PURE__ */
|
|
2600
|
+
return /* @__PURE__ */ jsxs37(Fragment36, { children: [
|
|
2601
|
+
/* @__PURE__ */ jsx40(
|
|
2589
2602
|
SmdChipLead,
|
|
2590
2603
|
{
|
|
2591
2604
|
rotation: Math.PI,
|
|
@@ -2602,7 +2615,7 @@ var SOT223 = () => {
|
|
|
2602
2615
|
},
|
|
2603
2616
|
4
|
|
2604
2617
|
),
|
|
2605
|
-
/* @__PURE__ */
|
|
2618
|
+
/* @__PURE__ */ jsx40(
|
|
2606
2619
|
SmdChipLead,
|
|
2607
2620
|
{
|
|
2608
2621
|
position: {
|
|
@@ -2618,7 +2631,7 @@ var SOT223 = () => {
|
|
|
2618
2631
|
},
|
|
2619
2632
|
3
|
|
2620
2633
|
),
|
|
2621
|
-
/* @__PURE__ */
|
|
2634
|
+
/* @__PURE__ */ jsx40(
|
|
2622
2635
|
SmdChipLead,
|
|
2623
2636
|
{
|
|
2624
2637
|
position: {
|
|
@@ -2634,7 +2647,7 @@ var SOT223 = () => {
|
|
|
2634
2647
|
},
|
|
2635
2648
|
1
|
|
2636
2649
|
),
|
|
2637
|
-
/* @__PURE__ */
|
|
2650
|
+
/* @__PURE__ */ jsx40(
|
|
2638
2651
|
SmdChipLead,
|
|
2639
2652
|
{
|
|
2640
2653
|
position: {
|
|
@@ -2650,7 +2663,7 @@ var SOT223 = () => {
|
|
|
2650
2663
|
},
|
|
2651
2664
|
2
|
|
2652
2665
|
),
|
|
2653
|
-
/* @__PURE__ */
|
|
2666
|
+
/* @__PURE__ */ jsx40(
|
|
2654
2667
|
ChipBody,
|
|
2655
2668
|
{
|
|
2656
2669
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2666,7 +2679,7 @@ var SOT223 = () => {
|
|
|
2666
2679
|
};
|
|
2667
2680
|
|
|
2668
2681
|
// lib/tqfp.tsx
|
|
2669
|
-
import { Fragment as
|
|
2682
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2670
2683
|
var TQFP = () => {
|
|
2671
2684
|
const pinCount = 64;
|
|
2672
2685
|
const pitch = 0.5;
|
|
@@ -2681,8 +2694,8 @@ var TQFP = () => {
|
|
|
2681
2694
|
const leadHeight = 0.65;
|
|
2682
2695
|
const leadThickness = 0.25;
|
|
2683
2696
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2684
|
-
return /* @__PURE__ */ jsxs38(
|
|
2685
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2697
|
+
return /* @__PURE__ */ jsxs38(Fragment37, { children: [
|
|
2698
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx41(
|
|
2686
2699
|
SmdChipLead,
|
|
2687
2700
|
{
|
|
2688
2701
|
position: {
|
|
@@ -2698,7 +2711,7 @@ var TQFP = () => {
|
|
|
2698
2711
|
},
|
|
2699
2712
|
`left-${i}`
|
|
2700
2713
|
)),
|
|
2701
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2714
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx41(
|
|
2702
2715
|
SmdChipLead,
|
|
2703
2716
|
{
|
|
2704
2717
|
rotation: Math.PI,
|
|
@@ -2715,7 +2728,7 @@ var TQFP = () => {
|
|
|
2715
2728
|
},
|
|
2716
2729
|
`right-${i}`
|
|
2717
2730
|
)),
|
|
2718
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2731
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx41(
|
|
2719
2732
|
SmdChipLead,
|
|
2720
2733
|
{
|
|
2721
2734
|
rotation: Math.PI / 2,
|
|
@@ -2732,7 +2745,7 @@ var TQFP = () => {
|
|
|
2732
2745
|
},
|
|
2733
2746
|
`bottom-${i}`
|
|
2734
2747
|
)),
|
|
2735
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2748
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx41(
|
|
2736
2749
|
SmdChipLead,
|
|
2737
2750
|
{
|
|
2738
2751
|
rotation: -Math.PI / 2,
|
|
@@ -2749,7 +2762,7 @@ var TQFP = () => {
|
|
|
2749
2762
|
},
|
|
2750
2763
|
`top-${i}`
|
|
2751
2764
|
)),
|
|
2752
|
-
/* @__PURE__ */
|
|
2765
|
+
/* @__PURE__ */ jsx41(
|
|
2753
2766
|
ChipBody,
|
|
2754
2767
|
{
|
|
2755
2768
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2767,7 +2780,7 @@ var TQFP = () => {
|
|
|
2767
2780
|
var tqfp_default = TQFP;
|
|
2768
2781
|
|
|
2769
2782
|
// lib/SOT-323.tsx
|
|
2770
|
-
import { Fragment as
|
|
2783
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2771
2784
|
var SOT323 = () => {
|
|
2772
2785
|
const fullWidth = 2.05;
|
|
2773
2786
|
const bodyWidth = 1.25;
|
|
@@ -2779,8 +2792,8 @@ var SOT323 = () => {
|
|
|
2779
2792
|
const padContactLength = 0.2;
|
|
2780
2793
|
const padPitch = 0.65;
|
|
2781
2794
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2782
|
-
return /* @__PURE__ */ jsxs39(
|
|
2783
|
-
/* @__PURE__ */
|
|
2795
|
+
return /* @__PURE__ */ jsxs39(Fragment38, { children: [
|
|
2796
|
+
/* @__PURE__ */ jsx42(
|
|
2784
2797
|
SmdChipLead,
|
|
2785
2798
|
{
|
|
2786
2799
|
rotation: Math.PI,
|
|
@@ -2797,7 +2810,7 @@ var SOT323 = () => {
|
|
|
2797
2810
|
},
|
|
2798
2811
|
4
|
|
2799
2812
|
),
|
|
2800
|
-
/* @__PURE__ */
|
|
2813
|
+
/* @__PURE__ */ jsx42(
|
|
2801
2814
|
SmdChipLead,
|
|
2802
2815
|
{
|
|
2803
2816
|
position: {
|
|
@@ -2813,7 +2826,7 @@ var SOT323 = () => {
|
|
|
2813
2826
|
},
|
|
2814
2827
|
1
|
|
2815
2828
|
),
|
|
2816
|
-
/* @__PURE__ */
|
|
2829
|
+
/* @__PURE__ */ jsx42(
|
|
2817
2830
|
SmdChipLead,
|
|
2818
2831
|
{
|
|
2819
2832
|
position: {
|
|
@@ -2829,7 +2842,7 @@ var SOT323 = () => {
|
|
|
2829
2842
|
},
|
|
2830
2843
|
2
|
|
2831
2844
|
),
|
|
2832
|
-
/* @__PURE__ */
|
|
2845
|
+
/* @__PURE__ */ jsx42(
|
|
2833
2846
|
ChipBody,
|
|
2834
2847
|
{
|
|
2835
2848
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2846,7 +2859,7 @@ var SOT323 = () => {
|
|
|
2846
2859
|
};
|
|
2847
2860
|
|
|
2848
2861
|
// lib/lqfp.tsx
|
|
2849
|
-
import { Fragment as
|
|
2862
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2850
2863
|
var LQFP = ({
|
|
2851
2864
|
pinCount,
|
|
2852
2865
|
pitch,
|
|
@@ -2869,8 +2882,8 @@ var LQFP = ({
|
|
|
2869
2882
|
const leadHeight = 0.8;
|
|
2870
2883
|
const leadThickness = 0.2;
|
|
2871
2884
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
2872
|
-
return /* @__PURE__ */ jsxs40(
|
|
2873
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2885
|
+
return /* @__PURE__ */ jsxs40(Fragment39, { children: [
|
|
2886
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx43(
|
|
2874
2887
|
SmdChipLead,
|
|
2875
2888
|
{
|
|
2876
2889
|
position: {
|
|
@@ -2886,7 +2899,7 @@ var LQFP = ({
|
|
|
2886
2899
|
},
|
|
2887
2900
|
`left-${i}`
|
|
2888
2901
|
)),
|
|
2889
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2902
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx43(
|
|
2890
2903
|
SmdChipLead,
|
|
2891
2904
|
{
|
|
2892
2905
|
rotation: Math.PI,
|
|
@@ -2903,7 +2916,7 @@ var LQFP = ({
|
|
|
2903
2916
|
},
|
|
2904
2917
|
`right-${i}`
|
|
2905
2918
|
)),
|
|
2906
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2919
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx43(
|
|
2907
2920
|
SmdChipLead,
|
|
2908
2921
|
{
|
|
2909
2922
|
rotation: Math.PI / 2,
|
|
@@ -2920,7 +2933,7 @@ var LQFP = ({
|
|
|
2920
2933
|
},
|
|
2921
2934
|
`bottom-${i}`
|
|
2922
2935
|
)),
|
|
2923
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2936
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx43(
|
|
2924
2937
|
SmdChipLead,
|
|
2925
2938
|
{
|
|
2926
2939
|
rotation: -Math.PI / 2,
|
|
@@ -2937,7 +2950,7 @@ var LQFP = ({
|
|
|
2937
2950
|
},
|
|
2938
2951
|
`top-${i}`
|
|
2939
2952
|
)),
|
|
2940
|
-
/* @__PURE__ */
|
|
2953
|
+
/* @__PURE__ */ jsx43(
|
|
2941
2954
|
ChipBody,
|
|
2942
2955
|
{
|
|
2943
2956
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2960,7 +2973,7 @@ var LQFP = ({
|
|
|
2960
2973
|
|
|
2961
2974
|
// lib/SOT-723.tsx
|
|
2962
2975
|
import { Cuboid as Cuboid29, Translate as Translate21, Colorize as Colorize21, Hull as Hull15, Union as Union15 } from "jscad-fiber";
|
|
2963
|
-
import { Fragment as
|
|
2976
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2964
2977
|
var SOT723 = () => {
|
|
2965
2978
|
const bodyWidth = 0.85;
|
|
2966
2979
|
const bodyLength10 = 1.2;
|
|
@@ -2977,9 +2990,9 @@ var SOT723 = () => {
|
|
|
2977
2990
|
const leftTopPadCenterY = 0.4;
|
|
2978
2991
|
const leftBottomPadCenterX = -0.55;
|
|
2979
2992
|
const leftBottomPadCenterY = -0.4;
|
|
2980
|
-
return /* @__PURE__ */ jsxs41(
|
|
2981
|
-
/* @__PURE__ */
|
|
2982
|
-
/* @__PURE__ */
|
|
2993
|
+
return /* @__PURE__ */ jsxs41(Fragment40, { children: [
|
|
2994
|
+
/* @__PURE__ */ jsx44(Colorize21, { color: "#222", children: /* @__PURE__ */ jsxs41(Union15, { children: [
|
|
2995
|
+
/* @__PURE__ */ jsx44(
|
|
2983
2996
|
Cuboid29,
|
|
2984
2997
|
{
|
|
2985
2998
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
@@ -2987,8 +3000,8 @@ var SOT723 = () => {
|
|
|
2987
3000
|
}
|
|
2988
3001
|
),
|
|
2989
3002
|
/* @__PURE__ */ jsxs41(Hull15, { children: [
|
|
2990
|
-
/* @__PURE__ */
|
|
2991
|
-
/* @__PURE__ */
|
|
3003
|
+
/* @__PURE__ */ jsx44(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx44(Cuboid29, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
3004
|
+
/* @__PURE__ */ jsx44(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx44(
|
|
2992
3005
|
Cuboid29,
|
|
2993
3006
|
{
|
|
2994
3007
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2996,7 +3009,7 @@ var SOT723 = () => {
|
|
|
2996
3009
|
) })
|
|
2997
3010
|
] })
|
|
2998
3011
|
] }) }),
|
|
2999
|
-
/* @__PURE__ */
|
|
3012
|
+
/* @__PURE__ */ jsx44(
|
|
3000
3013
|
Cuboid29,
|
|
3001
3014
|
{
|
|
3002
3015
|
color: "#ccc",
|
|
@@ -3004,7 +3017,7 @@ var SOT723 = () => {
|
|
|
3004
3017
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
3005
3018
|
}
|
|
3006
3019
|
),
|
|
3007
|
-
/* @__PURE__ */
|
|
3020
|
+
/* @__PURE__ */ jsx44(
|
|
3008
3021
|
Cuboid29,
|
|
3009
3022
|
{
|
|
3010
3023
|
color: "#ccc",
|
|
@@ -3012,7 +3025,7 @@ var SOT723 = () => {
|
|
|
3012
3025
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
3013
3026
|
}
|
|
3014
3027
|
),
|
|
3015
|
-
/* @__PURE__ */
|
|
3028
|
+
/* @__PURE__ */ jsx44(
|
|
3016
3029
|
Cuboid29,
|
|
3017
3030
|
{
|
|
3018
3031
|
color: "#ccc",
|
|
@@ -3025,7 +3038,7 @@ var SOT723 = () => {
|
|
|
3025
3038
|
|
|
3026
3039
|
// lib/dfn.tsx
|
|
3027
3040
|
import { Cuboid as Cuboid30 } from "jscad-fiber";
|
|
3028
|
-
import { Fragment as
|
|
3041
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3029
3042
|
var DFN = ({
|
|
3030
3043
|
num_pins,
|
|
3031
3044
|
bodyWidth = 5.3,
|
|
@@ -3052,8 +3065,8 @@ var DFN = ({
|
|
|
3052
3065
|
const pinNumber = i + 1;
|
|
3053
3066
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
3054
3067
|
}
|
|
3055
|
-
return /* @__PURE__ */ jsxs42(
|
|
3056
|
-
/* @__PURE__ */
|
|
3068
|
+
return /* @__PURE__ */ jsxs42(Fragment41, { children: [
|
|
3069
|
+
/* @__PURE__ */ jsx45(
|
|
3057
3070
|
ChipBody,
|
|
3058
3071
|
{
|
|
3059
3072
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3071,7 +3084,7 @@ var DFN = ({
|
|
|
3071
3084
|
}
|
|
3072
3085
|
}
|
|
3073
3086
|
),
|
|
3074
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
3087
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx45(
|
|
3075
3088
|
Cuboid30,
|
|
3076
3089
|
{
|
|
3077
3090
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
@@ -3079,7 +3092,7 @@ var DFN = ({
|
|
|
3079
3092
|
},
|
|
3080
3093
|
i
|
|
3081
3094
|
)),
|
|
3082
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
3095
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx45(
|
|
3083
3096
|
Cuboid30,
|
|
3084
3097
|
{
|
|
3085
3098
|
center: [0, 0, thermalPadThickness / 2],
|
|
@@ -3095,7 +3108,7 @@ var DFN = ({
|
|
|
3095
3108
|
|
|
3096
3109
|
// lib/hc49.tsx
|
|
3097
3110
|
import { Colorize as Colorize22, Cylinder as Cylinder5, Hull as Hull16, RoundedCylinder } from "jscad-fiber";
|
|
3098
|
-
import { Fragment as
|
|
3111
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3099
3112
|
var HC49 = ({
|
|
3100
3113
|
bodyLength: bodyLength10 = 10.2,
|
|
3101
3114
|
bodyWidth = 4.65,
|
|
@@ -3111,10 +3124,10 @@ var HC49 = ({
|
|
|
3111
3124
|
const endCenterX = halfLength - endRadius;
|
|
3112
3125
|
const leadCenterX = leadSpacing / 2;
|
|
3113
3126
|
const baseHeight = 0.85;
|
|
3114
|
-
return /* @__PURE__ */ jsxs43(
|
|
3127
|
+
return /* @__PURE__ */ jsxs43(Fragment42, { children: [
|
|
3115
3128
|
/* @__PURE__ */ jsxs43(Colorize22, { color, children: [
|
|
3116
3129
|
/* @__PURE__ */ jsxs43(Hull16, { children: [
|
|
3117
|
-
/* @__PURE__ */
|
|
3130
|
+
/* @__PURE__ */ jsx46(
|
|
3118
3131
|
RoundedCylinder,
|
|
3119
3132
|
{
|
|
3120
3133
|
height: bodyHeight,
|
|
@@ -3123,7 +3136,7 @@ var HC49 = ({
|
|
|
3123
3136
|
center: [-endCenterX, 0, bodyHeight]
|
|
3124
3137
|
}
|
|
3125
3138
|
),
|
|
3126
|
-
/* @__PURE__ */
|
|
3139
|
+
/* @__PURE__ */ jsx46(
|
|
3127
3140
|
RoundedCylinder,
|
|
3128
3141
|
{
|
|
3129
3142
|
height: bodyHeight,
|
|
@@ -3134,7 +3147,7 @@ var HC49 = ({
|
|
|
3134
3147
|
)
|
|
3135
3148
|
] }),
|
|
3136
3149
|
/* @__PURE__ */ jsxs43(Hull16, { children: [
|
|
3137
|
-
/* @__PURE__ */
|
|
3150
|
+
/* @__PURE__ */ jsx46(
|
|
3138
3151
|
RoundedCylinder,
|
|
3139
3152
|
{
|
|
3140
3153
|
height: baseHeight,
|
|
@@ -3143,7 +3156,7 @@ var HC49 = ({
|
|
|
3143
3156
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
3144
3157
|
}
|
|
3145
3158
|
),
|
|
3146
|
-
/* @__PURE__ */
|
|
3159
|
+
/* @__PURE__ */ jsx46(
|
|
3147
3160
|
RoundedCylinder,
|
|
3148
3161
|
{
|
|
3149
3162
|
height: baseHeight,
|
|
@@ -3155,7 +3168,7 @@ var HC49 = ({
|
|
|
3155
3168
|
] })
|
|
3156
3169
|
] }),
|
|
3157
3170
|
/* @__PURE__ */ jsxs43(Colorize22, { color: leadColor, children: [
|
|
3158
|
-
/* @__PURE__ */
|
|
3171
|
+
/* @__PURE__ */ jsx46(
|
|
3159
3172
|
Cylinder5,
|
|
3160
3173
|
{
|
|
3161
3174
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3163,7 +3176,7 @@ var HC49 = ({
|
|
|
3163
3176
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
3164
3177
|
}
|
|
3165
3178
|
),
|
|
3166
|
-
/* @__PURE__ */
|
|
3179
|
+
/* @__PURE__ */ jsx46(
|
|
3167
3180
|
Cylinder5,
|
|
3168
3181
|
{
|
|
3169
3182
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3183,7 +3196,7 @@ import {
|
|
|
3183
3196
|
Rotate as Rotate7,
|
|
3184
3197
|
RoundedCuboid as RoundedCuboid2
|
|
3185
3198
|
} from "jscad-fiber";
|
|
3186
|
-
import { Fragment as
|
|
3199
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3187
3200
|
var MicroMELF = ({
|
|
3188
3201
|
bodyLength: bodyLength10 = 1.4,
|
|
3189
3202
|
bodyDiameter = 1.1,
|
|
@@ -3192,9 +3205,9 @@ var MicroMELF = ({
|
|
|
3192
3205
|
cathodeIdentification = "#111"
|
|
3193
3206
|
}) => {
|
|
3194
3207
|
const padLength = 0.2;
|
|
3195
|
-
return /* @__PURE__ */ jsxs44(
|
|
3196
|
-
/* @__PURE__ */
|
|
3197
|
-
/* @__PURE__ */
|
|
3208
|
+
return /* @__PURE__ */ jsxs44(Fragment43, { children: [
|
|
3209
|
+
/* @__PURE__ */ jsx47(Colorize23, { color, children: /* @__PURE__ */ jsxs44(Rotate7, { rotation: [0, "90deg", 0], children: [
|
|
3210
|
+
/* @__PURE__ */ jsx47(
|
|
3198
3211
|
RoundedCuboid2,
|
|
3199
3212
|
{
|
|
3200
3213
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -3202,7 +3215,7 @@ var MicroMELF = ({
|
|
|
3202
3215
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
3203
3216
|
}
|
|
3204
3217
|
),
|
|
3205
|
-
/* @__PURE__ */
|
|
3218
|
+
/* @__PURE__ */ jsx47(
|
|
3206
3219
|
Cylinder6,
|
|
3207
3220
|
{
|
|
3208
3221
|
height: padLength / 2,
|
|
@@ -3211,7 +3224,7 @@ var MicroMELF = ({
|
|
|
3211
3224
|
}
|
|
3212
3225
|
)
|
|
3213
3226
|
] }) }),
|
|
3214
|
-
/* @__PURE__ */
|
|
3227
|
+
/* @__PURE__ */ jsx47(Colorize23, { color: cathodeIdentification, children: /* @__PURE__ */ jsx47(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
|
|
3215
3228
|
RoundedCuboid2,
|
|
3216
3229
|
{
|
|
3217
3230
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -3219,7 +3232,7 @@ var MicroMELF = ({
|
|
|
3219
3232
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
3220
3233
|
}
|
|
3221
3234
|
) }) }),
|
|
3222
|
-
/* @__PURE__ */
|
|
3235
|
+
/* @__PURE__ */ jsx47(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx47(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
|
|
3223
3236
|
RoundedCylinder2,
|
|
3224
3237
|
{
|
|
3225
3238
|
height: padLength,
|
|
@@ -3228,7 +3241,7 @@ var MicroMELF = ({
|
|
|
3228
3241
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3229
3242
|
}
|
|
3230
3243
|
) }) }),
|
|
3231
|
-
/* @__PURE__ */
|
|
3244
|
+
/* @__PURE__ */ jsx47(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx47(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
|
|
3232
3245
|
RoundedCylinder2,
|
|
3233
3246
|
{
|
|
3234
3247
|
height: padLength,
|
|
@@ -3242,7 +3255,7 @@ var MicroMELF = ({
|
|
|
3242
3255
|
|
|
3243
3256
|
// lib/MINIMELF.tsx
|
|
3244
3257
|
import { Colorize as Colorize24, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
|
|
3245
|
-
import { Fragment as
|
|
3258
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3246
3259
|
var MINIMELF = ({
|
|
3247
3260
|
bodyLength: bodyLength10 = 3.5,
|
|
3248
3261
|
bodyDiameter = 1.5,
|
|
@@ -3250,8 +3263,8 @@ var MINIMELF = ({
|
|
|
3250
3263
|
contactColor = "#c6c6c6"
|
|
3251
3264
|
}) => {
|
|
3252
3265
|
const padLength = 0.5;
|
|
3253
|
-
return /* @__PURE__ */ jsxs45(
|
|
3254
|
-
/* @__PURE__ */
|
|
3266
|
+
return /* @__PURE__ */ jsxs45(Fragment44, { children: [
|
|
3267
|
+
/* @__PURE__ */ jsx48(Colorize24, { color, children: /* @__PURE__ */ jsx48(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3255
3268
|
RoundedCylinder3,
|
|
3256
3269
|
{
|
|
3257
3270
|
height: bodyLength10,
|
|
@@ -3260,7 +3273,7 @@ var MINIMELF = ({
|
|
|
3260
3273
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3261
3274
|
}
|
|
3262
3275
|
) }) }),
|
|
3263
|
-
/* @__PURE__ */
|
|
3276
|
+
/* @__PURE__ */ jsx48(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3264
3277
|
RoundedCylinder3,
|
|
3265
3278
|
{
|
|
3266
3279
|
height: padLength,
|
|
@@ -3269,7 +3282,7 @@ var MINIMELF = ({
|
|
|
3269
3282
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3270
3283
|
}
|
|
3271
3284
|
) }) }),
|
|
3272
|
-
/* @__PURE__ */
|
|
3285
|
+
/* @__PURE__ */ jsx48(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3273
3286
|
RoundedCylinder3,
|
|
3274
3287
|
{
|
|
3275
3288
|
height: padLength,
|
|
@@ -3283,7 +3296,7 @@ var MINIMELF = ({
|
|
|
3283
3296
|
|
|
3284
3297
|
// lib/MELF.tsx
|
|
3285
3298
|
import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
|
|
3286
|
-
import { Fragment as
|
|
3299
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3287
3300
|
var MELF = ({
|
|
3288
3301
|
bodyLength: bodyLength10 = 3.9,
|
|
3289
3302
|
bodyDiameter = 2.5,
|
|
@@ -3291,8 +3304,8 @@ var MELF = ({
|
|
|
3291
3304
|
contactColor = "#c6c6c6"
|
|
3292
3305
|
}) => {
|
|
3293
3306
|
const padLength = 0.55;
|
|
3294
|
-
return /* @__PURE__ */ jsxs46(
|
|
3295
|
-
/* @__PURE__ */
|
|
3307
|
+
return /* @__PURE__ */ jsxs46(Fragment45, { children: [
|
|
3308
|
+
/* @__PURE__ */ jsx49(Colorize25, { color, children: /* @__PURE__ */ jsx49(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3296
3309
|
RoundedCylinder4,
|
|
3297
3310
|
{
|
|
3298
3311
|
height: bodyLength10,
|
|
@@ -3301,7 +3314,7 @@ var MELF = ({
|
|
|
3301
3314
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3302
3315
|
}
|
|
3303
3316
|
) }) }),
|
|
3304
|
-
/* @__PURE__ */
|
|
3317
|
+
/* @__PURE__ */ jsx49(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx49(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3305
3318
|
RoundedCylinder4,
|
|
3306
3319
|
{
|
|
3307
3320
|
height: padLength,
|
|
@@ -3310,7 +3323,7 @@ var MELF = ({
|
|
|
3310
3323
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3311
3324
|
}
|
|
3312
3325
|
) }) }),
|
|
3313
|
-
/* @__PURE__ */
|
|
3326
|
+
/* @__PURE__ */ jsx49(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx49(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3314
3327
|
RoundedCylinder4,
|
|
3315
3328
|
{
|
|
3316
3329
|
height: padLength,
|
|
@@ -3323,7 +3336,7 @@ var MELF = ({
|
|
|
3323
3336
|
};
|
|
3324
3337
|
|
|
3325
3338
|
// lib/ms012.tsx
|
|
3326
|
-
import { Fragment as
|
|
3339
|
+
import { Fragment as Fragment46, jsx as jsx50, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3327
3340
|
var MS012 = ({
|
|
3328
3341
|
pinCount,
|
|
3329
3342
|
padContactLength = 0.6,
|
|
@@ -3338,8 +3351,8 @@ var MS012 = ({
|
|
|
3338
3351
|
const bodyLength10 = 3.9;
|
|
3339
3352
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3340
3353
|
const leadThickness = 0.2;
|
|
3341
|
-
return /* @__PURE__ */ jsxs47(
|
|
3342
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3354
|
+
return /* @__PURE__ */ jsxs47(Fragment46, { children: [
|
|
3355
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx50(
|
|
3343
3356
|
SmdChipLead,
|
|
3344
3357
|
{
|
|
3345
3358
|
position: {
|
|
@@ -3355,7 +3368,7 @@ var MS012 = ({
|
|
|
3355
3368
|
},
|
|
3356
3369
|
i
|
|
3357
3370
|
)),
|
|
3358
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3371
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx50(
|
|
3359
3372
|
SmdChipLead,
|
|
3360
3373
|
{
|
|
3361
3374
|
rotation: Math.PI,
|
|
@@ -3372,7 +3385,7 @@ var MS012 = ({
|
|
|
3372
3385
|
},
|
|
3373
3386
|
`right-${i}`
|
|
3374
3387
|
)),
|
|
3375
|
-
/* @__PURE__ */
|
|
3388
|
+
/* @__PURE__ */ jsx50(
|
|
3376
3389
|
ChipBody,
|
|
3377
3390
|
{
|
|
3378
3391
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3392,7 +3405,7 @@ var MS012 = ({
|
|
|
3392
3405
|
};
|
|
3393
3406
|
|
|
3394
3407
|
// lib/ms013.tsx
|
|
3395
|
-
import { Fragment as
|
|
3408
|
+
import { Fragment as Fragment47, jsx as jsx51, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3396
3409
|
var MS013 = ({
|
|
3397
3410
|
pinCount = 16,
|
|
3398
3411
|
padContactLength = 0.6,
|
|
@@ -3407,8 +3420,8 @@ var MS013 = ({
|
|
|
3407
3420
|
const bodyLength10 = 10.3;
|
|
3408
3421
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3409
3422
|
const leadThickness = 0.2;
|
|
3410
|
-
return /* @__PURE__ */ jsxs48(
|
|
3411
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3423
|
+
return /* @__PURE__ */ jsxs48(Fragment47, { children: [
|
|
3424
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx51(
|
|
3412
3425
|
SmdChipLead,
|
|
3413
3426
|
{
|
|
3414
3427
|
position: {
|
|
@@ -3424,7 +3437,7 @@ var MS013 = ({
|
|
|
3424
3437
|
},
|
|
3425
3438
|
i
|
|
3426
3439
|
)),
|
|
3427
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3440
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx51(
|
|
3428
3441
|
SmdChipLead,
|
|
3429
3442
|
{
|
|
3430
3443
|
rotation: Math.PI,
|
|
@@ -3441,7 +3454,7 @@ var MS013 = ({
|
|
|
3441
3454
|
},
|
|
3442
3455
|
`right-${i}`
|
|
3443
3456
|
)),
|
|
3444
|
-
/* @__PURE__ */
|
|
3457
|
+
/* @__PURE__ */ jsx51(
|
|
3445
3458
|
ChipBody,
|
|
3446
3459
|
{
|
|
3447
3460
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3470,7 +3483,7 @@ import {
|
|
|
3470
3483
|
Cylinder as Cylinder7,
|
|
3471
3484
|
Subtract as Subtract4
|
|
3472
3485
|
} from "jscad-fiber";
|
|
3473
|
-
import { Fragment as
|
|
3486
|
+
import { Fragment as Fragment48, jsx as jsx52, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3474
3487
|
var TO220 = () => {
|
|
3475
3488
|
const fullLength10 = 20;
|
|
3476
3489
|
const bodyLength10 = 9.9;
|
|
@@ -3489,10 +3502,10 @@ var TO220 = () => {
|
|
|
3489
3502
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3490
3503
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3491
3504
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3492
|
-
return /* @__PURE__ */
|
|
3505
|
+
return /* @__PURE__ */ jsx52(Translate22, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs49(Fragment48, { children: [
|
|
3493
3506
|
/* @__PURE__ */ jsxs49(Rotate10, { rotation: [0, 55, -55], children: [
|
|
3494
3507
|
/* @__PURE__ */ jsxs49(Subtract4, { children: [
|
|
3495
|
-
/* @__PURE__ */
|
|
3508
|
+
/* @__PURE__ */ jsx52(
|
|
3496
3509
|
Cuboid33,
|
|
3497
3510
|
{
|
|
3498
3511
|
color: "#ccc",
|
|
@@ -3500,7 +3513,7 @@ var TO220 = () => {
|
|
|
3500
3513
|
center: [padCenterX, 0, padThickness - 2]
|
|
3501
3514
|
}
|
|
3502
3515
|
),
|
|
3503
|
-
/* @__PURE__ */
|
|
3516
|
+
/* @__PURE__ */ jsx52(
|
|
3504
3517
|
Cylinder7,
|
|
3505
3518
|
{
|
|
3506
3519
|
color: "black",
|
|
@@ -3510,7 +3523,7 @@ var TO220 = () => {
|
|
|
3510
3523
|
}
|
|
3511
3524
|
)
|
|
3512
3525
|
] }),
|
|
3513
|
-
/* @__PURE__ */
|
|
3526
|
+
/* @__PURE__ */ jsx52(Colorize26, { color: "#222", children: /* @__PURE__ */ jsx52(
|
|
3514
3527
|
ChipBody,
|
|
3515
3528
|
{
|
|
3516
3529
|
width: bodyWidth,
|
|
@@ -3524,29 +3537,29 @@ var TO220 = () => {
|
|
|
3524
3537
|
}
|
|
3525
3538
|
) })
|
|
3526
3539
|
] }),
|
|
3527
|
-
/* @__PURE__ */
|
|
3540
|
+
/* @__PURE__ */ jsx52(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3528
3541
|
const x = prongCenterX;
|
|
3529
3542
|
const y = (i - 1) * prongPitch;
|
|
3530
3543
|
const z = -prongHeight - 0.6;
|
|
3531
3544
|
return /* @__PURE__ */ jsxs49(Colorize26, { color: "gold", children: [
|
|
3532
3545
|
/* @__PURE__ */ jsxs49(Hull17, { children: [
|
|
3533
|
-
/* @__PURE__ */
|
|
3534
|
-
/* @__PURE__ */
|
|
3546
|
+
/* @__PURE__ */ jsx52(Translate22, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx52(Cuboid33, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
|
|
3547
|
+
/* @__PURE__ */ jsx52(
|
|
3535
3548
|
Translate22,
|
|
3536
3549
|
{
|
|
3537
3550
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3538
|
-
children: /* @__PURE__ */
|
|
3551
|
+
children: /* @__PURE__ */ jsx52(Cuboid33, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3539
3552
|
}
|
|
3540
3553
|
)
|
|
3541
3554
|
] }),
|
|
3542
|
-
/* @__PURE__ */
|
|
3555
|
+
/* @__PURE__ */ jsx52(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx52(Cuboid33, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3543
3556
|
] }, `prong-${i}`);
|
|
3544
3557
|
}) })
|
|
3545
3558
|
] }) });
|
|
3546
3559
|
};
|
|
3547
3560
|
|
|
3548
3561
|
// lib/SOT-457.tsx
|
|
3549
|
-
import { Fragment as
|
|
3562
|
+
import { Fragment as Fragment49, jsx as jsx53, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3550
3563
|
var SOT457 = () => {
|
|
3551
3564
|
const fullWidth = 2.8;
|
|
3552
3565
|
const bodyWidth = 1.6;
|
|
@@ -3558,8 +3571,8 @@ var SOT457 = () => {
|
|
|
3558
3571
|
const padContactLength = 0.5;
|
|
3559
3572
|
const padPitch = 0.95;
|
|
3560
3573
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3561
|
-
return /* @__PURE__ */ jsxs50(
|
|
3562
|
-
/* @__PURE__ */
|
|
3574
|
+
return /* @__PURE__ */ jsxs50(Fragment49, { children: [
|
|
3575
|
+
/* @__PURE__ */ jsx53(
|
|
3563
3576
|
SmdChipLead,
|
|
3564
3577
|
{
|
|
3565
3578
|
rotation: Math.PI,
|
|
@@ -3576,7 +3589,7 @@ var SOT457 = () => {
|
|
|
3576
3589
|
},
|
|
3577
3590
|
1
|
|
3578
3591
|
),
|
|
3579
|
-
/* @__PURE__ */
|
|
3592
|
+
/* @__PURE__ */ jsx53(
|
|
3580
3593
|
SmdChipLead,
|
|
3581
3594
|
{
|
|
3582
3595
|
rotation: Math.PI,
|
|
@@ -3593,7 +3606,7 @@ var SOT457 = () => {
|
|
|
3593
3606
|
},
|
|
3594
3607
|
2
|
|
3595
3608
|
),
|
|
3596
|
-
/* @__PURE__ */
|
|
3609
|
+
/* @__PURE__ */ jsx53(
|
|
3597
3610
|
SmdChipLead,
|
|
3598
3611
|
{
|
|
3599
3612
|
rotation: Math.PI,
|
|
@@ -3610,7 +3623,7 @@ var SOT457 = () => {
|
|
|
3610
3623
|
},
|
|
3611
3624
|
3
|
|
3612
3625
|
),
|
|
3613
|
-
/* @__PURE__ */
|
|
3626
|
+
/* @__PURE__ */ jsx53(
|
|
3614
3627
|
SmdChipLead,
|
|
3615
3628
|
{
|
|
3616
3629
|
position: {
|
|
@@ -3626,7 +3639,7 @@ var SOT457 = () => {
|
|
|
3626
3639
|
},
|
|
3627
3640
|
3
|
|
3628
3641
|
),
|
|
3629
|
-
/* @__PURE__ */
|
|
3642
|
+
/* @__PURE__ */ jsx53(
|
|
3630
3643
|
SmdChipLead,
|
|
3631
3644
|
{
|
|
3632
3645
|
position: {
|
|
@@ -3642,7 +3655,7 @@ var SOT457 = () => {
|
|
|
3642
3655
|
},
|
|
3643
3656
|
1
|
|
3644
3657
|
),
|
|
3645
|
-
/* @__PURE__ */
|
|
3658
|
+
/* @__PURE__ */ jsx53(
|
|
3646
3659
|
SmdChipLead,
|
|
3647
3660
|
{
|
|
3648
3661
|
position: {
|
|
@@ -3658,7 +3671,7 @@ var SOT457 = () => {
|
|
|
3658
3671
|
},
|
|
3659
3672
|
2
|
|
3660
3673
|
),
|
|
3661
|
-
/* @__PURE__ */
|
|
3674
|
+
/* @__PURE__ */ jsx53(
|
|
3662
3675
|
ChipBody,
|
|
3663
3676
|
{
|
|
3664
3677
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3679,7 +3692,7 @@ var SOT457 = () => {
|
|
|
3679
3692
|
|
|
3680
3693
|
// lib/SOT-963.tsx
|
|
3681
3694
|
import { Cuboid as Cuboid34 } from "jscad-fiber";
|
|
3682
|
-
import { Fragment as
|
|
3695
|
+
import { Fragment as Fragment50, jsx as jsx54, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3683
3696
|
var SOT963 = () => {
|
|
3684
3697
|
const bodyWidth = 0.8;
|
|
3685
3698
|
const bodyLength10 = 1;
|
|
@@ -3690,8 +3703,8 @@ var SOT963 = () => {
|
|
|
3690
3703
|
const pitch = 0.35;
|
|
3691
3704
|
const pinsPerSide = 3;
|
|
3692
3705
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3693
|
-
return /* @__PURE__ */ jsxs51(
|
|
3694
|
-
/* @__PURE__ */
|
|
3706
|
+
return /* @__PURE__ */ jsxs51(Fragment50, { children: [
|
|
3707
|
+
/* @__PURE__ */ jsx54(
|
|
3695
3708
|
ChipBody,
|
|
3696
3709
|
{
|
|
3697
3710
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3711,7 +3724,7 @@ var SOT963 = () => {
|
|
|
3711
3724
|
),
|
|
3712
3725
|
[0, 1, 2].map((i) => {
|
|
3713
3726
|
const y = -pinSpan / 2 + i * pitch;
|
|
3714
|
-
return /* @__PURE__ */
|
|
3727
|
+
return /* @__PURE__ */ jsx54(
|
|
3715
3728
|
Cuboid34,
|
|
3716
3729
|
{
|
|
3717
3730
|
center: [
|
|
@@ -3726,7 +3739,7 @@ var SOT963 = () => {
|
|
|
3726
3739
|
}),
|
|
3727
3740
|
[0, 1, 2].map((i) => {
|
|
3728
3741
|
const y = -pinSpan / 2 + i * pitch;
|
|
3729
|
-
return /* @__PURE__ */
|
|
3742
|
+
return /* @__PURE__ */ jsx54(
|
|
3730
3743
|
Cuboid34,
|
|
3731
3744
|
{
|
|
3732
3745
|
center: [
|
|
@@ -3751,7 +3764,7 @@ import {
|
|
|
3751
3764
|
Cylinder as Cylinder8,
|
|
3752
3765
|
Subtract as Subtract5
|
|
3753
3766
|
} from "jscad-fiber";
|
|
3754
|
-
import { jsx as
|
|
3767
|
+
import { jsx as jsx55, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3755
3768
|
var TO92 = () => {
|
|
3756
3769
|
const bodyRadius = 2.4;
|
|
3757
3770
|
const bodyHeight = 4.5;
|
|
@@ -3773,23 +3786,23 @@ var TO92 = () => {
|
|
|
3773
3786
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
3774
3787
|
const sideLeadZ = -7.5;
|
|
3775
3788
|
return /* @__PURE__ */ jsxs52(Translate23, { center: [0, 1, 10.5], children: [
|
|
3776
|
-
/* @__PURE__ */
|
|
3777
|
-
/* @__PURE__ */
|
|
3778
|
-
/* @__PURE__ */
|
|
3789
|
+
/* @__PURE__ */ jsx55(Colorize27, { color: bodyColor, children: /* @__PURE__ */ jsxs52(Subtract5, { children: [
|
|
3790
|
+
/* @__PURE__ */ jsx55(Translate23, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx55(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
|
|
3791
|
+
/* @__PURE__ */ jsx55(Translate23, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx55(Cuboid35, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
|
|
3779
3792
|
] }) }),
|
|
3780
|
-
/* @__PURE__ */
|
|
3793
|
+
/* @__PURE__ */ jsx55(Translate23, { center: leadTipPos1, children: /* @__PURE__ */ jsx55(Cuboid35, { size: leadTipSize }) }),
|
|
3781
3794
|
/* @__PURE__ */ jsxs52(Hull18, { children: [
|
|
3782
|
-
/* @__PURE__ */
|
|
3783
|
-
/* @__PURE__ */
|
|
3795
|
+
/* @__PURE__ */ jsx55(Translate23, { center: leadMidPosA, children: /* @__PURE__ */ jsx55(Cuboid35, { size: leadSmallSize }) }),
|
|
3796
|
+
/* @__PURE__ */ jsx55(Translate23, { center: leadMidPosB, children: /* @__PURE__ */ jsx55(Cuboid35, { size: leadSmallSize }) })
|
|
3784
3797
|
] }),
|
|
3785
|
-
/* @__PURE__ */
|
|
3786
|
-
/* @__PURE__ */
|
|
3787
|
-
/* @__PURE__ */
|
|
3798
|
+
/* @__PURE__ */ jsx55(Translate23, { center: leadTipPos2, children: /* @__PURE__ */ jsx55(Cuboid35, { size: [leadLength, legWidth, 12.2] }) }),
|
|
3799
|
+
/* @__PURE__ */ jsx55(Translate23, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx55(Cuboid35, { size: [leadLength, legWidth, 15] }) }),
|
|
3800
|
+
/* @__PURE__ */ jsx55(Translate23, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx55(Cuboid35, { size: [leadLength, legWidth, 15] }) })
|
|
3788
3801
|
] });
|
|
3789
3802
|
};
|
|
3790
3803
|
|
|
3791
3804
|
// lib/SOT-363.tsx
|
|
3792
|
-
import { Fragment as
|
|
3805
|
+
import { Fragment as Fragment51, jsx as jsx56, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
3793
3806
|
var SOT363 = () => {
|
|
3794
3807
|
const fullWidth = 2;
|
|
3795
3808
|
const bodyWidth = 1.25;
|
|
@@ -3800,8 +3813,8 @@ var SOT363 = () => {
|
|
|
3800
3813
|
const leadHeight = 0.85;
|
|
3801
3814
|
const padContactLength = 0.3;
|
|
3802
3815
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3803
|
-
return /* @__PURE__ */ jsxs53(
|
|
3804
|
-
/* @__PURE__ */
|
|
3816
|
+
return /* @__PURE__ */ jsxs53(Fragment51, { children: [
|
|
3817
|
+
/* @__PURE__ */ jsx56(
|
|
3805
3818
|
SmdChipLead,
|
|
3806
3819
|
{
|
|
3807
3820
|
rotation: Math.PI,
|
|
@@ -3818,7 +3831,7 @@ var SOT363 = () => {
|
|
|
3818
3831
|
},
|
|
3819
3832
|
1
|
|
3820
3833
|
),
|
|
3821
|
-
/* @__PURE__ */
|
|
3834
|
+
/* @__PURE__ */ jsx56(
|
|
3822
3835
|
SmdChipLead,
|
|
3823
3836
|
{
|
|
3824
3837
|
rotation: Math.PI,
|
|
@@ -3835,7 +3848,7 @@ var SOT363 = () => {
|
|
|
3835
3848
|
},
|
|
3836
3849
|
2
|
|
3837
3850
|
),
|
|
3838
|
-
/* @__PURE__ */
|
|
3851
|
+
/* @__PURE__ */ jsx56(
|
|
3839
3852
|
SmdChipLead,
|
|
3840
3853
|
{
|
|
3841
3854
|
rotation: Math.PI,
|
|
@@ -3852,7 +3865,7 @@ var SOT363 = () => {
|
|
|
3852
3865
|
},
|
|
3853
3866
|
3
|
|
3854
3867
|
),
|
|
3855
|
-
/* @__PURE__ */
|
|
3868
|
+
/* @__PURE__ */ jsx56(
|
|
3856
3869
|
SmdChipLead,
|
|
3857
3870
|
{
|
|
3858
3871
|
position: {
|
|
@@ -3868,7 +3881,7 @@ var SOT363 = () => {
|
|
|
3868
3881
|
},
|
|
3869
3882
|
3
|
|
3870
3883
|
),
|
|
3871
|
-
/* @__PURE__ */
|
|
3884
|
+
/* @__PURE__ */ jsx56(
|
|
3872
3885
|
SmdChipLead,
|
|
3873
3886
|
{
|
|
3874
3887
|
position: {
|
|
@@ -3884,7 +3897,7 @@ var SOT363 = () => {
|
|
|
3884
3897
|
},
|
|
3885
3898
|
1
|
|
3886
3899
|
),
|
|
3887
|
-
/* @__PURE__ */
|
|
3900
|
+
/* @__PURE__ */ jsx56(
|
|
3888
3901
|
SmdChipLead,
|
|
3889
3902
|
{
|
|
3890
3903
|
position: {
|
|
@@ -3900,7 +3913,7 @@ var SOT363 = () => {
|
|
|
3900
3913
|
},
|
|
3901
3914
|
2
|
|
3902
3915
|
),
|
|
3903
|
-
/* @__PURE__ */
|
|
3916
|
+
/* @__PURE__ */ jsx56(
|
|
3904
3917
|
ChipBody,
|
|
3905
3918
|
{
|
|
3906
3919
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3922,7 +3935,7 @@ var SOT_363_default = SOT363;
|
|
|
3922
3935
|
|
|
3923
3936
|
// lib/SOT-886.tsx
|
|
3924
3937
|
import { Cuboid as Cuboid36 } from "jscad-fiber";
|
|
3925
|
-
import { Fragment as
|
|
3938
|
+
import { Fragment as Fragment52, jsx as jsx57, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
3926
3939
|
var SOT886 = () => {
|
|
3927
3940
|
const bodyWidth = 1;
|
|
3928
3941
|
const bodyLength10 = 1.45;
|
|
@@ -3933,8 +3946,8 @@ var SOT886 = () => {
|
|
|
3933
3946
|
const pitch = 0.5;
|
|
3934
3947
|
const pinsPerSide = 3;
|
|
3935
3948
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3936
|
-
return /* @__PURE__ */ jsxs54(
|
|
3937
|
-
/* @__PURE__ */
|
|
3949
|
+
return /* @__PURE__ */ jsxs54(Fragment52, { children: [
|
|
3950
|
+
/* @__PURE__ */ jsx57(
|
|
3938
3951
|
ChipBody,
|
|
3939
3952
|
{
|
|
3940
3953
|
center: { x: 0, y: 0, z: terminalThickness },
|
|
@@ -3949,7 +3962,7 @@ var SOT886 = () => {
|
|
|
3949
3962
|
),
|
|
3950
3963
|
[0, 1, 2].map((i) => {
|
|
3951
3964
|
const y = -pinSpan / 2 + i * pitch;
|
|
3952
|
-
return /* @__PURE__ */
|
|
3965
|
+
return /* @__PURE__ */ jsx57(
|
|
3953
3966
|
Cuboid36,
|
|
3954
3967
|
{
|
|
3955
3968
|
center: [
|
|
@@ -3964,7 +3977,7 @@ var SOT886 = () => {
|
|
|
3964
3977
|
}),
|
|
3965
3978
|
[0, 1, 2].map((i) => {
|
|
3966
3979
|
const y = -pinSpan / 2 + i * pitch;
|
|
3967
|
-
return /* @__PURE__ */
|
|
3980
|
+
return /* @__PURE__ */ jsx57(
|
|
3968
3981
|
Cuboid36,
|
|
3969
3982
|
{
|
|
3970
3983
|
center: [
|
|
@@ -3982,7 +3995,7 @@ var SOT886 = () => {
|
|
|
3982
3995
|
|
|
3983
3996
|
// lib/sod-323.tsx
|
|
3984
3997
|
import { Colorize as Colorize28, Cuboid as Cuboid37 } from "jscad-fiber";
|
|
3985
|
-
import { Fragment as
|
|
3998
|
+
import { Fragment as Fragment53, jsx as jsx58, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
3986
3999
|
var SOD323 = () => {
|
|
3987
4000
|
const fullWidth = 2.5;
|
|
3988
4001
|
const bodyLength10 = 1.25;
|
|
@@ -3994,8 +4007,8 @@ var SOD323 = () => {
|
|
|
3994
4007
|
const padCenterX = bodyWidth / 2;
|
|
3995
4008
|
const bodyDistance = 0.45;
|
|
3996
4009
|
const leadHeight = 0.7;
|
|
3997
|
-
return /* @__PURE__ */ jsxs55(
|
|
3998
|
-
/* @__PURE__ */
|
|
4010
|
+
return /* @__PURE__ */ jsxs55(Fragment53, { children: [
|
|
4011
|
+
/* @__PURE__ */ jsx58(
|
|
3999
4012
|
SmdChipLead,
|
|
4000
4013
|
{
|
|
4001
4014
|
position: {
|
|
@@ -4011,7 +4024,7 @@ var SOD323 = () => {
|
|
|
4011
4024
|
},
|
|
4012
4025
|
1
|
|
4013
4026
|
),
|
|
4014
|
-
/* @__PURE__ */
|
|
4027
|
+
/* @__PURE__ */ jsx58(
|
|
4015
4028
|
SmdChipLead,
|
|
4016
4029
|
{
|
|
4017
4030
|
rotation: Math.PI,
|
|
@@ -4028,7 +4041,7 @@ var SOD323 = () => {
|
|
|
4028
4041
|
},
|
|
4029
4042
|
1
|
|
4030
4043
|
),
|
|
4031
|
-
/* @__PURE__ */
|
|
4044
|
+
/* @__PURE__ */ jsx58(Colorize28, { color: "#222", children: /* @__PURE__ */ jsx58(
|
|
4032
4045
|
ChipBody,
|
|
4033
4046
|
{
|
|
4034
4047
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4041,7 +4054,7 @@ var SOD323 = () => {
|
|
|
4041
4054
|
heightAboveSurface: 0.05
|
|
4042
4055
|
}
|
|
4043
4056
|
) }),
|
|
4044
|
-
/* @__PURE__ */
|
|
4057
|
+
/* @__PURE__ */ jsx58(
|
|
4045
4058
|
Cuboid37,
|
|
4046
4059
|
{
|
|
4047
4060
|
color: "#777",
|
|
@@ -4054,7 +4067,7 @@ var SOD323 = () => {
|
|
|
4054
4067
|
|
|
4055
4068
|
// lib/sod-323F.tsx
|
|
4056
4069
|
import { Colorize as Colorize29, Cuboid as Cuboid38, Hull as Hull20, Translate as Translate25, Union as Union17 } from "jscad-fiber";
|
|
4057
|
-
import { Fragment as
|
|
4070
|
+
import { Fragment as Fragment54, jsx as jsx59, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4058
4071
|
var SOD323F = () => {
|
|
4059
4072
|
const fullWidth = 1.7;
|
|
4060
4073
|
const bodyLength10 = 1.25;
|
|
@@ -4066,8 +4079,8 @@ var SOD323F = () => {
|
|
|
4066
4079
|
const rightPadCenterX = fullWidth / 2 + padLength / 2;
|
|
4067
4080
|
const taperOffset = 0.2;
|
|
4068
4081
|
const straightHeight = padThickness;
|
|
4069
|
-
return /* @__PURE__ */ jsxs56(
|
|
4070
|
-
/* @__PURE__ */
|
|
4082
|
+
return /* @__PURE__ */ jsxs56(Fragment54, { children: [
|
|
4083
|
+
/* @__PURE__ */ jsx59(
|
|
4071
4084
|
Cuboid38,
|
|
4072
4085
|
{
|
|
4073
4086
|
color: "#ccc",
|
|
@@ -4075,7 +4088,7 @@ var SOD323F = () => {
|
|
|
4075
4088
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4076
4089
|
}
|
|
4077
4090
|
),
|
|
4078
|
-
/* @__PURE__ */
|
|
4091
|
+
/* @__PURE__ */ jsx59(
|
|
4079
4092
|
Cuboid38,
|
|
4080
4093
|
{
|
|
4081
4094
|
color: "#ccc",
|
|
@@ -4083,11 +4096,11 @@ var SOD323F = () => {
|
|
|
4083
4096
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4084
4097
|
}
|
|
4085
4098
|
),
|
|
4086
|
-
/* @__PURE__ */
|
|
4087
|
-
/* @__PURE__ */
|
|
4099
|
+
/* @__PURE__ */ jsx59(Colorize29, { color: "#222", children: /* @__PURE__ */ jsxs56(Union17, { children: [
|
|
4100
|
+
/* @__PURE__ */ jsx59(Translate25, { z: straightHeight / 2, children: /* @__PURE__ */ jsx59(Cuboid38, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
4088
4101
|
/* @__PURE__ */ jsxs56(Hull20, { children: [
|
|
4089
|
-
/* @__PURE__ */
|
|
4090
|
-
/* @__PURE__ */
|
|
4102
|
+
/* @__PURE__ */ jsx59(Translate25, { z: straightHeight, children: /* @__PURE__ */ jsx59(Cuboid38, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
4103
|
+
/* @__PURE__ */ jsx59(Translate25, { z: bodyHeight, children: /* @__PURE__ */ jsx59(
|
|
4091
4104
|
Cuboid38,
|
|
4092
4105
|
{
|
|
4093
4106
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -4095,7 +4108,7 @@ var SOD323F = () => {
|
|
|
4095
4108
|
) })
|
|
4096
4109
|
] })
|
|
4097
4110
|
] }) }),
|
|
4098
|
-
/* @__PURE__ */
|
|
4111
|
+
/* @__PURE__ */ jsx59(
|
|
4099
4112
|
Cuboid38,
|
|
4100
4113
|
{
|
|
4101
4114
|
color: "#777",
|
|
@@ -4108,7 +4121,7 @@ var SOD323F = () => {
|
|
|
4108
4121
|
|
|
4109
4122
|
// lib/sod-323FL.tsx
|
|
4110
4123
|
import { Colorize as Colorize30, Cuboid as Cuboid39 } from "jscad-fiber";
|
|
4111
|
-
import { Fragment as
|
|
4124
|
+
import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4112
4125
|
var SOD323FL = () => {
|
|
4113
4126
|
const fullWidth = 1.775;
|
|
4114
4127
|
const bodyLength10 = 1.25;
|
|
@@ -4119,8 +4132,8 @@ var SOD323FL = () => {
|
|
|
4119
4132
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
4120
4133
|
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
4121
4134
|
const taperOffset = 0.2;
|
|
4122
|
-
return /* @__PURE__ */ jsxs57(
|
|
4123
|
-
/* @__PURE__ */
|
|
4135
|
+
return /* @__PURE__ */ jsxs57(Fragment55, { children: [
|
|
4136
|
+
/* @__PURE__ */ jsx60(
|
|
4124
4137
|
Cuboid39,
|
|
4125
4138
|
{
|
|
4126
4139
|
color: "#ccc",
|
|
@@ -4128,7 +4141,7 @@ var SOD323FL = () => {
|
|
|
4128
4141
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4129
4142
|
}
|
|
4130
4143
|
),
|
|
4131
|
-
/* @__PURE__ */
|
|
4144
|
+
/* @__PURE__ */ jsx60(
|
|
4132
4145
|
Cuboid39,
|
|
4133
4146
|
{
|
|
4134
4147
|
color: "#ccc",
|
|
@@ -4136,7 +4149,7 @@ var SOD323FL = () => {
|
|
|
4136
4149
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4137
4150
|
}
|
|
4138
4151
|
),
|
|
4139
|
-
/* @__PURE__ */
|
|
4152
|
+
/* @__PURE__ */ jsx60(Colorize30, { color: "#222", children: /* @__PURE__ */ jsx60(
|
|
4140
4153
|
ChipBody,
|
|
4141
4154
|
{
|
|
4142
4155
|
width: fullWidth,
|
|
@@ -4149,7 +4162,7 @@ var SOD323FL = () => {
|
|
|
4149
4162
|
includeNotch: false
|
|
4150
4163
|
}
|
|
4151
4164
|
) }),
|
|
4152
|
-
/* @__PURE__ */
|
|
4165
|
+
/* @__PURE__ */ jsx60(
|
|
4153
4166
|
Cuboid39,
|
|
4154
4167
|
{
|
|
4155
4168
|
color: "#777",
|
|
@@ -4162,20 +4175,20 @@ var SOD323FL = () => {
|
|
|
4162
4175
|
|
|
4163
4176
|
// lib/AxialCapacitor.tsx
|
|
4164
4177
|
import { Colorize as Colorize31, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
|
|
4165
|
-
import { Fragment as
|
|
4178
|
+
import { Fragment as Fragment56, jsx as jsx61, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4166
4179
|
var AxialCapacitor = ({ pitch = 10 }) => {
|
|
4167
4180
|
const heightToCenterOfCapacitor = 0.5 + 4 / 2;
|
|
4168
|
-
return /* @__PURE__ */ jsxs58(
|
|
4169
|
-
/* @__PURE__ */
|
|
4170
|
-
/* @__PURE__ */
|
|
4181
|
+
return /* @__PURE__ */ jsxs58(Fragment56, { children: [
|
|
4182
|
+
/* @__PURE__ */ jsx61(Cylinder9, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
|
|
4183
|
+
/* @__PURE__ */ jsx61(
|
|
4171
4184
|
Sphere2,
|
|
4172
4185
|
{
|
|
4173
4186
|
radius: 0.5,
|
|
4174
4187
|
center: [-pitch / 2, 0, heightToCenterOfCapacitor]
|
|
4175
4188
|
}
|
|
4176
4189
|
),
|
|
4177
|
-
/* @__PURE__ */
|
|
4178
|
-
/* @__PURE__ */
|
|
4190
|
+
/* @__PURE__ */ jsx61(Translate27, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs58(Rotate11, { rotation: [0, Math.PI / 2, 0], children: [
|
|
4191
|
+
/* @__PURE__ */ jsx61(
|
|
4179
4192
|
Cylinder9,
|
|
4180
4193
|
{
|
|
4181
4194
|
height: pitch,
|
|
@@ -4183,7 +4196,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4183
4196
|
center: [0, 0, heightToCenterOfCapacitor]
|
|
4184
4197
|
}
|
|
4185
4198
|
),
|
|
4186
|
-
/* @__PURE__ */
|
|
4199
|
+
/* @__PURE__ */ jsx61(Colorize31, { color: "#d2b48c", children: /* @__PURE__ */ jsx61(
|
|
4187
4200
|
Cylinder9,
|
|
4188
4201
|
{
|
|
4189
4202
|
height: 5,
|
|
@@ -4192,14 +4205,14 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4192
4205
|
}
|
|
4193
4206
|
) })
|
|
4194
4207
|
] }) }),
|
|
4195
|
-
/* @__PURE__ */
|
|
4196
|
-
/* @__PURE__ */
|
|
4208
|
+
/* @__PURE__ */ jsx61(Cylinder9, { height: 4, radius: 0.5, center: [pitch / 2, 0, 0.5] }),
|
|
4209
|
+
/* @__PURE__ */ jsx61(Sphere2, { radius: 0.5, center: [pitch / 2, 0, heightToCenterOfCapacitor] })
|
|
4197
4210
|
] });
|
|
4198
4211
|
};
|
|
4199
4212
|
|
|
4200
4213
|
// lib/stampboard.tsx
|
|
4201
4214
|
import { Colorize as Colorize32, Cuboid as Cuboid40, Cylinder as Cylinder10, Subtract as Subtract6, Union as Union19 } from "jscad-fiber";
|
|
4202
|
-
import { Fragment as
|
|
4215
|
+
import { Fragment as Fragment57, jsx as jsx62, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4203
4216
|
var StampBoard = ({
|
|
4204
4217
|
bodyWidth = 21,
|
|
4205
4218
|
boardThickness = 0.5,
|
|
@@ -4297,15 +4310,15 @@ var StampBoard = ({
|
|
|
4297
4310
|
}
|
|
4298
4311
|
}
|
|
4299
4312
|
}
|
|
4300
|
-
const boardBody = /* @__PURE__ */
|
|
4301
|
-
/* @__PURE__ */
|
|
4313
|
+
const boardBody = /* @__PURE__ */ jsx62(Colorize32, { color: "#008080", children: /* @__PURE__ */ jsxs59(Subtract6, { children: [
|
|
4314
|
+
/* @__PURE__ */ jsx62(
|
|
4302
4315
|
Cuboid40,
|
|
4303
4316
|
{
|
|
4304
4317
|
center: [0, 0, boardCenterZ],
|
|
4305
4318
|
size: [bodyWidth, bodyLength10, boardThickness]
|
|
4306
4319
|
}
|
|
4307
4320
|
),
|
|
4308
|
-
pads.map((pad, index) => /* @__PURE__ */
|
|
4321
|
+
pads.map((pad, index) => /* @__PURE__ */ jsx62(
|
|
4309
4322
|
Cuboid40,
|
|
4310
4323
|
{
|
|
4311
4324
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4314,7 +4327,7 @@ var StampBoard = ({
|
|
|
4314
4327
|
index
|
|
4315
4328
|
))
|
|
4316
4329
|
] }) });
|
|
4317
|
-
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */
|
|
4330
|
+
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */ jsx62(
|
|
4318
4331
|
Cylinder10,
|
|
4319
4332
|
{
|
|
4320
4333
|
color: "black",
|
|
@@ -4324,7 +4337,7 @@ var StampBoard = ({
|
|
|
4324
4337
|
},
|
|
4325
4338
|
index
|
|
4326
4339
|
));
|
|
4327
|
-
const rectPads = pads.map((pad, index) => /* @__PURE__ */
|
|
4340
|
+
const rectPads = pads.map((pad, index) => /* @__PURE__ */ jsx62(
|
|
4328
4341
|
Cuboid40,
|
|
4329
4342
|
{
|
|
4330
4343
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4332,10 +4345,10 @@ var StampBoard = ({
|
|
|
4332
4345
|
},
|
|
4333
4346
|
index
|
|
4334
4347
|
));
|
|
4335
|
-
return /* @__PURE__ */ jsxs59(
|
|
4348
|
+
return /* @__PURE__ */ jsxs59(Fragment57, { children: [
|
|
4336
4349
|
boardBody,
|
|
4337
|
-
/* @__PURE__ */
|
|
4338
|
-
/* @__PURE__ */
|
|
4350
|
+
/* @__PURE__ */ jsx62(Colorize32, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs59(Subtract6, { children: [
|
|
4351
|
+
/* @__PURE__ */ jsx62(Union19, { children: pads.map((pad, index) => /* @__PURE__ */ jsx62(
|
|
4339
4352
|
Cuboid40,
|
|
4340
4353
|
{
|
|
4341
4354
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4348,17 +4361,175 @@ var StampBoard = ({
|
|
|
4348
4361
|
] });
|
|
4349
4362
|
};
|
|
4350
4363
|
|
|
4364
|
+
// lib/MountedPcbModule.tsx
|
|
4365
|
+
import { Colorize as Colorize33, Cuboid as Cuboid41, Cylinder as Cylinder11, Subtract as Subtract7 } from "jscad-fiber";
|
|
4366
|
+
import { Fragment as Fragment58, jsx as jsx63, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4367
|
+
var MountedPcbModule = ({
|
|
4368
|
+
numPins = 5,
|
|
4369
|
+
rows = 1,
|
|
4370
|
+
p = 2.54,
|
|
4371
|
+
id = 1,
|
|
4372
|
+
od = 1.5,
|
|
4373
|
+
boardThickness = 1.6,
|
|
4374
|
+
width: width10,
|
|
4375
|
+
height: height10,
|
|
4376
|
+
pinRowSide = "left",
|
|
4377
|
+
holes = [],
|
|
4378
|
+
holeInset = 1,
|
|
4379
|
+
pinRowHoleEdgeToEdgeDist = 2
|
|
4380
|
+
}) => {
|
|
4381
|
+
const boardCenterZ = boardThickness / 2;
|
|
4382
|
+
const numPinsPerRow = Math.ceil(numPins / rows);
|
|
4383
|
+
let calculatedWidth;
|
|
4384
|
+
let calculatedHeight;
|
|
4385
|
+
if (pinRowSide === "left" || pinRowSide === "right") {
|
|
4386
|
+
calculatedWidth = (rows - 1) * p + 2 * pinRowHoleEdgeToEdgeDist;
|
|
4387
|
+
calculatedHeight = (numPinsPerRow - 1) * p + 2 * pinRowHoleEdgeToEdgeDist;
|
|
4388
|
+
} else {
|
|
4389
|
+
calculatedHeight = (rows - 1) * p + 2 * pinRowHoleEdgeToEdgeDist;
|
|
4390
|
+
calculatedWidth = (numPinsPerRow - 1) * p + 2 * pinRowHoleEdgeToEdgeDist;
|
|
4391
|
+
}
|
|
4392
|
+
if (numPins === 0) {
|
|
4393
|
+
calculatedWidth = 10;
|
|
4394
|
+
calculatedHeight = 10;
|
|
4395
|
+
}
|
|
4396
|
+
const finalWidth = Number(width10 ?? calculatedWidth);
|
|
4397
|
+
const finalHeight = Number(height10 ?? calculatedHeight);
|
|
4398
|
+
const pins = [];
|
|
4399
|
+
let pinStartX = 0;
|
|
4400
|
+
let pinStartY = 0;
|
|
4401
|
+
let pinDirectionX = 0;
|
|
4402
|
+
let pinDirectionY = 0;
|
|
4403
|
+
let rowDirectionX = 0;
|
|
4404
|
+
let rowDirectionY = 0;
|
|
4405
|
+
if (pinRowSide === "left" || pinRowSide === "right") {
|
|
4406
|
+
pinStartX = pinRowSide === "left" ? -finalWidth / 2 + pinRowHoleEdgeToEdgeDist : finalWidth / 2 - pinRowHoleEdgeToEdgeDist;
|
|
4407
|
+
pinStartY = -((numPinsPerRow - 1) / 2) * p;
|
|
4408
|
+
pinDirectionX = 0;
|
|
4409
|
+
pinDirectionY = p;
|
|
4410
|
+
rowDirectionX = pinRowSide === "left" ? p : -p;
|
|
4411
|
+
rowDirectionY = 0;
|
|
4412
|
+
} else {
|
|
4413
|
+
pinStartX = -((numPinsPerRow - 1) / 2) * p;
|
|
4414
|
+
pinStartY = pinRowSide === "top" ? finalHeight / 2 - pinRowHoleEdgeToEdgeDist : -finalHeight / 2 + pinRowHoleEdgeToEdgeDist;
|
|
4415
|
+
pinDirectionX = p;
|
|
4416
|
+
pinDirectionY = 0;
|
|
4417
|
+
rowDirectionX = 0;
|
|
4418
|
+
rowDirectionY = pinRowSide === "top" ? -p : p;
|
|
4419
|
+
}
|
|
4420
|
+
let pinNumber = 0;
|
|
4421
|
+
for (let row = 0; row < rows && pinNumber < numPins; row++) {
|
|
4422
|
+
for (let col = 0; col < numPinsPerRow && pinNumber < numPins; col++) {
|
|
4423
|
+
const x = pinStartX + col * pinDirectionX + row * rowDirectionX;
|
|
4424
|
+
const y = pinStartY + col * pinDirectionY + row * rowDirectionY;
|
|
4425
|
+
pins.push({ x, y });
|
|
4426
|
+
pinNumber++;
|
|
4427
|
+
}
|
|
4428
|
+
}
|
|
4429
|
+
const holePositions = [];
|
|
4430
|
+
if (holes) {
|
|
4431
|
+
for (const pos of holes) {
|
|
4432
|
+
let hx = 0;
|
|
4433
|
+
let hy = 0;
|
|
4434
|
+
if (pos === "topleft") {
|
|
4435
|
+
hx = -finalWidth / 2 + holeInset;
|
|
4436
|
+
hy = finalHeight / 2 - holeInset;
|
|
4437
|
+
} else if (pos === "topright") {
|
|
4438
|
+
hx = finalWidth / 2 - holeInset;
|
|
4439
|
+
hy = finalHeight / 2 - holeInset;
|
|
4440
|
+
} else if (pos === "bottomleft") {
|
|
4441
|
+
hx = -finalWidth / 2 + holeInset;
|
|
4442
|
+
hy = -finalHeight / 2 + holeInset;
|
|
4443
|
+
} else if (pos === "bottomright") {
|
|
4444
|
+
hx = finalWidth / 2 - holeInset;
|
|
4445
|
+
hy = -finalHeight / 2 + holeInset;
|
|
4446
|
+
} else if (pos === "center") {
|
|
4447
|
+
hx = 0;
|
|
4448
|
+
hy = 0;
|
|
4449
|
+
}
|
|
4450
|
+
holePositions.push({ x: hx, y: hy });
|
|
4451
|
+
}
|
|
4452
|
+
}
|
|
4453
|
+
const pinThickness = 0.63;
|
|
4454
|
+
const pinBodyHeight = 2;
|
|
4455
|
+
const longSidePinLength = 6;
|
|
4456
|
+
const shortSidePinLength = 3;
|
|
4457
|
+
const boardBody = /* @__PURE__ */ jsx63(Colorize33, { color: "#008080", children: /* @__PURE__ */ jsxs60(Subtract7, { children: [
|
|
4458
|
+
/* @__PURE__ */ jsx63(
|
|
4459
|
+
Cuboid41,
|
|
4460
|
+
{
|
|
4461
|
+
center: [0, 0, boardCenterZ + pinBodyHeight],
|
|
4462
|
+
size: [finalWidth, finalHeight, boardThickness]
|
|
4463
|
+
}
|
|
4464
|
+
),
|
|
4465
|
+
holePositions.map((hole, index) => /* @__PURE__ */ jsx63(
|
|
4466
|
+
Cylinder11,
|
|
4467
|
+
{
|
|
4468
|
+
center: [hole.x, hole.y, boardCenterZ + pinBodyHeight],
|
|
4469
|
+
radius: od / 2,
|
|
4470
|
+
height: boardThickness
|
|
4471
|
+
},
|
|
4472
|
+
`hole-${index}`
|
|
4473
|
+
)),
|
|
4474
|
+
pins.map((pin, index) => /* @__PURE__ */ jsx63(
|
|
4475
|
+
Cylinder11,
|
|
4476
|
+
{
|
|
4477
|
+
center: [pin.x, pin.y, boardCenterZ + pinBodyHeight],
|
|
4478
|
+
radius: od / 2,
|
|
4479
|
+
height: boardThickness
|
|
4480
|
+
},
|
|
4481
|
+
`pin-hole-${index}`
|
|
4482
|
+
))
|
|
4483
|
+
] }) });
|
|
4484
|
+
const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx63(Colorize33, { color: "#FFD700", children: /* @__PURE__ */ jsxs60(Subtract7, { children: [
|
|
4485
|
+
/* @__PURE__ */ jsx63(
|
|
4486
|
+
Cylinder11,
|
|
4487
|
+
{
|
|
4488
|
+
center: [pin.x, pin.y, boardThickness / 2 + pinBodyHeight],
|
|
4489
|
+
radius: od / 2,
|
|
4490
|
+
height: boardThickness
|
|
4491
|
+
}
|
|
4492
|
+
),
|
|
4493
|
+
/* @__PURE__ */ jsx63(
|
|
4494
|
+
Cylinder11,
|
|
4495
|
+
{
|
|
4496
|
+
center: [pin.x, pin.y, boardThickness / 2 + pinBodyHeight],
|
|
4497
|
+
radius: id / 2,
|
|
4498
|
+
height: boardThickness
|
|
4499
|
+
}
|
|
4500
|
+
)
|
|
4501
|
+
] }) }, `pin-${index}`));
|
|
4502
|
+
const headerPins = pins.map((pin, index) => /* @__PURE__ */ jsx63(
|
|
4503
|
+
PinHeader,
|
|
4504
|
+
{
|
|
4505
|
+
x: pin.x,
|
|
4506
|
+
y: pin.y,
|
|
4507
|
+
pinThickness,
|
|
4508
|
+
shortSidePinLength,
|
|
4509
|
+
longSidePinLength,
|
|
4510
|
+
bodyHeight: pinBodyHeight,
|
|
4511
|
+
flipZ: (z) => z
|
|
4512
|
+
},
|
|
4513
|
+
`pin-3d-${index}`
|
|
4514
|
+
));
|
|
4515
|
+
return /* @__PURE__ */ jsxs60(Fragment58, { children: [
|
|
4516
|
+
boardBody,
|
|
4517
|
+
platedHoles,
|
|
4518
|
+
headerPins
|
|
4519
|
+
] });
|
|
4520
|
+
};
|
|
4521
|
+
|
|
4351
4522
|
// lib/Footprinter3d.tsx
|
|
4352
|
-
import { jsx as
|
|
4523
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
4353
4524
|
var Footprinter3d = ({ footprint }) => {
|
|
4354
4525
|
const fpJson = fp3.string(footprint).json();
|
|
4355
4526
|
switch (fpJson.fn) {
|
|
4356
4527
|
case "dip":
|
|
4357
|
-
return /* @__PURE__ */
|
|
4528
|
+
return /* @__PURE__ */ jsx64(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
4358
4529
|
case "axial":
|
|
4359
|
-
return /* @__PURE__ */
|
|
4530
|
+
return /* @__PURE__ */ jsx64(AxialCapacitor, { pitch: fpJson.p });
|
|
4360
4531
|
case "tssop":
|
|
4361
|
-
return /* @__PURE__ */
|
|
4532
|
+
return /* @__PURE__ */ jsx64(
|
|
4362
4533
|
Tssop,
|
|
4363
4534
|
{
|
|
4364
4535
|
pinCount: fpJson.num_pins,
|
|
@@ -4369,7 +4540,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4369
4540
|
}
|
|
4370
4541
|
);
|
|
4371
4542
|
case "msop":
|
|
4372
|
-
return /* @__PURE__ */
|
|
4543
|
+
return /* @__PURE__ */ jsx64(
|
|
4373
4544
|
MSOP,
|
|
4374
4545
|
{
|
|
4375
4546
|
pinCount: fpJson.num_pins,
|
|
@@ -4380,7 +4551,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4380
4551
|
}
|
|
4381
4552
|
);
|
|
4382
4553
|
case "vssop":
|
|
4383
|
-
return /* @__PURE__ */
|
|
4554
|
+
return /* @__PURE__ */ jsx64(
|
|
4384
4555
|
VSSOP,
|
|
4385
4556
|
{
|
|
4386
4557
|
pinCount: fpJson.num_pins,
|
|
@@ -4392,7 +4563,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4392
4563
|
}
|
|
4393
4564
|
);
|
|
4394
4565
|
case "qfp":
|
|
4395
|
-
return /* @__PURE__ */
|
|
4566
|
+
return /* @__PURE__ */ jsx64(
|
|
4396
4567
|
QFP,
|
|
4397
4568
|
{
|
|
4398
4569
|
pinCount: fpJson.num_pins,
|
|
@@ -4403,12 +4574,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4403
4574
|
}
|
|
4404
4575
|
);
|
|
4405
4576
|
case "tqfp":
|
|
4406
|
-
return /* @__PURE__ */
|
|
4577
|
+
return /* @__PURE__ */ jsx64(tqfp_default, {});
|
|
4407
4578
|
case "lqfp":
|
|
4408
|
-
return /* @__PURE__ */
|
|
4579
|
+
return /* @__PURE__ */ jsx64(LQFP, { pinCount: fpJson.num_pins });
|
|
4409
4580
|
case "qfn": {
|
|
4410
4581
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4411
|
-
return /* @__PURE__ */
|
|
4582
|
+
return /* @__PURE__ */ jsx64(
|
|
4412
4583
|
qfn_default,
|
|
4413
4584
|
{
|
|
4414
4585
|
num_pins: fpJson.num_pins,
|
|
@@ -4426,7 +4597,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4426
4597
|
}
|
|
4427
4598
|
case "dfn": {
|
|
4428
4599
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4429
|
-
return /* @__PURE__ */
|
|
4600
|
+
return /* @__PURE__ */ jsx64(
|
|
4430
4601
|
DFN,
|
|
4431
4602
|
{
|
|
4432
4603
|
num_pins: fpJson.num_pins,
|
|
@@ -4446,7 +4617,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4446
4617
|
const rowsMatch = footprint.match(/_rows(\d+)/);
|
|
4447
4618
|
const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
|
|
4448
4619
|
if (fpJson.male)
|
|
4449
|
-
return /* @__PURE__ */
|
|
4620
|
+
return /* @__PURE__ */ jsx64(
|
|
4450
4621
|
PinRow,
|
|
4451
4622
|
{
|
|
4452
4623
|
numberOfPins: fpJson.num_pins,
|
|
@@ -4459,7 +4630,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4459
4630
|
}
|
|
4460
4631
|
);
|
|
4461
4632
|
if (fpJson.female)
|
|
4462
|
-
return /* @__PURE__ */
|
|
4633
|
+
return /* @__PURE__ */ jsx64(
|
|
4463
4634
|
FemaleHeader,
|
|
4464
4635
|
{
|
|
4465
4636
|
numberOfPins: fpJson.num_pins,
|
|
@@ -4471,47 +4642,47 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4471
4642
|
case "cap": {
|
|
4472
4643
|
switch (fpJson.imperial) {
|
|
4473
4644
|
case "0402":
|
|
4474
|
-
return /* @__PURE__ */
|
|
4645
|
+
return /* @__PURE__ */ jsx64(A0402, { color: "#856c4d" });
|
|
4475
4646
|
case "0603":
|
|
4476
|
-
return /* @__PURE__ */
|
|
4647
|
+
return /* @__PURE__ */ jsx64(A0603, { color: "#856c4d" });
|
|
4477
4648
|
case "0805":
|
|
4478
|
-
return /* @__PURE__ */
|
|
4649
|
+
return /* @__PURE__ */ jsx64(A0805, { color: "#856c4d" });
|
|
4479
4650
|
case "0201":
|
|
4480
|
-
return /* @__PURE__ */
|
|
4651
|
+
return /* @__PURE__ */ jsx64(A0201, { color: "#856c4d" });
|
|
4481
4652
|
case "01005":
|
|
4482
|
-
return /* @__PURE__ */
|
|
4653
|
+
return /* @__PURE__ */ jsx64(A01005, { color: "#856c4d" });
|
|
4483
4654
|
case "1206":
|
|
4484
|
-
return /* @__PURE__ */
|
|
4655
|
+
return /* @__PURE__ */ jsx64(A1206, { color: "#856c4d" });
|
|
4485
4656
|
case "1210":
|
|
4486
|
-
return /* @__PURE__ */
|
|
4657
|
+
return /* @__PURE__ */ jsx64(A1210, { color: "#856c4d" });
|
|
4487
4658
|
case "2010":
|
|
4488
|
-
return /* @__PURE__ */
|
|
4659
|
+
return /* @__PURE__ */ jsx64(A2010, { color: "#856c4d" });
|
|
4489
4660
|
case "2512":
|
|
4490
|
-
return /* @__PURE__ */
|
|
4661
|
+
return /* @__PURE__ */ jsx64(A2512, { color: "#856c4d" });
|
|
4491
4662
|
}
|
|
4492
4663
|
}
|
|
4493
4664
|
case "sot235":
|
|
4494
|
-
return /* @__PURE__ */
|
|
4665
|
+
return /* @__PURE__ */ jsx64(SOT_235_default, {});
|
|
4495
4666
|
case "sot457":
|
|
4496
|
-
return /* @__PURE__ */
|
|
4667
|
+
return /* @__PURE__ */ jsx64(SOT457, {});
|
|
4497
4668
|
case "sot223":
|
|
4498
|
-
return /* @__PURE__ */
|
|
4669
|
+
return /* @__PURE__ */ jsx64(SOT223, {});
|
|
4499
4670
|
case "sot23w":
|
|
4500
|
-
return /* @__PURE__ */
|
|
4671
|
+
return /* @__PURE__ */ jsx64(SOT23W, {});
|
|
4501
4672
|
case "sot323":
|
|
4502
|
-
return /* @__PURE__ */
|
|
4673
|
+
return /* @__PURE__ */ jsx64(SOT323, {});
|
|
4503
4674
|
case "sod323f":
|
|
4504
|
-
return /* @__PURE__ */
|
|
4675
|
+
return /* @__PURE__ */ jsx64(SOD323F, {});
|
|
4505
4676
|
case "sod323fl":
|
|
4506
|
-
return /* @__PURE__ */
|
|
4677
|
+
return /* @__PURE__ */ jsx64(SOD323FL, {});
|
|
4507
4678
|
case "sot363":
|
|
4508
|
-
return /* @__PURE__ */
|
|
4679
|
+
return /* @__PURE__ */ jsx64(SOT_363_default, {});
|
|
4509
4680
|
case "sot886":
|
|
4510
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsx64(SOT886, {});
|
|
4511
4682
|
case "sot963":
|
|
4512
|
-
return /* @__PURE__ */
|
|
4683
|
+
return /* @__PURE__ */ jsx64(SOT963, {});
|
|
4513
4684
|
case "pushbutton":
|
|
4514
|
-
return /* @__PURE__ */
|
|
4685
|
+
return /* @__PURE__ */ jsx64(
|
|
4515
4686
|
PushButton,
|
|
4516
4687
|
{
|
|
4517
4688
|
width: fpJson.w,
|
|
@@ -4520,7 +4691,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4520
4691
|
}
|
|
4521
4692
|
);
|
|
4522
4693
|
case "soic":
|
|
4523
|
-
return /* @__PURE__ */
|
|
4694
|
+
return /* @__PURE__ */ jsx64(
|
|
4524
4695
|
SOIC,
|
|
4525
4696
|
{
|
|
4526
4697
|
pinCount: fpJson.num_pins,
|
|
@@ -4531,39 +4702,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4531
4702
|
}
|
|
4532
4703
|
);
|
|
4533
4704
|
case "sod523":
|
|
4534
|
-
return /* @__PURE__ */
|
|
4705
|
+
return /* @__PURE__ */ jsx64(SOD523, {});
|
|
4535
4706
|
case "sod882":
|
|
4536
|
-
return /* @__PURE__ */
|
|
4707
|
+
return /* @__PURE__ */ jsx64(SOD882, {});
|
|
4537
4708
|
case "sma":
|
|
4538
|
-
return /* @__PURE__ */
|
|
4709
|
+
return /* @__PURE__ */ jsx64(SMA, {});
|
|
4539
4710
|
case "smb":
|
|
4540
|
-
return /* @__PURE__ */
|
|
4711
|
+
return /* @__PURE__ */ jsx64(SMB, {});
|
|
4541
4712
|
case "smc":
|
|
4542
|
-
return /* @__PURE__ */
|
|
4713
|
+
return /* @__PURE__ */ jsx64(SMC, {});
|
|
4543
4714
|
case "smf":
|
|
4544
|
-
return /* @__PURE__ */
|
|
4715
|
+
return /* @__PURE__ */ jsx64(SMF, {});
|
|
4545
4716
|
case "sod123f":
|
|
4546
|
-
return /* @__PURE__ */
|
|
4717
|
+
return /* @__PURE__ */ jsx64(SOD123F, {});
|
|
4547
4718
|
case "sod123fl":
|
|
4548
|
-
return /* @__PURE__ */
|
|
4719
|
+
return /* @__PURE__ */ jsx64(SOD123FL, {});
|
|
4549
4720
|
case "sod123w":
|
|
4550
|
-
return /* @__PURE__ */
|
|
4721
|
+
return /* @__PURE__ */ jsx64(SOD123W, {});
|
|
4551
4722
|
case "sod128":
|
|
4552
|
-
return /* @__PURE__ */
|
|
4723
|
+
return /* @__PURE__ */ jsx64(SOD128, {});
|
|
4553
4724
|
case "sod323":
|
|
4554
|
-
return /* @__PURE__ */
|
|
4725
|
+
return /* @__PURE__ */ jsx64(SOD323, {});
|
|
4555
4726
|
case "sod923":
|
|
4556
|
-
return /* @__PURE__ */
|
|
4727
|
+
return /* @__PURE__ */ jsx64(SOD923, {});
|
|
4557
4728
|
case "hc49":
|
|
4558
|
-
return /* @__PURE__ */
|
|
4729
|
+
return /* @__PURE__ */ jsx64(HC49, {});
|
|
4559
4730
|
case "micromelf":
|
|
4560
|
-
return /* @__PURE__ */
|
|
4731
|
+
return /* @__PURE__ */ jsx64(MicroMELF, {});
|
|
4561
4732
|
case "minimelf":
|
|
4562
|
-
return /* @__PURE__ */
|
|
4733
|
+
return /* @__PURE__ */ jsx64(MINIMELF, {});
|
|
4563
4734
|
case "melf":
|
|
4564
|
-
return /* @__PURE__ */
|
|
4735
|
+
return /* @__PURE__ */ jsx64(MELF, {});
|
|
4565
4736
|
case "ms012":
|
|
4566
|
-
return /* @__PURE__ */
|
|
4737
|
+
return /* @__PURE__ */ jsx64(
|
|
4567
4738
|
MS012,
|
|
4568
4739
|
{
|
|
4569
4740
|
pinCount: fpJson.num_pins,
|
|
@@ -4573,7 +4744,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4573
4744
|
}
|
|
4574
4745
|
);
|
|
4575
4746
|
case "ms013":
|
|
4576
|
-
return /* @__PURE__ */
|
|
4747
|
+
return /* @__PURE__ */ jsx64(
|
|
4577
4748
|
MS013,
|
|
4578
4749
|
{
|
|
4579
4750
|
pinCount: fpJson.num_pins,
|
|
@@ -4583,14 +4754,14 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4583
4754
|
}
|
|
4584
4755
|
);
|
|
4585
4756
|
case "sot723":
|
|
4586
|
-
return /* @__PURE__ */
|
|
4757
|
+
return /* @__PURE__ */ jsx64(SOT723, {});
|
|
4587
4758
|
case "to220":
|
|
4588
|
-
return /* @__PURE__ */
|
|
4759
|
+
return /* @__PURE__ */ jsx64(TO220, {});
|
|
4589
4760
|
case "to92":
|
|
4590
|
-
return /* @__PURE__ */
|
|
4761
|
+
return /* @__PURE__ */ jsx64(TO92, {});
|
|
4591
4762
|
case "stampboard":
|
|
4592
4763
|
case "stampreceiver":
|
|
4593
|
-
return /* @__PURE__ */
|
|
4764
|
+
return /* @__PURE__ */ jsx64(
|
|
4594
4765
|
StampBoard,
|
|
4595
4766
|
{
|
|
4596
4767
|
bodyWidth: fpJson.w,
|
|
@@ -4605,34 +4776,60 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4605
4776
|
innerHoleEdgeDistance: fpJson.innerholeedgedistance
|
|
4606
4777
|
}
|
|
4607
4778
|
);
|
|
4779
|
+
case "mountedpcbmodule": {
|
|
4780
|
+
const rows = fpJson.rows ?? 1;
|
|
4781
|
+
const pinRowSide = fpJson.pinRowSide ?? "left";
|
|
4782
|
+
const holeInset = fpJson.holeInset;
|
|
4783
|
+
const width10 = fpJson.width;
|
|
4784
|
+
const height10 = fpJson.height;
|
|
4785
|
+
const pinRow = fpJson.pinrow;
|
|
4786
|
+
const pinRowHoleEdgeToEdgeDist = fpJson.pinRowHoleEdgeToEdgeDist;
|
|
4787
|
+
const holes = Array.isArray(fpJson.holes) ? fpJson.holes : [];
|
|
4788
|
+
return /* @__PURE__ */ jsx64(
|
|
4789
|
+
MountedPcbModule,
|
|
4790
|
+
{
|
|
4791
|
+
numPins: pinRow,
|
|
4792
|
+
rows,
|
|
4793
|
+
p: fpJson.p,
|
|
4794
|
+
id: fpJson.id,
|
|
4795
|
+
od: fpJson.od,
|
|
4796
|
+
width: width10,
|
|
4797
|
+
height: height10,
|
|
4798
|
+
pinRowSide,
|
|
4799
|
+
holes,
|
|
4800
|
+
holeInset,
|
|
4801
|
+
pinRowHoleEdgeToEdgeDist
|
|
4802
|
+
}
|
|
4803
|
+
);
|
|
4804
|
+
}
|
|
4608
4805
|
}
|
|
4609
4806
|
const colorMatch = footprint.match(/_color\(([^)]+)\)/);
|
|
4610
4807
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
4611
4808
|
switch (fpJson.imperial) {
|
|
4612
4809
|
case "0402":
|
|
4613
|
-
return /* @__PURE__ */
|
|
4810
|
+
return /* @__PURE__ */ jsx64(A0402, { color });
|
|
4614
4811
|
case "0603":
|
|
4615
|
-
return /* @__PURE__ */
|
|
4812
|
+
return /* @__PURE__ */ jsx64(A0603, { color });
|
|
4616
4813
|
case "0805":
|
|
4617
|
-
return /* @__PURE__ */
|
|
4814
|
+
return /* @__PURE__ */ jsx64(A0805, { color });
|
|
4618
4815
|
case "0201":
|
|
4619
|
-
return /* @__PURE__ */
|
|
4816
|
+
return /* @__PURE__ */ jsx64(A0201, { color });
|
|
4620
4817
|
case "01005":
|
|
4621
|
-
return /* @__PURE__ */
|
|
4818
|
+
return /* @__PURE__ */ jsx64(A01005, { color });
|
|
4622
4819
|
case "1206":
|
|
4623
|
-
return /* @__PURE__ */
|
|
4820
|
+
return /* @__PURE__ */ jsx64(A1206, { color });
|
|
4624
4821
|
case "1210":
|
|
4625
|
-
return /* @__PURE__ */
|
|
4822
|
+
return /* @__PURE__ */ jsx64(A1210, { color });
|
|
4626
4823
|
case "2010":
|
|
4627
|
-
return /* @__PURE__ */
|
|
4824
|
+
return /* @__PURE__ */ jsx64(A2010, { color });
|
|
4628
4825
|
case "2512":
|
|
4629
|
-
return /* @__PURE__ */
|
|
4826
|
+
return /* @__PURE__ */ jsx64(A2512, { color });
|
|
4630
4827
|
}
|
|
4631
4828
|
return null;
|
|
4632
4829
|
};
|
|
4633
4830
|
|
|
4634
4831
|
// lib/SOT-23-3P.tsx
|
|
4635
|
-
import { Fragment as
|
|
4832
|
+
import { Fragment as Fragment59, jsx as jsx65, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
4636
4833
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
4637
4834
|
const bodyWidth = 1.3;
|
|
4638
4835
|
const bodyLength10 = 2.9;
|
|
@@ -4643,8 +4840,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4643
4840
|
const padContactLength = 0.4;
|
|
4644
4841
|
const padThickness = leadThickness / 2;
|
|
4645
4842
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
4646
|
-
return /* @__PURE__ */
|
|
4647
|
-
/* @__PURE__ */
|
|
4843
|
+
return /* @__PURE__ */ jsxs61(Fragment59, { children: [
|
|
4844
|
+
/* @__PURE__ */ jsx65(
|
|
4648
4845
|
SmdChipLead,
|
|
4649
4846
|
{
|
|
4650
4847
|
rotation: Math.PI,
|
|
@@ -4661,7 +4858,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4661
4858
|
},
|
|
4662
4859
|
1
|
|
4663
4860
|
),
|
|
4664
|
-
/* @__PURE__ */
|
|
4861
|
+
/* @__PURE__ */ jsx65(
|
|
4665
4862
|
SmdChipLead,
|
|
4666
4863
|
{
|
|
4667
4864
|
rotation: Math.PI,
|
|
@@ -4678,7 +4875,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4678
4875
|
},
|
|
4679
4876
|
2
|
|
4680
4877
|
),
|
|
4681
|
-
/* @__PURE__ */
|
|
4878
|
+
/* @__PURE__ */ jsx65(
|
|
4682
4879
|
SmdChipLead,
|
|
4683
4880
|
{
|
|
4684
4881
|
position: {
|
|
@@ -4694,7 +4891,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4694
4891
|
},
|
|
4695
4892
|
3
|
|
4696
4893
|
),
|
|
4697
|
-
/* @__PURE__ */
|
|
4894
|
+
/* @__PURE__ */ jsx65(
|
|
4698
4895
|
ChipBody,
|
|
4699
4896
|
{
|
|
4700
4897
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4707,8 +4904,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4707
4904
|
};
|
|
4708
4905
|
|
|
4709
4906
|
// lib/SOT-563.tsx
|
|
4710
|
-
import { Cuboid as
|
|
4711
|
-
import { Fragment as
|
|
4907
|
+
import { Cuboid as Cuboid42, Translate as Translate28, Rotate as Rotate12, Colorize as Colorize34 } from "jscad-fiber";
|
|
4908
|
+
import { Fragment as Fragment60, jsx as jsx66, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
4712
4909
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
4713
4910
|
const bodyWidth = 1.2;
|
|
4714
4911
|
const bodyLength10 = 1.6;
|
|
@@ -4718,11 +4915,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4718
4915
|
const leadHeight = 0.13;
|
|
4719
4916
|
const leadSpacing = 0.5;
|
|
4720
4917
|
const bodyZOffset = -0.4;
|
|
4721
|
-
return /* @__PURE__ */
|
|
4722
|
-
/* @__PURE__ */
|
|
4918
|
+
return /* @__PURE__ */ jsxs62(Fragment60, { children: [
|
|
4919
|
+
/* @__PURE__ */ jsx66(Rotate12, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx66(Translate28, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx66(Colorize34, { color: "grey", children: /* @__PURE__ */ jsx66(Cuboid42, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
4723
4920
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
4724
4921
|
// Left lead
|
|
4725
|
-
/* @__PURE__ */
|
|
4922
|
+
/* @__PURE__ */ jsx66(
|
|
4726
4923
|
Translate28,
|
|
4727
4924
|
{
|
|
4728
4925
|
center: [
|
|
@@ -4730,16 +4927,16 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4730
4927
|
yOffset * leadSpacing,
|
|
4731
4928
|
leadHeight / 2
|
|
4732
4929
|
],
|
|
4733
|
-
children: /* @__PURE__ */
|
|
4930
|
+
children: /* @__PURE__ */ jsx66(Cuboid42, { size: [leadLength, leadWidth, leadHeight] })
|
|
4734
4931
|
},
|
|
4735
4932
|
`left-${index}`
|
|
4736
4933
|
),
|
|
4737
4934
|
// Right lead
|
|
4738
|
-
/* @__PURE__ */
|
|
4935
|
+
/* @__PURE__ */ jsx66(
|
|
4739
4936
|
Translate28,
|
|
4740
4937
|
{
|
|
4741
4938
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
4742
|
-
children: /* @__PURE__ */
|
|
4939
|
+
children: /* @__PURE__ */ jsx66(Cuboid42, { size: [leadLength, leadWidth, leadHeight] })
|
|
4743
4940
|
},
|
|
4744
4941
|
`right-${index}`
|
|
4745
4942
|
)
|
|
@@ -4748,7 +4945,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4748
4945
|
};
|
|
4749
4946
|
|
|
4750
4947
|
// lib/sod-123.tsx
|
|
4751
|
-
import { Fragment as
|
|
4948
|
+
import { Fragment as Fragment61, jsx as jsx67, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
4752
4949
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
4753
4950
|
const bodyWidth = 2.9;
|
|
4754
4951
|
const bodyLength10 = 1.3;
|
|
@@ -4759,8 +4956,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4759
4956
|
const padContactLength = 0.4;
|
|
4760
4957
|
const padThickness = leadThickness / 2;
|
|
4761
4958
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
4762
|
-
return /* @__PURE__ */
|
|
4763
|
-
/* @__PURE__ */
|
|
4959
|
+
return /* @__PURE__ */ jsxs63(Fragment61, { children: [
|
|
4960
|
+
/* @__PURE__ */ jsx67(
|
|
4764
4961
|
SmdChipLead,
|
|
4765
4962
|
{
|
|
4766
4963
|
position: {
|
|
@@ -4776,7 +4973,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4776
4973
|
},
|
|
4777
4974
|
1
|
|
4778
4975
|
),
|
|
4779
|
-
/* @__PURE__ */
|
|
4976
|
+
/* @__PURE__ */ jsx67(
|
|
4780
4977
|
SmdChipLead,
|
|
4781
4978
|
{
|
|
4782
4979
|
rotation: Math.PI,
|
|
@@ -4793,7 +4990,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4793
4990
|
},
|
|
4794
4991
|
2
|
|
4795
4992
|
),
|
|
4796
|
-
/* @__PURE__ */
|
|
4993
|
+
/* @__PURE__ */ jsx67(
|
|
4797
4994
|
ChipBody,
|
|
4798
4995
|
{
|
|
4799
4996
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4830,6 +5027,8 @@ export {
|
|
|
4830
5027
|
MS013,
|
|
4831
5028
|
MSOP,
|
|
4832
5029
|
MicroMELF,
|
|
5030
|
+
MountedPcbModule,
|
|
5031
|
+
PinHeader,
|
|
4833
5032
|
PinRow,
|
|
4834
5033
|
QFN,
|
|
4835
5034
|
QFP,
|