jscad-electronics 0.0.117 → 0.0.119
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 +26 -2
- package/dist/index.js +492 -462
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +96 -69
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1491,98 +1491,114 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
1493
|
// lib/FemaleHeader.tsx
|
|
1494
|
-
import { Cuboid as Cuboid16,
|
|
1494
|
+
import { Colorize as Colorize8, Cuboid as Cuboid16, Cylinder as Cylinder3, Hull as Hull3, Subtract as Subtract3 } from "jscad-fiber";
|
|
1495
1495
|
import { Fragment as Fragment21, jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1496
1496
|
var FemaleHeader = ({
|
|
1497
|
-
|
|
1497
|
+
x,
|
|
1498
|
+
y,
|
|
1499
|
+
z = 0,
|
|
1498
1500
|
pitch = 2.54,
|
|
1499
1501
|
legsLength = 3,
|
|
1500
|
-
outerDiameter = 0.945,
|
|
1501
1502
|
innerDiameter = 0.945,
|
|
1502
|
-
|
|
1503
|
+
bodyHeight = 5,
|
|
1504
|
+
bodyLength: bodyLength10 = pitch,
|
|
1505
|
+
bodyWidth = pitch,
|
|
1506
|
+
flipZ
|
|
1503
1507
|
}) => {
|
|
1504
1508
|
const pinThickness = innerDiameter / 1.5;
|
|
1505
|
-
const bodyDepth = pinThickness * 2 + outerDiameter;
|
|
1506
|
-
const bodyHeight = 5;
|
|
1507
|
-
const pinsPerRow = Math.ceil(numberOfPins / rows);
|
|
1508
|
-
const rowSpacing = 2.54;
|
|
1509
|
-
const bodyWidth = (pinsPerRow - 1) * pitch + outerDiameter + pitch / 2;
|
|
1510
|
-
const bodyDepthTotal = rows > 1 ? (rows - 1) * rowSpacing + bodyDepth : bodyDepth;
|
|
1511
1509
|
const gapWidth = pinThickness * 1.6;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
Array.from({ length: numberOfPins }, (_, i) => {
|
|
1524
|
-
const row = Math.floor(i / pinsPerRow);
|
|
1525
|
-
const col = i % pinsPerRow;
|
|
1526
|
-
const x = xoff + col * pitch;
|
|
1527
|
-
const y = -row * rowSpacing;
|
|
1528
|
-
return innerDiameter ? /* @__PURE__ */ jsx25(
|
|
1510
|
+
return /* @__PURE__ */ jsxs22(Fragment21, { children: [
|
|
1511
|
+
/* @__PURE__ */ jsx25(Colorize8, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs22(Subtract3, { children: [
|
|
1512
|
+
/* @__PURE__ */ jsx25(
|
|
1513
|
+
Cuboid16,
|
|
1514
|
+
{
|
|
1515
|
+
color: "#000",
|
|
1516
|
+
size: [bodyLength10, bodyWidth, bodyHeight],
|
|
1517
|
+
center: [x, y, flipZ(z + bodyHeight / 2)]
|
|
1518
|
+
}
|
|
1519
|
+
),
|
|
1520
|
+
innerDiameter ? /* @__PURE__ */ jsx25(
|
|
1529
1521
|
Cylinder3,
|
|
1530
1522
|
{
|
|
1531
1523
|
height: bodyHeight + 0.1,
|
|
1532
1524
|
radius: innerDiameter / 2,
|
|
1533
|
-
center: [x, y, bodyHeight / 2],
|
|
1525
|
+
center: [x, y, flipZ(z + bodyHeight / 2)],
|
|
1534
1526
|
color: "#222"
|
|
1535
|
-
}
|
|
1536
|
-
i
|
|
1527
|
+
}
|
|
1537
1528
|
) : /* @__PURE__ */ jsx25(
|
|
1538
1529
|
Cuboid16,
|
|
1539
1530
|
{
|
|
1540
1531
|
size: [gapWidth, gapWidth, bodyHeight],
|
|
1541
|
-
center: [x, y, bodyHeight / 2]
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
return /* @__PURE__ */ jsxs22(Fragment21, { children: [
|
|
1548
|
-
Body,
|
|
1549
|
-
Array.from({ length: numberOfPins }, (_, i) => {
|
|
1550
|
-
const row = Math.floor(i / pinsPerRow);
|
|
1551
|
-
const col = i % pinsPerRow;
|
|
1552
|
-
const x = xoff + col * pitch;
|
|
1553
|
-
const y = -row * rowSpacing;
|
|
1554
|
-
return /* @__PURE__ */ jsxs22(Colorize8, { color: "silver", children: [
|
|
1555
|
-
/* @__PURE__ */ jsxs22(Hull3, { children: [
|
|
1556
|
-
/* @__PURE__ */ jsx25(
|
|
1557
|
-
Cuboid16,
|
|
1558
|
-
{
|
|
1559
|
-
color: "silver",
|
|
1560
|
-
size: [pinThickness, pinThickness, legsLength * 0.9],
|
|
1561
|
-
center: [x, y, -legsLength / 2 * 0.9]
|
|
1562
|
-
}
|
|
1563
|
-
),
|
|
1564
|
-
/* @__PURE__ */ jsx25(
|
|
1565
|
-
Cuboid16,
|
|
1566
|
-
{
|
|
1567
|
-
color: "silver",
|
|
1568
|
-
size: [pinThickness / 1.8, pinThickness / 1.8, legsLength],
|
|
1569
|
-
center: [x, y, -legsLength / 2]
|
|
1570
|
-
}
|
|
1571
|
-
)
|
|
1572
|
-
] }),
|
|
1532
|
+
center: [x, y, flipZ(z + bodyHeight / 2)]
|
|
1533
|
+
}
|
|
1534
|
+
)
|
|
1535
|
+
] }) }),
|
|
1536
|
+
/* @__PURE__ */ jsxs22(Colorize8, { color: "silver", children: [
|
|
1537
|
+
/* @__PURE__ */ jsxs22(Hull3, { children: [
|
|
1573
1538
|
/* @__PURE__ */ jsx25(
|
|
1574
1539
|
Cuboid16,
|
|
1575
1540
|
{
|
|
1576
1541
|
color: "silver",
|
|
1577
|
-
size: [
|
|
1578
|
-
center: [x, y,
|
|
1542
|
+
size: [pinThickness, pinThickness, legsLength * 0.9],
|
|
1543
|
+
center: [x, y, flipZ(z + -legsLength / 2 * 0.9)]
|
|
1544
|
+
}
|
|
1545
|
+
),
|
|
1546
|
+
/* @__PURE__ */ jsx25(
|
|
1547
|
+
Cuboid16,
|
|
1548
|
+
{
|
|
1549
|
+
color: "silver",
|
|
1550
|
+
size: [pinThickness / 1.8, pinThickness / 1.8, legsLength],
|
|
1551
|
+
center: [x, y, flipZ(z + -legsLength / 2)]
|
|
1579
1552
|
}
|
|
1580
1553
|
)
|
|
1581
|
-
] },
|
|
1582
|
-
|
|
1554
|
+
] }),
|
|
1555
|
+
/* @__PURE__ */ jsx25(
|
|
1556
|
+
Cuboid16,
|
|
1557
|
+
{
|
|
1558
|
+
color: "silver",
|
|
1559
|
+
size: [gapWidth, gapWidth, gapWidth * 0.5],
|
|
1560
|
+
center: [x, y, flipZ(z + gapWidth / 2 * 0.5)]
|
|
1561
|
+
}
|
|
1562
|
+
)
|
|
1563
|
+
] })
|
|
1583
1564
|
] });
|
|
1584
1565
|
};
|
|
1585
1566
|
|
|
1567
|
+
// lib/FemaleHeaderRow.tsx
|
|
1568
|
+
import { Fragment as Fragment22, jsx as jsx26 } from "react/jsx-runtime";
|
|
1569
|
+
var FemaleHeaderRow = ({
|
|
1570
|
+
numberOfPins,
|
|
1571
|
+
pitch = 2.54,
|
|
1572
|
+
legsLength = 3,
|
|
1573
|
+
innerDiameter = 0.945,
|
|
1574
|
+
rows = 1,
|
|
1575
|
+
invert
|
|
1576
|
+
}) => {
|
|
1577
|
+
const bodyHeight = 5;
|
|
1578
|
+
const pinsPerRow = Math.ceil(numberOfPins / rows);
|
|
1579
|
+
const rowSpacing = 2.54;
|
|
1580
|
+
const xoff = -((pinsPerRow - 1) / 2) * pitch;
|
|
1581
|
+
const flipZ = (z) => invert ? -z + bodyHeight : z;
|
|
1582
|
+
return /* @__PURE__ */ jsx26(Fragment22, { children: Array.from({ length: numberOfPins }, (_, i) => {
|
|
1583
|
+
const row = Math.floor(i / pinsPerRow);
|
|
1584
|
+
const col = i % pinsPerRow;
|
|
1585
|
+
const x = xoff + col * pitch;
|
|
1586
|
+
const y = -row * rowSpacing;
|
|
1587
|
+
return /* @__PURE__ */ jsx26(
|
|
1588
|
+
FemaleHeader,
|
|
1589
|
+
{
|
|
1590
|
+
x,
|
|
1591
|
+
y,
|
|
1592
|
+
pitch,
|
|
1593
|
+
legsLength,
|
|
1594
|
+
innerDiameter,
|
|
1595
|
+
flipZ
|
|
1596
|
+
},
|
|
1597
|
+
i
|
|
1598
|
+
);
|
|
1599
|
+
}) });
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1586
1602
|
// lib/PushButton.tsx
|
|
1587
1603
|
import {
|
|
1588
1604
|
Colorize as Colorize9,
|
|
@@ -1593,7 +1609,7 @@ import {
|
|
|
1593
1609
|
RoundedCuboid,
|
|
1594
1610
|
Translate as Translate9
|
|
1595
1611
|
} from "jscad-fiber";
|
|
1596
|
-
import { Fragment as
|
|
1612
|
+
import { Fragment as Fragment23, jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1597
1613
|
var PushButton = ({
|
|
1598
1614
|
width: width10,
|
|
1599
1615
|
length,
|
|
@@ -1603,8 +1619,8 @@ var PushButton = ({
|
|
|
1603
1619
|
const bodyLength10 = length;
|
|
1604
1620
|
const bodyHeight = width10 * 0.7;
|
|
1605
1621
|
const legWidth = innerDiameter / 2.5;
|
|
1606
|
-
return /* @__PURE__ */ jsxs23(
|
|
1607
|
-
/* @__PURE__ */
|
|
1622
|
+
return /* @__PURE__ */ jsxs23(Fragment23, { children: [
|
|
1623
|
+
/* @__PURE__ */ jsx27(
|
|
1608
1624
|
RoundedCuboid,
|
|
1609
1625
|
{
|
|
1610
1626
|
color: "#1a1a1f",
|
|
@@ -1613,7 +1629,7 @@ var PushButton = ({
|
|
|
1613
1629
|
roundRadius: 0.3
|
|
1614
1630
|
}
|
|
1615
1631
|
),
|
|
1616
|
-
/* @__PURE__ */
|
|
1632
|
+
/* @__PURE__ */ jsx27(
|
|
1617
1633
|
RoundedCuboid,
|
|
1618
1634
|
{
|
|
1619
1635
|
color: "#f2f2f2",
|
|
@@ -1622,7 +1638,7 @@ var PushButton = ({
|
|
|
1622
1638
|
roundRadius: 0.14
|
|
1623
1639
|
}
|
|
1624
1640
|
),
|
|
1625
|
-
/* @__PURE__ */
|
|
1641
|
+
/* @__PURE__ */ jsx27(
|
|
1626
1642
|
Cylinder4,
|
|
1627
1643
|
{
|
|
1628
1644
|
color: "#1a1a1f",
|
|
@@ -1631,7 +1647,7 @@ var PushButton = ({
|
|
|
1631
1647
|
center: [0, 0, bodyHeight + bodyHeight * 0.8 / 2]
|
|
1632
1648
|
}
|
|
1633
1649
|
),
|
|
1634
|
-
/* @__PURE__ */
|
|
1650
|
+
/* @__PURE__ */ jsx27(
|
|
1635
1651
|
Cylinder4,
|
|
1636
1652
|
{
|
|
1637
1653
|
color: "#1a1a1f",
|
|
@@ -1644,7 +1660,7 @@ var PushButton = ({
|
|
|
1644
1660
|
]
|
|
1645
1661
|
}
|
|
1646
1662
|
),
|
|
1647
|
-
/* @__PURE__ */
|
|
1663
|
+
/* @__PURE__ */ jsx27(
|
|
1648
1664
|
Cylinder4,
|
|
1649
1665
|
{
|
|
1650
1666
|
color: "#1a1a1f",
|
|
@@ -1657,7 +1673,7 @@ var PushButton = ({
|
|
|
1657
1673
|
]
|
|
1658
1674
|
}
|
|
1659
1675
|
),
|
|
1660
|
-
/* @__PURE__ */
|
|
1676
|
+
/* @__PURE__ */ jsx27(
|
|
1661
1677
|
Cylinder4,
|
|
1662
1678
|
{
|
|
1663
1679
|
color: "#1a1a1f",
|
|
@@ -1670,7 +1686,7 @@ var PushButton = ({
|
|
|
1670
1686
|
]
|
|
1671
1687
|
}
|
|
1672
1688
|
),
|
|
1673
|
-
/* @__PURE__ */
|
|
1689
|
+
/* @__PURE__ */ jsx27(
|
|
1674
1690
|
Cylinder4,
|
|
1675
1691
|
{
|
|
1676
1692
|
color: "#1a1a1f",
|
|
@@ -1683,7 +1699,7 @@ var PushButton = ({
|
|
|
1683
1699
|
]
|
|
1684
1700
|
}
|
|
1685
1701
|
),
|
|
1686
|
-
/* @__PURE__ */
|
|
1702
|
+
/* @__PURE__ */ jsx27(
|
|
1687
1703
|
PushButtonLeg,
|
|
1688
1704
|
{
|
|
1689
1705
|
thickness: innerDiameter / 3,
|
|
@@ -1697,7 +1713,7 @@ var PushButton = ({
|
|
|
1697
1713
|
}
|
|
1698
1714
|
}
|
|
1699
1715
|
),
|
|
1700
|
-
/* @__PURE__ */
|
|
1716
|
+
/* @__PURE__ */ jsx27(
|
|
1701
1717
|
PushButtonLeg,
|
|
1702
1718
|
{
|
|
1703
1719
|
thickness: innerDiameter / 3,
|
|
@@ -1712,7 +1728,7 @@ var PushButton = ({
|
|
|
1712
1728
|
rotation: Math.PI
|
|
1713
1729
|
}
|
|
1714
1730
|
),
|
|
1715
|
-
/* @__PURE__ */
|
|
1731
|
+
/* @__PURE__ */ jsx27(
|
|
1716
1732
|
PushButtonLeg,
|
|
1717
1733
|
{
|
|
1718
1734
|
thickness: innerDiameter / 3,
|
|
@@ -1723,7 +1739,7 @@ var PushButton = ({
|
|
|
1723
1739
|
rotation: Math.PI
|
|
1724
1740
|
}
|
|
1725
1741
|
),
|
|
1726
|
-
/* @__PURE__ */
|
|
1742
|
+
/* @__PURE__ */ jsx27(
|
|
1727
1743
|
PushButtonLeg,
|
|
1728
1744
|
{
|
|
1729
1745
|
thickness: innerDiameter / 3,
|
|
@@ -1755,7 +1771,7 @@ var PushButtonLeg = (props) => {
|
|
|
1755
1771
|
[0, 0]
|
|
1756
1772
|
];
|
|
1757
1773
|
const polygon = getExpandedStroke(points, thickness);
|
|
1758
|
-
return /* @__PURE__ */
|
|
1774
|
+
return /* @__PURE__ */ jsx27(Colorize9, { color: "#f2f2f2", children: /* @__PURE__ */ jsx27(
|
|
1759
1775
|
Translate9,
|
|
1760
1776
|
{
|
|
1761
1777
|
offset: {
|
|
@@ -1763,13 +1779,13 @@ var PushButtonLeg = (props) => {
|
|
|
1763
1779
|
y: position?.y || 0,
|
|
1764
1780
|
z: position?.z || 0
|
|
1765
1781
|
},
|
|
1766
|
-
children: /* @__PURE__ */
|
|
1782
|
+
children: /* @__PURE__ */ jsx27(Rotate6, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx27(ExtrudeLinear3, { height: width10, children: /* @__PURE__ */ jsx27(Polygon3, { points: polygon.map((p) => [p.y, p.x]) }) }) })
|
|
1767
1783
|
}
|
|
1768
1784
|
) });
|
|
1769
1785
|
};
|
|
1770
1786
|
|
|
1771
1787
|
// lib/SOIC.tsx
|
|
1772
|
-
import { Fragment as
|
|
1788
|
+
import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1773
1789
|
var SOIC = ({
|
|
1774
1790
|
pinCount,
|
|
1775
1791
|
leadLength,
|
|
@@ -1785,8 +1801,8 @@ var SOIC = ({
|
|
|
1785
1801
|
const leadBodyOffset = leadLength * 0;
|
|
1786
1802
|
const fullLength10 = pitch * (sidePinCount - 1) + leadWidth + 0.2;
|
|
1787
1803
|
const bodyWidthAdjusted = bodyWidth * 0.55;
|
|
1788
|
-
return /* @__PURE__ */ jsxs24(
|
|
1789
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1804
|
+
return /* @__PURE__ */ jsxs24(Fragment24, { children: [
|
|
1805
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx28(
|
|
1790
1806
|
SmdChipLead,
|
|
1791
1807
|
{
|
|
1792
1808
|
position: {
|
|
@@ -1802,7 +1818,7 @@ var SOIC = ({
|
|
|
1802
1818
|
},
|
|
1803
1819
|
i
|
|
1804
1820
|
)),
|
|
1805
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1821
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx28(
|
|
1806
1822
|
SmdChipLead,
|
|
1807
1823
|
{
|
|
1808
1824
|
rotation: Math.PI,
|
|
@@ -1819,7 +1835,7 @@ var SOIC = ({
|
|
|
1819
1835
|
},
|
|
1820
1836
|
i
|
|
1821
1837
|
)),
|
|
1822
|
-
/* @__PURE__ */
|
|
1838
|
+
/* @__PURE__ */ jsx28(
|
|
1823
1839
|
ChipBody,
|
|
1824
1840
|
{
|
|
1825
1841
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1832,7 +1848,7 @@ var SOIC = ({
|
|
|
1832
1848
|
};
|
|
1833
1849
|
|
|
1834
1850
|
// lib/VSSOP.tsx
|
|
1835
|
-
import { Fragment as
|
|
1851
|
+
import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1836
1852
|
var VSSOP = ({
|
|
1837
1853
|
pinCount,
|
|
1838
1854
|
pitch,
|
|
@@ -1862,8 +1878,8 @@ var VSSOP = ({
|
|
|
1862
1878
|
const componentFullWidth = 4.5;
|
|
1863
1879
|
const leadBodyDistance = (componentFullWidth - _bodyWidth) / 2;
|
|
1864
1880
|
const padContactLength = leadBodyDistance * 0.5;
|
|
1865
|
-
return /* @__PURE__ */ jsxs25(
|
|
1866
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1881
|
+
return /* @__PURE__ */ jsxs25(Fragment25, { children: [
|
|
1882
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx29(
|
|
1867
1883
|
SmdChipLead,
|
|
1868
1884
|
{
|
|
1869
1885
|
position: {
|
|
@@ -1879,7 +1895,7 @@ var VSSOP = ({
|
|
|
1879
1895
|
},
|
|
1880
1896
|
`left-${i}`
|
|
1881
1897
|
)),
|
|
1882
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
1898
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx29(
|
|
1883
1899
|
SmdChipLead,
|
|
1884
1900
|
{
|
|
1885
1901
|
rotation: Math.PI,
|
|
@@ -1896,7 +1912,7 @@ var VSSOP = ({
|
|
|
1896
1912
|
},
|
|
1897
1913
|
`right-${i}`
|
|
1898
1914
|
)),
|
|
1899
|
-
/* @__PURE__ */
|
|
1915
|
+
/* @__PURE__ */ jsx29(
|
|
1900
1916
|
ChipBody,
|
|
1901
1917
|
{
|
|
1902
1918
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -1910,7 +1926,7 @@ var VSSOP = ({
|
|
|
1910
1926
|
|
|
1911
1927
|
// lib/SOD523.tsx
|
|
1912
1928
|
import { Colorize as Colorize10, Cuboid as Cuboid18, Hull as Hull4, Translate as Translate10, Union as Union4 } from "jscad-fiber";
|
|
1913
|
-
import { Fragment as
|
|
1929
|
+
import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1914
1930
|
var SOD523 = () => {
|
|
1915
1931
|
const fullWidth = 2.15;
|
|
1916
1932
|
const bodyLength10 = 0.8;
|
|
@@ -1923,8 +1939,8 @@ var SOD523 = () => {
|
|
|
1923
1939
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
1924
1940
|
const taperOffset = 0.2;
|
|
1925
1941
|
const straightHeight = bodyHeight * 0.5;
|
|
1926
|
-
return /* @__PURE__ */ jsxs26(
|
|
1927
|
-
/* @__PURE__ */
|
|
1942
|
+
return /* @__PURE__ */ jsxs26(Fragment26, { children: [
|
|
1943
|
+
/* @__PURE__ */ jsx30(
|
|
1928
1944
|
Cuboid18,
|
|
1929
1945
|
{
|
|
1930
1946
|
color: "#ccc",
|
|
@@ -1932,7 +1948,7 @@ var SOD523 = () => {
|
|
|
1932
1948
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1933
1949
|
}
|
|
1934
1950
|
),
|
|
1935
|
-
/* @__PURE__ */
|
|
1951
|
+
/* @__PURE__ */ jsx30(
|
|
1936
1952
|
Cuboid18,
|
|
1937
1953
|
{
|
|
1938
1954
|
color: "#ccc",
|
|
@@ -1940,11 +1956,11 @@ var SOD523 = () => {
|
|
|
1940
1956
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1941
1957
|
}
|
|
1942
1958
|
),
|
|
1943
|
-
/* @__PURE__ */
|
|
1944
|
-
/* @__PURE__ */
|
|
1959
|
+
/* @__PURE__ */ jsx30(Colorize10, { color: "#222", children: /* @__PURE__ */ jsxs26(Union4, { children: [
|
|
1960
|
+
/* @__PURE__ */ jsx30(Translate10, { z: straightHeight / 2, children: /* @__PURE__ */ jsx30(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
1945
1961
|
/* @__PURE__ */ jsxs26(Hull4, { children: [
|
|
1946
|
-
/* @__PURE__ */
|
|
1947
|
-
/* @__PURE__ */
|
|
1962
|
+
/* @__PURE__ */ jsx30(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1963
|
+
/* @__PURE__ */ jsx30(Translate10, { z: bodyHeight, children: /* @__PURE__ */ jsx30(
|
|
1948
1964
|
Cuboid18,
|
|
1949
1965
|
{
|
|
1950
1966
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -1957,7 +1973,7 @@ var SOD523 = () => {
|
|
|
1957
1973
|
|
|
1958
1974
|
// lib/SOD882.tsx
|
|
1959
1975
|
import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate11 } from "jscad-fiber";
|
|
1960
|
-
import { Fragment as
|
|
1976
|
+
import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1961
1977
|
var SOD882 = () => {
|
|
1962
1978
|
const bodyLength10 = 0.98;
|
|
1963
1979
|
const bodyHeight = 0.47;
|
|
@@ -1968,8 +1984,8 @@ var SOD882 = () => {
|
|
|
1968
1984
|
const bodyWidth = 0.58;
|
|
1969
1985
|
const leftPadCenterX = -pitch / 2;
|
|
1970
1986
|
const rightPadCenterX = pitch / 2;
|
|
1971
|
-
return /* @__PURE__ */ jsxs27(
|
|
1972
|
-
/* @__PURE__ */
|
|
1987
|
+
return /* @__PURE__ */ jsxs27(Fragment27, { children: [
|
|
1988
|
+
/* @__PURE__ */ jsx31(
|
|
1973
1989
|
Cuboid19,
|
|
1974
1990
|
{
|
|
1975
1991
|
color: "#ccc",
|
|
@@ -1977,7 +1993,7 @@ var SOD882 = () => {
|
|
|
1977
1993
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1978
1994
|
}
|
|
1979
1995
|
),
|
|
1980
|
-
/* @__PURE__ */
|
|
1996
|
+
/* @__PURE__ */ jsx31(
|
|
1981
1997
|
Cuboid19,
|
|
1982
1998
|
{
|
|
1983
1999
|
color: "#ccc",
|
|
@@ -1985,8 +2001,8 @@ var SOD882 = () => {
|
|
|
1985
2001
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1986
2002
|
}
|
|
1987
2003
|
),
|
|
1988
|
-
/* @__PURE__ */
|
|
1989
|
-
/* @__PURE__ */
|
|
2004
|
+
/* @__PURE__ */ jsx31(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx31(Translate11, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx31(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
|
|
2005
|
+
/* @__PURE__ */ jsx31(
|
|
1990
2006
|
Cuboid19,
|
|
1991
2007
|
{
|
|
1992
2008
|
color: "#ccc",
|
|
@@ -1994,7 +2010,7 @@ var SOD882 = () => {
|
|
|
1994
2010
|
center: [0, padLength / 2, bodyHeight / 4]
|
|
1995
2011
|
}
|
|
1996
2012
|
),
|
|
1997
|
-
/* @__PURE__ */
|
|
2013
|
+
/* @__PURE__ */ jsx31(
|
|
1998
2014
|
Cuboid19,
|
|
1999
2015
|
{
|
|
2000
2016
|
color: "#ccc",
|
|
@@ -2002,7 +2018,7 @@ var SOD882 = () => {
|
|
|
2002
2018
|
center: [0, -padLength / 2, bodyHeight / 4]
|
|
2003
2019
|
}
|
|
2004
2020
|
),
|
|
2005
|
-
/* @__PURE__ */
|
|
2021
|
+
/* @__PURE__ */ jsx31(
|
|
2006
2022
|
Cuboid19,
|
|
2007
2023
|
{
|
|
2008
2024
|
color: "#ccc",
|
|
@@ -2010,7 +2026,7 @@ var SOD882 = () => {
|
|
|
2010
2026
|
center: [pitch / 2, 0, bodyHeight / 4]
|
|
2011
2027
|
}
|
|
2012
2028
|
),
|
|
2013
|
-
/* @__PURE__ */
|
|
2029
|
+
/* @__PURE__ */ jsx31(
|
|
2014
2030
|
Cuboid19,
|
|
2015
2031
|
{
|
|
2016
2032
|
color: "#ccc",
|
|
@@ -2023,7 +2039,7 @@ var SOD882 = () => {
|
|
|
2023
2039
|
|
|
2024
2040
|
// lib/SMA.tsx
|
|
2025
2041
|
import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union6, Hull as Hull6, Translate as Translate12 } from "jscad-fiber";
|
|
2026
|
-
import { Fragment as
|
|
2042
|
+
import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2027
2043
|
var SMA = () => {
|
|
2028
2044
|
const bodyWidth = 4.4;
|
|
2029
2045
|
const bodyLength10 = 3.4;
|
|
@@ -2034,19 +2050,19 @@ var SMA = () => {
|
|
|
2034
2050
|
const leadHeight = 1.14;
|
|
2035
2051
|
const taperOffset = 0.4;
|
|
2036
2052
|
const straightHeight = bodyHeight * 0.5;
|
|
2037
|
-
const Body = /* @__PURE__ */
|
|
2053
|
+
const Body = /* @__PURE__ */ jsx32(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Union6, { children: [
|
|
2038
2054
|
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2039
|
-
/* @__PURE__ */
|
|
2055
|
+
/* @__PURE__ */ jsx32(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx32(
|
|
2040
2056
|
Cuboid20,
|
|
2041
2057
|
{
|
|
2042
2058
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2043
2059
|
}
|
|
2044
2060
|
) }),
|
|
2045
|
-
/* @__PURE__ */
|
|
2061
|
+
/* @__PURE__ */ jsx32(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2046
2062
|
] }),
|
|
2047
2063
|
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2048
|
-
/* @__PURE__ */
|
|
2049
|
-
/* @__PURE__ */
|
|
2064
|
+
/* @__PURE__ */ jsx32(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2065
|
+
/* @__PURE__ */ jsx32(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
|
|
2050
2066
|
Cuboid20,
|
|
2051
2067
|
{
|
|
2052
2068
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2062,22 +2078,22 @@ var SMA = () => {
|
|
|
2062
2078
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2063
2079
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2064
2080
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2065
|
-
return /* @__PURE__ */
|
|
2066
|
-
/* @__PURE__ */
|
|
2081
|
+
return /* @__PURE__ */ jsx32(Colorize12, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs28(Union6, { children: [
|
|
2082
|
+
/* @__PURE__ */ jsx32(
|
|
2067
2083
|
Cuboid20,
|
|
2068
2084
|
{
|
|
2069
2085
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2070
2086
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2071
2087
|
}
|
|
2072
2088
|
),
|
|
2073
|
-
/* @__PURE__ */
|
|
2089
|
+
/* @__PURE__ */ jsx32(
|
|
2074
2090
|
Cuboid20,
|
|
2075
2091
|
{
|
|
2076
2092
|
size: [leadThickness, padWidth, leadHeight],
|
|
2077
2093
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2078
2094
|
}
|
|
2079
2095
|
),
|
|
2080
|
-
/* @__PURE__ */
|
|
2096
|
+
/* @__PURE__ */ jsx32(
|
|
2081
2097
|
Cuboid20,
|
|
2082
2098
|
{
|
|
2083
2099
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2086,16 +2102,16 @@ var SMA = () => {
|
|
|
2086
2102
|
)
|
|
2087
2103
|
] }) });
|
|
2088
2104
|
};
|
|
2089
|
-
return /* @__PURE__ */ jsxs28(
|
|
2090
|
-
/* @__PURE__ */
|
|
2091
|
-
/* @__PURE__ */
|
|
2105
|
+
return /* @__PURE__ */ jsxs28(Fragment28, { children: [
|
|
2106
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: 1 }),
|
|
2107
|
+
/* @__PURE__ */ jsx32(Lead, { xDir: -1 }),
|
|
2092
2108
|
Body
|
|
2093
2109
|
] });
|
|
2094
2110
|
};
|
|
2095
2111
|
|
|
2096
2112
|
// lib/SMB.tsx
|
|
2097
2113
|
import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union7, Hull as Hull7, Translate as Translate13 } from "jscad-fiber";
|
|
2098
|
-
import { Fragment as
|
|
2114
|
+
import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2099
2115
|
var SMB = () => {
|
|
2100
2116
|
const bodyWidth = 4.4;
|
|
2101
2117
|
const bodyLength10 = 3.4;
|
|
@@ -2106,19 +2122,19 @@ var SMB = () => {
|
|
|
2106
2122
|
const leadHeight = 1.14;
|
|
2107
2123
|
const taperOffset = 0.4;
|
|
2108
2124
|
const straightHeight = bodyHeight * 0.5;
|
|
2109
|
-
const Body = /* @__PURE__ */
|
|
2125
|
+
const Body = /* @__PURE__ */ jsx33(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Union7, { children: [
|
|
2110
2126
|
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2111
|
-
/* @__PURE__ */
|
|
2127
|
+
/* @__PURE__ */ jsx33(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx33(
|
|
2112
2128
|
Cuboid21,
|
|
2113
2129
|
{
|
|
2114
2130
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2115
2131
|
}
|
|
2116
2132
|
) }),
|
|
2117
|
-
/* @__PURE__ */
|
|
2133
|
+
/* @__PURE__ */ jsx33(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2118
2134
|
] }),
|
|
2119
2135
|
/* @__PURE__ */ jsxs29(Hull7, { children: [
|
|
2120
|
-
/* @__PURE__ */
|
|
2121
|
-
/* @__PURE__ */
|
|
2136
|
+
/* @__PURE__ */ jsx33(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2137
|
+
/* @__PURE__ */ jsx33(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
|
|
2122
2138
|
Cuboid21,
|
|
2123
2139
|
{
|
|
2124
2140
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2134,22 +2150,22 @@ var SMB = () => {
|
|
|
2134
2150
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2135
2151
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2136
2152
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2137
|
-
return /* @__PURE__ */
|
|
2138
|
-
/* @__PURE__ */
|
|
2153
|
+
return /* @__PURE__ */ jsx33(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs29(Union7, { children: [
|
|
2154
|
+
/* @__PURE__ */ jsx33(
|
|
2139
2155
|
Cuboid21,
|
|
2140
2156
|
{
|
|
2141
2157
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2142
2158
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2143
2159
|
}
|
|
2144
2160
|
),
|
|
2145
|
-
/* @__PURE__ */
|
|
2161
|
+
/* @__PURE__ */ jsx33(
|
|
2146
2162
|
Cuboid21,
|
|
2147
2163
|
{
|
|
2148
2164
|
size: [leadThickness, padWidth, leadHeight],
|
|
2149
2165
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2150
2166
|
}
|
|
2151
2167
|
),
|
|
2152
|
-
/* @__PURE__ */
|
|
2168
|
+
/* @__PURE__ */ jsx33(
|
|
2153
2169
|
Cuboid21,
|
|
2154
2170
|
{
|
|
2155
2171
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2158,16 +2174,16 @@ var SMB = () => {
|
|
|
2158
2174
|
)
|
|
2159
2175
|
] }) });
|
|
2160
2176
|
};
|
|
2161
|
-
return /* @__PURE__ */ jsxs29(
|
|
2162
|
-
/* @__PURE__ */
|
|
2163
|
-
/* @__PURE__ */
|
|
2177
|
+
return /* @__PURE__ */ jsxs29(Fragment29, { children: [
|
|
2178
|
+
/* @__PURE__ */ jsx33(Lead, { xDir: 1 }),
|
|
2179
|
+
/* @__PURE__ */ jsx33(Lead, { xDir: -1 }),
|
|
2164
2180
|
Body
|
|
2165
2181
|
] });
|
|
2166
2182
|
};
|
|
2167
2183
|
|
|
2168
2184
|
// lib/SMC.tsx
|
|
2169
2185
|
import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union8, Hull as Hull8, Translate as Translate14 } from "jscad-fiber";
|
|
2170
|
-
import { Fragment as
|
|
2186
|
+
import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2171
2187
|
var SMC = () => {
|
|
2172
2188
|
const bodyWidth = 6.8;
|
|
2173
2189
|
const bodyLength10 = 6;
|
|
@@ -2178,19 +2194,19 @@ var SMC = () => {
|
|
|
2178
2194
|
const leadHeight = 1.14;
|
|
2179
2195
|
const taperOffset = 0.4;
|
|
2180
2196
|
const straightHeight = bodyHeight * 0.5;
|
|
2181
|
-
const Body = /* @__PURE__ */
|
|
2197
|
+
const Body = /* @__PURE__ */ jsx34(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs30(Union8, { children: [
|
|
2182
2198
|
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2183
|
-
/* @__PURE__ */
|
|
2199
|
+
/* @__PURE__ */ jsx34(Translate14, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx34(
|
|
2184
2200
|
Cuboid22,
|
|
2185
2201
|
{
|
|
2186
2202
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2187
2203
|
}
|
|
2188
2204
|
) }),
|
|
2189
|
-
/* @__PURE__ */
|
|
2205
|
+
/* @__PURE__ */ jsx34(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2190
2206
|
] }),
|
|
2191
2207
|
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2192
|
-
/* @__PURE__ */
|
|
2193
|
-
/* @__PURE__ */
|
|
2208
|
+
/* @__PURE__ */ jsx34(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2209
|
+
/* @__PURE__ */ jsx34(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
|
|
2194
2210
|
Cuboid22,
|
|
2195
2211
|
{
|
|
2196
2212
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2206,22 +2222,22 @@ var SMC = () => {
|
|
|
2206
2222
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2207
2223
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2208
2224
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2209
|
-
return /* @__PURE__ */
|
|
2210
|
-
/* @__PURE__ */
|
|
2225
|
+
return /* @__PURE__ */ jsx34(Colorize14, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs30(Union8, { children: [
|
|
2226
|
+
/* @__PURE__ */ jsx34(
|
|
2211
2227
|
Cuboid22,
|
|
2212
2228
|
{
|
|
2213
2229
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2214
2230
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2215
2231
|
}
|
|
2216
2232
|
),
|
|
2217
|
-
/* @__PURE__ */
|
|
2233
|
+
/* @__PURE__ */ jsx34(
|
|
2218
2234
|
Cuboid22,
|
|
2219
2235
|
{
|
|
2220
2236
|
size: [leadThickness, padWidth, leadHeight],
|
|
2221
2237
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2222
2238
|
}
|
|
2223
2239
|
),
|
|
2224
|
-
/* @__PURE__ */
|
|
2240
|
+
/* @__PURE__ */ jsx34(
|
|
2225
2241
|
Cuboid22,
|
|
2226
2242
|
{
|
|
2227
2243
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2230,16 +2246,16 @@ var SMC = () => {
|
|
|
2230
2246
|
)
|
|
2231
2247
|
] }) });
|
|
2232
2248
|
};
|
|
2233
|
-
return /* @__PURE__ */ jsxs30(
|
|
2234
|
-
/* @__PURE__ */
|
|
2235
|
-
/* @__PURE__ */
|
|
2249
|
+
return /* @__PURE__ */ jsxs30(Fragment30, { children: [
|
|
2250
|
+
/* @__PURE__ */ jsx34(Lead, { xDir: 1 }),
|
|
2251
|
+
/* @__PURE__ */ jsx34(Lead, { xDir: -1 }),
|
|
2236
2252
|
Body
|
|
2237
2253
|
] });
|
|
2238
2254
|
};
|
|
2239
2255
|
|
|
2240
2256
|
// lib/SMF.tsx
|
|
2241
2257
|
import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate15, Union as Union9 } from "jscad-fiber";
|
|
2242
|
-
import { Fragment as
|
|
2258
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2243
2259
|
var SMF = () => {
|
|
2244
2260
|
const fullWidth = 2.9;
|
|
2245
2261
|
const bodyLength10 = 1.9;
|
|
@@ -2252,11 +2268,11 @@ var SMF = () => {
|
|
|
2252
2268
|
const rightPadCenterX = 1.3;
|
|
2253
2269
|
const taperOffset = 0.2;
|
|
2254
2270
|
const straightHeight = bodyHeight * 0.5;
|
|
2255
|
-
const Body = /* @__PURE__ */
|
|
2256
|
-
/* @__PURE__ */
|
|
2271
|
+
const Body = /* @__PURE__ */ jsx35(Colorize15, { color: "#222", children: /* @__PURE__ */ jsxs31(Union9, { children: [
|
|
2272
|
+
/* @__PURE__ */ jsx35(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2257
2273
|
/* @__PURE__ */ jsxs31(Hull9, { children: [
|
|
2258
|
-
/* @__PURE__ */
|
|
2259
|
-
/* @__PURE__ */
|
|
2274
|
+
/* @__PURE__ */ jsx35(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2275
|
+
/* @__PURE__ */ jsx35(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
|
|
2260
2276
|
Cuboid23,
|
|
2261
2277
|
{
|
|
2262
2278
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2264,8 +2280,8 @@ var SMF = () => {
|
|
|
2264
2280
|
) })
|
|
2265
2281
|
] })
|
|
2266
2282
|
] }) });
|
|
2267
|
-
return /* @__PURE__ */ jsxs31(
|
|
2268
|
-
/* @__PURE__ */
|
|
2283
|
+
return /* @__PURE__ */ jsxs31(Fragment31, { children: [
|
|
2284
|
+
/* @__PURE__ */ jsx35(
|
|
2269
2285
|
Cuboid23,
|
|
2270
2286
|
{
|
|
2271
2287
|
color: "#ccc",
|
|
@@ -2273,7 +2289,7 @@ var SMF = () => {
|
|
|
2273
2289
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2274
2290
|
}
|
|
2275
2291
|
),
|
|
2276
|
-
/* @__PURE__ */
|
|
2292
|
+
/* @__PURE__ */ jsx35(
|
|
2277
2293
|
Cuboid23,
|
|
2278
2294
|
{
|
|
2279
2295
|
color: "#ccc",
|
|
@@ -2287,7 +2303,7 @@ var SMF = () => {
|
|
|
2287
2303
|
|
|
2288
2304
|
// lib/sod-123F.tsx
|
|
2289
2305
|
import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate16, Union as Union10 } from "jscad-fiber";
|
|
2290
|
-
import { Fragment as
|
|
2306
|
+
import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2291
2307
|
var SOD123F = () => {
|
|
2292
2308
|
const fullWidth = 2.7;
|
|
2293
2309
|
const bodyLength10 = 1.6;
|
|
@@ -2299,8 +2315,8 @@ var SOD123F = () => {
|
|
|
2299
2315
|
const rightPadCenterX = 1.3;
|
|
2300
2316
|
const taperOffset = 0.2;
|
|
2301
2317
|
const straightHeight = bodyHeight * 0.5;
|
|
2302
|
-
return /* @__PURE__ */ jsxs32(
|
|
2303
|
-
/* @__PURE__ */
|
|
2318
|
+
return /* @__PURE__ */ jsxs32(Fragment32, { children: [
|
|
2319
|
+
/* @__PURE__ */ jsx36(
|
|
2304
2320
|
Cuboid24,
|
|
2305
2321
|
{
|
|
2306
2322
|
color: "#ccc",
|
|
@@ -2308,7 +2324,7 @@ var SOD123F = () => {
|
|
|
2308
2324
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2309
2325
|
}
|
|
2310
2326
|
),
|
|
2311
|
-
/* @__PURE__ */
|
|
2327
|
+
/* @__PURE__ */ jsx36(
|
|
2312
2328
|
Cuboid24,
|
|
2313
2329
|
{
|
|
2314
2330
|
color: "#ccc",
|
|
@@ -2316,11 +2332,11 @@ var SOD123F = () => {
|
|
|
2316
2332
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2317
2333
|
}
|
|
2318
2334
|
),
|
|
2319
|
-
/* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2335
|
+
/* @__PURE__ */ jsx36(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs32(Union10, { children: [
|
|
2336
|
+
/* @__PURE__ */ jsx36(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx36(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2321
2337
|
/* @__PURE__ */ jsxs32(Hull10, { children: [
|
|
2322
|
-
/* @__PURE__ */
|
|
2323
|
-
/* @__PURE__ */
|
|
2338
|
+
/* @__PURE__ */ jsx36(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2339
|
+
/* @__PURE__ */ jsx36(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
|
|
2324
2340
|
Cuboid24,
|
|
2325
2341
|
{
|
|
2326
2342
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2333,7 +2349,7 @@ var SOD123F = () => {
|
|
|
2333
2349
|
|
|
2334
2350
|
// lib/sod-123FL.tsx
|
|
2335
2351
|
import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate17, Union as Union11 } from "jscad-fiber";
|
|
2336
|
-
import { Fragment as
|
|
2352
|
+
import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2337
2353
|
var SOD123FL = () => {
|
|
2338
2354
|
const fullWidth = 2.75;
|
|
2339
2355
|
const bodyLength10 = 1.8;
|
|
@@ -2345,8 +2361,8 @@ var SOD123FL = () => {
|
|
|
2345
2361
|
const rightPadCenterX = fullWidth / 2 - 0.075;
|
|
2346
2362
|
const taperOffset = 0.4;
|
|
2347
2363
|
const straightHeight = bodyHeight * 0.2;
|
|
2348
|
-
return /* @__PURE__ */ jsxs33(
|
|
2349
|
-
/* @__PURE__ */
|
|
2364
|
+
return /* @__PURE__ */ jsxs33(Fragment33, { children: [
|
|
2365
|
+
/* @__PURE__ */ jsx37(
|
|
2350
2366
|
Cuboid25,
|
|
2351
2367
|
{
|
|
2352
2368
|
color: "#ccc",
|
|
@@ -2354,7 +2370,7 @@ var SOD123FL = () => {
|
|
|
2354
2370
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2355
2371
|
}
|
|
2356
2372
|
),
|
|
2357
|
-
/* @__PURE__ */
|
|
2373
|
+
/* @__PURE__ */ jsx37(
|
|
2358
2374
|
Cuboid25,
|
|
2359
2375
|
{
|
|
2360
2376
|
color: "#ccc",
|
|
@@ -2362,11 +2378,11 @@ var SOD123FL = () => {
|
|
|
2362
2378
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2363
2379
|
}
|
|
2364
2380
|
),
|
|
2365
|
-
/* @__PURE__ */
|
|
2366
|
-
/* @__PURE__ */
|
|
2381
|
+
/* @__PURE__ */ jsx37(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs33(Union11, { children: [
|
|
2382
|
+
/* @__PURE__ */ jsx37(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx37(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2367
2383
|
/* @__PURE__ */ jsxs33(Hull11, { children: [
|
|
2368
|
-
/* @__PURE__ */
|
|
2369
|
-
/* @__PURE__ */
|
|
2384
|
+
/* @__PURE__ */ jsx37(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx37(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2385
|
+
/* @__PURE__ */ jsx37(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx37(
|
|
2370
2386
|
Cuboid25,
|
|
2371
2387
|
{
|
|
2372
2388
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2374,7 +2390,7 @@ var SOD123FL = () => {
|
|
|
2374
2390
|
) })
|
|
2375
2391
|
] })
|
|
2376
2392
|
] }) }),
|
|
2377
|
-
/* @__PURE__ */
|
|
2393
|
+
/* @__PURE__ */ jsx37(
|
|
2378
2394
|
Cuboid25,
|
|
2379
2395
|
{
|
|
2380
2396
|
color: "#777",
|
|
@@ -2387,7 +2403,7 @@ var SOD123FL = () => {
|
|
|
2387
2403
|
|
|
2388
2404
|
// lib/sod-123W.tsx
|
|
2389
2405
|
import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate18, Union as Union12 } from "jscad-fiber";
|
|
2390
|
-
import { Fragment as
|
|
2406
|
+
import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2391
2407
|
var SOD123W = () => {
|
|
2392
2408
|
const fullWidth = 2.6;
|
|
2393
2409
|
const bodyLength10 = 1.7;
|
|
@@ -2400,8 +2416,8 @@ var SOD123W = () => {
|
|
|
2400
2416
|
const taperOffset = 0.4;
|
|
2401
2417
|
const lowerTaperOffset = 0.1;
|
|
2402
2418
|
const straightHeight = bodyHeight * 0.2;
|
|
2403
|
-
return /* @__PURE__ */ jsxs34(
|
|
2404
|
-
/* @__PURE__ */
|
|
2419
|
+
return /* @__PURE__ */ jsxs34(Fragment34, { children: [
|
|
2420
|
+
/* @__PURE__ */ jsx38(
|
|
2405
2421
|
Cuboid26,
|
|
2406
2422
|
{
|
|
2407
2423
|
color: "#ccc",
|
|
@@ -2409,7 +2425,7 @@ var SOD123W = () => {
|
|
|
2409
2425
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2410
2426
|
}
|
|
2411
2427
|
),
|
|
2412
|
-
/* @__PURE__ */
|
|
2428
|
+
/* @__PURE__ */ jsx38(
|
|
2413
2429
|
Cuboid26,
|
|
2414
2430
|
{
|
|
2415
2431
|
color: "#ccc",
|
|
@@ -2417,9 +2433,9 @@ var SOD123W = () => {
|
|
|
2417
2433
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2418
2434
|
}
|
|
2419
2435
|
),
|
|
2420
|
-
/* @__PURE__ */
|
|
2436
|
+
/* @__PURE__ */ jsx38(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs34(Union12, { children: [
|
|
2421
2437
|
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2422
|
-
/* @__PURE__ */
|
|
2438
|
+
/* @__PURE__ */ jsx38(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx38(
|
|
2423
2439
|
Cuboid26,
|
|
2424
2440
|
{
|
|
2425
2441
|
size: [
|
|
@@ -2429,7 +2445,7 @@ var SOD123W = () => {
|
|
|
2429
2445
|
]
|
|
2430
2446
|
}
|
|
2431
2447
|
) }),
|
|
2432
|
-
/* @__PURE__ */
|
|
2448
|
+
/* @__PURE__ */ jsx38(Translate18, { z: 0.01, children: /* @__PURE__ */ jsx38(
|
|
2433
2449
|
Cuboid26,
|
|
2434
2450
|
{
|
|
2435
2451
|
size: [
|
|
@@ -2441,8 +2457,8 @@ var SOD123W = () => {
|
|
|
2441
2457
|
) })
|
|
2442
2458
|
] }),
|
|
2443
2459
|
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2444
|
-
/* @__PURE__ */
|
|
2445
|
-
/* @__PURE__ */
|
|
2460
|
+
/* @__PURE__ */ jsx38(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx38(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2461
|
+
/* @__PURE__ */ jsx38(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx38(
|
|
2446
2462
|
Cuboid26,
|
|
2447
2463
|
{
|
|
2448
2464
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2450,7 +2466,7 @@ var SOD123W = () => {
|
|
|
2450
2466
|
) })
|
|
2451
2467
|
] })
|
|
2452
2468
|
] }) }),
|
|
2453
|
-
/* @__PURE__ */
|
|
2469
|
+
/* @__PURE__ */ jsx38(
|
|
2454
2470
|
Cuboid26,
|
|
2455
2471
|
{
|
|
2456
2472
|
color: "#777",
|
|
@@ -2463,7 +2479,7 @@ var SOD123W = () => {
|
|
|
2463
2479
|
|
|
2464
2480
|
// lib/sod-128.tsx
|
|
2465
2481
|
import { Colorize as Colorize19, Cuboid as Cuboid27, Hull as Hull13, Translate as Translate19, Union as Union13 } from "jscad-fiber";
|
|
2466
|
-
import { Fragment as
|
|
2482
|
+
import { Fragment as Fragment35, jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2467
2483
|
var SOD128 = () => {
|
|
2468
2484
|
const fullWidth = 3.8;
|
|
2469
2485
|
const bodyLength10 = 2.5;
|
|
@@ -2476,8 +2492,8 @@ var SOD128 = () => {
|
|
|
2476
2492
|
const taperOffset = 0.4;
|
|
2477
2493
|
const lowerTaperOffset = 0.05;
|
|
2478
2494
|
const straightHeight = bodyHeight * 0.2;
|
|
2479
|
-
return /* @__PURE__ */ jsxs35(
|
|
2480
|
-
/* @__PURE__ */
|
|
2495
|
+
return /* @__PURE__ */ jsxs35(Fragment35, { children: [
|
|
2496
|
+
/* @__PURE__ */ jsx39(
|
|
2481
2497
|
Cuboid27,
|
|
2482
2498
|
{
|
|
2483
2499
|
color: "#ccc",
|
|
@@ -2485,7 +2501,7 @@ var SOD128 = () => {
|
|
|
2485
2501
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2486
2502
|
}
|
|
2487
2503
|
),
|
|
2488
|
-
/* @__PURE__ */
|
|
2504
|
+
/* @__PURE__ */ jsx39(
|
|
2489
2505
|
Cuboid27,
|
|
2490
2506
|
{
|
|
2491
2507
|
color: "#ccc",
|
|
@@ -2493,9 +2509,9 @@ var SOD128 = () => {
|
|
|
2493
2509
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2494
2510
|
}
|
|
2495
2511
|
),
|
|
2496
|
-
/* @__PURE__ */
|
|
2512
|
+
/* @__PURE__ */ jsx39(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs35(Union13, { children: [
|
|
2497
2513
|
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2498
|
-
/* @__PURE__ */
|
|
2514
|
+
/* @__PURE__ */ jsx39(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx39(
|
|
2499
2515
|
Cuboid27,
|
|
2500
2516
|
{
|
|
2501
2517
|
size: [
|
|
@@ -2505,7 +2521,7 @@ var SOD128 = () => {
|
|
|
2505
2521
|
]
|
|
2506
2522
|
}
|
|
2507
2523
|
) }),
|
|
2508
|
-
/* @__PURE__ */
|
|
2524
|
+
/* @__PURE__ */ jsx39(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx39(
|
|
2509
2525
|
Cuboid27,
|
|
2510
2526
|
{
|
|
2511
2527
|
size: [
|
|
@@ -2517,8 +2533,8 @@ var SOD128 = () => {
|
|
|
2517
2533
|
) })
|
|
2518
2534
|
] }),
|
|
2519
2535
|
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2520
|
-
/* @__PURE__ */
|
|
2521
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ jsx39(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx39(Cuboid27, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2537
|
+
/* @__PURE__ */ jsx39(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx39(
|
|
2522
2538
|
Cuboid27,
|
|
2523
2539
|
{
|
|
2524
2540
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2526,7 +2542,7 @@ var SOD128 = () => {
|
|
|
2526
2542
|
) })
|
|
2527
2543
|
] })
|
|
2528
2544
|
] }) }),
|
|
2529
|
-
/* @__PURE__ */
|
|
2545
|
+
/* @__PURE__ */ jsx39(
|
|
2530
2546
|
Cuboid27,
|
|
2531
2547
|
{
|
|
2532
2548
|
color: "#777",
|
|
@@ -2539,7 +2555,7 @@ var SOD128 = () => {
|
|
|
2539
2555
|
|
|
2540
2556
|
// lib/SOD-923.tsx
|
|
2541
2557
|
import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull14, Translate as Translate20, Union as Union14 } from "jscad-fiber";
|
|
2542
|
-
import { Fragment as
|
|
2558
|
+
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2543
2559
|
var SOD923 = () => {
|
|
2544
2560
|
const fullWidth = 0.8;
|
|
2545
2561
|
const bodyLength10 = 0.6;
|
|
@@ -2551,8 +2567,8 @@ var SOD923 = () => {
|
|
|
2551
2567
|
const rightPadCenterX = fullWidth / 2;
|
|
2552
2568
|
const taperOffset = 0.1;
|
|
2553
2569
|
const straightHeight = padThickness;
|
|
2554
|
-
return /* @__PURE__ */ jsxs36(
|
|
2555
|
-
/* @__PURE__ */
|
|
2570
|
+
return /* @__PURE__ */ jsxs36(Fragment36, { children: [
|
|
2571
|
+
/* @__PURE__ */ jsx40(
|
|
2556
2572
|
Cuboid28,
|
|
2557
2573
|
{
|
|
2558
2574
|
color: "#ccc",
|
|
@@ -2560,7 +2576,7 @@ var SOD923 = () => {
|
|
|
2560
2576
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2561
2577
|
}
|
|
2562
2578
|
),
|
|
2563
|
-
/* @__PURE__ */
|
|
2579
|
+
/* @__PURE__ */ jsx40(
|
|
2564
2580
|
Cuboid28,
|
|
2565
2581
|
{
|
|
2566
2582
|
color: "#ccc",
|
|
@@ -2568,11 +2584,11 @@ var SOD923 = () => {
|
|
|
2568
2584
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2569
2585
|
}
|
|
2570
2586
|
),
|
|
2571
|
-
/* @__PURE__ */
|
|
2572
|
-
/* @__PURE__ */
|
|
2587
|
+
/* @__PURE__ */ jsx40(Colorize20, { color: "#222", children: /* @__PURE__ */ jsxs36(Union14, { children: [
|
|
2588
|
+
/* @__PURE__ */ jsx40(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx40(Cuboid28, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2573
2589
|
/* @__PURE__ */ jsxs36(Hull14, { children: [
|
|
2574
|
-
/* @__PURE__ */
|
|
2575
|
-
/* @__PURE__ */
|
|
2590
|
+
/* @__PURE__ */ jsx40(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx40(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2591
|
+
/* @__PURE__ */ jsx40(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx40(
|
|
2576
2592
|
Cuboid28,
|
|
2577
2593
|
{
|
|
2578
2594
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2584,7 +2600,7 @@ var SOD923 = () => {
|
|
|
2584
2600
|
};
|
|
2585
2601
|
|
|
2586
2602
|
// lib/SOT-223.tsx
|
|
2587
|
-
import { Fragment as
|
|
2603
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2588
2604
|
var SOT223 = () => {
|
|
2589
2605
|
const fullWidth = 6.6;
|
|
2590
2606
|
const bodyWidth = 3.5;
|
|
@@ -2597,8 +2613,8 @@ var SOT223 = () => {
|
|
|
2597
2613
|
const padContactLength = 0.5;
|
|
2598
2614
|
const padPitch = 2.3;
|
|
2599
2615
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2600
|
-
return /* @__PURE__ */ jsxs37(
|
|
2601
|
-
/* @__PURE__ */
|
|
2616
|
+
return /* @__PURE__ */ jsxs37(Fragment37, { children: [
|
|
2617
|
+
/* @__PURE__ */ jsx41(
|
|
2602
2618
|
SmdChipLead,
|
|
2603
2619
|
{
|
|
2604
2620
|
rotation: Math.PI,
|
|
@@ -2615,7 +2631,7 @@ var SOT223 = () => {
|
|
|
2615
2631
|
},
|
|
2616
2632
|
4
|
|
2617
2633
|
),
|
|
2618
|
-
/* @__PURE__ */
|
|
2634
|
+
/* @__PURE__ */ jsx41(
|
|
2619
2635
|
SmdChipLead,
|
|
2620
2636
|
{
|
|
2621
2637
|
position: {
|
|
@@ -2631,7 +2647,7 @@ var SOT223 = () => {
|
|
|
2631
2647
|
},
|
|
2632
2648
|
3
|
|
2633
2649
|
),
|
|
2634
|
-
/* @__PURE__ */
|
|
2650
|
+
/* @__PURE__ */ jsx41(
|
|
2635
2651
|
SmdChipLead,
|
|
2636
2652
|
{
|
|
2637
2653
|
position: {
|
|
@@ -2647,7 +2663,7 @@ var SOT223 = () => {
|
|
|
2647
2663
|
},
|
|
2648
2664
|
1
|
|
2649
2665
|
),
|
|
2650
|
-
/* @__PURE__ */
|
|
2666
|
+
/* @__PURE__ */ jsx41(
|
|
2651
2667
|
SmdChipLead,
|
|
2652
2668
|
{
|
|
2653
2669
|
position: {
|
|
@@ -2663,7 +2679,7 @@ var SOT223 = () => {
|
|
|
2663
2679
|
},
|
|
2664
2680
|
2
|
|
2665
2681
|
),
|
|
2666
|
-
/* @__PURE__ */
|
|
2682
|
+
/* @__PURE__ */ jsx41(
|
|
2667
2683
|
ChipBody,
|
|
2668
2684
|
{
|
|
2669
2685
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2679,7 +2695,7 @@ var SOT223 = () => {
|
|
|
2679
2695
|
};
|
|
2680
2696
|
|
|
2681
2697
|
// lib/tqfp.tsx
|
|
2682
|
-
import { Fragment as
|
|
2698
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2683
2699
|
var TQFP = () => {
|
|
2684
2700
|
const pinCount = 64;
|
|
2685
2701
|
const pitch = 0.5;
|
|
@@ -2694,8 +2710,8 @@ var TQFP = () => {
|
|
|
2694
2710
|
const leadHeight = 0.65;
|
|
2695
2711
|
const leadThickness = 0.25;
|
|
2696
2712
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2697
|
-
return /* @__PURE__ */ jsxs38(
|
|
2698
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2713
|
+
return /* @__PURE__ */ jsxs38(Fragment38, { children: [
|
|
2714
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2699
2715
|
SmdChipLead,
|
|
2700
2716
|
{
|
|
2701
2717
|
position: {
|
|
@@ -2711,7 +2727,7 @@ var TQFP = () => {
|
|
|
2711
2727
|
},
|
|
2712
2728
|
`left-${i}`
|
|
2713
2729
|
)),
|
|
2714
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2730
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2715
2731
|
SmdChipLead,
|
|
2716
2732
|
{
|
|
2717
2733
|
rotation: Math.PI,
|
|
@@ -2728,7 +2744,7 @@ var TQFP = () => {
|
|
|
2728
2744
|
},
|
|
2729
2745
|
`right-${i}`
|
|
2730
2746
|
)),
|
|
2731
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2747
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2732
2748
|
SmdChipLead,
|
|
2733
2749
|
{
|
|
2734
2750
|
rotation: Math.PI / 2,
|
|
@@ -2745,7 +2761,7 @@ var TQFP = () => {
|
|
|
2745
2761
|
},
|
|
2746
2762
|
`bottom-${i}`
|
|
2747
2763
|
)),
|
|
2748
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2764
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx42(
|
|
2749
2765
|
SmdChipLead,
|
|
2750
2766
|
{
|
|
2751
2767
|
rotation: -Math.PI / 2,
|
|
@@ -2762,7 +2778,7 @@ var TQFP = () => {
|
|
|
2762
2778
|
},
|
|
2763
2779
|
`top-${i}`
|
|
2764
2780
|
)),
|
|
2765
|
-
/* @__PURE__ */
|
|
2781
|
+
/* @__PURE__ */ jsx42(
|
|
2766
2782
|
ChipBody,
|
|
2767
2783
|
{
|
|
2768
2784
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2780,7 +2796,7 @@ var TQFP = () => {
|
|
|
2780
2796
|
var tqfp_default = TQFP;
|
|
2781
2797
|
|
|
2782
2798
|
// lib/SOT-323.tsx
|
|
2783
|
-
import { Fragment as
|
|
2799
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2784
2800
|
var SOT323 = () => {
|
|
2785
2801
|
const fullWidth = 2.05;
|
|
2786
2802
|
const bodyWidth = 1.25;
|
|
@@ -2792,8 +2808,8 @@ var SOT323 = () => {
|
|
|
2792
2808
|
const padContactLength = 0.2;
|
|
2793
2809
|
const padPitch = 0.65;
|
|
2794
2810
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2795
|
-
return /* @__PURE__ */ jsxs39(
|
|
2796
|
-
/* @__PURE__ */
|
|
2811
|
+
return /* @__PURE__ */ jsxs39(Fragment39, { children: [
|
|
2812
|
+
/* @__PURE__ */ jsx43(
|
|
2797
2813
|
SmdChipLead,
|
|
2798
2814
|
{
|
|
2799
2815
|
rotation: Math.PI,
|
|
@@ -2810,7 +2826,7 @@ var SOT323 = () => {
|
|
|
2810
2826
|
},
|
|
2811
2827
|
4
|
|
2812
2828
|
),
|
|
2813
|
-
/* @__PURE__ */
|
|
2829
|
+
/* @__PURE__ */ jsx43(
|
|
2814
2830
|
SmdChipLead,
|
|
2815
2831
|
{
|
|
2816
2832
|
position: {
|
|
@@ -2826,7 +2842,7 @@ var SOT323 = () => {
|
|
|
2826
2842
|
},
|
|
2827
2843
|
1
|
|
2828
2844
|
),
|
|
2829
|
-
/* @__PURE__ */
|
|
2845
|
+
/* @__PURE__ */ jsx43(
|
|
2830
2846
|
SmdChipLead,
|
|
2831
2847
|
{
|
|
2832
2848
|
position: {
|
|
@@ -2842,7 +2858,7 @@ var SOT323 = () => {
|
|
|
2842
2858
|
},
|
|
2843
2859
|
2
|
|
2844
2860
|
),
|
|
2845
|
-
/* @__PURE__ */
|
|
2861
|
+
/* @__PURE__ */ jsx43(
|
|
2846
2862
|
ChipBody,
|
|
2847
2863
|
{
|
|
2848
2864
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2859,7 +2875,7 @@ var SOT323 = () => {
|
|
|
2859
2875
|
};
|
|
2860
2876
|
|
|
2861
2877
|
// lib/lqfp.tsx
|
|
2862
|
-
import { Fragment as
|
|
2878
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2863
2879
|
var LQFP = ({
|
|
2864
2880
|
pinCount,
|
|
2865
2881
|
pitch,
|
|
@@ -2882,8 +2898,8 @@ var LQFP = ({
|
|
|
2882
2898
|
const leadHeight = 0.8;
|
|
2883
2899
|
const leadThickness = 0.2;
|
|
2884
2900
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
2885
|
-
return /* @__PURE__ */ jsxs40(
|
|
2886
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2901
|
+
return /* @__PURE__ */ jsxs40(Fragment40, { children: [
|
|
2902
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2887
2903
|
SmdChipLead,
|
|
2888
2904
|
{
|
|
2889
2905
|
position: {
|
|
@@ -2899,7 +2915,7 @@ var LQFP = ({
|
|
|
2899
2915
|
},
|
|
2900
2916
|
`left-${i}`
|
|
2901
2917
|
)),
|
|
2902
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2918
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2903
2919
|
SmdChipLead,
|
|
2904
2920
|
{
|
|
2905
2921
|
rotation: Math.PI,
|
|
@@ -2916,7 +2932,7 @@ var LQFP = ({
|
|
|
2916
2932
|
},
|
|
2917
2933
|
`right-${i}`
|
|
2918
2934
|
)),
|
|
2919
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2935
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2920
2936
|
SmdChipLead,
|
|
2921
2937
|
{
|
|
2922
2938
|
rotation: Math.PI / 2,
|
|
@@ -2933,7 +2949,7 @@ var LQFP = ({
|
|
|
2933
2949
|
},
|
|
2934
2950
|
`bottom-${i}`
|
|
2935
2951
|
)),
|
|
2936
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2952
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx44(
|
|
2937
2953
|
SmdChipLead,
|
|
2938
2954
|
{
|
|
2939
2955
|
rotation: -Math.PI / 2,
|
|
@@ -2950,7 +2966,7 @@ var LQFP = ({
|
|
|
2950
2966
|
},
|
|
2951
2967
|
`top-${i}`
|
|
2952
2968
|
)),
|
|
2953
|
-
/* @__PURE__ */
|
|
2969
|
+
/* @__PURE__ */ jsx44(
|
|
2954
2970
|
ChipBody,
|
|
2955
2971
|
{
|
|
2956
2972
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2973,7 +2989,7 @@ var LQFP = ({
|
|
|
2973
2989
|
|
|
2974
2990
|
// lib/SOT-723.tsx
|
|
2975
2991
|
import { Cuboid as Cuboid29, Translate as Translate21, Colorize as Colorize21, Hull as Hull15, Union as Union15 } from "jscad-fiber";
|
|
2976
|
-
import { Fragment as
|
|
2992
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2977
2993
|
var SOT723 = () => {
|
|
2978
2994
|
const bodyWidth = 0.85;
|
|
2979
2995
|
const bodyLength10 = 1.2;
|
|
@@ -2990,9 +3006,9 @@ var SOT723 = () => {
|
|
|
2990
3006
|
const leftTopPadCenterY = 0.4;
|
|
2991
3007
|
const leftBottomPadCenterX = -0.55;
|
|
2992
3008
|
const leftBottomPadCenterY = -0.4;
|
|
2993
|
-
return /* @__PURE__ */ jsxs41(
|
|
2994
|
-
/* @__PURE__ */
|
|
2995
|
-
/* @__PURE__ */
|
|
3009
|
+
return /* @__PURE__ */ jsxs41(Fragment41, { children: [
|
|
3010
|
+
/* @__PURE__ */ jsx45(Colorize21, { color: "#222", children: /* @__PURE__ */ jsxs41(Union15, { children: [
|
|
3011
|
+
/* @__PURE__ */ jsx45(
|
|
2996
3012
|
Cuboid29,
|
|
2997
3013
|
{
|
|
2998
3014
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
@@ -3000,8 +3016,8 @@ var SOT723 = () => {
|
|
|
3000
3016
|
}
|
|
3001
3017
|
),
|
|
3002
3018
|
/* @__PURE__ */ jsxs41(Hull15, { children: [
|
|
3003
|
-
/* @__PURE__ */
|
|
3004
|
-
/* @__PURE__ */
|
|
3019
|
+
/* @__PURE__ */ jsx45(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx45(Cuboid29, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
3020
|
+
/* @__PURE__ */ jsx45(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx45(
|
|
3005
3021
|
Cuboid29,
|
|
3006
3022
|
{
|
|
3007
3023
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -3009,7 +3025,7 @@ var SOT723 = () => {
|
|
|
3009
3025
|
) })
|
|
3010
3026
|
] })
|
|
3011
3027
|
] }) }),
|
|
3012
|
-
/* @__PURE__ */
|
|
3028
|
+
/* @__PURE__ */ jsx45(
|
|
3013
3029
|
Cuboid29,
|
|
3014
3030
|
{
|
|
3015
3031
|
color: "#ccc",
|
|
@@ -3017,7 +3033,7 @@ var SOT723 = () => {
|
|
|
3017
3033
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
3018
3034
|
}
|
|
3019
3035
|
),
|
|
3020
|
-
/* @__PURE__ */
|
|
3036
|
+
/* @__PURE__ */ jsx45(
|
|
3021
3037
|
Cuboid29,
|
|
3022
3038
|
{
|
|
3023
3039
|
color: "#ccc",
|
|
@@ -3025,7 +3041,7 @@ var SOT723 = () => {
|
|
|
3025
3041
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
3026
3042
|
}
|
|
3027
3043
|
),
|
|
3028
|
-
/* @__PURE__ */
|
|
3044
|
+
/* @__PURE__ */ jsx45(
|
|
3029
3045
|
Cuboid29,
|
|
3030
3046
|
{
|
|
3031
3047
|
color: "#ccc",
|
|
@@ -3038,7 +3054,7 @@ var SOT723 = () => {
|
|
|
3038
3054
|
|
|
3039
3055
|
// lib/dfn.tsx
|
|
3040
3056
|
import { Cuboid as Cuboid30 } from "jscad-fiber";
|
|
3041
|
-
import { Fragment as
|
|
3057
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3042
3058
|
var DFN = ({
|
|
3043
3059
|
num_pins,
|
|
3044
3060
|
bodyWidth = 5.3,
|
|
@@ -3065,8 +3081,8 @@ var DFN = ({
|
|
|
3065
3081
|
const pinNumber = i + 1;
|
|
3066
3082
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
3067
3083
|
}
|
|
3068
|
-
return /* @__PURE__ */ jsxs42(
|
|
3069
|
-
/* @__PURE__ */
|
|
3084
|
+
return /* @__PURE__ */ jsxs42(Fragment42, { children: [
|
|
3085
|
+
/* @__PURE__ */ jsx46(
|
|
3070
3086
|
ChipBody,
|
|
3071
3087
|
{
|
|
3072
3088
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3084,7 +3100,7 @@ var DFN = ({
|
|
|
3084
3100
|
}
|
|
3085
3101
|
}
|
|
3086
3102
|
),
|
|
3087
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
3103
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx46(
|
|
3088
3104
|
Cuboid30,
|
|
3089
3105
|
{
|
|
3090
3106
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
@@ -3092,7 +3108,7 @@ var DFN = ({
|
|
|
3092
3108
|
},
|
|
3093
3109
|
i
|
|
3094
3110
|
)),
|
|
3095
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
3111
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx46(
|
|
3096
3112
|
Cuboid30,
|
|
3097
3113
|
{
|
|
3098
3114
|
center: [0, 0, thermalPadThickness / 2],
|
|
@@ -3108,7 +3124,7 @@ var DFN = ({
|
|
|
3108
3124
|
|
|
3109
3125
|
// lib/hc49.tsx
|
|
3110
3126
|
import { Colorize as Colorize22, Cylinder as Cylinder5, Hull as Hull16, RoundedCylinder } from "jscad-fiber";
|
|
3111
|
-
import { Fragment as
|
|
3127
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3112
3128
|
var HC49 = ({
|
|
3113
3129
|
bodyLength: bodyLength10 = 10.2,
|
|
3114
3130
|
bodyWidth = 4.65,
|
|
@@ -3124,10 +3140,10 @@ var HC49 = ({
|
|
|
3124
3140
|
const endCenterX = halfLength - endRadius;
|
|
3125
3141
|
const leadCenterX = leadSpacing / 2;
|
|
3126
3142
|
const baseHeight = 0.85;
|
|
3127
|
-
return /* @__PURE__ */ jsxs43(
|
|
3143
|
+
return /* @__PURE__ */ jsxs43(Fragment43, { children: [
|
|
3128
3144
|
/* @__PURE__ */ jsxs43(Colorize22, { color, children: [
|
|
3129
3145
|
/* @__PURE__ */ jsxs43(Hull16, { children: [
|
|
3130
|
-
/* @__PURE__ */
|
|
3146
|
+
/* @__PURE__ */ jsx47(
|
|
3131
3147
|
RoundedCylinder,
|
|
3132
3148
|
{
|
|
3133
3149
|
height: bodyHeight,
|
|
@@ -3136,7 +3152,7 @@ var HC49 = ({
|
|
|
3136
3152
|
center: [-endCenterX, 0, bodyHeight]
|
|
3137
3153
|
}
|
|
3138
3154
|
),
|
|
3139
|
-
/* @__PURE__ */
|
|
3155
|
+
/* @__PURE__ */ jsx47(
|
|
3140
3156
|
RoundedCylinder,
|
|
3141
3157
|
{
|
|
3142
3158
|
height: bodyHeight,
|
|
@@ -3147,7 +3163,7 @@ var HC49 = ({
|
|
|
3147
3163
|
)
|
|
3148
3164
|
] }),
|
|
3149
3165
|
/* @__PURE__ */ jsxs43(Hull16, { children: [
|
|
3150
|
-
/* @__PURE__ */
|
|
3166
|
+
/* @__PURE__ */ jsx47(
|
|
3151
3167
|
RoundedCylinder,
|
|
3152
3168
|
{
|
|
3153
3169
|
height: baseHeight,
|
|
@@ -3156,7 +3172,7 @@ var HC49 = ({
|
|
|
3156
3172
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
3157
3173
|
}
|
|
3158
3174
|
),
|
|
3159
|
-
/* @__PURE__ */
|
|
3175
|
+
/* @__PURE__ */ jsx47(
|
|
3160
3176
|
RoundedCylinder,
|
|
3161
3177
|
{
|
|
3162
3178
|
height: baseHeight,
|
|
@@ -3168,7 +3184,7 @@ var HC49 = ({
|
|
|
3168
3184
|
] })
|
|
3169
3185
|
] }),
|
|
3170
3186
|
/* @__PURE__ */ jsxs43(Colorize22, { color: leadColor, children: [
|
|
3171
|
-
/* @__PURE__ */
|
|
3187
|
+
/* @__PURE__ */ jsx47(
|
|
3172
3188
|
Cylinder5,
|
|
3173
3189
|
{
|
|
3174
3190
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3176,7 +3192,7 @@ var HC49 = ({
|
|
|
3176
3192
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
3177
3193
|
}
|
|
3178
3194
|
),
|
|
3179
|
-
/* @__PURE__ */
|
|
3195
|
+
/* @__PURE__ */ jsx47(
|
|
3180
3196
|
Cylinder5,
|
|
3181
3197
|
{
|
|
3182
3198
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3196,7 +3212,7 @@ import {
|
|
|
3196
3212
|
Rotate as Rotate7,
|
|
3197
3213
|
RoundedCuboid as RoundedCuboid2
|
|
3198
3214
|
} from "jscad-fiber";
|
|
3199
|
-
import { Fragment as
|
|
3215
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3200
3216
|
var MicroMELF = ({
|
|
3201
3217
|
bodyLength: bodyLength10 = 1.4,
|
|
3202
3218
|
bodyDiameter = 1.1,
|
|
@@ -3205,9 +3221,9 @@ var MicroMELF = ({
|
|
|
3205
3221
|
cathodeIdentification = "#111"
|
|
3206
3222
|
}) => {
|
|
3207
3223
|
const padLength = 0.2;
|
|
3208
|
-
return /* @__PURE__ */ jsxs44(
|
|
3209
|
-
/* @__PURE__ */
|
|
3210
|
-
/* @__PURE__ */
|
|
3224
|
+
return /* @__PURE__ */ jsxs44(Fragment44, { children: [
|
|
3225
|
+
/* @__PURE__ */ jsx48(Colorize23, { color, children: /* @__PURE__ */ jsxs44(Rotate7, { rotation: [0, "90deg", 0], children: [
|
|
3226
|
+
/* @__PURE__ */ jsx48(
|
|
3211
3227
|
RoundedCuboid2,
|
|
3212
3228
|
{
|
|
3213
3229
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -3215,7 +3231,7 @@ var MicroMELF = ({
|
|
|
3215
3231
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
3216
3232
|
}
|
|
3217
3233
|
),
|
|
3218
|
-
/* @__PURE__ */
|
|
3234
|
+
/* @__PURE__ */ jsx48(
|
|
3219
3235
|
Cylinder6,
|
|
3220
3236
|
{
|
|
3221
3237
|
height: padLength / 2,
|
|
@@ -3224,7 +3240,7 @@ var MicroMELF = ({
|
|
|
3224
3240
|
}
|
|
3225
3241
|
)
|
|
3226
3242
|
] }) }),
|
|
3227
|
-
/* @__PURE__ */
|
|
3243
|
+
/* @__PURE__ */ jsx48(Colorize23, { color: cathodeIdentification, children: /* @__PURE__ */ jsx48(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3228
3244
|
RoundedCuboid2,
|
|
3229
3245
|
{
|
|
3230
3246
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -3232,7 +3248,7 @@ var MicroMELF = ({
|
|
|
3232
3248
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
3233
3249
|
}
|
|
3234
3250
|
) }) }),
|
|
3235
|
-
/* @__PURE__ */
|
|
3251
|
+
/* @__PURE__ */ jsx48(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3236
3252
|
RoundedCylinder2,
|
|
3237
3253
|
{
|
|
3238
3254
|
height: padLength,
|
|
@@ -3241,7 +3257,7 @@ var MicroMELF = ({
|
|
|
3241
3257
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3242
3258
|
}
|
|
3243
3259
|
) }) }),
|
|
3244
|
-
/* @__PURE__ */
|
|
3260
|
+
/* @__PURE__ */ jsx48(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
|
|
3245
3261
|
RoundedCylinder2,
|
|
3246
3262
|
{
|
|
3247
3263
|
height: padLength,
|
|
@@ -3255,7 +3271,7 @@ var MicroMELF = ({
|
|
|
3255
3271
|
|
|
3256
3272
|
// lib/MINIMELF.tsx
|
|
3257
3273
|
import { Colorize as Colorize24, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
|
|
3258
|
-
import { Fragment as
|
|
3274
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3259
3275
|
var MINIMELF = ({
|
|
3260
3276
|
bodyLength: bodyLength10 = 3.5,
|
|
3261
3277
|
bodyDiameter = 1.5,
|
|
@@ -3263,8 +3279,8 @@ var MINIMELF = ({
|
|
|
3263
3279
|
contactColor = "#c6c6c6"
|
|
3264
3280
|
}) => {
|
|
3265
3281
|
const padLength = 0.5;
|
|
3266
|
-
return /* @__PURE__ */ jsxs45(
|
|
3267
|
-
/* @__PURE__ */
|
|
3282
|
+
return /* @__PURE__ */ jsxs45(Fragment45, { children: [
|
|
3283
|
+
/* @__PURE__ */ jsx49(Colorize24, { color, children: /* @__PURE__ */ jsx49(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3268
3284
|
RoundedCylinder3,
|
|
3269
3285
|
{
|
|
3270
3286
|
height: bodyLength10,
|
|
@@ -3273,7 +3289,7 @@ var MINIMELF = ({
|
|
|
3273
3289
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3274
3290
|
}
|
|
3275
3291
|
) }) }),
|
|
3276
|
-
/* @__PURE__ */
|
|
3292
|
+
/* @__PURE__ */ jsx49(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx49(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3277
3293
|
RoundedCylinder3,
|
|
3278
3294
|
{
|
|
3279
3295
|
height: padLength,
|
|
@@ -3282,7 +3298,7 @@ var MINIMELF = ({
|
|
|
3282
3298
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3283
3299
|
}
|
|
3284
3300
|
) }) }),
|
|
3285
|
-
/* @__PURE__ */
|
|
3301
|
+
/* @__PURE__ */ jsx49(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx49(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx49(
|
|
3286
3302
|
RoundedCylinder3,
|
|
3287
3303
|
{
|
|
3288
3304
|
height: padLength,
|
|
@@ -3296,7 +3312,7 @@ var MINIMELF = ({
|
|
|
3296
3312
|
|
|
3297
3313
|
// lib/MELF.tsx
|
|
3298
3314
|
import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
|
|
3299
|
-
import { Fragment as
|
|
3315
|
+
import { Fragment as Fragment46, jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3300
3316
|
var MELF = ({
|
|
3301
3317
|
bodyLength: bodyLength10 = 3.9,
|
|
3302
3318
|
bodyDiameter = 2.5,
|
|
@@ -3304,8 +3320,8 @@ var MELF = ({
|
|
|
3304
3320
|
contactColor = "#c6c6c6"
|
|
3305
3321
|
}) => {
|
|
3306
3322
|
const padLength = 0.55;
|
|
3307
|
-
return /* @__PURE__ */ jsxs46(
|
|
3308
|
-
/* @__PURE__ */
|
|
3323
|
+
return /* @__PURE__ */ jsxs46(Fragment46, { children: [
|
|
3324
|
+
/* @__PURE__ */ jsx50(Colorize25, { color, children: /* @__PURE__ */ jsx50(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3309
3325
|
RoundedCylinder4,
|
|
3310
3326
|
{
|
|
3311
3327
|
height: bodyLength10,
|
|
@@ -3314,7 +3330,7 @@ var MELF = ({
|
|
|
3314
3330
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3315
3331
|
}
|
|
3316
3332
|
) }) }),
|
|
3317
|
-
/* @__PURE__ */
|
|
3333
|
+
/* @__PURE__ */ jsx50(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx50(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3318
3334
|
RoundedCylinder4,
|
|
3319
3335
|
{
|
|
3320
3336
|
height: padLength,
|
|
@@ -3323,7 +3339,7 @@ var MELF = ({
|
|
|
3323
3339
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3324
3340
|
}
|
|
3325
3341
|
) }) }),
|
|
3326
|
-
/* @__PURE__ */
|
|
3342
|
+
/* @__PURE__ */ jsx50(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx50(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx50(
|
|
3327
3343
|
RoundedCylinder4,
|
|
3328
3344
|
{
|
|
3329
3345
|
height: padLength,
|
|
@@ -3336,7 +3352,7 @@ var MELF = ({
|
|
|
3336
3352
|
};
|
|
3337
3353
|
|
|
3338
3354
|
// lib/ms012.tsx
|
|
3339
|
-
import { Fragment as
|
|
3355
|
+
import { Fragment as Fragment47, jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3340
3356
|
var MS012 = ({
|
|
3341
3357
|
pinCount,
|
|
3342
3358
|
padContactLength = 0.6,
|
|
@@ -3351,8 +3367,8 @@ var MS012 = ({
|
|
|
3351
3367
|
const bodyLength10 = 3.9;
|
|
3352
3368
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3353
3369
|
const leadThickness = 0.2;
|
|
3354
|
-
return /* @__PURE__ */ jsxs47(
|
|
3355
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3370
|
+
return /* @__PURE__ */ jsxs47(Fragment47, { children: [
|
|
3371
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx51(
|
|
3356
3372
|
SmdChipLead,
|
|
3357
3373
|
{
|
|
3358
3374
|
position: {
|
|
@@ -3368,7 +3384,7 @@ var MS012 = ({
|
|
|
3368
3384
|
},
|
|
3369
3385
|
i
|
|
3370
3386
|
)),
|
|
3371
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3387
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx51(
|
|
3372
3388
|
SmdChipLead,
|
|
3373
3389
|
{
|
|
3374
3390
|
rotation: Math.PI,
|
|
@@ -3385,7 +3401,7 @@ var MS012 = ({
|
|
|
3385
3401
|
},
|
|
3386
3402
|
`right-${i}`
|
|
3387
3403
|
)),
|
|
3388
|
-
/* @__PURE__ */
|
|
3404
|
+
/* @__PURE__ */ jsx51(
|
|
3389
3405
|
ChipBody,
|
|
3390
3406
|
{
|
|
3391
3407
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3405,7 +3421,7 @@ var MS012 = ({
|
|
|
3405
3421
|
};
|
|
3406
3422
|
|
|
3407
3423
|
// lib/ms013.tsx
|
|
3408
|
-
import { Fragment as
|
|
3424
|
+
import { Fragment as Fragment48, jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3409
3425
|
var MS013 = ({
|
|
3410
3426
|
pinCount = 16,
|
|
3411
3427
|
padContactLength = 0.6,
|
|
@@ -3420,8 +3436,8 @@ var MS013 = ({
|
|
|
3420
3436
|
const bodyLength10 = 10.3;
|
|
3421
3437
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3422
3438
|
const leadThickness = 0.2;
|
|
3423
|
-
return /* @__PURE__ */ jsxs48(
|
|
3424
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3439
|
+
return /* @__PURE__ */ jsxs48(Fragment48, { children: [
|
|
3440
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx52(
|
|
3425
3441
|
SmdChipLead,
|
|
3426
3442
|
{
|
|
3427
3443
|
position: {
|
|
@@ -3437,7 +3453,7 @@ var MS013 = ({
|
|
|
3437
3453
|
},
|
|
3438
3454
|
i
|
|
3439
3455
|
)),
|
|
3440
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3456
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx52(
|
|
3441
3457
|
SmdChipLead,
|
|
3442
3458
|
{
|
|
3443
3459
|
rotation: Math.PI,
|
|
@@ -3454,7 +3470,7 @@ var MS013 = ({
|
|
|
3454
3470
|
},
|
|
3455
3471
|
`right-${i}`
|
|
3456
3472
|
)),
|
|
3457
|
-
/* @__PURE__ */
|
|
3473
|
+
/* @__PURE__ */ jsx52(
|
|
3458
3474
|
ChipBody,
|
|
3459
3475
|
{
|
|
3460
3476
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3483,7 +3499,7 @@ import {
|
|
|
3483
3499
|
Cylinder as Cylinder7,
|
|
3484
3500
|
Subtract as Subtract4
|
|
3485
3501
|
} from "jscad-fiber";
|
|
3486
|
-
import { Fragment as
|
|
3502
|
+
import { Fragment as Fragment49, jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3487
3503
|
var TO220 = () => {
|
|
3488
3504
|
const fullLength10 = 20;
|
|
3489
3505
|
const bodyLength10 = 9.9;
|
|
@@ -3502,10 +3518,10 @@ var TO220 = () => {
|
|
|
3502
3518
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3503
3519
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3504
3520
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3505
|
-
return /* @__PURE__ */
|
|
3521
|
+
return /* @__PURE__ */ jsx53(Translate22, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs49(Fragment49, { children: [
|
|
3506
3522
|
/* @__PURE__ */ jsxs49(Rotate10, { rotation: [0, 55, -55], children: [
|
|
3507
3523
|
/* @__PURE__ */ jsxs49(Subtract4, { children: [
|
|
3508
|
-
/* @__PURE__ */
|
|
3524
|
+
/* @__PURE__ */ jsx53(
|
|
3509
3525
|
Cuboid33,
|
|
3510
3526
|
{
|
|
3511
3527
|
color: "#ccc",
|
|
@@ -3513,7 +3529,7 @@ var TO220 = () => {
|
|
|
3513
3529
|
center: [padCenterX, 0, padThickness - 2]
|
|
3514
3530
|
}
|
|
3515
3531
|
),
|
|
3516
|
-
/* @__PURE__ */
|
|
3532
|
+
/* @__PURE__ */ jsx53(
|
|
3517
3533
|
Cylinder7,
|
|
3518
3534
|
{
|
|
3519
3535
|
color: "black",
|
|
@@ -3523,7 +3539,7 @@ var TO220 = () => {
|
|
|
3523
3539
|
}
|
|
3524
3540
|
)
|
|
3525
3541
|
] }),
|
|
3526
|
-
/* @__PURE__ */
|
|
3542
|
+
/* @__PURE__ */ jsx53(Colorize26, { color: "#222", children: /* @__PURE__ */ jsx53(
|
|
3527
3543
|
ChipBody,
|
|
3528
3544
|
{
|
|
3529
3545
|
width: bodyWidth,
|
|
@@ -3537,29 +3553,29 @@ var TO220 = () => {
|
|
|
3537
3553
|
}
|
|
3538
3554
|
) })
|
|
3539
3555
|
] }),
|
|
3540
|
-
/* @__PURE__ */
|
|
3556
|
+
/* @__PURE__ */ jsx53(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3541
3557
|
const x = prongCenterX;
|
|
3542
3558
|
const y = (i - 1) * prongPitch;
|
|
3543
3559
|
const z = -prongHeight - 0.6;
|
|
3544
3560
|
return /* @__PURE__ */ jsxs49(Colorize26, { color: "gold", children: [
|
|
3545
3561
|
/* @__PURE__ */ jsxs49(Hull17, { children: [
|
|
3546
|
-
/* @__PURE__ */
|
|
3547
|
-
/* @__PURE__ */
|
|
3562
|
+
/* @__PURE__ */ jsx53(Translate22, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx53(Cuboid33, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
|
|
3563
|
+
/* @__PURE__ */ jsx53(
|
|
3548
3564
|
Translate22,
|
|
3549
3565
|
{
|
|
3550
3566
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3551
|
-
children: /* @__PURE__ */
|
|
3567
|
+
children: /* @__PURE__ */ jsx53(Cuboid33, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3552
3568
|
}
|
|
3553
3569
|
)
|
|
3554
3570
|
] }),
|
|
3555
|
-
/* @__PURE__ */
|
|
3571
|
+
/* @__PURE__ */ jsx53(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx53(Cuboid33, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3556
3572
|
] }, `prong-${i}`);
|
|
3557
3573
|
}) })
|
|
3558
3574
|
] }) });
|
|
3559
3575
|
};
|
|
3560
3576
|
|
|
3561
3577
|
// lib/SOT-457.tsx
|
|
3562
|
-
import { Fragment as
|
|
3578
|
+
import { Fragment as Fragment50, jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3563
3579
|
var SOT457 = () => {
|
|
3564
3580
|
const fullWidth = 2.8;
|
|
3565
3581
|
const bodyWidth = 1.6;
|
|
@@ -3571,8 +3587,8 @@ var SOT457 = () => {
|
|
|
3571
3587
|
const padContactLength = 0.5;
|
|
3572
3588
|
const padPitch = 0.95;
|
|
3573
3589
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3574
|
-
return /* @__PURE__ */ jsxs50(
|
|
3575
|
-
/* @__PURE__ */
|
|
3590
|
+
return /* @__PURE__ */ jsxs50(Fragment50, { children: [
|
|
3591
|
+
/* @__PURE__ */ jsx54(
|
|
3576
3592
|
SmdChipLead,
|
|
3577
3593
|
{
|
|
3578
3594
|
rotation: Math.PI,
|
|
@@ -3589,7 +3605,7 @@ var SOT457 = () => {
|
|
|
3589
3605
|
},
|
|
3590
3606
|
1
|
|
3591
3607
|
),
|
|
3592
|
-
/* @__PURE__ */
|
|
3608
|
+
/* @__PURE__ */ jsx54(
|
|
3593
3609
|
SmdChipLead,
|
|
3594
3610
|
{
|
|
3595
3611
|
rotation: Math.PI,
|
|
@@ -3606,7 +3622,7 @@ var SOT457 = () => {
|
|
|
3606
3622
|
},
|
|
3607
3623
|
2
|
|
3608
3624
|
),
|
|
3609
|
-
/* @__PURE__ */
|
|
3625
|
+
/* @__PURE__ */ jsx54(
|
|
3610
3626
|
SmdChipLead,
|
|
3611
3627
|
{
|
|
3612
3628
|
rotation: Math.PI,
|
|
@@ -3623,7 +3639,7 @@ var SOT457 = () => {
|
|
|
3623
3639
|
},
|
|
3624
3640
|
3
|
|
3625
3641
|
),
|
|
3626
|
-
/* @__PURE__ */
|
|
3642
|
+
/* @__PURE__ */ jsx54(
|
|
3627
3643
|
SmdChipLead,
|
|
3628
3644
|
{
|
|
3629
3645
|
position: {
|
|
@@ -3639,7 +3655,7 @@ var SOT457 = () => {
|
|
|
3639
3655
|
},
|
|
3640
3656
|
3
|
|
3641
3657
|
),
|
|
3642
|
-
/* @__PURE__ */
|
|
3658
|
+
/* @__PURE__ */ jsx54(
|
|
3643
3659
|
SmdChipLead,
|
|
3644
3660
|
{
|
|
3645
3661
|
position: {
|
|
@@ -3655,7 +3671,7 @@ var SOT457 = () => {
|
|
|
3655
3671
|
},
|
|
3656
3672
|
1
|
|
3657
3673
|
),
|
|
3658
|
-
/* @__PURE__ */
|
|
3674
|
+
/* @__PURE__ */ jsx54(
|
|
3659
3675
|
SmdChipLead,
|
|
3660
3676
|
{
|
|
3661
3677
|
position: {
|
|
@@ -3671,7 +3687,7 @@ var SOT457 = () => {
|
|
|
3671
3687
|
},
|
|
3672
3688
|
2
|
|
3673
3689
|
),
|
|
3674
|
-
/* @__PURE__ */
|
|
3690
|
+
/* @__PURE__ */ jsx54(
|
|
3675
3691
|
ChipBody,
|
|
3676
3692
|
{
|
|
3677
3693
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3692,7 +3708,7 @@ var SOT457 = () => {
|
|
|
3692
3708
|
|
|
3693
3709
|
// lib/SOT-963.tsx
|
|
3694
3710
|
import { Cuboid as Cuboid34 } from "jscad-fiber";
|
|
3695
|
-
import { Fragment as
|
|
3711
|
+
import { Fragment as Fragment51, jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3696
3712
|
var SOT963 = () => {
|
|
3697
3713
|
const bodyWidth = 0.8;
|
|
3698
3714
|
const bodyLength10 = 1;
|
|
@@ -3703,8 +3719,8 @@ var SOT963 = () => {
|
|
|
3703
3719
|
const pitch = 0.35;
|
|
3704
3720
|
const pinsPerSide = 3;
|
|
3705
3721
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3706
|
-
return /* @__PURE__ */ jsxs51(
|
|
3707
|
-
/* @__PURE__ */
|
|
3722
|
+
return /* @__PURE__ */ jsxs51(Fragment51, { children: [
|
|
3723
|
+
/* @__PURE__ */ jsx55(
|
|
3708
3724
|
ChipBody,
|
|
3709
3725
|
{
|
|
3710
3726
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3724,7 +3740,7 @@ var SOT963 = () => {
|
|
|
3724
3740
|
),
|
|
3725
3741
|
[0, 1, 2].map((i) => {
|
|
3726
3742
|
const y = -pinSpan / 2 + i * pitch;
|
|
3727
|
-
return /* @__PURE__ */
|
|
3743
|
+
return /* @__PURE__ */ jsx55(
|
|
3728
3744
|
Cuboid34,
|
|
3729
3745
|
{
|
|
3730
3746
|
center: [
|
|
@@ -3739,7 +3755,7 @@ var SOT963 = () => {
|
|
|
3739
3755
|
}),
|
|
3740
3756
|
[0, 1, 2].map((i) => {
|
|
3741
3757
|
const y = -pinSpan / 2 + i * pitch;
|
|
3742
|
-
return /* @__PURE__ */
|
|
3758
|
+
return /* @__PURE__ */ jsx55(
|
|
3743
3759
|
Cuboid34,
|
|
3744
3760
|
{
|
|
3745
3761
|
center: [
|
|
@@ -3764,7 +3780,7 @@ import {
|
|
|
3764
3780
|
Cylinder as Cylinder8,
|
|
3765
3781
|
Subtract as Subtract5
|
|
3766
3782
|
} from "jscad-fiber";
|
|
3767
|
-
import { jsx as
|
|
3783
|
+
import { jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3768
3784
|
var TO92 = () => {
|
|
3769
3785
|
const bodyRadius = 2.4;
|
|
3770
3786
|
const bodyHeight = 4.5;
|
|
@@ -3786,23 +3802,23 @@ var TO92 = () => {
|
|
|
3786
3802
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
3787
3803
|
const sideLeadZ = -7.5;
|
|
3788
3804
|
return /* @__PURE__ */ jsxs52(Translate23, { center: [0, 1, 10.5], children: [
|
|
3789
|
-
/* @__PURE__ */
|
|
3790
|
-
/* @__PURE__ */
|
|
3791
|
-
/* @__PURE__ */
|
|
3805
|
+
/* @__PURE__ */ jsx56(Colorize27, { color: bodyColor, children: /* @__PURE__ */ jsxs52(Subtract5, { children: [
|
|
3806
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx56(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
|
|
3807
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx56(Cuboid35, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
|
|
3792
3808
|
] }) }),
|
|
3793
|
-
/* @__PURE__ */
|
|
3809
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadTipPos1, children: /* @__PURE__ */ jsx56(Cuboid35, { size: leadTipSize }) }),
|
|
3794
3810
|
/* @__PURE__ */ jsxs52(Hull18, { children: [
|
|
3795
|
-
/* @__PURE__ */
|
|
3796
|
-
/* @__PURE__ */
|
|
3811
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadMidPosA, children: /* @__PURE__ */ jsx56(Cuboid35, { size: leadSmallSize }) }),
|
|
3812
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadMidPosB, children: /* @__PURE__ */ jsx56(Cuboid35, { size: leadSmallSize }) })
|
|
3797
3813
|
] }),
|
|
3798
|
-
/* @__PURE__ */
|
|
3799
|
-
/* @__PURE__ */
|
|
3800
|
-
/* @__PURE__ */
|
|
3814
|
+
/* @__PURE__ */ jsx56(Translate23, { center: leadTipPos2, children: /* @__PURE__ */ jsx56(Cuboid35, { size: [leadLength, legWidth, 12.2] }) }),
|
|
3815
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx56(Cuboid35, { size: [leadLength, legWidth, 15] }) }),
|
|
3816
|
+
/* @__PURE__ */ jsx56(Translate23, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx56(Cuboid35, { size: [leadLength, legWidth, 15] }) })
|
|
3801
3817
|
] });
|
|
3802
3818
|
};
|
|
3803
3819
|
|
|
3804
3820
|
// lib/SOT-363.tsx
|
|
3805
|
-
import { Fragment as
|
|
3821
|
+
import { Fragment as Fragment52, jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
3806
3822
|
var SOT363 = () => {
|
|
3807
3823
|
const fullWidth = 2;
|
|
3808
3824
|
const bodyWidth = 1.25;
|
|
@@ -3813,8 +3829,8 @@ var SOT363 = () => {
|
|
|
3813
3829
|
const leadHeight = 0.85;
|
|
3814
3830
|
const padContactLength = 0.3;
|
|
3815
3831
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3816
|
-
return /* @__PURE__ */ jsxs53(
|
|
3817
|
-
/* @__PURE__ */
|
|
3832
|
+
return /* @__PURE__ */ jsxs53(Fragment52, { children: [
|
|
3833
|
+
/* @__PURE__ */ jsx57(
|
|
3818
3834
|
SmdChipLead,
|
|
3819
3835
|
{
|
|
3820
3836
|
rotation: Math.PI,
|
|
@@ -3831,7 +3847,7 @@ var SOT363 = () => {
|
|
|
3831
3847
|
},
|
|
3832
3848
|
1
|
|
3833
3849
|
),
|
|
3834
|
-
/* @__PURE__ */
|
|
3850
|
+
/* @__PURE__ */ jsx57(
|
|
3835
3851
|
SmdChipLead,
|
|
3836
3852
|
{
|
|
3837
3853
|
rotation: Math.PI,
|
|
@@ -3848,7 +3864,7 @@ var SOT363 = () => {
|
|
|
3848
3864
|
},
|
|
3849
3865
|
2
|
|
3850
3866
|
),
|
|
3851
|
-
/* @__PURE__ */
|
|
3867
|
+
/* @__PURE__ */ jsx57(
|
|
3852
3868
|
SmdChipLead,
|
|
3853
3869
|
{
|
|
3854
3870
|
rotation: Math.PI,
|
|
@@ -3865,7 +3881,7 @@ var SOT363 = () => {
|
|
|
3865
3881
|
},
|
|
3866
3882
|
3
|
|
3867
3883
|
),
|
|
3868
|
-
/* @__PURE__ */
|
|
3884
|
+
/* @__PURE__ */ jsx57(
|
|
3869
3885
|
SmdChipLead,
|
|
3870
3886
|
{
|
|
3871
3887
|
position: {
|
|
@@ -3881,7 +3897,7 @@ var SOT363 = () => {
|
|
|
3881
3897
|
},
|
|
3882
3898
|
3
|
|
3883
3899
|
),
|
|
3884
|
-
/* @__PURE__ */
|
|
3900
|
+
/* @__PURE__ */ jsx57(
|
|
3885
3901
|
SmdChipLead,
|
|
3886
3902
|
{
|
|
3887
3903
|
position: {
|
|
@@ -3897,7 +3913,7 @@ var SOT363 = () => {
|
|
|
3897
3913
|
},
|
|
3898
3914
|
1
|
|
3899
3915
|
),
|
|
3900
|
-
/* @__PURE__ */
|
|
3916
|
+
/* @__PURE__ */ jsx57(
|
|
3901
3917
|
SmdChipLead,
|
|
3902
3918
|
{
|
|
3903
3919
|
position: {
|
|
@@ -3913,7 +3929,7 @@ var SOT363 = () => {
|
|
|
3913
3929
|
},
|
|
3914
3930
|
2
|
|
3915
3931
|
),
|
|
3916
|
-
/* @__PURE__ */
|
|
3932
|
+
/* @__PURE__ */ jsx57(
|
|
3917
3933
|
ChipBody,
|
|
3918
3934
|
{
|
|
3919
3935
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3935,7 +3951,7 @@ var SOT_363_default = SOT363;
|
|
|
3935
3951
|
|
|
3936
3952
|
// lib/SOT-886.tsx
|
|
3937
3953
|
import { Cuboid as Cuboid36 } from "jscad-fiber";
|
|
3938
|
-
import { Fragment as
|
|
3954
|
+
import { Fragment as Fragment53, jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
3939
3955
|
var SOT886 = () => {
|
|
3940
3956
|
const bodyWidth = 1;
|
|
3941
3957
|
const bodyLength10 = 1.45;
|
|
@@ -3946,8 +3962,8 @@ var SOT886 = () => {
|
|
|
3946
3962
|
const pitch = 0.5;
|
|
3947
3963
|
const pinsPerSide = 3;
|
|
3948
3964
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3949
|
-
return /* @__PURE__ */ jsxs54(
|
|
3950
|
-
/* @__PURE__ */
|
|
3965
|
+
return /* @__PURE__ */ jsxs54(Fragment53, { children: [
|
|
3966
|
+
/* @__PURE__ */ jsx58(
|
|
3951
3967
|
ChipBody,
|
|
3952
3968
|
{
|
|
3953
3969
|
center: { x: 0, y: 0, z: terminalThickness },
|
|
@@ -3962,7 +3978,7 @@ var SOT886 = () => {
|
|
|
3962
3978
|
),
|
|
3963
3979
|
[0, 1, 2].map((i) => {
|
|
3964
3980
|
const y = -pinSpan / 2 + i * pitch;
|
|
3965
|
-
return /* @__PURE__ */
|
|
3981
|
+
return /* @__PURE__ */ jsx58(
|
|
3966
3982
|
Cuboid36,
|
|
3967
3983
|
{
|
|
3968
3984
|
center: [
|
|
@@ -3977,7 +3993,7 @@ var SOT886 = () => {
|
|
|
3977
3993
|
}),
|
|
3978
3994
|
[0, 1, 2].map((i) => {
|
|
3979
3995
|
const y = -pinSpan / 2 + i * pitch;
|
|
3980
|
-
return /* @__PURE__ */
|
|
3996
|
+
return /* @__PURE__ */ jsx58(
|
|
3981
3997
|
Cuboid36,
|
|
3982
3998
|
{
|
|
3983
3999
|
center: [
|
|
@@ -3995,7 +4011,7 @@ var SOT886 = () => {
|
|
|
3995
4011
|
|
|
3996
4012
|
// lib/sod-323.tsx
|
|
3997
4013
|
import { Colorize as Colorize28, Cuboid as Cuboid37 } from "jscad-fiber";
|
|
3998
|
-
import { Fragment as
|
|
4014
|
+
import { Fragment as Fragment54, jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
3999
4015
|
var SOD323 = () => {
|
|
4000
4016
|
const fullWidth = 2.5;
|
|
4001
4017
|
const bodyLength10 = 1.25;
|
|
@@ -4007,8 +4023,8 @@ var SOD323 = () => {
|
|
|
4007
4023
|
const padCenterX = bodyWidth / 2;
|
|
4008
4024
|
const bodyDistance = 0.45;
|
|
4009
4025
|
const leadHeight = 0.7;
|
|
4010
|
-
return /* @__PURE__ */ jsxs55(
|
|
4011
|
-
/* @__PURE__ */
|
|
4026
|
+
return /* @__PURE__ */ jsxs55(Fragment54, { children: [
|
|
4027
|
+
/* @__PURE__ */ jsx59(
|
|
4012
4028
|
SmdChipLead,
|
|
4013
4029
|
{
|
|
4014
4030
|
position: {
|
|
@@ -4024,7 +4040,7 @@ var SOD323 = () => {
|
|
|
4024
4040
|
},
|
|
4025
4041
|
1
|
|
4026
4042
|
),
|
|
4027
|
-
/* @__PURE__ */
|
|
4043
|
+
/* @__PURE__ */ jsx59(
|
|
4028
4044
|
SmdChipLead,
|
|
4029
4045
|
{
|
|
4030
4046
|
rotation: Math.PI,
|
|
@@ -4041,7 +4057,7 @@ var SOD323 = () => {
|
|
|
4041
4057
|
},
|
|
4042
4058
|
1
|
|
4043
4059
|
),
|
|
4044
|
-
/* @__PURE__ */
|
|
4060
|
+
/* @__PURE__ */ jsx59(Colorize28, { color: "#222", children: /* @__PURE__ */ jsx59(
|
|
4045
4061
|
ChipBody,
|
|
4046
4062
|
{
|
|
4047
4063
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4054,7 +4070,7 @@ var SOD323 = () => {
|
|
|
4054
4070
|
heightAboveSurface: 0.05
|
|
4055
4071
|
}
|
|
4056
4072
|
) }),
|
|
4057
|
-
/* @__PURE__ */
|
|
4073
|
+
/* @__PURE__ */ jsx59(
|
|
4058
4074
|
Cuboid37,
|
|
4059
4075
|
{
|
|
4060
4076
|
color: "#777",
|
|
@@ -4067,7 +4083,7 @@ var SOD323 = () => {
|
|
|
4067
4083
|
|
|
4068
4084
|
// lib/sod-323F.tsx
|
|
4069
4085
|
import { Colorize as Colorize29, Cuboid as Cuboid38, Hull as Hull20, Translate as Translate25, Union as Union17 } from "jscad-fiber";
|
|
4070
|
-
import { Fragment as
|
|
4086
|
+
import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4071
4087
|
var SOD323F = () => {
|
|
4072
4088
|
const fullWidth = 1.7;
|
|
4073
4089
|
const bodyLength10 = 1.25;
|
|
@@ -4079,8 +4095,8 @@ var SOD323F = () => {
|
|
|
4079
4095
|
const rightPadCenterX = fullWidth / 2 + padLength / 2;
|
|
4080
4096
|
const taperOffset = 0.2;
|
|
4081
4097
|
const straightHeight = padThickness;
|
|
4082
|
-
return /* @__PURE__ */ jsxs56(
|
|
4083
|
-
/* @__PURE__ */
|
|
4098
|
+
return /* @__PURE__ */ jsxs56(Fragment55, { children: [
|
|
4099
|
+
/* @__PURE__ */ jsx60(
|
|
4084
4100
|
Cuboid38,
|
|
4085
4101
|
{
|
|
4086
4102
|
color: "#ccc",
|
|
@@ -4088,7 +4104,7 @@ var SOD323F = () => {
|
|
|
4088
4104
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4089
4105
|
}
|
|
4090
4106
|
),
|
|
4091
|
-
/* @__PURE__ */
|
|
4107
|
+
/* @__PURE__ */ jsx60(
|
|
4092
4108
|
Cuboid38,
|
|
4093
4109
|
{
|
|
4094
4110
|
color: "#ccc",
|
|
@@ -4096,11 +4112,11 @@ var SOD323F = () => {
|
|
|
4096
4112
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4097
4113
|
}
|
|
4098
4114
|
),
|
|
4099
|
-
/* @__PURE__ */
|
|
4100
|
-
/* @__PURE__ */
|
|
4115
|
+
/* @__PURE__ */ jsx60(Colorize29, { color: "#222", children: /* @__PURE__ */ jsxs56(Union17, { children: [
|
|
4116
|
+
/* @__PURE__ */ jsx60(Translate25, { z: straightHeight / 2, children: /* @__PURE__ */ jsx60(Cuboid38, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
4101
4117
|
/* @__PURE__ */ jsxs56(Hull20, { children: [
|
|
4102
|
-
/* @__PURE__ */
|
|
4103
|
-
/* @__PURE__ */
|
|
4118
|
+
/* @__PURE__ */ jsx60(Translate25, { z: straightHeight, children: /* @__PURE__ */ jsx60(Cuboid38, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
4119
|
+
/* @__PURE__ */ jsx60(Translate25, { z: bodyHeight, children: /* @__PURE__ */ jsx60(
|
|
4104
4120
|
Cuboid38,
|
|
4105
4121
|
{
|
|
4106
4122
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -4108,7 +4124,7 @@ var SOD323F = () => {
|
|
|
4108
4124
|
) })
|
|
4109
4125
|
] })
|
|
4110
4126
|
] }) }),
|
|
4111
|
-
/* @__PURE__ */
|
|
4127
|
+
/* @__PURE__ */ jsx60(
|
|
4112
4128
|
Cuboid38,
|
|
4113
4129
|
{
|
|
4114
4130
|
color: "#777",
|
|
@@ -4121,7 +4137,7 @@ var SOD323F = () => {
|
|
|
4121
4137
|
|
|
4122
4138
|
// lib/sod-323FL.tsx
|
|
4123
4139
|
import { Colorize as Colorize30, Cuboid as Cuboid39 } from "jscad-fiber";
|
|
4124
|
-
import { Fragment as
|
|
4140
|
+
import { Fragment as Fragment56, jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4125
4141
|
var SOD323FL = () => {
|
|
4126
4142
|
const fullWidth = 1.775;
|
|
4127
4143
|
const bodyLength10 = 1.25;
|
|
@@ -4132,8 +4148,8 @@ var SOD323FL = () => {
|
|
|
4132
4148
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
4133
4149
|
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
4134
4150
|
const taperOffset = 0.2;
|
|
4135
|
-
return /* @__PURE__ */ jsxs57(
|
|
4136
|
-
/* @__PURE__ */
|
|
4151
|
+
return /* @__PURE__ */ jsxs57(Fragment56, { children: [
|
|
4152
|
+
/* @__PURE__ */ jsx61(
|
|
4137
4153
|
Cuboid39,
|
|
4138
4154
|
{
|
|
4139
4155
|
color: "#ccc",
|
|
@@ -4141,7 +4157,7 @@ var SOD323FL = () => {
|
|
|
4141
4157
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4142
4158
|
}
|
|
4143
4159
|
),
|
|
4144
|
-
/* @__PURE__ */
|
|
4160
|
+
/* @__PURE__ */ jsx61(
|
|
4145
4161
|
Cuboid39,
|
|
4146
4162
|
{
|
|
4147
4163
|
color: "#ccc",
|
|
@@ -4149,7 +4165,7 @@ var SOD323FL = () => {
|
|
|
4149
4165
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4150
4166
|
}
|
|
4151
4167
|
),
|
|
4152
|
-
/* @__PURE__ */
|
|
4168
|
+
/* @__PURE__ */ jsx61(Colorize30, { color: "#222", children: /* @__PURE__ */ jsx61(
|
|
4153
4169
|
ChipBody,
|
|
4154
4170
|
{
|
|
4155
4171
|
width: fullWidth,
|
|
@@ -4162,7 +4178,7 @@ var SOD323FL = () => {
|
|
|
4162
4178
|
includeNotch: false
|
|
4163
4179
|
}
|
|
4164
4180
|
) }),
|
|
4165
|
-
/* @__PURE__ */
|
|
4181
|
+
/* @__PURE__ */ jsx61(
|
|
4166
4182
|
Cuboid39,
|
|
4167
4183
|
{
|
|
4168
4184
|
color: "#777",
|
|
@@ -4175,20 +4191,20 @@ var SOD323FL = () => {
|
|
|
4175
4191
|
|
|
4176
4192
|
// lib/AxialCapacitor.tsx
|
|
4177
4193
|
import { Colorize as Colorize31, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
|
|
4178
|
-
import { Fragment as
|
|
4194
|
+
import { Fragment as Fragment57, jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4179
4195
|
var AxialCapacitor = ({ pitch = 10 }) => {
|
|
4180
4196
|
const heightToCenterOfCapacitor = 0.5 + 4 / 2;
|
|
4181
|
-
return /* @__PURE__ */ jsxs58(
|
|
4182
|
-
/* @__PURE__ */
|
|
4183
|
-
/* @__PURE__ */
|
|
4197
|
+
return /* @__PURE__ */ jsxs58(Fragment57, { children: [
|
|
4198
|
+
/* @__PURE__ */ jsx62(Cylinder9, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
|
|
4199
|
+
/* @__PURE__ */ jsx62(
|
|
4184
4200
|
Sphere2,
|
|
4185
4201
|
{
|
|
4186
4202
|
radius: 0.5,
|
|
4187
4203
|
center: [-pitch / 2, 0, heightToCenterOfCapacitor]
|
|
4188
4204
|
}
|
|
4189
4205
|
),
|
|
4190
|
-
/* @__PURE__ */
|
|
4191
|
-
/* @__PURE__ */
|
|
4206
|
+
/* @__PURE__ */ jsx62(Translate27, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs58(Rotate11, { rotation: [0, Math.PI / 2, 0], children: [
|
|
4207
|
+
/* @__PURE__ */ jsx62(
|
|
4192
4208
|
Cylinder9,
|
|
4193
4209
|
{
|
|
4194
4210
|
height: pitch,
|
|
@@ -4196,7 +4212,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4196
4212
|
center: [0, 0, heightToCenterOfCapacitor]
|
|
4197
4213
|
}
|
|
4198
4214
|
),
|
|
4199
|
-
/* @__PURE__ */
|
|
4215
|
+
/* @__PURE__ */ jsx62(Colorize31, { color: "#d2b48c", children: /* @__PURE__ */ jsx62(
|
|
4200
4216
|
Cylinder9,
|
|
4201
4217
|
{
|
|
4202
4218
|
height: 5,
|
|
@@ -4205,14 +4221,14 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4205
4221
|
}
|
|
4206
4222
|
) })
|
|
4207
4223
|
] }) }),
|
|
4208
|
-
/* @__PURE__ */
|
|
4209
|
-
/* @__PURE__ */
|
|
4224
|
+
/* @__PURE__ */ jsx62(Cylinder9, { height: 4, radius: 0.5, center: [pitch / 2, 0, 0.5] }),
|
|
4225
|
+
/* @__PURE__ */ jsx62(Sphere2, { radius: 0.5, center: [pitch / 2, 0, heightToCenterOfCapacitor] })
|
|
4210
4226
|
] });
|
|
4211
4227
|
};
|
|
4212
4228
|
|
|
4213
4229
|
// lib/stampboard.tsx
|
|
4214
4230
|
import { Colorize as Colorize32, Cuboid as Cuboid40, Cylinder as Cylinder10, Subtract as Subtract6, Union as Union19 } from "jscad-fiber";
|
|
4215
|
-
import { Fragment as
|
|
4231
|
+
import { Fragment as Fragment58, jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4216
4232
|
var StampBoard = ({
|
|
4217
4233
|
bodyWidth = 21,
|
|
4218
4234
|
boardThickness = 0.5,
|
|
@@ -4310,15 +4326,15 @@ var StampBoard = ({
|
|
|
4310
4326
|
}
|
|
4311
4327
|
}
|
|
4312
4328
|
}
|
|
4313
|
-
const boardBody = /* @__PURE__ */
|
|
4314
|
-
/* @__PURE__ */
|
|
4329
|
+
const boardBody = /* @__PURE__ */ jsx63(Colorize32, { color: "#008080", children: /* @__PURE__ */ jsxs59(Subtract6, { children: [
|
|
4330
|
+
/* @__PURE__ */ jsx63(
|
|
4315
4331
|
Cuboid40,
|
|
4316
4332
|
{
|
|
4317
4333
|
center: [0, 0, boardCenterZ],
|
|
4318
4334
|
size: [bodyWidth, bodyLength10, boardThickness]
|
|
4319
4335
|
}
|
|
4320
4336
|
),
|
|
4321
|
-
pads.map((pad, index) => /* @__PURE__ */
|
|
4337
|
+
pads.map((pad, index) => /* @__PURE__ */ jsx63(
|
|
4322
4338
|
Cuboid40,
|
|
4323
4339
|
{
|
|
4324
4340
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4327,7 +4343,7 @@ var StampBoard = ({
|
|
|
4327
4343
|
index
|
|
4328
4344
|
))
|
|
4329
4345
|
] }) });
|
|
4330
|
-
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */
|
|
4346
|
+
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */ jsx63(
|
|
4331
4347
|
Cylinder10,
|
|
4332
4348
|
{
|
|
4333
4349
|
color: "black",
|
|
@@ -4337,7 +4353,7 @@ var StampBoard = ({
|
|
|
4337
4353
|
},
|
|
4338
4354
|
index
|
|
4339
4355
|
));
|
|
4340
|
-
const rectPads = pads.map((pad, index) => /* @__PURE__ */
|
|
4356
|
+
const rectPads = pads.map((pad, index) => /* @__PURE__ */ jsx63(
|
|
4341
4357
|
Cuboid40,
|
|
4342
4358
|
{
|
|
4343
4359
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4345,10 +4361,10 @@ var StampBoard = ({
|
|
|
4345
4361
|
},
|
|
4346
4362
|
index
|
|
4347
4363
|
));
|
|
4348
|
-
return /* @__PURE__ */ jsxs59(
|
|
4364
|
+
return /* @__PURE__ */ jsxs59(Fragment58, { children: [
|
|
4349
4365
|
boardBody,
|
|
4350
|
-
/* @__PURE__ */
|
|
4351
|
-
/* @__PURE__ */
|
|
4366
|
+
/* @__PURE__ */ jsx63(Colorize32, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs59(Subtract6, { children: [
|
|
4367
|
+
/* @__PURE__ */ jsx63(Union19, { children: pads.map((pad, index) => /* @__PURE__ */ jsx63(
|
|
4352
4368
|
Cuboid40,
|
|
4353
4369
|
{
|
|
4354
4370
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4363,7 +4379,7 @@ var StampBoard = ({
|
|
|
4363
4379
|
|
|
4364
4380
|
// lib/MountedPcbModule.tsx
|
|
4365
4381
|
import { Colorize as Colorize33, Cuboid as Cuboid41, Cylinder as Cylinder11, Subtract as Subtract7 } from "jscad-fiber";
|
|
4366
|
-
import { Fragment as
|
|
4382
|
+
import { Fragment as Fragment59, jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4367
4383
|
var MountedPcbModule = ({
|
|
4368
4384
|
numPins = 5,
|
|
4369
4385
|
rows = 1,
|
|
@@ -4377,6 +4393,7 @@ var MountedPcbModule = ({
|
|
|
4377
4393
|
holes = [],
|
|
4378
4394
|
holeInset = 1,
|
|
4379
4395
|
pinRowHoleEdgeToEdgeDist = 2,
|
|
4396
|
+
female,
|
|
4380
4397
|
nopin
|
|
4381
4398
|
}) => {
|
|
4382
4399
|
const boardCenterZ = boardThickness / 2;
|
|
@@ -4455,16 +4472,16 @@ var MountedPcbModule = ({
|
|
|
4455
4472
|
const pinBodyHeight = 2;
|
|
4456
4473
|
const longSidePinLength = 6;
|
|
4457
4474
|
const shortSidePinLength = 3;
|
|
4458
|
-
const boardOffsetZ = nopin ? 0 : pinBodyHeight;
|
|
4459
|
-
const boardBody = /* @__PURE__ */
|
|
4460
|
-
/* @__PURE__ */
|
|
4475
|
+
const boardOffsetZ = nopin || female ? 0 : pinBodyHeight;
|
|
4476
|
+
const boardBody = /* @__PURE__ */ jsx64(Colorize33, { color: "#008080", children: /* @__PURE__ */ jsxs60(Subtract7, { children: [
|
|
4477
|
+
/* @__PURE__ */ jsx64(
|
|
4461
4478
|
Cuboid41,
|
|
4462
4479
|
{
|
|
4463
4480
|
center: [0, 0, boardCenterZ + boardOffsetZ],
|
|
4464
4481
|
size: [finalWidth, finalHeight, boardThickness]
|
|
4465
4482
|
}
|
|
4466
4483
|
),
|
|
4467
|
-
holePositions.map((hole, index) => /* @__PURE__ */
|
|
4484
|
+
holePositions.map((hole, index) => /* @__PURE__ */ jsx64(
|
|
4468
4485
|
Cylinder11,
|
|
4469
4486
|
{
|
|
4470
4487
|
center: [hole.x, hole.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4473,7 +4490,7 @@ var MountedPcbModule = ({
|
|
|
4473
4490
|
},
|
|
4474
4491
|
`hole-${index}`
|
|
4475
4492
|
)),
|
|
4476
|
-
pins.map((pin, index) => /* @__PURE__ */
|
|
4493
|
+
pins.map((pin, index) => /* @__PURE__ */ jsx64(
|
|
4477
4494
|
Cylinder11,
|
|
4478
4495
|
{
|
|
4479
4496
|
center: [pin.x, pin.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4483,8 +4500,8 @@ var MountedPcbModule = ({
|
|
|
4483
4500
|
`pin-hole-${index}`
|
|
4484
4501
|
))
|
|
4485
4502
|
] }) });
|
|
4486
|
-
const platedHoles = pins.map((pin, index) => /* @__PURE__ */
|
|
4487
|
-
/* @__PURE__ */
|
|
4503
|
+
const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx64(Colorize33, { color: "#FFD700", children: /* @__PURE__ */ jsxs60(Subtract7, { children: [
|
|
4504
|
+
/* @__PURE__ */ jsx64(
|
|
4488
4505
|
Cylinder11,
|
|
4489
4506
|
{
|
|
4490
4507
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4492,7 +4509,7 @@ var MountedPcbModule = ({
|
|
|
4492
4509
|
height: boardThickness
|
|
4493
4510
|
}
|
|
4494
4511
|
),
|
|
4495
|
-
/* @__PURE__ */
|
|
4512
|
+
/* @__PURE__ */ jsx64(
|
|
4496
4513
|
Cylinder11,
|
|
4497
4514
|
{
|
|
4498
4515
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4501,7 +4518,7 @@ var MountedPcbModule = ({
|
|
|
4501
4518
|
}
|
|
4502
4519
|
)
|
|
4503
4520
|
] }) }, `pin-${index}`));
|
|
4504
|
-
const headerPins = pins.map((pin, index) => /* @__PURE__ */
|
|
4521
|
+
const headerPins = pins.map((pin, index) => /* @__PURE__ */ jsx64(
|
|
4505
4522
|
PinHeader,
|
|
4506
4523
|
{
|
|
4507
4524
|
x: pin.x,
|
|
@@ -4514,24 +4531,34 @@ var MountedPcbModule = ({
|
|
|
4514
4531
|
},
|
|
4515
4532
|
`pin-3d-${index}`
|
|
4516
4533
|
));
|
|
4517
|
-
|
|
4534
|
+
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */ jsx64(
|
|
4535
|
+
FemaleHeader,
|
|
4536
|
+
{
|
|
4537
|
+
x: pin.x,
|
|
4538
|
+
y: pin.y,
|
|
4539
|
+
flipZ: (z) => -z
|
|
4540
|
+
},
|
|
4541
|
+
`female-pin-3d-${index}`
|
|
4542
|
+
));
|
|
4543
|
+
return /* @__PURE__ */ jsxs60(Fragment59, { children: [
|
|
4518
4544
|
boardBody,
|
|
4519
4545
|
platedHoles,
|
|
4520
|
-
!nopin && headerPins
|
|
4546
|
+
!female && !nopin && headerPins,
|
|
4547
|
+
female && femaleHeaderRow
|
|
4521
4548
|
] });
|
|
4522
4549
|
};
|
|
4523
4550
|
|
|
4524
4551
|
// lib/Footprinter3d.tsx
|
|
4525
|
-
import { jsx as
|
|
4552
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
4526
4553
|
var Footprinter3d = ({ footprint }) => {
|
|
4527
4554
|
const fpJson = fp3.string(footprint).json();
|
|
4528
4555
|
switch (fpJson.fn) {
|
|
4529
4556
|
case "dip":
|
|
4530
|
-
return /* @__PURE__ */
|
|
4557
|
+
return /* @__PURE__ */ jsx65(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
4531
4558
|
case "axial":
|
|
4532
|
-
return /* @__PURE__ */
|
|
4559
|
+
return /* @__PURE__ */ jsx65(AxialCapacitor, { pitch: fpJson.p });
|
|
4533
4560
|
case "tssop":
|
|
4534
|
-
return /* @__PURE__ */
|
|
4561
|
+
return /* @__PURE__ */ jsx65(
|
|
4535
4562
|
Tssop,
|
|
4536
4563
|
{
|
|
4537
4564
|
pinCount: fpJson.num_pins,
|
|
@@ -4542,7 +4569,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4542
4569
|
}
|
|
4543
4570
|
);
|
|
4544
4571
|
case "msop":
|
|
4545
|
-
return /* @__PURE__ */
|
|
4572
|
+
return /* @__PURE__ */ jsx65(
|
|
4546
4573
|
MSOP,
|
|
4547
4574
|
{
|
|
4548
4575
|
pinCount: fpJson.num_pins,
|
|
@@ -4553,7 +4580,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4553
4580
|
}
|
|
4554
4581
|
);
|
|
4555
4582
|
case "vssop":
|
|
4556
|
-
return /* @__PURE__ */
|
|
4583
|
+
return /* @__PURE__ */ jsx65(
|
|
4557
4584
|
VSSOP,
|
|
4558
4585
|
{
|
|
4559
4586
|
pinCount: fpJson.num_pins,
|
|
@@ -4565,7 +4592,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4565
4592
|
}
|
|
4566
4593
|
);
|
|
4567
4594
|
case "qfp":
|
|
4568
|
-
return /* @__PURE__ */
|
|
4595
|
+
return /* @__PURE__ */ jsx65(
|
|
4569
4596
|
QFP,
|
|
4570
4597
|
{
|
|
4571
4598
|
pinCount: fpJson.num_pins,
|
|
@@ -4576,12 +4603,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4576
4603
|
}
|
|
4577
4604
|
);
|
|
4578
4605
|
case "tqfp":
|
|
4579
|
-
return /* @__PURE__ */
|
|
4606
|
+
return /* @__PURE__ */ jsx65(tqfp_default, {});
|
|
4580
4607
|
case "lqfp":
|
|
4581
|
-
return /* @__PURE__ */
|
|
4608
|
+
return /* @__PURE__ */ jsx65(LQFP, { pinCount: fpJson.num_pins });
|
|
4582
4609
|
case "qfn": {
|
|
4583
4610
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4584
|
-
return /* @__PURE__ */
|
|
4611
|
+
return /* @__PURE__ */ jsx65(
|
|
4585
4612
|
qfn_default,
|
|
4586
4613
|
{
|
|
4587
4614
|
num_pins: fpJson.num_pins,
|
|
@@ -4599,7 +4626,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4599
4626
|
}
|
|
4600
4627
|
case "dfn": {
|
|
4601
4628
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
4602
|
-
return /* @__PURE__ */
|
|
4629
|
+
return /* @__PURE__ */ jsx65(
|
|
4603
4630
|
DFN,
|
|
4604
4631
|
{
|
|
4605
4632
|
num_pins: fpJson.num_pins,
|
|
@@ -4619,7 +4646,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4619
4646
|
const rowsMatch = footprint.match(/_rows(\d+)/);
|
|
4620
4647
|
const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
|
|
4621
4648
|
if (fpJson.male)
|
|
4622
|
-
return /* @__PURE__ */
|
|
4649
|
+
return /* @__PURE__ */ jsx65(
|
|
4623
4650
|
PinRow,
|
|
4624
4651
|
{
|
|
4625
4652
|
numberOfPins: fpJson.num_pins,
|
|
@@ -4632,8 +4659,8 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4632
4659
|
}
|
|
4633
4660
|
);
|
|
4634
4661
|
if (fpJson.female)
|
|
4635
|
-
return /* @__PURE__ */
|
|
4636
|
-
|
|
4662
|
+
return /* @__PURE__ */ jsx65(
|
|
4663
|
+
FemaleHeaderRow,
|
|
4637
4664
|
{
|
|
4638
4665
|
numberOfPins: fpJson.num_pins,
|
|
4639
4666
|
pitch: fpJson.p,
|
|
@@ -4644,47 +4671,47 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4644
4671
|
case "cap": {
|
|
4645
4672
|
switch (fpJson.imperial) {
|
|
4646
4673
|
case "0402":
|
|
4647
|
-
return /* @__PURE__ */
|
|
4674
|
+
return /* @__PURE__ */ jsx65(A0402, { color: "#856c4d" });
|
|
4648
4675
|
case "0603":
|
|
4649
|
-
return /* @__PURE__ */
|
|
4676
|
+
return /* @__PURE__ */ jsx65(A0603, { color: "#856c4d" });
|
|
4650
4677
|
case "0805":
|
|
4651
|
-
return /* @__PURE__ */
|
|
4678
|
+
return /* @__PURE__ */ jsx65(A0805, { color: "#856c4d" });
|
|
4652
4679
|
case "0201":
|
|
4653
|
-
return /* @__PURE__ */
|
|
4680
|
+
return /* @__PURE__ */ jsx65(A0201, { color: "#856c4d" });
|
|
4654
4681
|
case "01005":
|
|
4655
|
-
return /* @__PURE__ */
|
|
4682
|
+
return /* @__PURE__ */ jsx65(A01005, { color: "#856c4d" });
|
|
4656
4683
|
case "1206":
|
|
4657
|
-
return /* @__PURE__ */
|
|
4684
|
+
return /* @__PURE__ */ jsx65(A1206, { color: "#856c4d" });
|
|
4658
4685
|
case "1210":
|
|
4659
|
-
return /* @__PURE__ */
|
|
4686
|
+
return /* @__PURE__ */ jsx65(A1210, { color: "#856c4d" });
|
|
4660
4687
|
case "2010":
|
|
4661
|
-
return /* @__PURE__ */
|
|
4688
|
+
return /* @__PURE__ */ jsx65(A2010, { color: "#856c4d" });
|
|
4662
4689
|
case "2512":
|
|
4663
|
-
return /* @__PURE__ */
|
|
4690
|
+
return /* @__PURE__ */ jsx65(A2512, { color: "#856c4d" });
|
|
4664
4691
|
}
|
|
4665
4692
|
}
|
|
4666
4693
|
case "sot235":
|
|
4667
|
-
return /* @__PURE__ */
|
|
4694
|
+
return /* @__PURE__ */ jsx65(SOT_235_default, {});
|
|
4668
4695
|
case "sot457":
|
|
4669
|
-
return /* @__PURE__ */
|
|
4696
|
+
return /* @__PURE__ */ jsx65(SOT457, {});
|
|
4670
4697
|
case "sot223":
|
|
4671
|
-
return /* @__PURE__ */
|
|
4698
|
+
return /* @__PURE__ */ jsx65(SOT223, {});
|
|
4672
4699
|
case "sot23w":
|
|
4673
|
-
return /* @__PURE__ */
|
|
4700
|
+
return /* @__PURE__ */ jsx65(SOT23W, {});
|
|
4674
4701
|
case "sot323":
|
|
4675
|
-
return /* @__PURE__ */
|
|
4702
|
+
return /* @__PURE__ */ jsx65(SOT323, {});
|
|
4676
4703
|
case "sod323f":
|
|
4677
|
-
return /* @__PURE__ */
|
|
4704
|
+
return /* @__PURE__ */ jsx65(SOD323F, {});
|
|
4678
4705
|
case "sod323fl":
|
|
4679
|
-
return /* @__PURE__ */
|
|
4706
|
+
return /* @__PURE__ */ jsx65(SOD323FL, {});
|
|
4680
4707
|
case "sot363":
|
|
4681
|
-
return /* @__PURE__ */
|
|
4708
|
+
return /* @__PURE__ */ jsx65(SOT_363_default, {});
|
|
4682
4709
|
case "sot886":
|
|
4683
|
-
return /* @__PURE__ */
|
|
4710
|
+
return /* @__PURE__ */ jsx65(SOT886, {});
|
|
4684
4711
|
case "sot963":
|
|
4685
|
-
return /* @__PURE__ */
|
|
4712
|
+
return /* @__PURE__ */ jsx65(SOT963, {});
|
|
4686
4713
|
case "pushbutton":
|
|
4687
|
-
return /* @__PURE__ */
|
|
4714
|
+
return /* @__PURE__ */ jsx65(
|
|
4688
4715
|
PushButton,
|
|
4689
4716
|
{
|
|
4690
4717
|
width: fpJson.w,
|
|
@@ -4693,7 +4720,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4693
4720
|
}
|
|
4694
4721
|
);
|
|
4695
4722
|
case "soic":
|
|
4696
|
-
return /* @__PURE__ */
|
|
4723
|
+
return /* @__PURE__ */ jsx65(
|
|
4697
4724
|
SOIC,
|
|
4698
4725
|
{
|
|
4699
4726
|
pinCount: fpJson.num_pins,
|
|
@@ -4704,39 +4731,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4704
4731
|
}
|
|
4705
4732
|
);
|
|
4706
4733
|
case "sod523":
|
|
4707
|
-
return /* @__PURE__ */
|
|
4734
|
+
return /* @__PURE__ */ jsx65(SOD523, {});
|
|
4708
4735
|
case "sod882":
|
|
4709
|
-
return /* @__PURE__ */
|
|
4736
|
+
return /* @__PURE__ */ jsx65(SOD882, {});
|
|
4710
4737
|
case "sma":
|
|
4711
|
-
return /* @__PURE__ */
|
|
4738
|
+
return /* @__PURE__ */ jsx65(SMA, {});
|
|
4712
4739
|
case "smb":
|
|
4713
|
-
return /* @__PURE__ */
|
|
4740
|
+
return /* @__PURE__ */ jsx65(SMB, {});
|
|
4714
4741
|
case "smc":
|
|
4715
|
-
return /* @__PURE__ */
|
|
4742
|
+
return /* @__PURE__ */ jsx65(SMC, {});
|
|
4716
4743
|
case "smf":
|
|
4717
|
-
return /* @__PURE__ */
|
|
4744
|
+
return /* @__PURE__ */ jsx65(SMF, {});
|
|
4718
4745
|
case "sod123f":
|
|
4719
|
-
return /* @__PURE__ */
|
|
4746
|
+
return /* @__PURE__ */ jsx65(SOD123F, {});
|
|
4720
4747
|
case "sod123fl":
|
|
4721
|
-
return /* @__PURE__ */
|
|
4748
|
+
return /* @__PURE__ */ jsx65(SOD123FL, {});
|
|
4722
4749
|
case "sod123w":
|
|
4723
|
-
return /* @__PURE__ */
|
|
4750
|
+
return /* @__PURE__ */ jsx65(SOD123W, {});
|
|
4724
4751
|
case "sod128":
|
|
4725
|
-
return /* @__PURE__ */
|
|
4752
|
+
return /* @__PURE__ */ jsx65(SOD128, {});
|
|
4726
4753
|
case "sod323":
|
|
4727
|
-
return /* @__PURE__ */
|
|
4754
|
+
return /* @__PURE__ */ jsx65(SOD323, {});
|
|
4728
4755
|
case "sod923":
|
|
4729
|
-
return /* @__PURE__ */
|
|
4756
|
+
return /* @__PURE__ */ jsx65(SOD923, {});
|
|
4730
4757
|
case "hc49":
|
|
4731
|
-
return /* @__PURE__ */
|
|
4758
|
+
return /* @__PURE__ */ jsx65(HC49, {});
|
|
4732
4759
|
case "micromelf":
|
|
4733
|
-
return /* @__PURE__ */
|
|
4760
|
+
return /* @__PURE__ */ jsx65(MicroMELF, {});
|
|
4734
4761
|
case "minimelf":
|
|
4735
|
-
return /* @__PURE__ */
|
|
4762
|
+
return /* @__PURE__ */ jsx65(MINIMELF, {});
|
|
4736
4763
|
case "melf":
|
|
4737
|
-
return /* @__PURE__ */
|
|
4764
|
+
return /* @__PURE__ */ jsx65(MELF, {});
|
|
4738
4765
|
case "ms012":
|
|
4739
|
-
return /* @__PURE__ */
|
|
4766
|
+
return /* @__PURE__ */ jsx65(
|
|
4740
4767
|
MS012,
|
|
4741
4768
|
{
|
|
4742
4769
|
pinCount: fpJson.num_pins,
|
|
@@ -4746,7 +4773,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4746
4773
|
}
|
|
4747
4774
|
);
|
|
4748
4775
|
case "ms013":
|
|
4749
|
-
return /* @__PURE__ */
|
|
4776
|
+
return /* @__PURE__ */ jsx65(
|
|
4750
4777
|
MS013,
|
|
4751
4778
|
{
|
|
4752
4779
|
pinCount: fpJson.num_pins,
|
|
@@ -4756,14 +4783,14 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4756
4783
|
}
|
|
4757
4784
|
);
|
|
4758
4785
|
case "sot723":
|
|
4759
|
-
return /* @__PURE__ */
|
|
4786
|
+
return /* @__PURE__ */ jsx65(SOT723, {});
|
|
4760
4787
|
case "to220":
|
|
4761
|
-
return /* @__PURE__ */
|
|
4788
|
+
return /* @__PURE__ */ jsx65(TO220, {});
|
|
4762
4789
|
case "to92":
|
|
4763
|
-
return /* @__PURE__ */
|
|
4790
|
+
return /* @__PURE__ */ jsx65(TO92, {});
|
|
4764
4791
|
case "stampboard":
|
|
4765
4792
|
case "stampreceiver":
|
|
4766
|
-
return /* @__PURE__ */
|
|
4793
|
+
return /* @__PURE__ */ jsx65(
|
|
4767
4794
|
StampBoard,
|
|
4768
4795
|
{
|
|
4769
4796
|
bodyWidth: fpJson.w,
|
|
@@ -4787,7 +4814,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4787
4814
|
const pinRow = fpJson.pinrow;
|
|
4788
4815
|
const pinRowHoleEdgeToEdgeDist = fpJson.pinRowHoleEdgeToEdgeDist;
|
|
4789
4816
|
const holes = Array.isArray(fpJson.holes) ? fpJson.holes : [];
|
|
4790
|
-
return /* @__PURE__ */
|
|
4817
|
+
return /* @__PURE__ */ jsx65(
|
|
4791
4818
|
MountedPcbModule,
|
|
4792
4819
|
{
|
|
4793
4820
|
numPins: pinRow,
|
|
@@ -4801,7 +4828,8 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4801
4828
|
holes,
|
|
4802
4829
|
holeInset,
|
|
4803
4830
|
pinRowHoleEdgeToEdgeDist,
|
|
4804
|
-
nopin: fpJson.nopin
|
|
4831
|
+
nopin: fpJson.nopin,
|
|
4832
|
+
female: fpJson.female
|
|
4805
4833
|
}
|
|
4806
4834
|
);
|
|
4807
4835
|
}
|
|
@@ -4810,29 +4838,29 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
4810
4838
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
4811
4839
|
switch (fpJson.imperial) {
|
|
4812
4840
|
case "0402":
|
|
4813
|
-
return /* @__PURE__ */
|
|
4841
|
+
return /* @__PURE__ */ jsx65(A0402, { color });
|
|
4814
4842
|
case "0603":
|
|
4815
|
-
return /* @__PURE__ */
|
|
4843
|
+
return /* @__PURE__ */ jsx65(A0603, { color });
|
|
4816
4844
|
case "0805":
|
|
4817
|
-
return /* @__PURE__ */
|
|
4845
|
+
return /* @__PURE__ */ jsx65(A0805, { color });
|
|
4818
4846
|
case "0201":
|
|
4819
|
-
return /* @__PURE__ */
|
|
4847
|
+
return /* @__PURE__ */ jsx65(A0201, { color });
|
|
4820
4848
|
case "01005":
|
|
4821
|
-
return /* @__PURE__ */
|
|
4849
|
+
return /* @__PURE__ */ jsx65(A01005, { color });
|
|
4822
4850
|
case "1206":
|
|
4823
|
-
return /* @__PURE__ */
|
|
4851
|
+
return /* @__PURE__ */ jsx65(A1206, { color });
|
|
4824
4852
|
case "1210":
|
|
4825
|
-
return /* @__PURE__ */
|
|
4853
|
+
return /* @__PURE__ */ jsx65(A1210, { color });
|
|
4826
4854
|
case "2010":
|
|
4827
|
-
return /* @__PURE__ */
|
|
4855
|
+
return /* @__PURE__ */ jsx65(A2010, { color });
|
|
4828
4856
|
case "2512":
|
|
4829
|
-
return /* @__PURE__ */
|
|
4857
|
+
return /* @__PURE__ */ jsx65(A2512, { color });
|
|
4830
4858
|
}
|
|
4831
4859
|
return null;
|
|
4832
4860
|
};
|
|
4833
4861
|
|
|
4834
4862
|
// lib/SOT-23-3P.tsx
|
|
4835
|
-
import { Fragment as
|
|
4863
|
+
import { Fragment as Fragment60, jsx as jsx66, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
4836
4864
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
4837
4865
|
const bodyWidth = 1.3;
|
|
4838
4866
|
const bodyLength10 = 2.9;
|
|
@@ -4843,8 +4871,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4843
4871
|
const padContactLength = 0.4;
|
|
4844
4872
|
const padThickness = leadThickness / 2;
|
|
4845
4873
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
4846
|
-
return /* @__PURE__ */ jsxs61(
|
|
4847
|
-
/* @__PURE__ */
|
|
4874
|
+
return /* @__PURE__ */ jsxs61(Fragment60, { children: [
|
|
4875
|
+
/* @__PURE__ */ jsx66(
|
|
4848
4876
|
SmdChipLead,
|
|
4849
4877
|
{
|
|
4850
4878
|
rotation: Math.PI,
|
|
@@ -4861,7 +4889,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4861
4889
|
},
|
|
4862
4890
|
1
|
|
4863
4891
|
),
|
|
4864
|
-
/* @__PURE__ */
|
|
4892
|
+
/* @__PURE__ */ jsx66(
|
|
4865
4893
|
SmdChipLead,
|
|
4866
4894
|
{
|
|
4867
4895
|
rotation: Math.PI,
|
|
@@ -4878,7 +4906,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4878
4906
|
},
|
|
4879
4907
|
2
|
|
4880
4908
|
),
|
|
4881
|
-
/* @__PURE__ */
|
|
4909
|
+
/* @__PURE__ */ jsx66(
|
|
4882
4910
|
SmdChipLead,
|
|
4883
4911
|
{
|
|
4884
4912
|
position: {
|
|
@@ -4894,7 +4922,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4894
4922
|
},
|
|
4895
4923
|
3
|
|
4896
4924
|
),
|
|
4897
|
-
/* @__PURE__ */
|
|
4925
|
+
/* @__PURE__ */ jsx66(
|
|
4898
4926
|
ChipBody,
|
|
4899
4927
|
{
|
|
4900
4928
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4908,7 +4936,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
4908
4936
|
|
|
4909
4937
|
// lib/SOT-563.tsx
|
|
4910
4938
|
import { Cuboid as Cuboid42, Translate as Translate28, Rotate as Rotate12, Colorize as Colorize34 } from "jscad-fiber";
|
|
4911
|
-
import { Fragment as
|
|
4939
|
+
import { Fragment as Fragment61, jsx as jsx67, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
4912
4940
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
4913
4941
|
const bodyWidth = 1.2;
|
|
4914
4942
|
const bodyLength10 = 1.6;
|
|
@@ -4918,11 +4946,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4918
4946
|
const leadHeight = 0.13;
|
|
4919
4947
|
const leadSpacing = 0.5;
|
|
4920
4948
|
const bodyZOffset = -0.4;
|
|
4921
|
-
return /* @__PURE__ */ jsxs62(
|
|
4922
|
-
/* @__PURE__ */
|
|
4949
|
+
return /* @__PURE__ */ jsxs62(Fragment61, { children: [
|
|
4950
|
+
/* @__PURE__ */ jsx67(Rotate12, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx67(Translate28, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx67(Colorize34, { color: "grey", children: /* @__PURE__ */ jsx67(Cuboid42, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
4923
4951
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
4924
4952
|
// Left lead
|
|
4925
|
-
/* @__PURE__ */
|
|
4953
|
+
/* @__PURE__ */ jsx67(
|
|
4926
4954
|
Translate28,
|
|
4927
4955
|
{
|
|
4928
4956
|
center: [
|
|
@@ -4930,16 +4958,16 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4930
4958
|
yOffset * leadSpacing,
|
|
4931
4959
|
leadHeight / 2
|
|
4932
4960
|
],
|
|
4933
|
-
children: /* @__PURE__ */
|
|
4961
|
+
children: /* @__PURE__ */ jsx67(Cuboid42, { size: [leadLength, leadWidth, leadHeight] })
|
|
4934
4962
|
},
|
|
4935
4963
|
`left-${index}`
|
|
4936
4964
|
),
|
|
4937
4965
|
// Right lead
|
|
4938
|
-
/* @__PURE__ */
|
|
4966
|
+
/* @__PURE__ */ jsx67(
|
|
4939
4967
|
Translate28,
|
|
4940
4968
|
{
|
|
4941
4969
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
4942
|
-
children: /* @__PURE__ */
|
|
4970
|
+
children: /* @__PURE__ */ jsx67(Cuboid42, { size: [leadLength, leadWidth, leadHeight] })
|
|
4943
4971
|
},
|
|
4944
4972
|
`right-${index}`
|
|
4945
4973
|
)
|
|
@@ -4948,7 +4976,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4948
4976
|
};
|
|
4949
4977
|
|
|
4950
4978
|
// lib/sod-123.tsx
|
|
4951
|
-
import { Fragment as
|
|
4979
|
+
import { Fragment as Fragment62, jsx as jsx68, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
4952
4980
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
4953
4981
|
const bodyWidth = 2.9;
|
|
4954
4982
|
const bodyLength10 = 1.3;
|
|
@@ -4959,8 +4987,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4959
4987
|
const padContactLength = 0.4;
|
|
4960
4988
|
const padThickness = leadThickness / 2;
|
|
4961
4989
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
4962
|
-
return /* @__PURE__ */ jsxs63(
|
|
4963
|
-
/* @__PURE__ */
|
|
4990
|
+
return /* @__PURE__ */ jsxs63(Fragment62, { children: [
|
|
4991
|
+
/* @__PURE__ */ jsx68(
|
|
4964
4992
|
SmdChipLead,
|
|
4965
4993
|
{
|
|
4966
4994
|
position: {
|
|
@@ -4976,7 +5004,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4976
5004
|
},
|
|
4977
5005
|
1
|
|
4978
5006
|
),
|
|
4979
|
-
/* @__PURE__ */
|
|
5007
|
+
/* @__PURE__ */ jsx68(
|
|
4980
5008
|
SmdChipLead,
|
|
4981
5009
|
{
|
|
4982
5010
|
rotation: Math.PI,
|
|
@@ -4993,7 +5021,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
4993
5021
|
},
|
|
4994
5022
|
2
|
|
4995
5023
|
),
|
|
4996
|
-
/* @__PURE__ */
|
|
5024
|
+
/* @__PURE__ */ jsx68(
|
|
4997
5025
|
ChipBody,
|
|
4998
5026
|
{
|
|
4999
5027
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -5019,6 +5047,8 @@ export {
|
|
|
5019
5047
|
ChipBody,
|
|
5020
5048
|
DFN,
|
|
5021
5049
|
ExtrudedPads,
|
|
5050
|
+
FemaleHeader,
|
|
5051
|
+
FemaleHeaderRow,
|
|
5022
5052
|
FootprintPad,
|
|
5023
5053
|
FootprintPlatedHole,
|
|
5024
5054
|
Footprinter3d,
|