jscad-electronics 0.0.93 → 0.0.95
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 +8 -1
- package/dist/index.js +533 -319
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +210 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1343,9 +1343,85 @@ var SOT235 = () => {
|
|
|
1343
1343
|
};
|
|
1344
1344
|
var SOT_235_default = SOT235;
|
|
1345
1345
|
|
|
1346
|
+
// lib/SOT-23W.tsx
|
|
1347
|
+
import { Fragment as Fragment19, jsx as jsx23, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1348
|
+
var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
1349
|
+
const bodyWidth = 1.92;
|
|
1350
|
+
const bodyLength10 = 2.9;
|
|
1351
|
+
const bodyHeight = 1.1;
|
|
1352
|
+
const leadWidth = 0.4;
|
|
1353
|
+
const leadThickness = 0.15;
|
|
1354
|
+
const leadHeight = 0.45;
|
|
1355
|
+
const padContactLength = 0.25;
|
|
1356
|
+
const padThickness = leadThickness / 2;
|
|
1357
|
+
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1358
|
+
return /* @__PURE__ */ jsxs21(Fragment19, { children: [
|
|
1359
|
+
/* @__PURE__ */ jsx23(
|
|
1360
|
+
SmdChipLead,
|
|
1361
|
+
{
|
|
1362
|
+
rotation: Math.PI,
|
|
1363
|
+
position: {
|
|
1364
|
+
x: fullWidth / 2,
|
|
1365
|
+
y: 0,
|
|
1366
|
+
z: padThickness
|
|
1367
|
+
},
|
|
1368
|
+
width: leadWidth,
|
|
1369
|
+
thickness: leadThickness,
|
|
1370
|
+
padContactLength,
|
|
1371
|
+
bodyDistance: extendedBodyDistance,
|
|
1372
|
+
height: leadHeight
|
|
1373
|
+
},
|
|
1374
|
+
1
|
|
1375
|
+
),
|
|
1376
|
+
/* @__PURE__ */ jsx23(
|
|
1377
|
+
SmdChipLead,
|
|
1378
|
+
{
|
|
1379
|
+
position: {
|
|
1380
|
+
x: -fullWidth / 2,
|
|
1381
|
+
y: -0.95,
|
|
1382
|
+
z: padThickness
|
|
1383
|
+
},
|
|
1384
|
+
width: leadWidth,
|
|
1385
|
+
thickness: leadThickness,
|
|
1386
|
+
padContactLength,
|
|
1387
|
+
bodyDistance: extendedBodyDistance,
|
|
1388
|
+
height: leadHeight
|
|
1389
|
+
},
|
|
1390
|
+
2
|
|
1391
|
+
),
|
|
1392
|
+
/* @__PURE__ */ jsx23(
|
|
1393
|
+
SmdChipLead,
|
|
1394
|
+
{
|
|
1395
|
+
position: {
|
|
1396
|
+
x: -fullWidth / 2,
|
|
1397
|
+
y: 0.95,
|
|
1398
|
+
z: padThickness
|
|
1399
|
+
},
|
|
1400
|
+
width: leadWidth,
|
|
1401
|
+
thickness: leadThickness,
|
|
1402
|
+
padContactLength,
|
|
1403
|
+
bodyDistance: extendedBodyDistance,
|
|
1404
|
+
height: leadHeight
|
|
1405
|
+
},
|
|
1406
|
+
3
|
|
1407
|
+
),
|
|
1408
|
+
/* @__PURE__ */ jsx23(
|
|
1409
|
+
ChipBody,
|
|
1410
|
+
{
|
|
1411
|
+
center: { x: 0, y: 0, z: 0 },
|
|
1412
|
+
width: bodyWidth,
|
|
1413
|
+
length: bodyLength10,
|
|
1414
|
+
height: bodyHeight,
|
|
1415
|
+
straightHeightRatio: 0.45,
|
|
1416
|
+
heightAboveSurface: 0.05
|
|
1417
|
+
}
|
|
1418
|
+
)
|
|
1419
|
+
] });
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1346
1422
|
// lib/FemaleHeader.tsx
|
|
1347
1423
|
import { Cuboid as Cuboid16, Colorize as Colorize8, Hull as Hull3, Subtract as Subtract3, Cylinder as Cylinder4 } from "jscad-fiber";
|
|
1348
|
-
import { Fragment as
|
|
1424
|
+
import { Fragment as Fragment20, jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1349
1425
|
var FemaleHeader = ({
|
|
1350
1426
|
numberOfPins,
|
|
1351
1427
|
pitch = 2.54,
|
|
@@ -1359,8 +1435,8 @@ var FemaleHeader = ({
|
|
|
1359
1435
|
const bodyWidth = (numberOfPins - 1) * pitch + outerDiameter + pitch / 2;
|
|
1360
1436
|
const gapWidth = pinThickness * 1.6;
|
|
1361
1437
|
const xoff = -((numberOfPins - 1) / 2) * pitch;
|
|
1362
|
-
const Body = /* @__PURE__ */
|
|
1363
|
-
/* @__PURE__ */
|
|
1438
|
+
const Body = /* @__PURE__ */ jsx24(Colorize8, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs22(Subtract3, { children: [
|
|
1439
|
+
/* @__PURE__ */ jsx24(
|
|
1364
1440
|
Cuboid16,
|
|
1365
1441
|
{
|
|
1366
1442
|
color: "#000",
|
|
@@ -1370,7 +1446,7 @@ var FemaleHeader = ({
|
|
|
1370
1446
|
),
|
|
1371
1447
|
Array.from(
|
|
1372
1448
|
{ length: numberOfPins },
|
|
1373
|
-
(_, i) => innerDiameter ? /* @__PURE__ */
|
|
1449
|
+
(_, i) => innerDiameter ? /* @__PURE__ */ jsx24(
|
|
1374
1450
|
Cylinder4,
|
|
1375
1451
|
{
|
|
1376
1452
|
height: bodyHeight + 0.1,
|
|
@@ -1379,7 +1455,7 @@ var FemaleHeader = ({
|
|
|
1379
1455
|
color: "#222"
|
|
1380
1456
|
},
|
|
1381
1457
|
i
|
|
1382
|
-
) : /* @__PURE__ */
|
|
1458
|
+
) : /* @__PURE__ */ jsx24(
|
|
1383
1459
|
Cuboid16,
|
|
1384
1460
|
{
|
|
1385
1461
|
size: [gapWidth, gapWidth, bodyHeight],
|
|
@@ -1389,11 +1465,11 @@ var FemaleHeader = ({
|
|
|
1389
1465
|
)
|
|
1390
1466
|
)
|
|
1391
1467
|
] }) });
|
|
1392
|
-
return /* @__PURE__ */
|
|
1468
|
+
return /* @__PURE__ */ jsxs22(Fragment20, { children: [
|
|
1393
1469
|
Body,
|
|
1394
|
-
Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */
|
|
1395
|
-
/* @__PURE__ */
|
|
1396
|
-
/* @__PURE__ */
|
|
1470
|
+
Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */ jsxs22(Colorize8, { color: "silver", children: [
|
|
1471
|
+
/* @__PURE__ */ jsxs22(Hull3, { children: [
|
|
1472
|
+
/* @__PURE__ */ jsx24(
|
|
1397
1473
|
Cuboid16,
|
|
1398
1474
|
{
|
|
1399
1475
|
color: "silver",
|
|
@@ -1401,7 +1477,7 @@ var FemaleHeader = ({
|
|
|
1401
1477
|
center: [xoff + i * pitch, 0, -legsLength / 2 * 0.9]
|
|
1402
1478
|
}
|
|
1403
1479
|
),
|
|
1404
|
-
/* @__PURE__ */
|
|
1480
|
+
/* @__PURE__ */ jsx24(
|
|
1405
1481
|
Cuboid16,
|
|
1406
1482
|
{
|
|
1407
1483
|
color: "silver",
|
|
@@ -1410,7 +1486,7 @@ var FemaleHeader = ({
|
|
|
1410
1486
|
}
|
|
1411
1487
|
)
|
|
1412
1488
|
] }),
|
|
1413
|
-
/* @__PURE__ */
|
|
1489
|
+
/* @__PURE__ */ jsx24(
|
|
1414
1490
|
Cuboid16,
|
|
1415
1491
|
{
|
|
1416
1492
|
color: "silver",
|
|
@@ -1432,7 +1508,7 @@ import {
|
|
|
1432
1508
|
RoundedCuboid,
|
|
1433
1509
|
Translate as Translate8
|
|
1434
1510
|
} from "jscad-fiber";
|
|
1435
|
-
import { Fragment as
|
|
1511
|
+
import { Fragment as Fragment21, jsx as jsx25, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1436
1512
|
var PushButton = ({
|
|
1437
1513
|
width: width10,
|
|
1438
1514
|
length,
|
|
@@ -1442,8 +1518,8 @@ var PushButton = ({
|
|
|
1442
1518
|
const bodyLength10 = length;
|
|
1443
1519
|
const bodyHeight = width10 * 0.7;
|
|
1444
1520
|
const legWidth = innerDiameter / 2.5;
|
|
1445
|
-
return /* @__PURE__ */
|
|
1446
|
-
/* @__PURE__ */
|
|
1521
|
+
return /* @__PURE__ */ jsxs23(Fragment21, { children: [
|
|
1522
|
+
/* @__PURE__ */ jsx25(
|
|
1447
1523
|
RoundedCuboid,
|
|
1448
1524
|
{
|
|
1449
1525
|
color: "#1a1a1f",
|
|
@@ -1452,7 +1528,7 @@ var PushButton = ({
|
|
|
1452
1528
|
roundRadius: 0.3
|
|
1453
1529
|
}
|
|
1454
1530
|
),
|
|
1455
|
-
/* @__PURE__ */
|
|
1531
|
+
/* @__PURE__ */ jsx25(
|
|
1456
1532
|
RoundedCuboid,
|
|
1457
1533
|
{
|
|
1458
1534
|
color: "#f2f2f2",
|
|
@@ -1461,7 +1537,7 @@ var PushButton = ({
|
|
|
1461
1537
|
roundRadius: 0.14
|
|
1462
1538
|
}
|
|
1463
1539
|
),
|
|
1464
|
-
/* @__PURE__ */
|
|
1540
|
+
/* @__PURE__ */ jsx25(
|
|
1465
1541
|
Cylinder5,
|
|
1466
1542
|
{
|
|
1467
1543
|
color: "#1a1a1f",
|
|
@@ -1470,7 +1546,7 @@ var PushButton = ({
|
|
|
1470
1546
|
center: [0, 0, bodyHeight + bodyHeight * 0.8 / 2]
|
|
1471
1547
|
}
|
|
1472
1548
|
),
|
|
1473
|
-
/* @__PURE__ */
|
|
1549
|
+
/* @__PURE__ */ jsx25(
|
|
1474
1550
|
Cylinder5,
|
|
1475
1551
|
{
|
|
1476
1552
|
color: "#1a1a1f",
|
|
@@ -1483,7 +1559,7 @@ var PushButton = ({
|
|
|
1483
1559
|
]
|
|
1484
1560
|
}
|
|
1485
1561
|
),
|
|
1486
|
-
/* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ jsx25(
|
|
1487
1563
|
Cylinder5,
|
|
1488
1564
|
{
|
|
1489
1565
|
color: "#1a1a1f",
|
|
@@ -1496,7 +1572,7 @@ var PushButton = ({
|
|
|
1496
1572
|
]
|
|
1497
1573
|
}
|
|
1498
1574
|
),
|
|
1499
|
-
/* @__PURE__ */
|
|
1575
|
+
/* @__PURE__ */ jsx25(
|
|
1500
1576
|
Cylinder5,
|
|
1501
1577
|
{
|
|
1502
1578
|
color: "#1a1a1f",
|
|
@@ -1509,7 +1585,7 @@ var PushButton = ({
|
|
|
1509
1585
|
]
|
|
1510
1586
|
}
|
|
1511
1587
|
),
|
|
1512
|
-
/* @__PURE__ */
|
|
1588
|
+
/* @__PURE__ */ jsx25(
|
|
1513
1589
|
Cylinder5,
|
|
1514
1590
|
{
|
|
1515
1591
|
color: "#1a1a1f",
|
|
@@ -1522,7 +1598,7 @@ var PushButton = ({
|
|
|
1522
1598
|
]
|
|
1523
1599
|
}
|
|
1524
1600
|
),
|
|
1525
|
-
/* @__PURE__ */
|
|
1601
|
+
/* @__PURE__ */ jsx25(
|
|
1526
1602
|
PushButtonLeg,
|
|
1527
1603
|
{
|
|
1528
1604
|
thickness: innerDiameter / 3,
|
|
@@ -1536,7 +1612,7 @@ var PushButton = ({
|
|
|
1536
1612
|
}
|
|
1537
1613
|
}
|
|
1538
1614
|
),
|
|
1539
|
-
/* @__PURE__ */
|
|
1615
|
+
/* @__PURE__ */ jsx25(
|
|
1540
1616
|
PushButtonLeg,
|
|
1541
1617
|
{
|
|
1542
1618
|
thickness: innerDiameter / 3,
|
|
@@ -1551,7 +1627,7 @@ var PushButton = ({
|
|
|
1551
1627
|
rotation: Math.PI
|
|
1552
1628
|
}
|
|
1553
1629
|
),
|
|
1554
|
-
/* @__PURE__ */
|
|
1630
|
+
/* @__PURE__ */ jsx25(
|
|
1555
1631
|
PushButtonLeg,
|
|
1556
1632
|
{
|
|
1557
1633
|
thickness: innerDiameter / 3,
|
|
@@ -1562,7 +1638,7 @@ var PushButton = ({
|
|
|
1562
1638
|
rotation: Math.PI
|
|
1563
1639
|
}
|
|
1564
1640
|
),
|
|
1565
|
-
/* @__PURE__ */
|
|
1641
|
+
/* @__PURE__ */ jsx25(
|
|
1566
1642
|
PushButtonLeg,
|
|
1567
1643
|
{
|
|
1568
1644
|
thickness: innerDiameter / 3,
|
|
@@ -1594,7 +1670,7 @@ var PushButtonLeg = (props) => {
|
|
|
1594
1670
|
[0, 0]
|
|
1595
1671
|
];
|
|
1596
1672
|
const polygon = getExpandedStroke(points, thickness);
|
|
1597
|
-
return /* @__PURE__ */
|
|
1673
|
+
return /* @__PURE__ */ jsx25(Colorize9, { color: "#f2f2f2", children: /* @__PURE__ */ jsx25(
|
|
1598
1674
|
Translate8,
|
|
1599
1675
|
{
|
|
1600
1676
|
offset: {
|
|
@@ -1602,13 +1678,13 @@ var PushButtonLeg = (props) => {
|
|
|
1602
1678
|
y: position?.y || 0,
|
|
1603
1679
|
z: position?.z || 0
|
|
1604
1680
|
},
|
|
1605
|
-
children: /* @__PURE__ */
|
|
1681
|
+
children: /* @__PURE__ */ jsx25(Rotate5, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx25(ExtrudeLinear3, { height: width10, children: /* @__PURE__ */ jsx25(Polygon3, { points: polygon.map((p) => [p.y, p.x]) }) }) })
|
|
1606
1682
|
}
|
|
1607
1683
|
) });
|
|
1608
1684
|
};
|
|
1609
1685
|
|
|
1610
1686
|
// lib/SOIC.tsx
|
|
1611
|
-
import { Fragment as
|
|
1687
|
+
import { Fragment as Fragment22, jsx as jsx26, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1612
1688
|
var SOIC = ({
|
|
1613
1689
|
pinCount,
|
|
1614
1690
|
leadLength,
|
|
@@ -1624,8 +1700,8 @@ var SOIC = ({
|
|
|
1624
1700
|
const leadBodyOffset = leadLength * 0;
|
|
1625
1701
|
const fullLength10 = pitch * (sidePinCount - 1) + leadWidth + 0.2;
|
|
1626
1702
|
const bodyWidthAdjusted = bodyWidth * 0.55;
|
|
1627
|
-
return /* @__PURE__ */
|
|
1628
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1703
|
+
return /* @__PURE__ */ jsxs24(Fragment22, { children: [
|
|
1704
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx26(
|
|
1629
1705
|
SmdChipLead,
|
|
1630
1706
|
{
|
|
1631
1707
|
position: {
|
|
@@ -1641,7 +1717,7 @@ var SOIC = ({
|
|
|
1641
1717
|
},
|
|
1642
1718
|
i
|
|
1643
1719
|
)),
|
|
1644
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1720
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx26(
|
|
1645
1721
|
SmdChipLead,
|
|
1646
1722
|
{
|
|
1647
1723
|
rotation: Math.PI,
|
|
@@ -1658,7 +1734,7 @@ var SOIC = ({
|
|
|
1658
1734
|
},
|
|
1659
1735
|
i
|
|
1660
1736
|
)),
|
|
1661
|
-
/* @__PURE__ */
|
|
1737
|
+
/* @__PURE__ */ jsx26(
|
|
1662
1738
|
ChipBody,
|
|
1663
1739
|
{
|
|
1664
1740
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1671,7 +1747,7 @@ var SOIC = ({
|
|
|
1671
1747
|
};
|
|
1672
1748
|
|
|
1673
1749
|
// lib/VSSOP.tsx
|
|
1674
|
-
import { Fragment as
|
|
1750
|
+
import { Fragment as Fragment23, jsx as jsx27, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1675
1751
|
var VSSOP = ({
|
|
1676
1752
|
pinCount,
|
|
1677
1753
|
pitch,
|
|
@@ -1701,8 +1777,8 @@ var VSSOP = ({
|
|
|
1701
1777
|
const componentFullWidth = 4.5;
|
|
1702
1778
|
const leadBodyDistance = (componentFullWidth - _bodyWidth) / 2;
|
|
1703
1779
|
const padContactLength = leadBodyDistance * 0.5;
|
|
1704
|
-
return /* @__PURE__ */
|
|
1705
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1780
|
+
return /* @__PURE__ */ jsxs25(Fragment23, { children: [
|
|
1781
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx27(
|
|
1706
1782
|
SmdChipLead,
|
|
1707
1783
|
{
|
|
1708
1784
|
position: {
|
|
@@ -1718,7 +1794,7 @@ var VSSOP = ({
|
|
|
1718
1794
|
},
|
|
1719
1795
|
`left-${i}`
|
|
1720
1796
|
)),
|
|
1721
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1797
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx27(
|
|
1722
1798
|
SmdChipLead,
|
|
1723
1799
|
{
|
|
1724
1800
|
rotation: Math.PI,
|
|
@@ -1735,7 +1811,7 @@ var VSSOP = ({
|
|
|
1735
1811
|
},
|
|
1736
1812
|
`right-${i}`
|
|
1737
1813
|
)),
|
|
1738
|
-
/* @__PURE__ */
|
|
1814
|
+
/* @__PURE__ */ jsx27(
|
|
1739
1815
|
ChipBody,
|
|
1740
1816
|
{
|
|
1741
1817
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1749,7 +1825,7 @@ var VSSOP = ({
|
|
|
1749
1825
|
|
|
1750
1826
|
// lib/SOD523.tsx
|
|
1751
1827
|
import { Colorize as Colorize10, Cuboid as Cuboid18, Hull as Hull4, Translate as Translate9, Union as Union5 } from "jscad-fiber";
|
|
1752
|
-
import { Fragment as
|
|
1828
|
+
import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1753
1829
|
var SOD523 = () => {
|
|
1754
1830
|
const fullWidth = 2.15;
|
|
1755
1831
|
const bodyLength10 = 0.8;
|
|
@@ -1762,8 +1838,8 @@ var SOD523 = () => {
|
|
|
1762
1838
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
1763
1839
|
const taperOffset = 0.2;
|
|
1764
1840
|
const straightHeight = bodyHeight * 0.5;
|
|
1765
|
-
return /* @__PURE__ */
|
|
1766
|
-
/* @__PURE__ */
|
|
1841
|
+
return /* @__PURE__ */ jsxs26(Fragment24, { children: [
|
|
1842
|
+
/* @__PURE__ */ jsx28(
|
|
1767
1843
|
Cuboid18,
|
|
1768
1844
|
{
|
|
1769
1845
|
color: "#ccc",
|
|
@@ -1771,7 +1847,7 @@ var SOD523 = () => {
|
|
|
1771
1847
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1772
1848
|
}
|
|
1773
1849
|
),
|
|
1774
|
-
/* @__PURE__ */
|
|
1850
|
+
/* @__PURE__ */ jsx28(
|
|
1775
1851
|
Cuboid18,
|
|
1776
1852
|
{
|
|
1777
1853
|
color: "#ccc",
|
|
@@ -1779,11 +1855,11 @@ var SOD523 = () => {
|
|
|
1779
1855
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1780
1856
|
}
|
|
1781
1857
|
),
|
|
1782
|
-
/* @__PURE__ */
|
|
1783
|
-
/* @__PURE__ */
|
|
1784
|
-
/* @__PURE__ */
|
|
1785
|
-
/* @__PURE__ */
|
|
1786
|
-
/* @__PURE__ */
|
|
1858
|
+
/* @__PURE__ */ jsx28(Colorize10, { color: "#222", children: /* @__PURE__ */ jsxs26(Union5, { children: [
|
|
1859
|
+
/* @__PURE__ */ jsx28(Translate9, { z: straightHeight / 2, children: /* @__PURE__ */ jsx28(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
1860
|
+
/* @__PURE__ */ jsxs26(Hull4, { children: [
|
|
1861
|
+
/* @__PURE__ */ jsx28(Translate9, { z: straightHeight, children: /* @__PURE__ */ jsx28(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1862
|
+
/* @__PURE__ */ jsx28(Translate9, { z: bodyHeight, children: /* @__PURE__ */ jsx28(
|
|
1787
1863
|
Cuboid18,
|
|
1788
1864
|
{
|
|
1789
1865
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -1796,7 +1872,7 @@ var SOD523 = () => {
|
|
|
1796
1872
|
|
|
1797
1873
|
// lib/SOD882.tsx
|
|
1798
1874
|
import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate10 } from "jscad-fiber";
|
|
1799
|
-
import { Fragment as
|
|
1875
|
+
import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1800
1876
|
var SOD882 = () => {
|
|
1801
1877
|
const bodyLength10 = 0.98;
|
|
1802
1878
|
const bodyHeight = 0.47;
|
|
@@ -1807,8 +1883,8 @@ var SOD882 = () => {
|
|
|
1807
1883
|
const bodyWidth = 0.58;
|
|
1808
1884
|
const leftPadCenterX = -pitch / 2;
|
|
1809
1885
|
const rightPadCenterX = pitch / 2;
|
|
1810
|
-
return /* @__PURE__ */
|
|
1811
|
-
/* @__PURE__ */
|
|
1886
|
+
return /* @__PURE__ */ jsxs27(Fragment25, { children: [
|
|
1887
|
+
/* @__PURE__ */ jsx29(
|
|
1812
1888
|
Cuboid19,
|
|
1813
1889
|
{
|
|
1814
1890
|
color: "#ccc",
|
|
@@ -1816,7 +1892,7 @@ var SOD882 = () => {
|
|
|
1816
1892
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1817
1893
|
}
|
|
1818
1894
|
),
|
|
1819
|
-
/* @__PURE__ */
|
|
1895
|
+
/* @__PURE__ */ jsx29(
|
|
1820
1896
|
Cuboid19,
|
|
1821
1897
|
{
|
|
1822
1898
|
color: "#ccc",
|
|
@@ -1824,8 +1900,8 @@ var SOD882 = () => {
|
|
|
1824
1900
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1825
1901
|
}
|
|
1826
1902
|
),
|
|
1827
|
-
/* @__PURE__ */
|
|
1828
|
-
/* @__PURE__ */
|
|
1903
|
+
/* @__PURE__ */ jsx29(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx29(Translate10, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx29(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
|
|
1904
|
+
/* @__PURE__ */ jsx29(
|
|
1829
1905
|
Cuboid19,
|
|
1830
1906
|
{
|
|
1831
1907
|
color: "#ccc",
|
|
@@ -1833,7 +1909,7 @@ var SOD882 = () => {
|
|
|
1833
1909
|
center: [0, padLength / 2, bodyHeight / 4]
|
|
1834
1910
|
}
|
|
1835
1911
|
),
|
|
1836
|
-
/* @__PURE__ */
|
|
1912
|
+
/* @__PURE__ */ jsx29(
|
|
1837
1913
|
Cuboid19,
|
|
1838
1914
|
{
|
|
1839
1915
|
color: "#ccc",
|
|
@@ -1841,7 +1917,7 @@ var SOD882 = () => {
|
|
|
1841
1917
|
center: [0, -padLength / 2, bodyHeight / 4]
|
|
1842
1918
|
}
|
|
1843
1919
|
),
|
|
1844
|
-
/* @__PURE__ */
|
|
1920
|
+
/* @__PURE__ */ jsx29(
|
|
1845
1921
|
Cuboid19,
|
|
1846
1922
|
{
|
|
1847
1923
|
color: "#ccc",
|
|
@@ -1849,7 +1925,7 @@ var SOD882 = () => {
|
|
|
1849
1925
|
center: [pitch / 2, 0, bodyHeight / 4]
|
|
1850
1926
|
}
|
|
1851
1927
|
),
|
|
1852
|
-
/* @__PURE__ */
|
|
1928
|
+
/* @__PURE__ */ jsx29(
|
|
1853
1929
|
Cuboid19,
|
|
1854
1930
|
{
|
|
1855
1931
|
color: "#ccc",
|
|
@@ -1862,7 +1938,7 @@ var SOD882 = () => {
|
|
|
1862
1938
|
|
|
1863
1939
|
// lib/SMA.tsx
|
|
1864
1940
|
import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union7, Hull as Hull6, Translate as Translate11 } from "jscad-fiber";
|
|
1865
|
-
import { Fragment as
|
|
1941
|
+
import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1866
1942
|
var SMA = () => {
|
|
1867
1943
|
const bodyWidth = 4.4;
|
|
1868
1944
|
const bodyLength10 = 3.4;
|
|
@@ -1873,19 +1949,19 @@ var SMA = () => {
|
|
|
1873
1949
|
const leadHeight = 1.14;
|
|
1874
1950
|
const taperOffset = 0.4;
|
|
1875
1951
|
const straightHeight = bodyHeight * 0.5;
|
|
1876
|
-
const Body = /* @__PURE__ */
|
|
1877
|
-
/* @__PURE__ */
|
|
1878
|
-
/* @__PURE__ */
|
|
1952
|
+
const Body = /* @__PURE__ */ jsx30(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Union7, { children: [
|
|
1953
|
+
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
1954
|
+
/* @__PURE__ */ jsx30(Translate11, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx30(
|
|
1879
1955
|
Cuboid20,
|
|
1880
1956
|
{
|
|
1881
1957
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1882
1958
|
}
|
|
1883
1959
|
) }),
|
|
1884
|
-
/* @__PURE__ */
|
|
1960
|
+
/* @__PURE__ */ jsx30(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1885
1961
|
] }),
|
|
1886
|
-
/* @__PURE__ */
|
|
1887
|
-
/* @__PURE__ */
|
|
1888
|
-
/* @__PURE__ */
|
|
1962
|
+
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
1963
|
+
/* @__PURE__ */ jsx30(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1964
|
+
/* @__PURE__ */ jsx30(Translate11, { z: bodyHeight, children: /* @__PURE__ */ jsx30(
|
|
1889
1965
|
Cuboid20,
|
|
1890
1966
|
{
|
|
1891
1967
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -1901,22 +1977,22 @@ var SMA = () => {
|
|
|
1901
1977
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1902
1978
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1903
1979
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1904
|
-
return /* @__PURE__ */
|
|
1905
|
-
/* @__PURE__ */
|
|
1980
|
+
return /* @__PURE__ */ jsx30(Colorize12, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs28(Union7, { children: [
|
|
1981
|
+
/* @__PURE__ */ jsx30(
|
|
1906
1982
|
Cuboid20,
|
|
1907
1983
|
{
|
|
1908
1984
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1909
1985
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
1910
1986
|
}
|
|
1911
1987
|
),
|
|
1912
|
-
/* @__PURE__ */
|
|
1988
|
+
/* @__PURE__ */ jsx30(
|
|
1913
1989
|
Cuboid20,
|
|
1914
1990
|
{
|
|
1915
1991
|
size: [leadThickness, padWidth, leadHeight],
|
|
1916
1992
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1917
1993
|
}
|
|
1918
1994
|
),
|
|
1919
|
-
/* @__PURE__ */
|
|
1995
|
+
/* @__PURE__ */ jsx30(
|
|
1920
1996
|
Cuboid20,
|
|
1921
1997
|
{
|
|
1922
1998
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -1925,16 +2001,16 @@ var SMA = () => {
|
|
|
1925
2001
|
)
|
|
1926
2002
|
] }) });
|
|
1927
2003
|
};
|
|
1928
|
-
return /* @__PURE__ */
|
|
1929
|
-
/* @__PURE__ */
|
|
1930
|
-
/* @__PURE__ */
|
|
2004
|
+
return /* @__PURE__ */ jsxs28(Fragment26, { children: [
|
|
2005
|
+
/* @__PURE__ */ jsx30(Lead, { xDir: 1 }),
|
|
2006
|
+
/* @__PURE__ */ jsx30(Lead, { xDir: -1 }),
|
|
1931
2007
|
Body
|
|
1932
2008
|
] });
|
|
1933
2009
|
};
|
|
1934
2010
|
|
|
1935
2011
|
// lib/SMB.tsx
|
|
1936
2012
|
import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union8, Hull as Hull7, Translate as Translate12 } from "jscad-fiber";
|
|
1937
|
-
import { Fragment as
|
|
2013
|
+
import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1938
2014
|
var SMB = () => {
|
|
1939
2015
|
const bodyWidth = 4.4;
|
|
1940
2016
|
const bodyLength10 = 3.4;
|
|
@@ -1945,19 +2021,19 @@ var SMB = () => {
|
|
|
1945
2021
|
const leadHeight = 1.14;
|
|
1946
2022
|
const taperOffset = 0.4;
|
|
1947
2023
|
const straightHeight = bodyHeight * 0.5;
|
|
1948
|
-
const Body = /* @__PURE__ */
|
|
1949
|
-
/* @__PURE__ */
|
|
1950
|
-
/* @__PURE__ */
|
|
2024
|
+
const Body = /* @__PURE__ */ jsx31(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Union8, { children: [
|
|
2025
|
+
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2026
|
+
/* @__PURE__ */ jsx31(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx31(
|
|
1951
2027
|
Cuboid21,
|
|
1952
2028
|
{
|
|
1953
2029
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1954
2030
|
}
|
|
1955
2031
|
) }),
|
|
1956
|
-
/* @__PURE__ */
|
|
2032
|
+
/* @__PURE__ */ jsx31(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1957
2033
|
] }),
|
|
1958
|
-
/* @__PURE__ */
|
|
1959
|
-
/* @__PURE__ */
|
|
1960
|
-
/* @__PURE__ */
|
|
2034
|
+
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2035
|
+
/* @__PURE__ */ jsx31(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2036
|
+
/* @__PURE__ */ jsx31(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx31(
|
|
1961
2037
|
Cuboid21,
|
|
1962
2038
|
{
|
|
1963
2039
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -1973,22 +2049,22 @@ var SMB = () => {
|
|
|
1973
2049
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1974
2050
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1975
2051
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1976
|
-
return /* @__PURE__ */
|
|
1977
|
-
/* @__PURE__ */
|
|
2052
|
+
return /* @__PURE__ */ jsx31(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs29(Union8, { children: [
|
|
2053
|
+
/* @__PURE__ */ jsx31(
|
|
1978
2054
|
Cuboid21,
|
|
1979
2055
|
{
|
|
1980
2056
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1981
2057
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
1982
2058
|
}
|
|
1983
2059
|
),
|
|
1984
|
-
/* @__PURE__ */
|
|
2060
|
+
/* @__PURE__ */ jsx31(
|
|
1985
2061
|
Cuboid21,
|
|
1986
2062
|
{
|
|
1987
2063
|
size: [leadThickness, padWidth, leadHeight],
|
|
1988
2064
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1989
2065
|
}
|
|
1990
2066
|
),
|
|
1991
|
-
/* @__PURE__ */
|
|
2067
|
+
/* @__PURE__ */ jsx31(
|
|
1992
2068
|
Cuboid21,
|
|
1993
2069
|
{
|
|
1994
2070
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -1997,16 +2073,16 @@ var SMB = () => {
|
|
|
1997
2073
|
)
|
|
1998
2074
|
] }) });
|
|
1999
2075
|
};
|
|
2000
|
-
return /* @__PURE__ */
|
|
2001
|
-
/* @__PURE__ */
|
|
2002
|
-
/* @__PURE__ */
|
|
2076
|
+
return /* @__PURE__ */ jsxs29(Fragment27, { children: [
|
|
2077
|
+
/* @__PURE__ */ jsx31(Lead, { xDir: 1 }),
|
|
2078
|
+
/* @__PURE__ */ jsx31(Lead, { xDir: -1 }),
|
|
2003
2079
|
Body
|
|
2004
2080
|
] });
|
|
2005
2081
|
};
|
|
2006
2082
|
|
|
2007
2083
|
// lib/SMC.tsx
|
|
2008
2084
|
import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union9, Hull as Hull8, Translate as Translate13 } from "jscad-fiber";
|
|
2009
|
-
import { Fragment as
|
|
2085
|
+
import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2010
2086
|
var SMC = () => {
|
|
2011
2087
|
const bodyWidth = 6.8;
|
|
2012
2088
|
const bodyLength10 = 6;
|
|
@@ -2017,19 +2093,19 @@ var SMC = () => {
|
|
|
2017
2093
|
const leadHeight = 1.14;
|
|
2018
2094
|
const taperOffset = 0.4;
|
|
2019
2095
|
const straightHeight = bodyHeight * 0.5;
|
|
2020
|
-
const Body = /* @__PURE__ */
|
|
2021
|
-
/* @__PURE__ */
|
|
2022
|
-
/* @__PURE__ */
|
|
2096
|
+
const Body = /* @__PURE__ */ jsx32(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs30(Union9, { children: [
|
|
2097
|
+
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2098
|
+
/* @__PURE__ */ jsx32(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx32(
|
|
2023
2099
|
Cuboid22,
|
|
2024
2100
|
{
|
|
2025
2101
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2026
2102
|
}
|
|
2027
2103
|
) }),
|
|
2028
|
-
/* @__PURE__ */
|
|
2104
|
+
/* @__PURE__ */ jsx32(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2029
2105
|
] }),
|
|
2030
|
-
/* @__PURE__ */
|
|
2031
|
-
/* @__PURE__ */
|
|
2032
|
-
/* @__PURE__ */
|
|
2106
|
+
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2107
|
+
/* @__PURE__ */ jsx32(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2108
|
+
/* @__PURE__ */ jsx32(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
|
|
2033
2109
|
Cuboid22,
|
|
2034
2110
|
{
|
|
2035
2111
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2045,22 +2121,22 @@ var SMC = () => {
|
|
|
2045
2121
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2046
2122
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2047
2123
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2048
|
-
return /* @__PURE__ */
|
|
2049
|
-
/* @__PURE__ */
|
|
2124
|
+
return /* @__PURE__ */ jsx32(Colorize14, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs30(Union9, { children: [
|
|
2125
|
+
/* @__PURE__ */ jsx32(
|
|
2050
2126
|
Cuboid22,
|
|
2051
2127
|
{
|
|
2052
2128
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2053
2129
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2054
2130
|
}
|
|
2055
2131
|
),
|
|
2056
|
-
/* @__PURE__ */
|
|
2132
|
+
/* @__PURE__ */ jsx32(
|
|
2057
2133
|
Cuboid22,
|
|
2058
2134
|
{
|
|
2059
2135
|
size: [leadThickness, padWidth, leadHeight],
|
|
2060
2136
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2061
2137
|
}
|
|
2062
2138
|
),
|
|
2063
|
-
/* @__PURE__ */
|
|
2139
|
+
/* @__PURE__ */ jsx32(
|
|
2064
2140
|
Cuboid22,
|
|
2065
2141
|
{
|
|
2066
2142
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2069,16 +2145,16 @@ var SMC = () => {
|
|
|
2069
2145
|
)
|
|
2070
2146
|
] }) });
|
|
2071
2147
|
};
|
|
2072
|
-
return /* @__PURE__ */
|
|
2073
|
-
/* @__PURE__ */
|
|
2074
|
-
/* @__PURE__ */
|
|
2148
|
+
return /* @__PURE__ */ jsxs30(Fragment28, { children: [
|
|
2149
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: 1 }),
|
|
2150
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: -1 }),
|
|
2075
2151
|
Body
|
|
2076
2152
|
] });
|
|
2077
2153
|
};
|
|
2078
2154
|
|
|
2079
2155
|
// lib/SMF.tsx
|
|
2080
2156
|
import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate14, Union as Union10 } from "jscad-fiber";
|
|
2081
|
-
import { Fragment as
|
|
2157
|
+
import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2082
2158
|
var SMF = () => {
|
|
2083
2159
|
const fullWidth = 2.9;
|
|
2084
2160
|
const bodyLength10 = 1.9;
|
|
@@ -2091,11 +2167,11 @@ var SMF = () => {
|
|
|
2091
2167
|
const rightPadCenterX = 1.3;
|
|
2092
2168
|
const taperOffset = 0.2;
|
|
2093
2169
|
const straightHeight = bodyHeight * 0.5;
|
|
2094
|
-
const Body = /* @__PURE__ */
|
|
2095
|
-
/* @__PURE__ */
|
|
2096
|
-
/* @__PURE__ */
|
|
2097
|
-
/* @__PURE__ */
|
|
2098
|
-
/* @__PURE__ */
|
|
2170
|
+
const Body = /* @__PURE__ */ jsx33(Colorize15, { color: "#222", children: /* @__PURE__ */ jsxs31(Union10, { children: [
|
|
2171
|
+
/* @__PURE__ */ jsx33(Translate14, { z: straightHeight / 2, children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2172
|
+
/* @__PURE__ */ jsxs31(Hull9, { children: [
|
|
2173
|
+
/* @__PURE__ */ jsx33(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2174
|
+
/* @__PURE__ */ jsx33(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
|
|
2099
2175
|
Cuboid23,
|
|
2100
2176
|
{
|
|
2101
2177
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2103,8 +2179,8 @@ var SMF = () => {
|
|
|
2103
2179
|
) })
|
|
2104
2180
|
] })
|
|
2105
2181
|
] }) });
|
|
2106
|
-
return /* @__PURE__ */
|
|
2107
|
-
/* @__PURE__ */
|
|
2182
|
+
return /* @__PURE__ */ jsxs31(Fragment29, { children: [
|
|
2183
|
+
/* @__PURE__ */ jsx33(
|
|
2108
2184
|
Cuboid23,
|
|
2109
2185
|
{
|
|
2110
2186
|
color: "#ccc",
|
|
@@ -2112,7 +2188,7 @@ var SMF = () => {
|
|
|
2112
2188
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2113
2189
|
}
|
|
2114
2190
|
),
|
|
2115
|
-
/* @__PURE__ */
|
|
2191
|
+
/* @__PURE__ */ jsx33(
|
|
2116
2192
|
Cuboid23,
|
|
2117
2193
|
{
|
|
2118
2194
|
color: "#ccc",
|
|
@@ -2126,7 +2202,7 @@ var SMF = () => {
|
|
|
2126
2202
|
|
|
2127
2203
|
// lib/sod-123F.tsx
|
|
2128
2204
|
import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate15, Union as Union11 } from "jscad-fiber";
|
|
2129
|
-
import { Fragment as
|
|
2205
|
+
import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2130
2206
|
var SOD123F = () => {
|
|
2131
2207
|
const fullWidth = 2.7;
|
|
2132
2208
|
const bodyLength10 = 1.6;
|
|
@@ -2138,8 +2214,8 @@ var SOD123F = () => {
|
|
|
2138
2214
|
const rightPadCenterX = 1.3;
|
|
2139
2215
|
const taperOffset = 0.2;
|
|
2140
2216
|
const straightHeight = bodyHeight * 0.5;
|
|
2141
|
-
return /* @__PURE__ */
|
|
2142
|
-
/* @__PURE__ */
|
|
2217
|
+
return /* @__PURE__ */ jsxs32(Fragment30, { children: [
|
|
2218
|
+
/* @__PURE__ */ jsx34(
|
|
2143
2219
|
Cuboid24,
|
|
2144
2220
|
{
|
|
2145
2221
|
color: "#ccc",
|
|
@@ -2147,7 +2223,7 @@ var SOD123F = () => {
|
|
|
2147
2223
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2148
2224
|
}
|
|
2149
2225
|
),
|
|
2150
|
-
/* @__PURE__ */
|
|
2226
|
+
/* @__PURE__ */ jsx34(
|
|
2151
2227
|
Cuboid24,
|
|
2152
2228
|
{
|
|
2153
2229
|
color: "#ccc",
|
|
@@ -2155,11 +2231,11 @@ var SOD123F = () => {
|
|
|
2155
2231
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2156
2232
|
}
|
|
2157
2233
|
),
|
|
2158
|
-
/* @__PURE__ */
|
|
2159
|
-
/* @__PURE__ */
|
|
2160
|
-
/* @__PURE__ */
|
|
2161
|
-
/* @__PURE__ */
|
|
2162
|
-
/* @__PURE__ */
|
|
2234
|
+
/* @__PURE__ */ jsx34(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs32(Union11, { children: [
|
|
2235
|
+
/* @__PURE__ */ jsx34(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx34(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2236
|
+
/* @__PURE__ */ jsxs32(Hull10, { children: [
|
|
2237
|
+
/* @__PURE__ */ jsx34(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2238
|
+
/* @__PURE__ */ jsx34(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
|
|
2163
2239
|
Cuboid24,
|
|
2164
2240
|
{
|
|
2165
2241
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2172,7 +2248,7 @@ var SOD123F = () => {
|
|
|
2172
2248
|
|
|
2173
2249
|
// lib/sod-123FL.tsx
|
|
2174
2250
|
import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate16, Union as Union12 } from "jscad-fiber";
|
|
2175
|
-
import { Fragment as
|
|
2251
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2176
2252
|
var SOD123FL = () => {
|
|
2177
2253
|
const fullWidth = 2.75;
|
|
2178
2254
|
const bodyLength10 = 1.8;
|
|
@@ -2184,8 +2260,8 @@ var SOD123FL = () => {
|
|
|
2184
2260
|
const rightPadCenterX = fullWidth / 2 - 0.075;
|
|
2185
2261
|
const taperOffset = 0.4;
|
|
2186
2262
|
const straightHeight = bodyHeight * 0.2;
|
|
2187
|
-
return /* @__PURE__ */
|
|
2188
|
-
/* @__PURE__ */
|
|
2263
|
+
return /* @__PURE__ */ jsxs33(Fragment31, { children: [
|
|
2264
|
+
/* @__PURE__ */ jsx35(
|
|
2189
2265
|
Cuboid25,
|
|
2190
2266
|
{
|
|
2191
2267
|
color: "#ccc",
|
|
@@ -2193,7 +2269,7 @@ var SOD123FL = () => {
|
|
|
2193
2269
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2194
2270
|
}
|
|
2195
2271
|
),
|
|
2196
|
-
/* @__PURE__ */
|
|
2272
|
+
/* @__PURE__ */ jsx35(
|
|
2197
2273
|
Cuboid25,
|
|
2198
2274
|
{
|
|
2199
2275
|
color: "#ccc",
|
|
@@ -2201,11 +2277,11 @@ var SOD123FL = () => {
|
|
|
2201
2277
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2202
2278
|
}
|
|
2203
2279
|
),
|
|
2204
|
-
/* @__PURE__ */
|
|
2205
|
-
/* @__PURE__ */
|
|
2206
|
-
/* @__PURE__ */
|
|
2207
|
-
/* @__PURE__ */
|
|
2208
|
-
/* @__PURE__ */
|
|
2280
|
+
/* @__PURE__ */ jsx35(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs33(Union12, { children: [
|
|
2281
|
+
/* @__PURE__ */ jsx35(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2282
|
+
/* @__PURE__ */ jsxs33(Hull11, { children: [
|
|
2283
|
+
/* @__PURE__ */ jsx35(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2284
|
+
/* @__PURE__ */ jsx35(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
|
|
2209
2285
|
Cuboid25,
|
|
2210
2286
|
{
|
|
2211
2287
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2213,7 +2289,7 @@ var SOD123FL = () => {
|
|
|
2213
2289
|
) })
|
|
2214
2290
|
] })
|
|
2215
2291
|
] }) }),
|
|
2216
|
-
/* @__PURE__ */
|
|
2292
|
+
/* @__PURE__ */ jsx35(
|
|
2217
2293
|
Cuboid25,
|
|
2218
2294
|
{
|
|
2219
2295
|
color: "#777",
|
|
@@ -2226,7 +2302,7 @@ var SOD123FL = () => {
|
|
|
2226
2302
|
|
|
2227
2303
|
// lib/SOD-923.tsx
|
|
2228
2304
|
import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate17, Union as Union13 } from "jscad-fiber";
|
|
2229
|
-
import { Fragment as
|
|
2305
|
+
import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2230
2306
|
var SOD923 = () => {
|
|
2231
2307
|
const fullWidth = 0.8;
|
|
2232
2308
|
const bodyLength10 = 0.6;
|
|
@@ -2238,8 +2314,8 @@ var SOD923 = () => {
|
|
|
2238
2314
|
const rightPadCenterX = fullWidth / 2;
|
|
2239
2315
|
const taperOffset = 0.1;
|
|
2240
2316
|
const straightHeight = padThickness;
|
|
2241
|
-
return /* @__PURE__ */
|
|
2242
|
-
/* @__PURE__ */
|
|
2317
|
+
return /* @__PURE__ */ jsxs34(Fragment32, { children: [
|
|
2318
|
+
/* @__PURE__ */ jsx36(
|
|
2243
2319
|
Cuboid26,
|
|
2244
2320
|
{
|
|
2245
2321
|
color: "#ccc",
|
|
@@ -2247,7 +2323,7 @@ var SOD923 = () => {
|
|
|
2247
2323
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2248
2324
|
}
|
|
2249
2325
|
),
|
|
2250
|
-
/* @__PURE__ */
|
|
2326
|
+
/* @__PURE__ */ jsx36(
|
|
2251
2327
|
Cuboid26,
|
|
2252
2328
|
{
|
|
2253
2329
|
color: "#ccc",
|
|
@@ -2255,11 +2331,11 @@ var SOD923 = () => {
|
|
|
2255
2331
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2256
2332
|
}
|
|
2257
2333
|
),
|
|
2258
|
-
/* @__PURE__ */
|
|
2259
|
-
/* @__PURE__ */
|
|
2260
|
-
/* @__PURE__ */
|
|
2261
|
-
/* @__PURE__ */
|
|
2262
|
-
/* @__PURE__ */
|
|
2334
|
+
/* @__PURE__ */ jsx36(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs34(Union13, { children: [
|
|
2335
|
+
/* @__PURE__ */ jsx36(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx36(Cuboid26, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2336
|
+
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2337
|
+
/* @__PURE__ */ jsx36(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2338
|
+
/* @__PURE__ */ jsx36(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
|
|
2263
2339
|
Cuboid26,
|
|
2264
2340
|
{
|
|
2265
2341
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2271,7 +2347,7 @@ var SOD923 = () => {
|
|
|
2271
2347
|
};
|
|
2272
2348
|
|
|
2273
2349
|
// lib/SOT-223.tsx
|
|
2274
|
-
import { Fragment as
|
|
2350
|
+
import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2275
2351
|
var SOT223 = () => {
|
|
2276
2352
|
const fullWidth = 6.6;
|
|
2277
2353
|
const bodyWidth = 3.5;
|
|
@@ -2284,8 +2360,8 @@ var SOT223 = () => {
|
|
|
2284
2360
|
const padContactLength = 0.5;
|
|
2285
2361
|
const padPitch = 2.3;
|
|
2286
2362
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2287
|
-
return /* @__PURE__ */
|
|
2288
|
-
/* @__PURE__ */
|
|
2363
|
+
return /* @__PURE__ */ jsxs35(Fragment33, { children: [
|
|
2364
|
+
/* @__PURE__ */ jsx37(
|
|
2289
2365
|
SmdChipLead,
|
|
2290
2366
|
{
|
|
2291
2367
|
rotation: Math.PI,
|
|
@@ -2302,7 +2378,7 @@ var SOT223 = () => {
|
|
|
2302
2378
|
},
|
|
2303
2379
|
4
|
|
2304
2380
|
),
|
|
2305
|
-
/* @__PURE__ */
|
|
2381
|
+
/* @__PURE__ */ jsx37(
|
|
2306
2382
|
SmdChipLead,
|
|
2307
2383
|
{
|
|
2308
2384
|
position: {
|
|
@@ -2318,7 +2394,7 @@ var SOT223 = () => {
|
|
|
2318
2394
|
},
|
|
2319
2395
|
3
|
|
2320
2396
|
),
|
|
2321
|
-
/* @__PURE__ */
|
|
2397
|
+
/* @__PURE__ */ jsx37(
|
|
2322
2398
|
SmdChipLead,
|
|
2323
2399
|
{
|
|
2324
2400
|
position: {
|
|
@@ -2334,7 +2410,7 @@ var SOT223 = () => {
|
|
|
2334
2410
|
},
|
|
2335
2411
|
1
|
|
2336
2412
|
),
|
|
2337
|
-
/* @__PURE__ */
|
|
2413
|
+
/* @__PURE__ */ jsx37(
|
|
2338
2414
|
SmdChipLead,
|
|
2339
2415
|
{
|
|
2340
2416
|
position: {
|
|
@@ -2350,7 +2426,7 @@ var SOT223 = () => {
|
|
|
2350
2426
|
},
|
|
2351
2427
|
2
|
|
2352
2428
|
),
|
|
2353
|
-
/* @__PURE__ */
|
|
2429
|
+
/* @__PURE__ */ jsx37(
|
|
2354
2430
|
ChipBody,
|
|
2355
2431
|
{
|
|
2356
2432
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2366,7 +2442,7 @@ var SOT223 = () => {
|
|
|
2366
2442
|
};
|
|
2367
2443
|
|
|
2368
2444
|
// lib/tqfp.tsx
|
|
2369
|
-
import { Fragment as
|
|
2445
|
+
import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2370
2446
|
var TQFP = () => {
|
|
2371
2447
|
const pinCount = 64;
|
|
2372
2448
|
const pitch = 0.5;
|
|
@@ -2381,8 +2457,8 @@ var TQFP = () => {
|
|
|
2381
2457
|
const leadHeight = 0.65;
|
|
2382
2458
|
const leadThickness = 0.25;
|
|
2383
2459
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2384
|
-
return /* @__PURE__ */
|
|
2385
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2460
|
+
return /* @__PURE__ */ jsxs36(Fragment34, { children: [
|
|
2461
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx38(
|
|
2386
2462
|
SmdChipLead,
|
|
2387
2463
|
{
|
|
2388
2464
|
position: {
|
|
@@ -2398,7 +2474,7 @@ var TQFP = () => {
|
|
|
2398
2474
|
},
|
|
2399
2475
|
`left-${i}`
|
|
2400
2476
|
)),
|
|
2401
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2477
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx38(
|
|
2402
2478
|
SmdChipLead,
|
|
2403
2479
|
{
|
|
2404
2480
|
rotation: Math.PI,
|
|
@@ -2415,7 +2491,7 @@ var TQFP = () => {
|
|
|
2415
2491
|
},
|
|
2416
2492
|
`right-${i}`
|
|
2417
2493
|
)),
|
|
2418
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2494
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx38(
|
|
2419
2495
|
SmdChipLead,
|
|
2420
2496
|
{
|
|
2421
2497
|
rotation: Math.PI / 2,
|
|
@@ -2432,7 +2508,7 @@ var TQFP = () => {
|
|
|
2432
2508
|
},
|
|
2433
2509
|
`bottom-${i}`
|
|
2434
2510
|
)),
|
|
2435
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2511
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx38(
|
|
2436
2512
|
SmdChipLead,
|
|
2437
2513
|
{
|
|
2438
2514
|
rotation: -Math.PI / 2,
|
|
@@ -2449,7 +2525,7 @@ var TQFP = () => {
|
|
|
2449
2525
|
},
|
|
2450
2526
|
`top-${i}`
|
|
2451
2527
|
)),
|
|
2452
|
-
/* @__PURE__ */
|
|
2528
|
+
/* @__PURE__ */ jsx38(
|
|
2453
2529
|
ChipBody,
|
|
2454
2530
|
{
|
|
2455
2531
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2467,7 +2543,7 @@ var TQFP = () => {
|
|
|
2467
2543
|
var tqfp_default = TQFP;
|
|
2468
2544
|
|
|
2469
2545
|
// lib/SOT-323.tsx
|
|
2470
|
-
import { Fragment as
|
|
2546
|
+
import { Fragment as Fragment35, jsx as jsx39, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2471
2547
|
var SOT323 = () => {
|
|
2472
2548
|
const fullWidth = 2.05;
|
|
2473
2549
|
const bodyWidth = 1.25;
|
|
@@ -2479,8 +2555,8 @@ var SOT323 = () => {
|
|
|
2479
2555
|
const padContactLength = 0.2;
|
|
2480
2556
|
const padPitch = 0.65;
|
|
2481
2557
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2482
|
-
return /* @__PURE__ */
|
|
2483
|
-
/* @__PURE__ */
|
|
2558
|
+
return /* @__PURE__ */ jsxs37(Fragment35, { children: [
|
|
2559
|
+
/* @__PURE__ */ jsx39(
|
|
2484
2560
|
SmdChipLead,
|
|
2485
2561
|
{
|
|
2486
2562
|
rotation: Math.PI,
|
|
@@ -2497,7 +2573,7 @@ var SOT323 = () => {
|
|
|
2497
2573
|
},
|
|
2498
2574
|
4
|
|
2499
2575
|
),
|
|
2500
|
-
/* @__PURE__ */
|
|
2576
|
+
/* @__PURE__ */ jsx39(
|
|
2501
2577
|
SmdChipLead,
|
|
2502
2578
|
{
|
|
2503
2579
|
position: {
|
|
@@ -2513,7 +2589,7 @@ var SOT323 = () => {
|
|
|
2513
2589
|
},
|
|
2514
2590
|
1
|
|
2515
2591
|
),
|
|
2516
|
-
/* @__PURE__ */
|
|
2592
|
+
/* @__PURE__ */ jsx39(
|
|
2517
2593
|
SmdChipLead,
|
|
2518
2594
|
{
|
|
2519
2595
|
position: {
|
|
@@ -2529,7 +2605,7 @@ var SOT323 = () => {
|
|
|
2529
2605
|
},
|
|
2530
2606
|
2
|
|
2531
2607
|
),
|
|
2532
|
-
/* @__PURE__ */
|
|
2608
|
+
/* @__PURE__ */ jsx39(
|
|
2533
2609
|
ChipBody,
|
|
2534
2610
|
{
|
|
2535
2611
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2546,7 +2622,7 @@ var SOT323 = () => {
|
|
|
2546
2622
|
};
|
|
2547
2623
|
|
|
2548
2624
|
// lib/lqfp.tsx
|
|
2549
|
-
import { Fragment as
|
|
2625
|
+
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2550
2626
|
var LQFP = ({
|
|
2551
2627
|
pinCount,
|
|
2552
2628
|
pitch,
|
|
@@ -2569,8 +2645,8 @@ var LQFP = ({
|
|
|
2569
2645
|
const leadHeight = 0.8;
|
|
2570
2646
|
const leadThickness = 0.2;
|
|
2571
2647
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
2572
|
-
return /* @__PURE__ */
|
|
2573
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2648
|
+
return /* @__PURE__ */ jsxs38(Fragment36, { children: [
|
|
2649
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx40(
|
|
2574
2650
|
SmdChipLead,
|
|
2575
2651
|
{
|
|
2576
2652
|
position: {
|
|
@@ -2586,7 +2662,7 @@ var LQFP = ({
|
|
|
2586
2662
|
},
|
|
2587
2663
|
`left-${i}`
|
|
2588
2664
|
)),
|
|
2589
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2665
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx40(
|
|
2590
2666
|
SmdChipLead,
|
|
2591
2667
|
{
|
|
2592
2668
|
rotation: Math.PI,
|
|
@@ -2603,7 +2679,7 @@ var LQFP = ({
|
|
|
2603
2679
|
},
|
|
2604
2680
|
`right-${i}`
|
|
2605
2681
|
)),
|
|
2606
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2682
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx40(
|
|
2607
2683
|
SmdChipLead,
|
|
2608
2684
|
{
|
|
2609
2685
|
rotation: Math.PI / 2,
|
|
@@ -2620,7 +2696,7 @@ var LQFP = ({
|
|
|
2620
2696
|
},
|
|
2621
2697
|
`bottom-${i}`
|
|
2622
2698
|
)),
|
|
2623
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2699
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx40(
|
|
2624
2700
|
SmdChipLead,
|
|
2625
2701
|
{
|
|
2626
2702
|
rotation: -Math.PI / 2,
|
|
@@ -2637,7 +2713,7 @@ var LQFP = ({
|
|
|
2637
2713
|
},
|
|
2638
2714
|
`top-${i}`
|
|
2639
2715
|
)),
|
|
2640
|
-
/* @__PURE__ */
|
|
2716
|
+
/* @__PURE__ */ jsx40(
|
|
2641
2717
|
ChipBody,
|
|
2642
2718
|
{
|
|
2643
2719
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2660,7 +2736,7 @@ var LQFP = ({
|
|
|
2660
2736
|
|
|
2661
2737
|
// lib/SOT-723.tsx
|
|
2662
2738
|
import { Cuboid as Cuboid27, Translate as Translate18, Colorize as Colorize19, Hull as Hull13, Union as Union14 } from "jscad-fiber";
|
|
2663
|
-
import { Fragment as
|
|
2739
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2664
2740
|
var SOT723 = () => {
|
|
2665
2741
|
const bodyWidth = 0.85;
|
|
2666
2742
|
const bodyLength10 = 1.2;
|
|
@@ -2677,18 +2753,18 @@ var SOT723 = () => {
|
|
|
2677
2753
|
const leftTopPadCenterY = 0.4;
|
|
2678
2754
|
const leftBottomPadCenterX = -0.55;
|
|
2679
2755
|
const leftBottomPadCenterY = -0.4;
|
|
2680
|
-
return /* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2682
|
-
/* @__PURE__ */
|
|
2756
|
+
return /* @__PURE__ */ jsxs39(Fragment37, { children: [
|
|
2757
|
+
/* @__PURE__ */ jsx41(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs39(Union14, { children: [
|
|
2758
|
+
/* @__PURE__ */ jsx41(
|
|
2683
2759
|
Cuboid27,
|
|
2684
2760
|
{
|
|
2685
2761
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
2686
2762
|
center: [0, 0, straightHeight / 2]
|
|
2687
2763
|
}
|
|
2688
2764
|
),
|
|
2689
|
-
/* @__PURE__ */
|
|
2690
|
-
/* @__PURE__ */
|
|
2691
|
-
/* @__PURE__ */
|
|
2765
|
+
/* @__PURE__ */ jsxs39(Hull13, { children: [
|
|
2766
|
+
/* @__PURE__ */ jsx41(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx41(Cuboid27, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2767
|
+
/* @__PURE__ */ jsx41(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx41(
|
|
2692
2768
|
Cuboid27,
|
|
2693
2769
|
{
|
|
2694
2770
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2696,7 +2772,7 @@ var SOT723 = () => {
|
|
|
2696
2772
|
) })
|
|
2697
2773
|
] })
|
|
2698
2774
|
] }) }),
|
|
2699
|
-
/* @__PURE__ */
|
|
2775
|
+
/* @__PURE__ */ jsx41(
|
|
2700
2776
|
Cuboid27,
|
|
2701
2777
|
{
|
|
2702
2778
|
color: "#ccc",
|
|
@@ -2704,7 +2780,7 @@ var SOT723 = () => {
|
|
|
2704
2780
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
2705
2781
|
}
|
|
2706
2782
|
),
|
|
2707
|
-
/* @__PURE__ */
|
|
2783
|
+
/* @__PURE__ */ jsx41(
|
|
2708
2784
|
Cuboid27,
|
|
2709
2785
|
{
|
|
2710
2786
|
color: "#ccc",
|
|
@@ -2712,7 +2788,7 @@ var SOT723 = () => {
|
|
|
2712
2788
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
2713
2789
|
}
|
|
2714
2790
|
),
|
|
2715
|
-
/* @__PURE__ */
|
|
2791
|
+
/* @__PURE__ */ jsx41(
|
|
2716
2792
|
Cuboid27,
|
|
2717
2793
|
{
|
|
2718
2794
|
color: "#ccc",
|
|
@@ -2725,7 +2801,7 @@ var SOT723 = () => {
|
|
|
2725
2801
|
|
|
2726
2802
|
// lib/dfn.tsx
|
|
2727
2803
|
import { Cuboid as Cuboid28 } from "jscad-fiber";
|
|
2728
|
-
import { Fragment as
|
|
2804
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2729
2805
|
var DFN = ({
|
|
2730
2806
|
num_pins,
|
|
2731
2807
|
bodyWidth = 5.3,
|
|
@@ -2752,8 +2828,8 @@ var DFN = ({
|
|
|
2752
2828
|
const pinNumber = i + 1;
|
|
2753
2829
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
2754
2830
|
}
|
|
2755
|
-
return /* @__PURE__ */
|
|
2756
|
-
/* @__PURE__ */
|
|
2831
|
+
return /* @__PURE__ */ jsxs40(Fragment38, { children: [
|
|
2832
|
+
/* @__PURE__ */ jsx42(
|
|
2757
2833
|
ChipBody,
|
|
2758
2834
|
{
|
|
2759
2835
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2771,7 +2847,7 @@ var DFN = ({
|
|
|
2771
2847
|
}
|
|
2772
2848
|
}
|
|
2773
2849
|
),
|
|
2774
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
2850
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx42(
|
|
2775
2851
|
Cuboid28,
|
|
2776
2852
|
{
|
|
2777
2853
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
@@ -2779,7 +2855,7 @@ var DFN = ({
|
|
|
2779
2855
|
},
|
|
2780
2856
|
i
|
|
2781
2857
|
)),
|
|
2782
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
2858
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx42(
|
|
2783
2859
|
Cuboid28,
|
|
2784
2860
|
{
|
|
2785
2861
|
center: [0, 0, thermalPadThickness / 2],
|
|
@@ -2795,7 +2871,7 @@ var DFN = ({
|
|
|
2795
2871
|
|
|
2796
2872
|
// lib/hc49.tsx
|
|
2797
2873
|
import { Colorize as Colorize20, Cylinder as Cylinder6, Hull as Hull14, RoundedCylinder } from "jscad-fiber";
|
|
2798
|
-
import { Fragment as
|
|
2874
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2799
2875
|
var HC49 = ({
|
|
2800
2876
|
bodyLength: bodyLength10 = 10.2,
|
|
2801
2877
|
bodyWidth = 4.65,
|
|
@@ -2811,10 +2887,10 @@ var HC49 = ({
|
|
|
2811
2887
|
const endCenterX = halfLength - endRadius;
|
|
2812
2888
|
const leadCenterX = leadSpacing / 2;
|
|
2813
2889
|
const baseHeight = 0.85;
|
|
2814
|
-
return /* @__PURE__ */
|
|
2815
|
-
/* @__PURE__ */
|
|
2816
|
-
/* @__PURE__ */
|
|
2817
|
-
/* @__PURE__ */
|
|
2890
|
+
return /* @__PURE__ */ jsxs41(Fragment39, { children: [
|
|
2891
|
+
/* @__PURE__ */ jsxs41(Colorize20, { color, children: [
|
|
2892
|
+
/* @__PURE__ */ jsxs41(Hull14, { children: [
|
|
2893
|
+
/* @__PURE__ */ jsx43(
|
|
2818
2894
|
RoundedCylinder,
|
|
2819
2895
|
{
|
|
2820
2896
|
height: bodyHeight,
|
|
@@ -2823,7 +2899,7 @@ var HC49 = ({
|
|
|
2823
2899
|
center: [-endCenterX, 0, bodyHeight]
|
|
2824
2900
|
}
|
|
2825
2901
|
),
|
|
2826
|
-
/* @__PURE__ */
|
|
2902
|
+
/* @__PURE__ */ jsx43(
|
|
2827
2903
|
RoundedCylinder,
|
|
2828
2904
|
{
|
|
2829
2905
|
height: bodyHeight,
|
|
@@ -2833,8 +2909,8 @@ var HC49 = ({
|
|
|
2833
2909
|
}
|
|
2834
2910
|
)
|
|
2835
2911
|
] }),
|
|
2836
|
-
/* @__PURE__ */
|
|
2837
|
-
/* @__PURE__ */
|
|
2912
|
+
/* @__PURE__ */ jsxs41(Hull14, { children: [
|
|
2913
|
+
/* @__PURE__ */ jsx43(
|
|
2838
2914
|
RoundedCylinder,
|
|
2839
2915
|
{
|
|
2840
2916
|
height: baseHeight,
|
|
@@ -2843,7 +2919,7 @@ var HC49 = ({
|
|
|
2843
2919
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
2844
2920
|
}
|
|
2845
2921
|
),
|
|
2846
|
-
/* @__PURE__ */
|
|
2922
|
+
/* @__PURE__ */ jsx43(
|
|
2847
2923
|
RoundedCylinder,
|
|
2848
2924
|
{
|
|
2849
2925
|
height: baseHeight,
|
|
@@ -2854,8 +2930,8 @@ var HC49 = ({
|
|
|
2854
2930
|
)
|
|
2855
2931
|
] })
|
|
2856
2932
|
] }),
|
|
2857
|
-
/* @__PURE__ */
|
|
2858
|
-
/* @__PURE__ */
|
|
2933
|
+
/* @__PURE__ */ jsxs41(Colorize20, { color: leadColor, children: [
|
|
2934
|
+
/* @__PURE__ */ jsx43(
|
|
2859
2935
|
Cylinder6,
|
|
2860
2936
|
{
|
|
2861
2937
|
height: leadLength + bodyHeight / 2,
|
|
@@ -2863,7 +2939,7 @@ var HC49 = ({
|
|
|
2863
2939
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
2864
2940
|
}
|
|
2865
2941
|
),
|
|
2866
|
-
/* @__PURE__ */
|
|
2942
|
+
/* @__PURE__ */ jsx43(
|
|
2867
2943
|
Cylinder6,
|
|
2868
2944
|
{
|
|
2869
2945
|
height: leadLength + bodyHeight / 2,
|
|
@@ -2883,7 +2959,7 @@ import {
|
|
|
2883
2959
|
Rotate as Rotate6,
|
|
2884
2960
|
RoundedCuboid as RoundedCuboid2
|
|
2885
2961
|
} from "jscad-fiber";
|
|
2886
|
-
import { Fragment as
|
|
2962
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
2887
2963
|
var MicroMELF = ({
|
|
2888
2964
|
bodyLength: bodyLength10 = 1.4,
|
|
2889
2965
|
bodyDiameter = 1.1,
|
|
@@ -2892,9 +2968,9 @@ var MicroMELF = ({
|
|
|
2892
2968
|
cathodeIdentification = "#111"
|
|
2893
2969
|
}) => {
|
|
2894
2970
|
const padLength = 0.2;
|
|
2895
|
-
return /* @__PURE__ */
|
|
2896
|
-
/* @__PURE__ */
|
|
2897
|
-
/* @__PURE__ */
|
|
2971
|
+
return /* @__PURE__ */ jsxs42(Fragment40, { children: [
|
|
2972
|
+
/* @__PURE__ */ jsx44(Colorize21, { color, children: /* @__PURE__ */ jsxs42(Rotate6, { rotation: [0, "90deg", 0], children: [
|
|
2973
|
+
/* @__PURE__ */ jsx44(
|
|
2898
2974
|
RoundedCuboid2,
|
|
2899
2975
|
{
|
|
2900
2976
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -2902,7 +2978,7 @@ var MicroMELF = ({
|
|
|
2902
2978
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
2903
2979
|
}
|
|
2904
2980
|
),
|
|
2905
|
-
/* @__PURE__ */
|
|
2981
|
+
/* @__PURE__ */ jsx44(
|
|
2906
2982
|
Cylinder7,
|
|
2907
2983
|
{
|
|
2908
2984
|
height: padLength / 2,
|
|
@@ -2911,7 +2987,7 @@ var MicroMELF = ({
|
|
|
2911
2987
|
}
|
|
2912
2988
|
)
|
|
2913
2989
|
] }) }),
|
|
2914
|
-
/* @__PURE__ */
|
|
2990
|
+
/* @__PURE__ */ jsx44(Colorize21, { color: cathodeIdentification, children: /* @__PURE__ */ jsx44(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2915
2991
|
RoundedCuboid2,
|
|
2916
2992
|
{
|
|
2917
2993
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -2919,7 +2995,7 @@ var MicroMELF = ({
|
|
|
2919
2995
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
2920
2996
|
}
|
|
2921
2997
|
) }) }),
|
|
2922
|
-
/* @__PURE__ */
|
|
2998
|
+
/* @__PURE__ */ jsx44(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx44(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2923
2999
|
RoundedCylinder2,
|
|
2924
3000
|
{
|
|
2925
3001
|
height: padLength,
|
|
@@ -2928,7 +3004,7 @@ var MicroMELF = ({
|
|
|
2928
3004
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2929
3005
|
}
|
|
2930
3006
|
) }) }),
|
|
2931
|
-
/* @__PURE__ */
|
|
3007
|
+
/* @__PURE__ */ jsx44(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx44(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2932
3008
|
RoundedCylinder2,
|
|
2933
3009
|
{
|
|
2934
3010
|
height: padLength,
|
|
@@ -2942,7 +3018,7 @@ var MicroMELF = ({
|
|
|
2942
3018
|
|
|
2943
3019
|
// lib/MINIMELF.tsx
|
|
2944
3020
|
import { Colorize as Colorize22, RoundedCylinder as RoundedCylinder3, Rotate as Rotate7 } from "jscad-fiber";
|
|
2945
|
-
import { Fragment as
|
|
3021
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
2946
3022
|
var MINIMELF = ({
|
|
2947
3023
|
bodyLength: bodyLength10 = 3.5,
|
|
2948
3024
|
bodyDiameter = 1.5,
|
|
@@ -2950,8 +3026,8 @@ var MINIMELF = ({
|
|
|
2950
3026
|
contactColor = "#c6c6c6"
|
|
2951
3027
|
}) => {
|
|
2952
3028
|
const padLength = 0.5;
|
|
2953
|
-
return /* @__PURE__ */
|
|
2954
|
-
/* @__PURE__ */
|
|
3029
|
+
return /* @__PURE__ */ jsxs43(Fragment41, { children: [
|
|
3030
|
+
/* @__PURE__ */ jsx45(Colorize22, { color, children: /* @__PURE__ */ jsx45(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx45(
|
|
2955
3031
|
RoundedCylinder3,
|
|
2956
3032
|
{
|
|
2957
3033
|
height: bodyLength10,
|
|
@@ -2960,7 +3036,7 @@ var MINIMELF = ({
|
|
|
2960
3036
|
center: [-bodyDiameter / 2, 0, 0]
|
|
2961
3037
|
}
|
|
2962
3038
|
) }) }),
|
|
2963
|
-
/* @__PURE__ */
|
|
3039
|
+
/* @__PURE__ */ jsx45(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx45(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx45(
|
|
2964
3040
|
RoundedCylinder3,
|
|
2965
3041
|
{
|
|
2966
3042
|
height: padLength,
|
|
@@ -2969,7 +3045,7 @@ var MINIMELF = ({
|
|
|
2969
3045
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2970
3046
|
}
|
|
2971
3047
|
) }) }),
|
|
2972
|
-
/* @__PURE__ */
|
|
3048
|
+
/* @__PURE__ */ jsx45(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx45(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx45(
|
|
2973
3049
|
RoundedCylinder3,
|
|
2974
3050
|
{
|
|
2975
3051
|
height: padLength,
|
|
@@ -2983,7 +3059,7 @@ var MINIMELF = ({
|
|
|
2983
3059
|
|
|
2984
3060
|
// lib/MELF.tsx
|
|
2985
3061
|
import { Colorize as Colorize23, RoundedCylinder as RoundedCylinder4, Rotate as Rotate8 } from "jscad-fiber";
|
|
2986
|
-
import { Fragment as
|
|
3062
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
2987
3063
|
var MELF = ({
|
|
2988
3064
|
bodyLength: bodyLength10 = 3.9,
|
|
2989
3065
|
bodyDiameter = 2.5,
|
|
@@ -2991,8 +3067,8 @@ var MELF = ({
|
|
|
2991
3067
|
contactColor = "#c6c6c6"
|
|
2992
3068
|
}) => {
|
|
2993
3069
|
const padLength = 0.55;
|
|
2994
|
-
return /* @__PURE__ */
|
|
2995
|
-
/* @__PURE__ */
|
|
3070
|
+
return /* @__PURE__ */ jsxs44(Fragment42, { children: [
|
|
3071
|
+
/* @__PURE__ */ jsx46(Colorize23, { color, children: /* @__PURE__ */ jsx46(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
|
|
2996
3072
|
RoundedCylinder4,
|
|
2997
3073
|
{
|
|
2998
3074
|
height: bodyLength10,
|
|
@@ -3001,7 +3077,7 @@ var MELF = ({
|
|
|
3001
3077
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3002
3078
|
}
|
|
3003
3079
|
) }) }),
|
|
3004
|
-
/* @__PURE__ */
|
|
3080
|
+
/* @__PURE__ */ jsx46(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx46(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
|
|
3005
3081
|
RoundedCylinder4,
|
|
3006
3082
|
{
|
|
3007
3083
|
height: padLength,
|
|
@@ -3010,7 +3086,7 @@ var MELF = ({
|
|
|
3010
3086
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3011
3087
|
}
|
|
3012
3088
|
) }) }),
|
|
3013
|
-
/* @__PURE__ */
|
|
3089
|
+
/* @__PURE__ */ jsx46(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx46(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
|
|
3014
3090
|
RoundedCylinder4,
|
|
3015
3091
|
{
|
|
3016
3092
|
height: padLength,
|
|
@@ -3023,7 +3099,7 @@ var MELF = ({
|
|
|
3023
3099
|
};
|
|
3024
3100
|
|
|
3025
3101
|
// lib/ms012.tsx
|
|
3026
|
-
import { Fragment as
|
|
3102
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3027
3103
|
var MS012 = ({
|
|
3028
3104
|
pinCount,
|
|
3029
3105
|
padContactLength = 0.6,
|
|
@@ -3038,8 +3114,8 @@ var MS012 = ({
|
|
|
3038
3114
|
const bodyLength10 = 3.9;
|
|
3039
3115
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3040
3116
|
const leadThickness = 0.2;
|
|
3041
|
-
return /* @__PURE__ */
|
|
3042
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3117
|
+
return /* @__PURE__ */ jsxs45(Fragment43, { children: [
|
|
3118
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3043
3119
|
SmdChipLead,
|
|
3044
3120
|
{
|
|
3045
3121
|
position: {
|
|
@@ -3055,7 +3131,7 @@ var MS012 = ({
|
|
|
3055
3131
|
},
|
|
3056
3132
|
i
|
|
3057
3133
|
)),
|
|
3058
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3134
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3059
3135
|
SmdChipLead,
|
|
3060
3136
|
{
|
|
3061
3137
|
rotation: Math.PI,
|
|
@@ -3072,7 +3148,7 @@ var MS012 = ({
|
|
|
3072
3148
|
},
|
|
3073
3149
|
`right-${i}`
|
|
3074
3150
|
)),
|
|
3075
|
-
/* @__PURE__ */
|
|
3151
|
+
/* @__PURE__ */ jsx47(
|
|
3076
3152
|
ChipBody,
|
|
3077
3153
|
{
|
|
3078
3154
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3097,7 +3173,7 @@ import {
|
|
|
3097
3173
|
Cylinder as Cylinder8,
|
|
3098
3174
|
Subtract as Subtract4
|
|
3099
3175
|
} from "jscad-fiber";
|
|
3100
|
-
import { Fragment as
|
|
3176
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3101
3177
|
var TO220 = () => {
|
|
3102
3178
|
const fullLength10 = 20;
|
|
3103
3179
|
const bodyLength10 = 9.9;
|
|
@@ -3116,10 +3192,10 @@ var TO220 = () => {
|
|
|
3116
3192
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3117
3193
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3118
3194
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3119
|
-
return /* @__PURE__ */
|
|
3120
|
-
/* @__PURE__ */
|
|
3121
|
-
/* @__PURE__ */
|
|
3122
|
-
/* @__PURE__ */
|
|
3195
|
+
return /* @__PURE__ */ jsx48(Translate19, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs46(Fragment44, { children: [
|
|
3196
|
+
/* @__PURE__ */ jsxs46(Rotate9, { rotation: [0, 55, -55], children: [
|
|
3197
|
+
/* @__PURE__ */ jsxs46(Subtract4, { children: [
|
|
3198
|
+
/* @__PURE__ */ jsx48(
|
|
3123
3199
|
Cuboid31,
|
|
3124
3200
|
{
|
|
3125
3201
|
color: "#ccc",
|
|
@@ -3127,7 +3203,7 @@ var TO220 = () => {
|
|
|
3127
3203
|
center: [padCenterX, 0, padThickness - 2]
|
|
3128
3204
|
}
|
|
3129
3205
|
),
|
|
3130
|
-
/* @__PURE__ */
|
|
3206
|
+
/* @__PURE__ */ jsx48(
|
|
3131
3207
|
Cylinder8,
|
|
3132
3208
|
{
|
|
3133
3209
|
color: "black",
|
|
@@ -3137,7 +3213,7 @@ var TO220 = () => {
|
|
|
3137
3213
|
}
|
|
3138
3214
|
)
|
|
3139
3215
|
] }),
|
|
3140
|
-
/* @__PURE__ */
|
|
3216
|
+
/* @__PURE__ */ jsx48(Colorize24, { color: "#222", children: /* @__PURE__ */ jsx48(
|
|
3141
3217
|
ChipBody,
|
|
3142
3218
|
{
|
|
3143
3219
|
width: bodyWidth,
|
|
@@ -3151,27 +3227,159 @@ var TO220 = () => {
|
|
|
3151
3227
|
}
|
|
3152
3228
|
) })
|
|
3153
3229
|
] }),
|
|
3154
|
-
/* @__PURE__ */
|
|
3230
|
+
/* @__PURE__ */ jsx48(Rotate9, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3155
3231
|
const x = prongCenterX;
|
|
3156
3232
|
const y = (i - 1) * prongPitch;
|
|
3157
3233
|
const z = -prongHeight - 0.6;
|
|
3158
|
-
return /* @__PURE__ */
|
|
3159
|
-
/* @__PURE__ */
|
|
3160
|
-
/* @__PURE__ */
|
|
3161
|
-
/* @__PURE__ */
|
|
3234
|
+
return /* @__PURE__ */ jsxs46(Colorize24, { color: "gold", children: [
|
|
3235
|
+
/* @__PURE__ */ jsxs46(Hull15, { children: [
|
|
3236
|
+
/* @__PURE__ */ jsx48(Translate19, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx48(Cuboid31, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
|
|
3237
|
+
/* @__PURE__ */ jsx48(
|
|
3162
3238
|
Translate19,
|
|
3163
3239
|
{
|
|
3164
3240
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3165
|
-
children: /* @__PURE__ */
|
|
3241
|
+
children: /* @__PURE__ */ jsx48(Cuboid31, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3166
3242
|
}
|
|
3167
3243
|
)
|
|
3168
3244
|
] }),
|
|
3169
|
-
/* @__PURE__ */
|
|
3245
|
+
/* @__PURE__ */ jsx48(Translate19, { center: [x, y, z], children: /* @__PURE__ */ jsx48(Cuboid31, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3170
3246
|
] }, `prong-${i}`);
|
|
3171
3247
|
}) })
|
|
3172
3248
|
] }) });
|
|
3173
3249
|
};
|
|
3174
3250
|
|
|
3251
|
+
// lib/SOT-457.tsx
|
|
3252
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3253
|
+
var SOT457 = () => {
|
|
3254
|
+
const fullWidth = 2.8;
|
|
3255
|
+
const bodyWidth = 1.6;
|
|
3256
|
+
const bodyLength10 = 2.9;
|
|
3257
|
+
const bodyHeight = 1.2;
|
|
3258
|
+
const leadWidth = 0.4;
|
|
3259
|
+
const leadThickness = 0.15;
|
|
3260
|
+
const leadHeight = 0.95;
|
|
3261
|
+
const padContactLength = 0.5;
|
|
3262
|
+
const padPitch = 0.95;
|
|
3263
|
+
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3264
|
+
return /* @__PURE__ */ jsxs47(Fragment45, { children: [
|
|
3265
|
+
/* @__PURE__ */ jsx49(
|
|
3266
|
+
SmdChipLead,
|
|
3267
|
+
{
|
|
3268
|
+
rotation: Math.PI,
|
|
3269
|
+
position: {
|
|
3270
|
+
x: fullWidth / 2 + extendedBodyDistance / 4,
|
|
3271
|
+
y: -padPitch,
|
|
3272
|
+
z: leadThickness / 2
|
|
3273
|
+
},
|
|
3274
|
+
width: leadWidth,
|
|
3275
|
+
thickness: leadThickness,
|
|
3276
|
+
padContactLength,
|
|
3277
|
+
bodyDistance: extendedBodyDistance,
|
|
3278
|
+
height: leadHeight
|
|
3279
|
+
},
|
|
3280
|
+
1
|
|
3281
|
+
),
|
|
3282
|
+
/* @__PURE__ */ jsx49(
|
|
3283
|
+
SmdChipLead,
|
|
3284
|
+
{
|
|
3285
|
+
rotation: Math.PI,
|
|
3286
|
+
position: {
|
|
3287
|
+
x: fullWidth / 2 + extendedBodyDistance / 4,
|
|
3288
|
+
y: 0,
|
|
3289
|
+
z: leadThickness / 2
|
|
3290
|
+
},
|
|
3291
|
+
width: leadWidth,
|
|
3292
|
+
thickness: leadThickness,
|
|
3293
|
+
padContactLength,
|
|
3294
|
+
bodyDistance: extendedBodyDistance,
|
|
3295
|
+
height: leadHeight
|
|
3296
|
+
},
|
|
3297
|
+
2
|
|
3298
|
+
),
|
|
3299
|
+
/* @__PURE__ */ jsx49(
|
|
3300
|
+
SmdChipLead,
|
|
3301
|
+
{
|
|
3302
|
+
rotation: Math.PI,
|
|
3303
|
+
position: {
|
|
3304
|
+
x: fullWidth / 2 + extendedBodyDistance / 4,
|
|
3305
|
+
y: padPitch,
|
|
3306
|
+
z: leadThickness / 2
|
|
3307
|
+
},
|
|
3308
|
+
width: leadWidth,
|
|
3309
|
+
thickness: leadThickness,
|
|
3310
|
+
padContactLength,
|
|
3311
|
+
bodyDistance: extendedBodyDistance,
|
|
3312
|
+
height: leadHeight
|
|
3313
|
+
},
|
|
3314
|
+
3
|
|
3315
|
+
),
|
|
3316
|
+
/* @__PURE__ */ jsx49(
|
|
3317
|
+
SmdChipLead,
|
|
3318
|
+
{
|
|
3319
|
+
position: {
|
|
3320
|
+
x: -fullWidth / 2 - extendedBodyDistance / 4,
|
|
3321
|
+
y: 0,
|
|
3322
|
+
z: leadThickness / 2
|
|
3323
|
+
},
|
|
3324
|
+
width: leadWidth,
|
|
3325
|
+
thickness: leadThickness,
|
|
3326
|
+
padContactLength,
|
|
3327
|
+
bodyDistance: extendedBodyDistance,
|
|
3328
|
+
height: leadHeight
|
|
3329
|
+
},
|
|
3330
|
+
3
|
|
3331
|
+
),
|
|
3332
|
+
/* @__PURE__ */ jsx49(
|
|
3333
|
+
SmdChipLead,
|
|
3334
|
+
{
|
|
3335
|
+
position: {
|
|
3336
|
+
x: -fullWidth / 2 - extendedBodyDistance / 4,
|
|
3337
|
+
y: -padPitch,
|
|
3338
|
+
z: leadThickness / 2
|
|
3339
|
+
},
|
|
3340
|
+
width: leadWidth,
|
|
3341
|
+
thickness: leadThickness,
|
|
3342
|
+
padContactLength,
|
|
3343
|
+
bodyDistance: extendedBodyDistance,
|
|
3344
|
+
height: leadHeight
|
|
3345
|
+
},
|
|
3346
|
+
1
|
|
3347
|
+
),
|
|
3348
|
+
/* @__PURE__ */ jsx49(
|
|
3349
|
+
SmdChipLead,
|
|
3350
|
+
{
|
|
3351
|
+
position: {
|
|
3352
|
+
x: -fullWidth / 2 - extendedBodyDistance / 4,
|
|
3353
|
+
y: padPitch,
|
|
3354
|
+
z: leadThickness / 2
|
|
3355
|
+
},
|
|
3356
|
+
width: leadWidth,
|
|
3357
|
+
thickness: leadThickness,
|
|
3358
|
+
padContactLength,
|
|
3359
|
+
bodyDistance: extendedBodyDistance,
|
|
3360
|
+
height: leadHeight
|
|
3361
|
+
},
|
|
3362
|
+
2
|
|
3363
|
+
),
|
|
3364
|
+
/* @__PURE__ */ jsx49(
|
|
3365
|
+
ChipBody,
|
|
3366
|
+
{
|
|
3367
|
+
center: { x: 0, y: 0, z: 0 },
|
|
3368
|
+
width: bodyWidth,
|
|
3369
|
+
length: bodyLength10,
|
|
3370
|
+
height: bodyHeight,
|
|
3371
|
+
straightHeightRatio: 0.6,
|
|
3372
|
+
notchPosition: {
|
|
3373
|
+
x: bodyWidth / 2 - 0.4,
|
|
3374
|
+
y: bodyHeight / 2 + 0.4,
|
|
3375
|
+
z: bodyHeight + 0.05
|
|
3376
|
+
},
|
|
3377
|
+
notchRadius: 0.1
|
|
3378
|
+
}
|
|
3379
|
+
)
|
|
3380
|
+
] });
|
|
3381
|
+
};
|
|
3382
|
+
|
|
3175
3383
|
// lib/TO92.tsx
|
|
3176
3384
|
import {
|
|
3177
3385
|
Colorize as Colorize25,
|
|
@@ -3181,7 +3389,7 @@ import {
|
|
|
3181
3389
|
Cylinder as Cylinder9,
|
|
3182
3390
|
Subtract as Subtract5
|
|
3183
3391
|
} from "jscad-fiber";
|
|
3184
|
-
import { jsx as
|
|
3392
|
+
import { jsx as jsx50, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3185
3393
|
var TO92 = () => {
|
|
3186
3394
|
const bodyRadius = 2.4;
|
|
3187
3395
|
const bodyHeight = 4.5;
|
|
@@ -3202,24 +3410,24 @@ var TO92 = () => {
|
|
|
3202
3410
|
const leadMidPosB = [0, 1.28, -2.72];
|
|
3203
3411
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
3204
3412
|
const sideLeadZ = -7.5;
|
|
3205
|
-
return /* @__PURE__ */
|
|
3206
|
-
/* @__PURE__ */
|
|
3207
|
-
/* @__PURE__ */
|
|
3208
|
-
/* @__PURE__ */
|
|
3413
|
+
return /* @__PURE__ */ jsxs48(Translate20, { center: [0, 1, 10.5], children: [
|
|
3414
|
+
/* @__PURE__ */ jsx50(Colorize25, { color: bodyColor, children: /* @__PURE__ */ jsxs48(Subtract5, { children: [
|
|
3415
|
+
/* @__PURE__ */ jsx50(Translate20, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx50(Cylinder9, { radius: bodyRadius, height: bodyHeight }) }),
|
|
3416
|
+
/* @__PURE__ */ jsx50(Translate20, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx50(Cuboid32, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
|
|
3209
3417
|
] }) }),
|
|
3210
|
-
/* @__PURE__ */
|
|
3211
|
-
/* @__PURE__ */
|
|
3212
|
-
/* @__PURE__ */
|
|
3213
|
-
/* @__PURE__ */
|
|
3418
|
+
/* @__PURE__ */ jsx50(Translate20, { center: leadTipPos1, children: /* @__PURE__ */ jsx50(Cuboid32, { size: leadTipSize }) }),
|
|
3419
|
+
/* @__PURE__ */ jsxs48(Hull16, { children: [
|
|
3420
|
+
/* @__PURE__ */ jsx50(Translate20, { center: leadMidPosA, children: /* @__PURE__ */ jsx50(Cuboid32, { size: leadSmallSize }) }),
|
|
3421
|
+
/* @__PURE__ */ jsx50(Translate20, { center: leadMidPosB, children: /* @__PURE__ */ jsx50(Cuboid32, { size: leadSmallSize }) })
|
|
3214
3422
|
] }),
|
|
3215
|
-
/* @__PURE__ */
|
|
3216
|
-
/* @__PURE__ */
|
|
3217
|
-
/* @__PURE__ */
|
|
3423
|
+
/* @__PURE__ */ jsx50(Translate20, { center: leadTipPos2, children: /* @__PURE__ */ jsx50(Cuboid32, { size: [leadLength, legWidth, 12.2] }) }),
|
|
3424
|
+
/* @__PURE__ */ jsx50(Translate20, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx50(Cuboid32, { size: [leadLength, legWidth, 15] }) }),
|
|
3425
|
+
/* @__PURE__ */ jsx50(Translate20, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx50(Cuboid32, { size: [leadLength, legWidth, 15] }) })
|
|
3218
3426
|
] });
|
|
3219
3427
|
};
|
|
3220
3428
|
|
|
3221
3429
|
// lib/SOT-363.tsx
|
|
3222
|
-
import { Fragment as
|
|
3430
|
+
import { Fragment as Fragment46, jsx as jsx51, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3223
3431
|
var SOT363 = () => {
|
|
3224
3432
|
const fullWidth = 2;
|
|
3225
3433
|
const bodyWidth = 1.25;
|
|
@@ -3230,8 +3438,8 @@ var SOT363 = () => {
|
|
|
3230
3438
|
const leadHeight = 0.85;
|
|
3231
3439
|
const padContactLength = 0.3;
|
|
3232
3440
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3233
|
-
return /* @__PURE__ */
|
|
3234
|
-
/* @__PURE__ */
|
|
3441
|
+
return /* @__PURE__ */ jsxs49(Fragment46, { children: [
|
|
3442
|
+
/* @__PURE__ */ jsx51(
|
|
3235
3443
|
SmdChipLead,
|
|
3236
3444
|
{
|
|
3237
3445
|
rotation: Math.PI,
|
|
@@ -3248,7 +3456,7 @@ var SOT363 = () => {
|
|
|
3248
3456
|
},
|
|
3249
3457
|
1
|
|
3250
3458
|
),
|
|
3251
|
-
/* @__PURE__ */
|
|
3459
|
+
/* @__PURE__ */ jsx51(
|
|
3252
3460
|
SmdChipLead,
|
|
3253
3461
|
{
|
|
3254
3462
|
rotation: Math.PI,
|
|
@@ -3265,7 +3473,7 @@ var SOT363 = () => {
|
|
|
3265
3473
|
},
|
|
3266
3474
|
2
|
|
3267
3475
|
),
|
|
3268
|
-
/* @__PURE__ */
|
|
3476
|
+
/* @__PURE__ */ jsx51(
|
|
3269
3477
|
SmdChipLead,
|
|
3270
3478
|
{
|
|
3271
3479
|
rotation: Math.PI,
|
|
@@ -3282,7 +3490,7 @@ var SOT363 = () => {
|
|
|
3282
3490
|
},
|
|
3283
3491
|
3
|
|
3284
3492
|
),
|
|
3285
|
-
/* @__PURE__ */
|
|
3493
|
+
/* @__PURE__ */ jsx51(
|
|
3286
3494
|
SmdChipLead,
|
|
3287
3495
|
{
|
|
3288
3496
|
position: {
|
|
@@ -3298,7 +3506,7 @@ var SOT363 = () => {
|
|
|
3298
3506
|
},
|
|
3299
3507
|
3
|
|
3300
3508
|
),
|
|
3301
|
-
/* @__PURE__ */
|
|
3509
|
+
/* @__PURE__ */ jsx51(
|
|
3302
3510
|
SmdChipLead,
|
|
3303
3511
|
{
|
|
3304
3512
|
position: {
|
|
@@ -3314,7 +3522,7 @@ var SOT363 = () => {
|
|
|
3314
3522
|
},
|
|
3315
3523
|
1
|
|
3316
3524
|
),
|
|
3317
|
-
/* @__PURE__ */
|
|
3525
|
+
/* @__PURE__ */ jsx51(
|
|
3318
3526
|
SmdChipLead,
|
|
3319
3527
|
{
|
|
3320
3528
|
position: {
|
|
@@ -3330,7 +3538,7 @@ var SOT363 = () => {
|
|
|
3330
3538
|
},
|
|
3331
3539
|
2
|
|
3332
3540
|
),
|
|
3333
|
-
/* @__PURE__ */
|
|
3541
|
+
/* @__PURE__ */ jsx51(
|
|
3334
3542
|
ChipBody,
|
|
3335
3543
|
{
|
|
3336
3544
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3351,14 +3559,14 @@ var SOT363 = () => {
|
|
|
3351
3559
|
var SOT_363_default = SOT363;
|
|
3352
3560
|
|
|
3353
3561
|
// lib/Footprinter3d.tsx
|
|
3354
|
-
import { jsx as
|
|
3562
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
3355
3563
|
var Footprinter3d = ({ footprint }) => {
|
|
3356
3564
|
const fpJson = fp3.string(footprint).json();
|
|
3357
3565
|
switch (fpJson.fn) {
|
|
3358
3566
|
case "dip":
|
|
3359
|
-
return /* @__PURE__ */
|
|
3567
|
+
return /* @__PURE__ */ jsx52(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
3360
3568
|
case "tssop":
|
|
3361
|
-
return /* @__PURE__ */
|
|
3569
|
+
return /* @__PURE__ */ jsx52(
|
|
3362
3570
|
Tssop,
|
|
3363
3571
|
{
|
|
3364
3572
|
pinCount: fpJson.num_pins,
|
|
@@ -3369,7 +3577,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3369
3577
|
}
|
|
3370
3578
|
);
|
|
3371
3579
|
case "msop":
|
|
3372
|
-
return /* @__PURE__ */
|
|
3580
|
+
return /* @__PURE__ */ jsx52(
|
|
3373
3581
|
MSOP,
|
|
3374
3582
|
{
|
|
3375
3583
|
pinCount: fpJson.num_pins,
|
|
@@ -3380,7 +3588,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3380
3588
|
}
|
|
3381
3589
|
);
|
|
3382
3590
|
case "vssop":
|
|
3383
|
-
return /* @__PURE__ */
|
|
3591
|
+
return /* @__PURE__ */ jsx52(
|
|
3384
3592
|
VSSOP,
|
|
3385
3593
|
{
|
|
3386
3594
|
pinCount: fpJson.num_pins,
|
|
@@ -3392,7 +3600,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3392
3600
|
}
|
|
3393
3601
|
);
|
|
3394
3602
|
case "qfp":
|
|
3395
|
-
return /* @__PURE__ */
|
|
3603
|
+
return /* @__PURE__ */ jsx52(
|
|
3396
3604
|
QFP,
|
|
3397
3605
|
{
|
|
3398
3606
|
pinCount: fpJson.num_pins,
|
|
@@ -3403,12 +3611,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3403
3611
|
}
|
|
3404
3612
|
);
|
|
3405
3613
|
case "tqfp":
|
|
3406
|
-
return /* @__PURE__ */
|
|
3614
|
+
return /* @__PURE__ */ jsx52(tqfp_default, {});
|
|
3407
3615
|
case "lqfp":
|
|
3408
|
-
return /* @__PURE__ */
|
|
3616
|
+
return /* @__PURE__ */ jsx52(LQFP, { pinCount: fpJson.num_pins });
|
|
3409
3617
|
case "qfn": {
|
|
3410
3618
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
3411
|
-
return /* @__PURE__ */
|
|
3619
|
+
return /* @__PURE__ */ jsx52(
|
|
3412
3620
|
qfn_default,
|
|
3413
3621
|
{
|
|
3414
3622
|
num_pins: fpJson.num_pins,
|
|
@@ -3426,7 +3634,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3426
3634
|
}
|
|
3427
3635
|
case "dfn": {
|
|
3428
3636
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
3429
|
-
return /* @__PURE__ */
|
|
3637
|
+
return /* @__PURE__ */ jsx52(
|
|
3430
3638
|
DFN,
|
|
3431
3639
|
{
|
|
3432
3640
|
num_pins: fpJson.num_pins,
|
|
@@ -3444,41 +3652,45 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3444
3652
|
}
|
|
3445
3653
|
case "pinrow":
|
|
3446
3654
|
if (fpJson.male)
|
|
3447
|
-
return /* @__PURE__ */
|
|
3655
|
+
return /* @__PURE__ */ jsx52(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
3448
3656
|
if (fpJson.female)
|
|
3449
|
-
return /* @__PURE__ */
|
|
3657
|
+
return /* @__PURE__ */ jsx52(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
3450
3658
|
case "cap": {
|
|
3451
3659
|
switch (fpJson.imperial) {
|
|
3452
3660
|
case "0402":
|
|
3453
|
-
return /* @__PURE__ */
|
|
3661
|
+
return /* @__PURE__ */ jsx52(A0402, { color: "#856c4d" });
|
|
3454
3662
|
case "0603":
|
|
3455
|
-
return /* @__PURE__ */
|
|
3663
|
+
return /* @__PURE__ */ jsx52(A0603, { color: "#856c4d" });
|
|
3456
3664
|
case "0805":
|
|
3457
|
-
return /* @__PURE__ */
|
|
3665
|
+
return /* @__PURE__ */ jsx52(A0805, { color: "#856c4d" });
|
|
3458
3666
|
case "0201":
|
|
3459
|
-
return /* @__PURE__ */
|
|
3667
|
+
return /* @__PURE__ */ jsx52(A0201, { color: "#856c4d" });
|
|
3460
3668
|
case "01005":
|
|
3461
|
-
return /* @__PURE__ */
|
|
3669
|
+
return /* @__PURE__ */ jsx52(A01005, { color: "#856c4d" });
|
|
3462
3670
|
case "1206":
|
|
3463
|
-
return /* @__PURE__ */
|
|
3671
|
+
return /* @__PURE__ */ jsx52(A1206, { color: "#856c4d" });
|
|
3464
3672
|
case "1210":
|
|
3465
|
-
return /* @__PURE__ */
|
|
3673
|
+
return /* @__PURE__ */ jsx52(A1210, { color: "#856c4d" });
|
|
3466
3674
|
case "2010":
|
|
3467
|
-
return /* @__PURE__ */
|
|
3675
|
+
return /* @__PURE__ */ jsx52(A2010, { color: "#856c4d" });
|
|
3468
3676
|
case "2512":
|
|
3469
|
-
return /* @__PURE__ */
|
|
3677
|
+
return /* @__PURE__ */ jsx52(A2512, { color: "#856c4d" });
|
|
3470
3678
|
}
|
|
3471
3679
|
}
|
|
3472
3680
|
case "sot235":
|
|
3473
|
-
return /* @__PURE__ */
|
|
3681
|
+
return /* @__PURE__ */ jsx52(SOT_235_default, {});
|
|
3682
|
+
case "sot457":
|
|
3683
|
+
return /* @__PURE__ */ jsx52(SOT457, {});
|
|
3474
3684
|
case "sot223":
|
|
3475
|
-
return /* @__PURE__ */
|
|
3685
|
+
return /* @__PURE__ */ jsx52(SOT223, {});
|
|
3686
|
+
case "sot23w":
|
|
3687
|
+
return /* @__PURE__ */ jsx52(SOT23W, {});
|
|
3476
3688
|
case "sot323":
|
|
3477
|
-
return /* @__PURE__ */
|
|
3689
|
+
return /* @__PURE__ */ jsx52(SOT323, {});
|
|
3478
3690
|
case "sot363":
|
|
3479
|
-
return /* @__PURE__ */
|
|
3691
|
+
return /* @__PURE__ */ jsx52(SOT_363_default, {});
|
|
3480
3692
|
case "pushbutton":
|
|
3481
|
-
return /* @__PURE__ */
|
|
3693
|
+
return /* @__PURE__ */ jsx52(
|
|
3482
3694
|
PushButton,
|
|
3483
3695
|
{
|
|
3484
3696
|
width: fpJson.w,
|
|
@@ -3487,7 +3699,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3487
3699
|
}
|
|
3488
3700
|
);
|
|
3489
3701
|
case "soic":
|
|
3490
|
-
return /* @__PURE__ */
|
|
3702
|
+
return /* @__PURE__ */ jsx52(
|
|
3491
3703
|
SOIC,
|
|
3492
3704
|
{
|
|
3493
3705
|
pinCount: fpJson.num_pins,
|
|
@@ -3498,33 +3710,33 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3498
3710
|
}
|
|
3499
3711
|
);
|
|
3500
3712
|
case "sod523":
|
|
3501
|
-
return /* @__PURE__ */
|
|
3713
|
+
return /* @__PURE__ */ jsx52(SOD523, {});
|
|
3502
3714
|
case "sod882":
|
|
3503
|
-
return /* @__PURE__ */
|
|
3715
|
+
return /* @__PURE__ */ jsx52(SOD882, {});
|
|
3504
3716
|
case "sma":
|
|
3505
|
-
return /* @__PURE__ */
|
|
3717
|
+
return /* @__PURE__ */ jsx52(SMA, {});
|
|
3506
3718
|
case "smb":
|
|
3507
|
-
return /* @__PURE__ */
|
|
3719
|
+
return /* @__PURE__ */ jsx52(SMB, {});
|
|
3508
3720
|
case "smc":
|
|
3509
|
-
return /* @__PURE__ */
|
|
3721
|
+
return /* @__PURE__ */ jsx52(SMC, {});
|
|
3510
3722
|
case "smf":
|
|
3511
|
-
return /* @__PURE__ */
|
|
3723
|
+
return /* @__PURE__ */ jsx52(SMF, {});
|
|
3512
3724
|
case "sod123f":
|
|
3513
|
-
return /* @__PURE__ */
|
|
3725
|
+
return /* @__PURE__ */ jsx52(SOD123F, {});
|
|
3514
3726
|
case "sod123fl":
|
|
3515
|
-
return /* @__PURE__ */
|
|
3727
|
+
return /* @__PURE__ */ jsx52(SOD123FL, {});
|
|
3516
3728
|
case "sod923":
|
|
3517
|
-
return /* @__PURE__ */
|
|
3729
|
+
return /* @__PURE__ */ jsx52(SOD923, {});
|
|
3518
3730
|
case "hc49":
|
|
3519
|
-
return /* @__PURE__ */
|
|
3731
|
+
return /* @__PURE__ */ jsx52(HC49, {});
|
|
3520
3732
|
case "micromelf":
|
|
3521
|
-
return /* @__PURE__ */
|
|
3733
|
+
return /* @__PURE__ */ jsx52(MicroMELF, {});
|
|
3522
3734
|
case "minimelf":
|
|
3523
|
-
return /* @__PURE__ */
|
|
3735
|
+
return /* @__PURE__ */ jsx52(MINIMELF, {});
|
|
3524
3736
|
case "melf":
|
|
3525
|
-
return /* @__PURE__ */
|
|
3737
|
+
return /* @__PURE__ */ jsx52(MELF, {});
|
|
3526
3738
|
case "ms012":
|
|
3527
|
-
return /* @__PURE__ */
|
|
3739
|
+
return /* @__PURE__ */ jsx52(
|
|
3528
3740
|
MS012,
|
|
3529
3741
|
{
|
|
3530
3742
|
pinCount: fpJson.num_pins,
|
|
@@ -3534,39 +3746,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3534
3746
|
}
|
|
3535
3747
|
);
|
|
3536
3748
|
case "sot723":
|
|
3537
|
-
return /* @__PURE__ */
|
|
3749
|
+
return /* @__PURE__ */ jsx52(SOT723, {});
|
|
3538
3750
|
case "to220":
|
|
3539
|
-
return /* @__PURE__ */
|
|
3751
|
+
return /* @__PURE__ */ jsx52(TO220, {});
|
|
3540
3752
|
case "to92":
|
|
3541
|
-
return /* @__PURE__ */
|
|
3753
|
+
return /* @__PURE__ */ jsx52(TO92, {});
|
|
3542
3754
|
}
|
|
3543
3755
|
const colorMatch = footprint.match(/_color\(([^)]+)\)/);
|
|
3544
3756
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
3545
3757
|
switch (fpJson.imperial) {
|
|
3546
3758
|
case "0402":
|
|
3547
|
-
return /* @__PURE__ */
|
|
3759
|
+
return /* @__PURE__ */ jsx52(A0402, { color });
|
|
3548
3760
|
case "0603":
|
|
3549
|
-
return /* @__PURE__ */
|
|
3761
|
+
return /* @__PURE__ */ jsx52(A0603, { color });
|
|
3550
3762
|
case "0805":
|
|
3551
|
-
return /* @__PURE__ */
|
|
3763
|
+
return /* @__PURE__ */ jsx52(A0805, { color });
|
|
3552
3764
|
case "0201":
|
|
3553
|
-
return /* @__PURE__ */
|
|
3765
|
+
return /* @__PURE__ */ jsx52(A0201, { color });
|
|
3554
3766
|
case "01005":
|
|
3555
|
-
return /* @__PURE__ */
|
|
3767
|
+
return /* @__PURE__ */ jsx52(A01005, { color });
|
|
3556
3768
|
case "1206":
|
|
3557
|
-
return /* @__PURE__ */
|
|
3769
|
+
return /* @__PURE__ */ jsx52(A1206, { color });
|
|
3558
3770
|
case "1210":
|
|
3559
|
-
return /* @__PURE__ */
|
|
3771
|
+
return /* @__PURE__ */ jsx52(A1210, { color });
|
|
3560
3772
|
case "2010":
|
|
3561
|
-
return /* @__PURE__ */
|
|
3773
|
+
return /* @__PURE__ */ jsx52(A2010, { color });
|
|
3562
3774
|
case "2512":
|
|
3563
|
-
return /* @__PURE__ */
|
|
3775
|
+
return /* @__PURE__ */ jsx52(A2512, { color });
|
|
3564
3776
|
}
|
|
3565
3777
|
return null;
|
|
3566
3778
|
};
|
|
3567
3779
|
|
|
3568
3780
|
// lib/SOT-23-3P.tsx
|
|
3569
|
-
import { Fragment as
|
|
3781
|
+
import { Fragment as Fragment47, jsx as jsx53, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3570
3782
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
3571
3783
|
const bodyWidth = 1.3;
|
|
3572
3784
|
const bodyLength10 = 2.9;
|
|
@@ -3577,8 +3789,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3577
3789
|
const padContactLength = 0.4;
|
|
3578
3790
|
const padThickness = leadThickness / 2;
|
|
3579
3791
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
3580
|
-
return /* @__PURE__ */
|
|
3581
|
-
/* @__PURE__ */
|
|
3792
|
+
return /* @__PURE__ */ jsxs50(Fragment47, { children: [
|
|
3793
|
+
/* @__PURE__ */ jsx53(
|
|
3582
3794
|
SmdChipLead,
|
|
3583
3795
|
{
|
|
3584
3796
|
rotation: Math.PI,
|
|
@@ -3595,7 +3807,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3595
3807
|
},
|
|
3596
3808
|
1
|
|
3597
3809
|
),
|
|
3598
|
-
/* @__PURE__ */
|
|
3810
|
+
/* @__PURE__ */ jsx53(
|
|
3599
3811
|
SmdChipLead,
|
|
3600
3812
|
{
|
|
3601
3813
|
rotation: Math.PI,
|
|
@@ -3612,7 +3824,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3612
3824
|
},
|
|
3613
3825
|
2
|
|
3614
3826
|
),
|
|
3615
|
-
/* @__PURE__ */
|
|
3827
|
+
/* @__PURE__ */ jsx53(
|
|
3616
3828
|
SmdChipLead,
|
|
3617
3829
|
{
|
|
3618
3830
|
position: {
|
|
@@ -3628,7 +3840,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3628
3840
|
},
|
|
3629
3841
|
3
|
|
3630
3842
|
),
|
|
3631
|
-
/* @__PURE__ */
|
|
3843
|
+
/* @__PURE__ */ jsx53(
|
|
3632
3844
|
ChipBody,
|
|
3633
3845
|
{
|
|
3634
3846
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3642,7 +3854,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3642
3854
|
|
|
3643
3855
|
// lib/SOT-563.tsx
|
|
3644
3856
|
import { Cuboid as Cuboid33, Translate as Translate21, Rotate as Rotate10, Colorize as Colorize26 } from "jscad-fiber";
|
|
3645
|
-
import { Fragment as
|
|
3857
|
+
import { Fragment as Fragment48, jsx as jsx54, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3646
3858
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
3647
3859
|
const bodyWidth = 1.2;
|
|
3648
3860
|
const bodyLength10 = 1.6;
|
|
@@ -3652,11 +3864,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3652
3864
|
const leadHeight = 0.13;
|
|
3653
3865
|
const leadSpacing = 0.5;
|
|
3654
3866
|
const bodyZOffset = -0.4;
|
|
3655
|
-
return /* @__PURE__ */
|
|
3656
|
-
/* @__PURE__ */
|
|
3867
|
+
return /* @__PURE__ */ jsxs51(Fragment48, { children: [
|
|
3868
|
+
/* @__PURE__ */ jsx54(Rotate10, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx54(Translate21, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx54(Colorize26, { color: "grey", children: /* @__PURE__ */ jsx54(Cuboid33, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
3657
3869
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
3658
3870
|
// Left lead
|
|
3659
|
-
/* @__PURE__ */
|
|
3871
|
+
/* @__PURE__ */ jsx54(
|
|
3660
3872
|
Translate21,
|
|
3661
3873
|
{
|
|
3662
3874
|
center: [
|
|
@@ -3664,16 +3876,16 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3664
3876
|
yOffset * leadSpacing,
|
|
3665
3877
|
leadHeight / 2
|
|
3666
3878
|
],
|
|
3667
|
-
children: /* @__PURE__ */
|
|
3879
|
+
children: /* @__PURE__ */ jsx54(Cuboid33, { size: [leadLength, leadWidth, leadHeight] })
|
|
3668
3880
|
},
|
|
3669
3881
|
`left-${index}`
|
|
3670
3882
|
),
|
|
3671
3883
|
// Right lead
|
|
3672
|
-
/* @__PURE__ */
|
|
3884
|
+
/* @__PURE__ */ jsx54(
|
|
3673
3885
|
Translate21,
|
|
3674
3886
|
{
|
|
3675
3887
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
3676
|
-
children: /* @__PURE__ */
|
|
3888
|
+
children: /* @__PURE__ */ jsx54(Cuboid33, { size: [leadLength, leadWidth, leadHeight] })
|
|
3677
3889
|
},
|
|
3678
3890
|
`right-${index}`
|
|
3679
3891
|
)
|
|
@@ -3682,7 +3894,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3682
3894
|
};
|
|
3683
3895
|
|
|
3684
3896
|
// lib/sod-123.tsx
|
|
3685
|
-
import { Fragment as
|
|
3897
|
+
import { Fragment as Fragment49, jsx as jsx55, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3686
3898
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
3687
3899
|
const bodyWidth = 2.9;
|
|
3688
3900
|
const bodyLength10 = 1.3;
|
|
@@ -3693,8 +3905,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3693
3905
|
const padContactLength = 0.4;
|
|
3694
3906
|
const padThickness = leadThickness / 2;
|
|
3695
3907
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
3696
|
-
return /* @__PURE__ */
|
|
3697
|
-
/* @__PURE__ */
|
|
3908
|
+
return /* @__PURE__ */ jsxs52(Fragment49, { children: [
|
|
3909
|
+
/* @__PURE__ */ jsx55(
|
|
3698
3910
|
SmdChipLead,
|
|
3699
3911
|
{
|
|
3700
3912
|
position: {
|
|
@@ -3710,7 +3922,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3710
3922
|
},
|
|
3711
3923
|
1
|
|
3712
3924
|
),
|
|
3713
|
-
/* @__PURE__ */
|
|
3925
|
+
/* @__PURE__ */ jsx55(
|
|
3714
3926
|
SmdChipLead,
|
|
3715
3927
|
{
|
|
3716
3928
|
rotation: Math.PI,
|
|
@@ -3727,7 +3939,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3727
3939
|
},
|
|
3728
3940
|
2
|
|
3729
3941
|
),
|
|
3730
|
-
/* @__PURE__ */
|
|
3942
|
+
/* @__PURE__ */ jsx55(
|
|
3731
3943
|
ChipBody,
|
|
3732
3944
|
{
|
|
3733
3945
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3777,8 +3989,10 @@ export {
|
|
|
3777
3989
|
SOD923,
|
|
3778
3990
|
SOT223,
|
|
3779
3991
|
SOT233P,
|
|
3992
|
+
SOT23W,
|
|
3780
3993
|
SOT323,
|
|
3781
3994
|
SOT363,
|
|
3995
|
+
SOT457,
|
|
3782
3996
|
SOT563,
|
|
3783
3997
|
SOT723,
|
|
3784
3998
|
SmdChipLead,
|