jscad-electronics 0.0.145 → 0.0.147
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 +18 -8
- package/dist/index.js +803 -775
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +158 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1651,8 +1651,87 @@ var SOT235 = () => {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
var SOT_235_default = SOT235;
|
|
1653
1653
|
|
|
1654
|
-
// lib/SOT-
|
|
1654
|
+
// lib/SOT-23-3P.tsx
|
|
1655
1655
|
import { Fragment as Fragment21, jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1656
|
+
var SOT233P = ({
|
|
1657
|
+
fullWidth = 2.9,
|
|
1658
|
+
fullLength: fullLength10 = 2.8,
|
|
1659
|
+
color
|
|
1660
|
+
} = {}) => {
|
|
1661
|
+
const bodyWidth = 1.3;
|
|
1662
|
+
const bodyLength10 = 2.9;
|
|
1663
|
+
const bodyHeight = 1.1;
|
|
1664
|
+
const leadWidth = 0.4;
|
|
1665
|
+
const leadThickness = 0.15;
|
|
1666
|
+
const leadHeight = 0.95;
|
|
1667
|
+
const padContactLength = 0.4;
|
|
1668
|
+
const padThickness = leadThickness / 2;
|
|
1669
|
+
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1670
|
+
return /* @__PURE__ */ jsxs22(Fragment21, { children: [
|
|
1671
|
+
/* @__PURE__ */ jsx25(
|
|
1672
|
+
SmdChipLead,
|
|
1673
|
+
{
|
|
1674
|
+
position: {
|
|
1675
|
+
x: -fullWidth / 2,
|
|
1676
|
+
y: 0.95,
|
|
1677
|
+
z: padThickness
|
|
1678
|
+
},
|
|
1679
|
+
width: leadWidth,
|
|
1680
|
+
thickness: leadThickness,
|
|
1681
|
+
padContactLength,
|
|
1682
|
+
bodyDistance: extendedBodyDistance,
|
|
1683
|
+
height: leadHeight
|
|
1684
|
+
},
|
|
1685
|
+
1
|
|
1686
|
+
),
|
|
1687
|
+
/* @__PURE__ */ jsx25(
|
|
1688
|
+
SmdChipLead,
|
|
1689
|
+
{
|
|
1690
|
+
position: {
|
|
1691
|
+
x: -fullWidth / 2,
|
|
1692
|
+
y: -0.95,
|
|
1693
|
+
z: padThickness
|
|
1694
|
+
},
|
|
1695
|
+
width: leadWidth,
|
|
1696
|
+
thickness: leadThickness,
|
|
1697
|
+
padContactLength,
|
|
1698
|
+
bodyDistance: extendedBodyDistance,
|
|
1699
|
+
height: leadHeight
|
|
1700
|
+
},
|
|
1701
|
+
2
|
|
1702
|
+
),
|
|
1703
|
+
/* @__PURE__ */ jsx25(
|
|
1704
|
+
SmdChipLead,
|
|
1705
|
+
{
|
|
1706
|
+
rotation: Math.PI,
|
|
1707
|
+
position: {
|
|
1708
|
+
x: fullWidth / 2,
|
|
1709
|
+
y: 0,
|
|
1710
|
+
z: padThickness
|
|
1711
|
+
},
|
|
1712
|
+
width: leadWidth,
|
|
1713
|
+
thickness: leadThickness,
|
|
1714
|
+
padContactLength,
|
|
1715
|
+
bodyDistance: extendedBodyDistance,
|
|
1716
|
+
height: leadHeight
|
|
1717
|
+
},
|
|
1718
|
+
3
|
|
1719
|
+
),
|
|
1720
|
+
/* @__PURE__ */ jsx25(
|
|
1721
|
+
ChipBody,
|
|
1722
|
+
{
|
|
1723
|
+
center: { x: 0, y: 0, z: 0 },
|
|
1724
|
+
width: bodyWidth,
|
|
1725
|
+
length: bodyLength10,
|
|
1726
|
+
height: bodyHeight,
|
|
1727
|
+
color
|
|
1728
|
+
}
|
|
1729
|
+
)
|
|
1730
|
+
] });
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
// lib/SOT-23W.tsx
|
|
1734
|
+
import { Fragment as Fragment22, jsx as jsx26, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1656
1735
|
var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
1657
1736
|
const bodyWidth = 1.92;
|
|
1658
1737
|
const bodyLength10 = 2.9;
|
|
@@ -1663,8 +1742,8 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1663
1742
|
const padContactLength = 0.25;
|
|
1664
1743
|
const padThickness = leadThickness / 2;
|
|
1665
1744
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1666
|
-
return /* @__PURE__ */
|
|
1667
|
-
/* @__PURE__ */
|
|
1745
|
+
return /* @__PURE__ */ jsxs23(Fragment22, { children: [
|
|
1746
|
+
/* @__PURE__ */ jsx26(
|
|
1668
1747
|
SmdChipLead,
|
|
1669
1748
|
{
|
|
1670
1749
|
rotation: Math.PI,
|
|
@@ -1681,7 +1760,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1681
1760
|
},
|
|
1682
1761
|
1
|
|
1683
1762
|
),
|
|
1684
|
-
/* @__PURE__ */
|
|
1763
|
+
/* @__PURE__ */ jsx26(
|
|
1685
1764
|
SmdChipLead,
|
|
1686
1765
|
{
|
|
1687
1766
|
position: {
|
|
@@ -1697,7 +1776,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1697
1776
|
},
|
|
1698
1777
|
2
|
|
1699
1778
|
),
|
|
1700
|
-
/* @__PURE__ */
|
|
1779
|
+
/* @__PURE__ */ jsx26(
|
|
1701
1780
|
SmdChipLead,
|
|
1702
1781
|
{
|
|
1703
1782
|
position: {
|
|
@@ -1713,7 +1792,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1713
1792
|
},
|
|
1714
1793
|
3
|
|
1715
1794
|
),
|
|
1716
|
-
/* @__PURE__ */
|
|
1795
|
+
/* @__PURE__ */ jsx26(
|
|
1717
1796
|
ChipBody,
|
|
1718
1797
|
{
|
|
1719
1798
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -1729,7 +1808,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1729
1808
|
|
|
1730
1809
|
// lib/FemaleHeader.tsx
|
|
1731
1810
|
import { Colorize as Colorize9, Cuboid as Cuboid16, Hull as Hull5, Subtract as Subtract3 } from "jscad-fiber";
|
|
1732
|
-
import { Fragment as
|
|
1811
|
+
import { Fragment as Fragment23, jsx as jsx27, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1733
1812
|
var FemaleHeader = ({
|
|
1734
1813
|
x,
|
|
1735
1814
|
y,
|
|
@@ -1751,9 +1830,9 @@ var FemaleHeader = ({
|
|
|
1751
1830
|
const socketCenterZ = flipZ(z + socketDepth / 2);
|
|
1752
1831
|
const socketEntryBaseZ = z + bodyHeight - socketEntryHeight;
|
|
1753
1832
|
const gapWidth = pinThickness * 1.6;
|
|
1754
|
-
return /* @__PURE__ */
|
|
1755
|
-
/* @__PURE__ */
|
|
1756
|
-
/* @__PURE__ */
|
|
1833
|
+
return /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
1834
|
+
/* @__PURE__ */ jsx27(Colorize9, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs24(Subtract3, { children: [
|
|
1835
|
+
/* @__PURE__ */ jsx27(
|
|
1757
1836
|
Cuboid16,
|
|
1758
1837
|
{
|
|
1759
1838
|
color: "#000",
|
|
@@ -1761,22 +1840,22 @@ var FemaleHeader = ({
|
|
|
1761
1840
|
center: [x, y, flipZ(z + bodyHeight / 2)]
|
|
1762
1841
|
}
|
|
1763
1842
|
),
|
|
1764
|
-
/* @__PURE__ */
|
|
1843
|
+
/* @__PURE__ */ jsx27(
|
|
1765
1844
|
Cuboid16,
|
|
1766
1845
|
{
|
|
1767
1846
|
size: [socketWidth, socketWidth, socketDepth],
|
|
1768
1847
|
center: [x, y, socketCenterZ]
|
|
1769
1848
|
}
|
|
1770
1849
|
),
|
|
1771
|
-
/* @__PURE__ */
|
|
1772
|
-
/* @__PURE__ */
|
|
1850
|
+
/* @__PURE__ */ jsxs24(Hull5, { children: [
|
|
1851
|
+
/* @__PURE__ */ jsx27(
|
|
1773
1852
|
Cuboid16,
|
|
1774
1853
|
{
|
|
1775
1854
|
size: [socketWidth, socketWidth, 0.01],
|
|
1776
1855
|
center: [x, y, flipZ(socketEntryBaseZ)]
|
|
1777
1856
|
}
|
|
1778
1857
|
),
|
|
1779
|
-
/* @__PURE__ */
|
|
1858
|
+
/* @__PURE__ */ jsx27(
|
|
1780
1859
|
Cuboid16,
|
|
1781
1860
|
{
|
|
1782
1861
|
size: [socketEntryWidth, socketEntryWidth, 0.01],
|
|
@@ -1785,9 +1864,9 @@ var FemaleHeader = ({
|
|
|
1785
1864
|
)
|
|
1786
1865
|
] })
|
|
1787
1866
|
] }) }),
|
|
1788
|
-
/* @__PURE__ */
|
|
1789
|
-
/* @__PURE__ */
|
|
1790
|
-
/* @__PURE__ */
|
|
1867
|
+
/* @__PURE__ */ jsxs24(Colorize9, { color: "silver", children: [
|
|
1868
|
+
/* @__PURE__ */ jsxs24(Hull5, { children: [
|
|
1869
|
+
/* @__PURE__ */ jsx27(
|
|
1791
1870
|
Cuboid16,
|
|
1792
1871
|
{
|
|
1793
1872
|
color: "silver",
|
|
@@ -1795,7 +1874,7 @@ var FemaleHeader = ({
|
|
|
1795
1874
|
center: [x, y, flipZ(z + -legsLength / 2 * 0.9)]
|
|
1796
1875
|
}
|
|
1797
1876
|
),
|
|
1798
|
-
/* @__PURE__ */
|
|
1877
|
+
/* @__PURE__ */ jsx27(
|
|
1799
1878
|
Cuboid16,
|
|
1800
1879
|
{
|
|
1801
1880
|
color: "silver",
|
|
@@ -1804,7 +1883,7 @@ var FemaleHeader = ({
|
|
|
1804
1883
|
}
|
|
1805
1884
|
)
|
|
1806
1885
|
] }),
|
|
1807
|
-
/* @__PURE__ */
|
|
1886
|
+
/* @__PURE__ */ jsx27(
|
|
1808
1887
|
Cuboid16,
|
|
1809
1888
|
{
|
|
1810
1889
|
color: "silver",
|
|
@@ -1817,7 +1896,7 @@ var FemaleHeader = ({
|
|
|
1817
1896
|
};
|
|
1818
1897
|
|
|
1819
1898
|
// lib/FemaleHeaderRow.tsx
|
|
1820
|
-
import { Fragment as
|
|
1899
|
+
import { Fragment as Fragment24, jsx as jsx28 } from "react/jsx-runtime";
|
|
1821
1900
|
var FemaleHeaderRow = ({
|
|
1822
1901
|
numberOfPins,
|
|
1823
1902
|
pitch = 2.54,
|
|
@@ -1831,12 +1910,12 @@ var FemaleHeaderRow = ({
|
|
|
1831
1910
|
const rowSpacing = 2.54;
|
|
1832
1911
|
const xoff = -((pinsPerRow - 1) / 2) * pitch;
|
|
1833
1912
|
const flipZ = (z) => invert ? -z + bodyHeight : z;
|
|
1834
|
-
return /* @__PURE__ */
|
|
1913
|
+
return /* @__PURE__ */ jsx28(Fragment24, { children: Array.from({ length: numberOfPins }, (_, i) => {
|
|
1835
1914
|
const row = Math.floor(i / pinsPerRow);
|
|
1836
1915
|
const col = i % pinsPerRow;
|
|
1837
1916
|
const x = xoff + col * pitch;
|
|
1838
1917
|
const y = ((rows - 1) / 2 - row) * rowSpacing;
|
|
1839
|
-
return /* @__PURE__ */
|
|
1918
|
+
return /* @__PURE__ */ jsx28(
|
|
1840
1919
|
FemaleHeader,
|
|
1841
1920
|
{
|
|
1842
1921
|
x,
|
|
@@ -1861,7 +1940,7 @@ import {
|
|
|
1861
1940
|
RoundedCuboid,
|
|
1862
1941
|
Translate as Translate9
|
|
1863
1942
|
} from "jscad-fiber";
|
|
1864
|
-
import { Fragment as
|
|
1943
|
+
import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1865
1944
|
var PushButton = ({
|
|
1866
1945
|
width: width10,
|
|
1867
1946
|
length,
|
|
@@ -1871,8 +1950,8 @@ var PushButton = ({
|
|
|
1871
1950
|
const bodyLength10 = length;
|
|
1872
1951
|
const bodyHeight = width10 * 0.7;
|
|
1873
1952
|
const legWidth = innerDiameter / 2.5;
|
|
1874
|
-
return /* @__PURE__ */
|
|
1875
|
-
/* @__PURE__ */
|
|
1953
|
+
return /* @__PURE__ */ jsxs25(Fragment25, { children: [
|
|
1954
|
+
/* @__PURE__ */ jsx29(
|
|
1876
1955
|
RoundedCuboid,
|
|
1877
1956
|
{
|
|
1878
1957
|
color: "#1a1a1f",
|
|
@@ -1881,7 +1960,7 @@ var PushButton = ({
|
|
|
1881
1960
|
roundRadius: 0.3
|
|
1882
1961
|
}
|
|
1883
1962
|
),
|
|
1884
|
-
/* @__PURE__ */
|
|
1963
|
+
/* @__PURE__ */ jsx29(
|
|
1885
1964
|
RoundedCuboid,
|
|
1886
1965
|
{
|
|
1887
1966
|
color: "#f2f2f2",
|
|
@@ -1890,7 +1969,7 @@ var PushButton = ({
|
|
|
1890
1969
|
roundRadius: 0.14
|
|
1891
1970
|
}
|
|
1892
1971
|
),
|
|
1893
|
-
/* @__PURE__ */
|
|
1972
|
+
/* @__PURE__ */ jsx29(
|
|
1894
1973
|
Cylinder4,
|
|
1895
1974
|
{
|
|
1896
1975
|
color: "#1a1a1f",
|
|
@@ -1899,7 +1978,7 @@ var PushButton = ({
|
|
|
1899
1978
|
center: [0, 0, bodyHeight + bodyHeight * 0.8 / 2]
|
|
1900
1979
|
}
|
|
1901
1980
|
),
|
|
1902
|
-
/* @__PURE__ */
|
|
1981
|
+
/* @__PURE__ */ jsx29(
|
|
1903
1982
|
Cylinder4,
|
|
1904
1983
|
{
|
|
1905
1984
|
color: "#1a1a1f",
|
|
@@ -1912,7 +1991,7 @@ var PushButton = ({
|
|
|
1912
1991
|
]
|
|
1913
1992
|
}
|
|
1914
1993
|
),
|
|
1915
|
-
/* @__PURE__ */
|
|
1994
|
+
/* @__PURE__ */ jsx29(
|
|
1916
1995
|
Cylinder4,
|
|
1917
1996
|
{
|
|
1918
1997
|
color: "#1a1a1f",
|
|
@@ -1925,7 +2004,7 @@ var PushButton = ({
|
|
|
1925
2004
|
]
|
|
1926
2005
|
}
|
|
1927
2006
|
),
|
|
1928
|
-
/* @__PURE__ */
|
|
2007
|
+
/* @__PURE__ */ jsx29(
|
|
1929
2008
|
Cylinder4,
|
|
1930
2009
|
{
|
|
1931
2010
|
color: "#1a1a1f",
|
|
@@ -1938,7 +2017,7 @@ var PushButton = ({
|
|
|
1938
2017
|
]
|
|
1939
2018
|
}
|
|
1940
2019
|
),
|
|
1941
|
-
/* @__PURE__ */
|
|
2020
|
+
/* @__PURE__ */ jsx29(
|
|
1942
2021
|
Cylinder4,
|
|
1943
2022
|
{
|
|
1944
2023
|
color: "#1a1a1f",
|
|
@@ -1951,7 +2030,7 @@ var PushButton = ({
|
|
|
1951
2030
|
]
|
|
1952
2031
|
}
|
|
1953
2032
|
),
|
|
1954
|
-
/* @__PURE__ */
|
|
2033
|
+
/* @__PURE__ */ jsx29(
|
|
1955
2034
|
PushButtonLeg,
|
|
1956
2035
|
{
|
|
1957
2036
|
thickness: innerDiameter / 3,
|
|
@@ -1965,7 +2044,7 @@ var PushButton = ({
|
|
|
1965
2044
|
}
|
|
1966
2045
|
}
|
|
1967
2046
|
),
|
|
1968
|
-
/* @__PURE__ */
|
|
2047
|
+
/* @__PURE__ */ jsx29(
|
|
1969
2048
|
PushButtonLeg,
|
|
1970
2049
|
{
|
|
1971
2050
|
thickness: innerDiameter / 3,
|
|
@@ -1980,7 +2059,7 @@ var PushButton = ({
|
|
|
1980
2059
|
rotation: Math.PI
|
|
1981
2060
|
}
|
|
1982
2061
|
),
|
|
1983
|
-
/* @__PURE__ */
|
|
2062
|
+
/* @__PURE__ */ jsx29(
|
|
1984
2063
|
PushButtonLeg,
|
|
1985
2064
|
{
|
|
1986
2065
|
thickness: innerDiameter / 3,
|
|
@@ -1991,7 +2070,7 @@ var PushButton = ({
|
|
|
1991
2070
|
rotation: Math.PI
|
|
1992
2071
|
}
|
|
1993
2072
|
),
|
|
1994
|
-
/* @__PURE__ */
|
|
2073
|
+
/* @__PURE__ */ jsx29(
|
|
1995
2074
|
PushButtonLeg,
|
|
1996
2075
|
{
|
|
1997
2076
|
thickness: innerDiameter / 3,
|
|
@@ -2023,7 +2102,7 @@ var PushButtonLeg = (props) => {
|
|
|
2023
2102
|
[0, 0]
|
|
2024
2103
|
];
|
|
2025
2104
|
const polygon = getExpandedStroke(points, thickness);
|
|
2026
|
-
return /* @__PURE__ */
|
|
2105
|
+
return /* @__PURE__ */ jsx29(Colorize10, { color: "#f2f2f2", children: /* @__PURE__ */ jsx29(
|
|
2027
2106
|
Translate9,
|
|
2028
2107
|
{
|
|
2029
2108
|
offset: {
|
|
@@ -2031,13 +2110,13 @@ var PushButtonLeg = (props) => {
|
|
|
2031
2110
|
y: position?.y || 0,
|
|
2032
2111
|
z: position?.z || 0
|
|
2033
2112
|
},
|
|
2034
|
-
children: /* @__PURE__ */
|
|
2113
|
+
children: /* @__PURE__ */ jsx29(Rotate6, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx29(ExtrudeLinear4, { height: width10, children: /* @__PURE__ */ jsx29(Polygon4, { points: polygon.map((p) => [p.y, p.x]) }) }) })
|
|
2035
2114
|
}
|
|
2036
2115
|
) });
|
|
2037
2116
|
};
|
|
2038
2117
|
|
|
2039
2118
|
// lib/SOIC.tsx
|
|
2040
|
-
import { Fragment as
|
|
2119
|
+
import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2041
2120
|
var SOIC = ({
|
|
2042
2121
|
pinCount,
|
|
2043
2122
|
leadLength,
|
|
@@ -2053,8 +2132,8 @@ var SOIC = ({
|
|
|
2053
2132
|
const leadBodyOffset = leadLength * 0;
|
|
2054
2133
|
const fullLength10 = pitch * (sidePinCount - 1) + leadWidth + 0.2;
|
|
2055
2134
|
const bodyWidthAdjusted = bodyWidth * 0.55;
|
|
2056
|
-
return /* @__PURE__ */
|
|
2057
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2135
|
+
return /* @__PURE__ */ jsxs26(Fragment26, { children: [
|
|
2136
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx30(
|
|
2058
2137
|
SmdChipLead,
|
|
2059
2138
|
{
|
|
2060
2139
|
position: {
|
|
@@ -2070,7 +2149,7 @@ var SOIC = ({
|
|
|
2070
2149
|
},
|
|
2071
2150
|
i
|
|
2072
2151
|
)),
|
|
2073
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2152
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx30(
|
|
2074
2153
|
SmdChipLead,
|
|
2075
2154
|
{
|
|
2076
2155
|
rotation: Math.PI,
|
|
@@ -2087,7 +2166,7 @@ var SOIC = ({
|
|
|
2087
2166
|
},
|
|
2088
2167
|
i
|
|
2089
2168
|
)),
|
|
2090
|
-
/* @__PURE__ */
|
|
2169
|
+
/* @__PURE__ */ jsx30(
|
|
2091
2170
|
ChipBody,
|
|
2092
2171
|
{
|
|
2093
2172
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -2100,7 +2179,7 @@ var SOIC = ({
|
|
|
2100
2179
|
};
|
|
2101
2180
|
|
|
2102
2181
|
// lib/VSSOP.tsx
|
|
2103
|
-
import { Fragment as
|
|
2182
|
+
import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
2104
2183
|
var VSSOP = ({
|
|
2105
2184
|
pinCount,
|
|
2106
2185
|
pitch,
|
|
@@ -2130,8 +2209,8 @@ var VSSOP = ({
|
|
|
2130
2209
|
const componentFullWidth = 4.5;
|
|
2131
2210
|
const leadBodyDistance = (componentFullWidth - _bodyWidth) / 2;
|
|
2132
2211
|
const padContactLength = leadBodyDistance * 0.5;
|
|
2133
|
-
return /* @__PURE__ */
|
|
2134
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2212
|
+
return /* @__PURE__ */ jsxs27(Fragment27, { children: [
|
|
2213
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx31(
|
|
2135
2214
|
SmdChipLead,
|
|
2136
2215
|
{
|
|
2137
2216
|
position: {
|
|
@@ -2147,7 +2226,7 @@ var VSSOP = ({
|
|
|
2147
2226
|
},
|
|
2148
2227
|
`left-${i}`
|
|
2149
2228
|
)),
|
|
2150
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2229
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx31(
|
|
2151
2230
|
SmdChipLead,
|
|
2152
2231
|
{
|
|
2153
2232
|
rotation: Math.PI,
|
|
@@ -2164,7 +2243,7 @@ var VSSOP = ({
|
|
|
2164
2243
|
},
|
|
2165
2244
|
`right-${i}`
|
|
2166
2245
|
)),
|
|
2167
|
-
/* @__PURE__ */
|
|
2246
|
+
/* @__PURE__ */ jsx31(
|
|
2168
2247
|
ChipBody,
|
|
2169
2248
|
{
|
|
2170
2249
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -2178,7 +2257,7 @@ var VSSOP = ({
|
|
|
2178
2257
|
|
|
2179
2258
|
// lib/SOD523.tsx
|
|
2180
2259
|
import { Colorize as Colorize11, Cuboid as Cuboid18, Hull as Hull6, Translate as Translate10, Union as Union4 } from "jscad-fiber";
|
|
2181
|
-
import { Fragment as
|
|
2260
|
+
import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2182
2261
|
var SOD523 = () => {
|
|
2183
2262
|
const fullWidth = 2.15;
|
|
2184
2263
|
const bodyLength10 = 0.8;
|
|
@@ -2191,8 +2270,8 @@ var SOD523 = () => {
|
|
|
2191
2270
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
2192
2271
|
const taperOffset = 0.2;
|
|
2193
2272
|
const straightHeight = bodyHeight * 0.5;
|
|
2194
|
-
return /* @__PURE__ */
|
|
2195
|
-
/* @__PURE__ */
|
|
2273
|
+
return /* @__PURE__ */ jsxs28(Fragment28, { children: [
|
|
2274
|
+
/* @__PURE__ */ jsx32(
|
|
2196
2275
|
Cuboid18,
|
|
2197
2276
|
{
|
|
2198
2277
|
color: "#ccc",
|
|
@@ -2200,7 +2279,7 @@ var SOD523 = () => {
|
|
|
2200
2279
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2201
2280
|
}
|
|
2202
2281
|
),
|
|
2203
|
-
/* @__PURE__ */
|
|
2282
|
+
/* @__PURE__ */ jsx32(
|
|
2204
2283
|
Cuboid18,
|
|
2205
2284
|
{
|
|
2206
2285
|
color: "#ccc",
|
|
@@ -2208,11 +2287,11 @@ var SOD523 = () => {
|
|
|
2208
2287
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2209
2288
|
}
|
|
2210
2289
|
),
|
|
2211
|
-
/* @__PURE__ */
|
|
2212
|
-
/* @__PURE__ */
|
|
2213
|
-
/* @__PURE__ */
|
|
2214
|
-
/* @__PURE__ */
|
|
2215
|
-
/* @__PURE__ */
|
|
2290
|
+
/* @__PURE__ */ jsx32(Colorize11, { color: "#222", children: /* @__PURE__ */ jsxs28(Union4, { children: [
|
|
2291
|
+
/* @__PURE__ */ jsx32(Translate10, { z: straightHeight / 2, children: /* @__PURE__ */ jsx32(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2292
|
+
/* @__PURE__ */ jsxs28(Hull6, { children: [
|
|
2293
|
+
/* @__PURE__ */ jsx32(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2294
|
+
/* @__PURE__ */ jsx32(Translate10, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
|
|
2216
2295
|
Cuboid18,
|
|
2217
2296
|
{
|
|
2218
2297
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2225,7 +2304,7 @@ var SOD523 = () => {
|
|
|
2225
2304
|
|
|
2226
2305
|
// lib/SOD882.tsx
|
|
2227
2306
|
import { Colorize as Colorize12, Cuboid as Cuboid19, Translate as Translate11 } from "jscad-fiber";
|
|
2228
|
-
import { Fragment as
|
|
2307
|
+
import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2229
2308
|
var SOD882 = () => {
|
|
2230
2309
|
const bodyLength10 = 0.98;
|
|
2231
2310
|
const bodyHeight = 0.47;
|
|
@@ -2236,8 +2315,8 @@ var SOD882 = () => {
|
|
|
2236
2315
|
const bodyWidth = 0.58;
|
|
2237
2316
|
const leftPadCenterX = -pitch / 2;
|
|
2238
2317
|
const rightPadCenterX = pitch / 2;
|
|
2239
|
-
return /* @__PURE__ */
|
|
2240
|
-
/* @__PURE__ */
|
|
2318
|
+
return /* @__PURE__ */ jsxs29(Fragment29, { children: [
|
|
2319
|
+
/* @__PURE__ */ jsx33(
|
|
2241
2320
|
Cuboid19,
|
|
2242
2321
|
{
|
|
2243
2322
|
color: "#ccc",
|
|
@@ -2245,7 +2324,7 @@ var SOD882 = () => {
|
|
|
2245
2324
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2246
2325
|
}
|
|
2247
2326
|
),
|
|
2248
|
-
/* @__PURE__ */
|
|
2327
|
+
/* @__PURE__ */ jsx33(
|
|
2249
2328
|
Cuboid19,
|
|
2250
2329
|
{
|
|
2251
2330
|
color: "#ccc",
|
|
@@ -2253,8 +2332,8 @@ var SOD882 = () => {
|
|
|
2253
2332
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2254
2333
|
}
|
|
2255
2334
|
),
|
|
2256
|
-
/* @__PURE__ */
|
|
2257
|
-
/* @__PURE__ */
|
|
2335
|
+
/* @__PURE__ */ jsx33(Colorize12, { color: "#222", children: /* @__PURE__ */ jsx33(Translate11, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx33(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
|
|
2336
|
+
/* @__PURE__ */ jsx33(
|
|
2258
2337
|
Cuboid19,
|
|
2259
2338
|
{
|
|
2260
2339
|
color: "#ccc",
|
|
@@ -2262,7 +2341,7 @@ var SOD882 = () => {
|
|
|
2262
2341
|
center: [0, padLength / 2, bodyHeight / 4]
|
|
2263
2342
|
}
|
|
2264
2343
|
),
|
|
2265
|
-
/* @__PURE__ */
|
|
2344
|
+
/* @__PURE__ */ jsx33(
|
|
2266
2345
|
Cuboid19,
|
|
2267
2346
|
{
|
|
2268
2347
|
color: "#ccc",
|
|
@@ -2270,7 +2349,7 @@ var SOD882 = () => {
|
|
|
2270
2349
|
center: [0, -padLength / 2, bodyHeight / 4]
|
|
2271
2350
|
}
|
|
2272
2351
|
),
|
|
2273
|
-
/* @__PURE__ */
|
|
2352
|
+
/* @__PURE__ */ jsx33(
|
|
2274
2353
|
Cuboid19,
|
|
2275
2354
|
{
|
|
2276
2355
|
color: "#ccc",
|
|
@@ -2278,7 +2357,7 @@ var SOD882 = () => {
|
|
|
2278
2357
|
center: [pitch / 2, 0, bodyHeight / 4]
|
|
2279
2358
|
}
|
|
2280
2359
|
),
|
|
2281
|
-
/* @__PURE__ */
|
|
2360
|
+
/* @__PURE__ */ jsx33(
|
|
2282
2361
|
Cuboid19,
|
|
2283
2362
|
{
|
|
2284
2363
|
color: "#ccc",
|
|
@@ -2291,7 +2370,7 @@ var SOD882 = () => {
|
|
|
2291
2370
|
|
|
2292
2371
|
// lib/SMA.tsx
|
|
2293
2372
|
import { Cuboid as Cuboid20, Colorize as Colorize13, Union as Union6, Hull as Hull8, Translate as Translate12 } from "jscad-fiber";
|
|
2294
|
-
import { Fragment as
|
|
2373
|
+
import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2295
2374
|
var SMA = () => {
|
|
2296
2375
|
const bodyWidth = 4.4;
|
|
2297
2376
|
const bodyLength10 = 3.4;
|
|
@@ -2302,19 +2381,19 @@ var SMA = () => {
|
|
|
2302
2381
|
const leadHeight = 1.14;
|
|
2303
2382
|
const taperOffset = 0.4;
|
|
2304
2383
|
const straightHeight = bodyHeight * 0.5;
|
|
2305
|
-
const Body = /* @__PURE__ */
|
|
2306
|
-
/* @__PURE__ */
|
|
2307
|
-
/* @__PURE__ */
|
|
2384
|
+
const Body = /* @__PURE__ */ jsx34(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs30(Union6, { children: [
|
|
2385
|
+
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2386
|
+
/* @__PURE__ */ jsx34(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx34(
|
|
2308
2387
|
Cuboid20,
|
|
2309
2388
|
{
|
|
2310
2389
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2311
2390
|
}
|
|
2312
2391
|
) }),
|
|
2313
|
-
/* @__PURE__ */
|
|
2392
|
+
/* @__PURE__ */ jsx34(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2314
2393
|
] }),
|
|
2315
|
-
/* @__PURE__ */
|
|
2316
|
-
/* @__PURE__ */
|
|
2317
|
-
/* @__PURE__ */
|
|
2394
|
+
/* @__PURE__ */ jsxs30(Hull8, { children: [
|
|
2395
|
+
/* @__PURE__ */ jsx34(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2396
|
+
/* @__PURE__ */ jsx34(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
|
|
2318
2397
|
Cuboid20,
|
|
2319
2398
|
{
|
|
2320
2399
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2330,22 +2409,22 @@ var SMA = () => {
|
|
|
2330
2409
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2331
2410
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2332
2411
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2333
|
-
return /* @__PURE__ */
|
|
2334
|
-
/* @__PURE__ */
|
|
2412
|
+
return /* @__PURE__ */ jsx34(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs30(Union6, { children: [
|
|
2413
|
+
/* @__PURE__ */ jsx34(
|
|
2335
2414
|
Cuboid20,
|
|
2336
2415
|
{
|
|
2337
2416
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2338
2417
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2339
2418
|
}
|
|
2340
2419
|
),
|
|
2341
|
-
/* @__PURE__ */
|
|
2420
|
+
/* @__PURE__ */ jsx34(
|
|
2342
2421
|
Cuboid20,
|
|
2343
2422
|
{
|
|
2344
2423
|
size: [leadThickness, padWidth, leadHeight],
|
|
2345
2424
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2346
2425
|
}
|
|
2347
2426
|
),
|
|
2348
|
-
/* @__PURE__ */
|
|
2427
|
+
/* @__PURE__ */ jsx34(
|
|
2349
2428
|
Cuboid20,
|
|
2350
2429
|
{
|
|
2351
2430
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2354,16 +2433,16 @@ var SMA = () => {
|
|
|
2354
2433
|
)
|
|
2355
2434
|
] }) });
|
|
2356
2435
|
};
|
|
2357
|
-
return /* @__PURE__ */
|
|
2358
|
-
/* @__PURE__ */
|
|
2359
|
-
/* @__PURE__ */
|
|
2436
|
+
return /* @__PURE__ */ jsxs30(Fragment30, { children: [
|
|
2437
|
+
/* @__PURE__ */ jsx34(Lead, { xDir: 1 }),
|
|
2438
|
+
/* @__PURE__ */ jsx34(Lead, { xDir: -1 }),
|
|
2360
2439
|
Body
|
|
2361
2440
|
] });
|
|
2362
2441
|
};
|
|
2363
2442
|
|
|
2364
2443
|
// lib/SMB.tsx
|
|
2365
2444
|
import { Cuboid as Cuboid21, Colorize as Colorize14, Union as Union7, Hull as Hull9, Translate as Translate13 } from "jscad-fiber";
|
|
2366
|
-
import { Fragment as
|
|
2445
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2367
2446
|
var SMB = () => {
|
|
2368
2447
|
const bodyWidth = 4.4;
|
|
2369
2448
|
const bodyLength10 = 3.4;
|
|
@@ -2374,19 +2453,19 @@ var SMB = () => {
|
|
|
2374
2453
|
const leadHeight = 1.14;
|
|
2375
2454
|
const taperOffset = 0.4;
|
|
2376
2455
|
const straightHeight = bodyHeight * 0.5;
|
|
2377
|
-
const Body = /* @__PURE__ */
|
|
2378
|
-
/* @__PURE__ */
|
|
2379
|
-
/* @__PURE__ */
|
|
2456
|
+
const Body = /* @__PURE__ */ jsx35(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs31(Union7, { children: [
|
|
2457
|
+
/* @__PURE__ */ jsxs31(Hull9, { children: [
|
|
2458
|
+
/* @__PURE__ */ jsx35(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx35(
|
|
2380
2459
|
Cuboid21,
|
|
2381
2460
|
{
|
|
2382
2461
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2383
2462
|
}
|
|
2384
2463
|
) }),
|
|
2385
|
-
/* @__PURE__ */
|
|
2464
|
+
/* @__PURE__ */ jsx35(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2386
2465
|
] }),
|
|
2387
|
-
/* @__PURE__ */
|
|
2388
|
-
/* @__PURE__ */
|
|
2389
|
-
/* @__PURE__ */
|
|
2466
|
+
/* @__PURE__ */ jsxs31(Hull9, { children: [
|
|
2467
|
+
/* @__PURE__ */ jsx35(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2468
|
+
/* @__PURE__ */ jsx35(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
|
|
2390
2469
|
Cuboid21,
|
|
2391
2470
|
{
|
|
2392
2471
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2402,22 +2481,22 @@ var SMB = () => {
|
|
|
2402
2481
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2403
2482
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2404
2483
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2405
|
-
return /* @__PURE__ */
|
|
2406
|
-
/* @__PURE__ */
|
|
2484
|
+
return /* @__PURE__ */ jsx35(Colorize14, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs31(Union7, { children: [
|
|
2485
|
+
/* @__PURE__ */ jsx35(
|
|
2407
2486
|
Cuboid21,
|
|
2408
2487
|
{
|
|
2409
2488
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2410
2489
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2411
2490
|
}
|
|
2412
2491
|
),
|
|
2413
|
-
/* @__PURE__ */
|
|
2492
|
+
/* @__PURE__ */ jsx35(
|
|
2414
2493
|
Cuboid21,
|
|
2415
2494
|
{
|
|
2416
2495
|
size: [leadThickness, padWidth, leadHeight],
|
|
2417
2496
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2418
2497
|
}
|
|
2419
2498
|
),
|
|
2420
|
-
/* @__PURE__ */
|
|
2499
|
+
/* @__PURE__ */ jsx35(
|
|
2421
2500
|
Cuboid21,
|
|
2422
2501
|
{
|
|
2423
2502
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2426,16 +2505,16 @@ var SMB = () => {
|
|
|
2426
2505
|
)
|
|
2427
2506
|
] }) });
|
|
2428
2507
|
};
|
|
2429
|
-
return /* @__PURE__ */
|
|
2430
|
-
/* @__PURE__ */
|
|
2431
|
-
/* @__PURE__ */
|
|
2508
|
+
return /* @__PURE__ */ jsxs31(Fragment31, { children: [
|
|
2509
|
+
/* @__PURE__ */ jsx35(Lead, { xDir: 1 }),
|
|
2510
|
+
/* @__PURE__ */ jsx35(Lead, { xDir: -1 }),
|
|
2432
2511
|
Body
|
|
2433
2512
|
] });
|
|
2434
2513
|
};
|
|
2435
2514
|
|
|
2436
2515
|
// lib/SMC.tsx
|
|
2437
2516
|
import { Cuboid as Cuboid22, Colorize as Colorize15, Union as Union8, Hull as Hull10, Translate as Translate14 } from "jscad-fiber";
|
|
2438
|
-
import { Fragment as
|
|
2517
|
+
import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2439
2518
|
var SMC = () => {
|
|
2440
2519
|
const bodyWidth = 6.8;
|
|
2441
2520
|
const bodyLength10 = 6;
|
|
@@ -2446,19 +2525,19 @@ var SMC = () => {
|
|
|
2446
2525
|
const leadHeight = 1.14;
|
|
2447
2526
|
const taperOffset = 0.4;
|
|
2448
2527
|
const straightHeight = bodyHeight * 0.5;
|
|
2449
|
-
const Body = /* @__PURE__ */
|
|
2450
|
-
/* @__PURE__ */
|
|
2451
|
-
/* @__PURE__ */
|
|
2528
|
+
const Body = /* @__PURE__ */ jsx36(Colorize15, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs32(Union8, { children: [
|
|
2529
|
+
/* @__PURE__ */ jsxs32(Hull10, { children: [
|
|
2530
|
+
/* @__PURE__ */ jsx36(Translate14, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx36(
|
|
2452
2531
|
Cuboid22,
|
|
2453
2532
|
{
|
|
2454
2533
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
2455
2534
|
}
|
|
2456
2535
|
) }),
|
|
2457
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ jsx36(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
2458
2537
|
] }),
|
|
2459
|
-
/* @__PURE__ */
|
|
2460
|
-
/* @__PURE__ */
|
|
2461
|
-
/* @__PURE__ */
|
|
2538
|
+
/* @__PURE__ */ jsxs32(Hull10, { children: [
|
|
2539
|
+
/* @__PURE__ */ jsx36(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2540
|
+
/* @__PURE__ */ jsx36(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
|
|
2462
2541
|
Cuboid22,
|
|
2463
2542
|
{
|
|
2464
2543
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2474,22 +2553,22 @@ var SMC = () => {
|
|
|
2474
2553
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
2475
2554
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
2476
2555
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
2477
|
-
return /* @__PURE__ */
|
|
2478
|
-
/* @__PURE__ */
|
|
2556
|
+
return /* @__PURE__ */ jsx36(Colorize15, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs32(Union8, { children: [
|
|
2557
|
+
/* @__PURE__ */ jsx36(
|
|
2479
2558
|
Cuboid22,
|
|
2480
2559
|
{
|
|
2481
2560
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
2482
2561
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
2483
2562
|
}
|
|
2484
2563
|
),
|
|
2485
|
-
/* @__PURE__ */
|
|
2564
|
+
/* @__PURE__ */ jsx36(
|
|
2486
2565
|
Cuboid22,
|
|
2487
2566
|
{
|
|
2488
2567
|
size: [leadThickness, padWidth, leadHeight],
|
|
2489
2568
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
2490
2569
|
}
|
|
2491
2570
|
),
|
|
2492
|
-
/* @__PURE__ */
|
|
2571
|
+
/* @__PURE__ */ jsx36(
|
|
2493
2572
|
Cuboid22,
|
|
2494
2573
|
{
|
|
2495
2574
|
size: [bridgeLength, padWidth, leadThickness],
|
|
@@ -2498,16 +2577,16 @@ var SMC = () => {
|
|
|
2498
2577
|
)
|
|
2499
2578
|
] }) });
|
|
2500
2579
|
};
|
|
2501
|
-
return /* @__PURE__ */
|
|
2502
|
-
/* @__PURE__ */
|
|
2503
|
-
/* @__PURE__ */
|
|
2580
|
+
return /* @__PURE__ */ jsxs32(Fragment32, { children: [
|
|
2581
|
+
/* @__PURE__ */ jsx36(Lead, { xDir: 1 }),
|
|
2582
|
+
/* @__PURE__ */ jsx36(Lead, { xDir: -1 }),
|
|
2504
2583
|
Body
|
|
2505
2584
|
] });
|
|
2506
2585
|
};
|
|
2507
2586
|
|
|
2508
2587
|
// lib/SMF.tsx
|
|
2509
2588
|
import { Colorize as Colorize16, Cuboid as Cuboid23, Hull as Hull11, Translate as Translate15, Union as Union9 } from "jscad-fiber";
|
|
2510
|
-
import { Fragment as
|
|
2589
|
+
import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2511
2590
|
var SMF = () => {
|
|
2512
2591
|
const fullWidth = 2.9;
|
|
2513
2592
|
const bodyLength10 = 1.9;
|
|
@@ -2520,11 +2599,11 @@ var SMF = () => {
|
|
|
2520
2599
|
const rightPadCenterX = 1.3;
|
|
2521
2600
|
const taperOffset = 0.2;
|
|
2522
2601
|
const straightHeight = bodyHeight * 0.5;
|
|
2523
|
-
const Body = /* @__PURE__ */
|
|
2524
|
-
/* @__PURE__ */
|
|
2525
|
-
/* @__PURE__ */
|
|
2526
|
-
/* @__PURE__ */
|
|
2527
|
-
/* @__PURE__ */
|
|
2602
|
+
const Body = /* @__PURE__ */ jsx37(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs33(Union9, { children: [
|
|
2603
|
+
/* @__PURE__ */ jsx37(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx37(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2604
|
+
/* @__PURE__ */ jsxs33(Hull11, { children: [
|
|
2605
|
+
/* @__PURE__ */ jsx37(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx37(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2606
|
+
/* @__PURE__ */ jsx37(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx37(
|
|
2528
2607
|
Cuboid23,
|
|
2529
2608
|
{
|
|
2530
2609
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2532,8 +2611,8 @@ var SMF = () => {
|
|
|
2532
2611
|
) })
|
|
2533
2612
|
] })
|
|
2534
2613
|
] }) });
|
|
2535
|
-
return /* @__PURE__ */
|
|
2536
|
-
/* @__PURE__ */
|
|
2614
|
+
return /* @__PURE__ */ jsxs33(Fragment33, { children: [
|
|
2615
|
+
/* @__PURE__ */ jsx37(
|
|
2537
2616
|
Cuboid23,
|
|
2538
2617
|
{
|
|
2539
2618
|
color: "#ccc",
|
|
@@ -2541,7 +2620,7 @@ var SMF = () => {
|
|
|
2541
2620
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2542
2621
|
}
|
|
2543
2622
|
),
|
|
2544
|
-
/* @__PURE__ */
|
|
2623
|
+
/* @__PURE__ */ jsx37(
|
|
2545
2624
|
Cuboid23,
|
|
2546
2625
|
{
|
|
2547
2626
|
color: "#ccc",
|
|
@@ -2555,7 +2634,7 @@ var SMF = () => {
|
|
|
2555
2634
|
|
|
2556
2635
|
// lib/sod-123F.tsx
|
|
2557
2636
|
import { Colorize as Colorize17, Cuboid as Cuboid24, Hull as Hull12, Translate as Translate16, Union as Union10 } from "jscad-fiber";
|
|
2558
|
-
import { Fragment as
|
|
2637
|
+
import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2559
2638
|
var SOD123F = () => {
|
|
2560
2639
|
const fullWidth = 2.7;
|
|
2561
2640
|
const bodyLength10 = 1.6;
|
|
@@ -2567,8 +2646,8 @@ var SOD123F = () => {
|
|
|
2567
2646
|
const rightPadCenterX = 1.3;
|
|
2568
2647
|
const taperOffset = 0.2;
|
|
2569
2648
|
const straightHeight = bodyHeight * 0.5;
|
|
2570
|
-
return /* @__PURE__ */
|
|
2571
|
-
/* @__PURE__ */
|
|
2649
|
+
return /* @__PURE__ */ jsxs34(Fragment34, { children: [
|
|
2650
|
+
/* @__PURE__ */ jsx38(
|
|
2572
2651
|
Cuboid24,
|
|
2573
2652
|
{
|
|
2574
2653
|
color: "#ccc",
|
|
@@ -2576,7 +2655,7 @@ var SOD123F = () => {
|
|
|
2576
2655
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2577
2656
|
}
|
|
2578
2657
|
),
|
|
2579
|
-
/* @__PURE__ */
|
|
2658
|
+
/* @__PURE__ */ jsx38(
|
|
2580
2659
|
Cuboid24,
|
|
2581
2660
|
{
|
|
2582
2661
|
color: "#ccc",
|
|
@@ -2584,11 +2663,11 @@ var SOD123F = () => {
|
|
|
2584
2663
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2585
2664
|
}
|
|
2586
2665
|
),
|
|
2587
|
-
/* @__PURE__ */
|
|
2588
|
-
/* @__PURE__ */
|
|
2589
|
-
/* @__PURE__ */
|
|
2590
|
-
/* @__PURE__ */
|
|
2591
|
-
/* @__PURE__ */
|
|
2666
|
+
/* @__PURE__ */ jsx38(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs34(Union10, { children: [
|
|
2667
|
+
/* @__PURE__ */ jsx38(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx38(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2668
|
+
/* @__PURE__ */ jsxs34(Hull12, { children: [
|
|
2669
|
+
/* @__PURE__ */ jsx38(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx38(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2670
|
+
/* @__PURE__ */ jsx38(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx38(
|
|
2592
2671
|
Cuboid24,
|
|
2593
2672
|
{
|
|
2594
2673
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2601,7 +2680,7 @@ var SOD123F = () => {
|
|
|
2601
2680
|
|
|
2602
2681
|
// lib/sod-123FL.tsx
|
|
2603
2682
|
import { Colorize as Colorize18, Cuboid as Cuboid25, Hull as Hull13, Translate as Translate17, Union as Union11 } from "jscad-fiber";
|
|
2604
|
-
import { Fragment as
|
|
2683
|
+
import { Fragment as Fragment35, jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2605
2684
|
var SOD123FL = () => {
|
|
2606
2685
|
const fullWidth = 2.75;
|
|
2607
2686
|
const bodyLength10 = 1.8;
|
|
@@ -2613,8 +2692,8 @@ var SOD123FL = () => {
|
|
|
2613
2692
|
const rightPadCenterX = fullWidth / 2 - 0.075;
|
|
2614
2693
|
const taperOffset = 0.4;
|
|
2615
2694
|
const straightHeight = bodyHeight * 0.2;
|
|
2616
|
-
return /* @__PURE__ */
|
|
2617
|
-
/* @__PURE__ */
|
|
2695
|
+
return /* @__PURE__ */ jsxs35(Fragment35, { children: [
|
|
2696
|
+
/* @__PURE__ */ jsx39(
|
|
2618
2697
|
Cuboid25,
|
|
2619
2698
|
{
|
|
2620
2699
|
color: "#ccc",
|
|
@@ -2622,7 +2701,7 @@ var SOD123FL = () => {
|
|
|
2622
2701
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2623
2702
|
}
|
|
2624
2703
|
),
|
|
2625
|
-
/* @__PURE__ */
|
|
2704
|
+
/* @__PURE__ */ jsx39(
|
|
2626
2705
|
Cuboid25,
|
|
2627
2706
|
{
|
|
2628
2707
|
color: "#ccc",
|
|
@@ -2630,11 +2709,11 @@ var SOD123FL = () => {
|
|
|
2630
2709
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2631
2710
|
}
|
|
2632
2711
|
),
|
|
2633
|
-
/* @__PURE__ */
|
|
2634
|
-
/* @__PURE__ */
|
|
2635
|
-
/* @__PURE__ */
|
|
2636
|
-
/* @__PURE__ */
|
|
2637
|
-
/* @__PURE__ */
|
|
2712
|
+
/* @__PURE__ */ jsx39(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs35(Union11, { children: [
|
|
2713
|
+
/* @__PURE__ */ jsx39(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx39(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2714
|
+
/* @__PURE__ */ jsxs35(Hull13, { children: [
|
|
2715
|
+
/* @__PURE__ */ jsx39(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx39(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2716
|
+
/* @__PURE__ */ jsx39(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx39(
|
|
2638
2717
|
Cuboid25,
|
|
2639
2718
|
{
|
|
2640
2719
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2642,7 +2721,7 @@ var SOD123FL = () => {
|
|
|
2642
2721
|
) })
|
|
2643
2722
|
] })
|
|
2644
2723
|
] }) }),
|
|
2645
|
-
/* @__PURE__ */
|
|
2724
|
+
/* @__PURE__ */ jsx39(
|
|
2646
2725
|
Cuboid25,
|
|
2647
2726
|
{
|
|
2648
2727
|
color: "#777",
|
|
@@ -2655,7 +2734,7 @@ var SOD123FL = () => {
|
|
|
2655
2734
|
|
|
2656
2735
|
// lib/sod-123W.tsx
|
|
2657
2736
|
import { Colorize as Colorize19, Cuboid as Cuboid26, Hull as Hull14, Translate as Translate18, Union as Union12 } from "jscad-fiber";
|
|
2658
|
-
import { Fragment as
|
|
2737
|
+
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2659
2738
|
var SOD123W = () => {
|
|
2660
2739
|
const fullWidth = 2.6;
|
|
2661
2740
|
const bodyLength10 = 1.7;
|
|
@@ -2668,8 +2747,8 @@ var SOD123W = () => {
|
|
|
2668
2747
|
const taperOffset = 0.4;
|
|
2669
2748
|
const lowerTaperOffset = 0.1;
|
|
2670
2749
|
const straightHeight = bodyHeight * 0.2;
|
|
2671
|
-
return /* @__PURE__ */
|
|
2672
|
-
/* @__PURE__ */
|
|
2750
|
+
return /* @__PURE__ */ jsxs36(Fragment36, { children: [
|
|
2751
|
+
/* @__PURE__ */ jsx40(
|
|
2673
2752
|
Cuboid26,
|
|
2674
2753
|
{
|
|
2675
2754
|
color: "#ccc",
|
|
@@ -2677,7 +2756,7 @@ var SOD123W = () => {
|
|
|
2677
2756
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2678
2757
|
}
|
|
2679
2758
|
),
|
|
2680
|
-
/* @__PURE__ */
|
|
2759
|
+
/* @__PURE__ */ jsx40(
|
|
2681
2760
|
Cuboid26,
|
|
2682
2761
|
{
|
|
2683
2762
|
color: "#ccc",
|
|
@@ -2685,9 +2764,9 @@ var SOD123W = () => {
|
|
|
2685
2764
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2686
2765
|
}
|
|
2687
2766
|
),
|
|
2688
|
-
/* @__PURE__ */
|
|
2689
|
-
/* @__PURE__ */
|
|
2690
|
-
/* @__PURE__ */
|
|
2767
|
+
/* @__PURE__ */ jsx40(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs36(Union12, { children: [
|
|
2768
|
+
/* @__PURE__ */ jsxs36(Hull14, { children: [
|
|
2769
|
+
/* @__PURE__ */ jsx40(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx40(
|
|
2691
2770
|
Cuboid26,
|
|
2692
2771
|
{
|
|
2693
2772
|
size: [
|
|
@@ -2697,7 +2776,7 @@ var SOD123W = () => {
|
|
|
2697
2776
|
]
|
|
2698
2777
|
}
|
|
2699
2778
|
) }),
|
|
2700
|
-
/* @__PURE__ */
|
|
2779
|
+
/* @__PURE__ */ jsx40(Translate18, { z: 0.01, children: /* @__PURE__ */ jsx40(
|
|
2701
2780
|
Cuboid26,
|
|
2702
2781
|
{
|
|
2703
2782
|
size: [
|
|
@@ -2708,9 +2787,9 @@ var SOD123W = () => {
|
|
|
2708
2787
|
}
|
|
2709
2788
|
) })
|
|
2710
2789
|
] }),
|
|
2711
|
-
/* @__PURE__ */
|
|
2712
|
-
/* @__PURE__ */
|
|
2713
|
-
/* @__PURE__ */
|
|
2790
|
+
/* @__PURE__ */ jsxs36(Hull14, { children: [
|
|
2791
|
+
/* @__PURE__ */ jsx40(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx40(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2792
|
+
/* @__PURE__ */ jsx40(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx40(
|
|
2714
2793
|
Cuboid26,
|
|
2715
2794
|
{
|
|
2716
2795
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2718,7 +2797,7 @@ var SOD123W = () => {
|
|
|
2718
2797
|
) })
|
|
2719
2798
|
] })
|
|
2720
2799
|
] }) }),
|
|
2721
|
-
/* @__PURE__ */
|
|
2800
|
+
/* @__PURE__ */ jsx40(
|
|
2722
2801
|
Cuboid26,
|
|
2723
2802
|
{
|
|
2724
2803
|
color: "#777",
|
|
@@ -2729,9 +2808,86 @@ var SOD123W = () => {
|
|
|
2729
2808
|
] });
|
|
2730
2809
|
};
|
|
2731
2810
|
|
|
2811
|
+
// lib/sod-123.tsx
|
|
2812
|
+
import { Cuboid as Cuboid27 } from "jscad-fiber";
|
|
2813
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2814
|
+
var SOD123 = ({
|
|
2815
|
+
fullWidth = 3.7,
|
|
2816
|
+
fullLength: fullLength10 = 1.55
|
|
2817
|
+
} = {}) => {
|
|
2818
|
+
const bodyWidth = fullWidth - 1;
|
|
2819
|
+
const bodyLength10 = fullLength10;
|
|
2820
|
+
const packageHeight = 1.175;
|
|
2821
|
+
const bodyStandoff = 0.1;
|
|
2822
|
+
const bodyHeight = packageHeight - bodyStandoff;
|
|
2823
|
+
const leadWidth = 0.55;
|
|
2824
|
+
const leadThickness = 0.12;
|
|
2825
|
+
const leadHeight = 0.35;
|
|
2826
|
+
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
2827
|
+
const padContactLength = 0.25;
|
|
2828
|
+
const leadCurveLength = 0.2;
|
|
2829
|
+
return /* @__PURE__ */ jsxs37(Fragment37, { children: [
|
|
2830
|
+
/* @__PURE__ */ jsx41(
|
|
2831
|
+
SmdChipLead,
|
|
2832
|
+
{
|
|
2833
|
+
position: {
|
|
2834
|
+
x: -fullWidth / 2,
|
|
2835
|
+
y: 0,
|
|
2836
|
+
z: leadThickness / 2
|
|
2837
|
+
},
|
|
2838
|
+
width: leadWidth,
|
|
2839
|
+
thickness: leadThickness,
|
|
2840
|
+
padContactLength,
|
|
2841
|
+
bodyDistance,
|
|
2842
|
+
curveLength: leadCurveLength,
|
|
2843
|
+
height: leadHeight
|
|
2844
|
+
}
|
|
2845
|
+
),
|
|
2846
|
+
/* @__PURE__ */ jsx41(
|
|
2847
|
+
SmdChipLead,
|
|
2848
|
+
{
|
|
2849
|
+
rotation: Math.PI,
|
|
2850
|
+
position: {
|
|
2851
|
+
x: fullWidth / 2,
|
|
2852
|
+
y: 0,
|
|
2853
|
+
z: leadThickness / 2
|
|
2854
|
+
},
|
|
2855
|
+
width: leadWidth,
|
|
2856
|
+
thickness: leadThickness,
|
|
2857
|
+
padContactLength,
|
|
2858
|
+
bodyDistance,
|
|
2859
|
+
curveLength: leadCurveLength,
|
|
2860
|
+
height: leadHeight
|
|
2861
|
+
}
|
|
2862
|
+
),
|
|
2863
|
+
/* @__PURE__ */ jsx41(
|
|
2864
|
+
ChipBody,
|
|
2865
|
+
{
|
|
2866
|
+
center: { x: 0, y: 0, z: 0 },
|
|
2867
|
+
width: bodyWidth,
|
|
2868
|
+
length: bodyLength10,
|
|
2869
|
+
height: bodyHeight,
|
|
2870
|
+
heightAboveSurface: bodyStandoff,
|
|
2871
|
+
includeNotch: false,
|
|
2872
|
+
color: "#222",
|
|
2873
|
+
taperRatio: 0.06,
|
|
2874
|
+
straightHeightRatio: 0.6
|
|
2875
|
+
}
|
|
2876
|
+
),
|
|
2877
|
+
/* @__PURE__ */ jsx41(
|
|
2878
|
+
Cuboid27,
|
|
2879
|
+
{
|
|
2880
|
+
color: "#777",
|
|
2881
|
+
size: [0.45, bodyLength10 - 0.15, 0.02],
|
|
2882
|
+
center: [-bodyWidth / 4, 0, packageHeight]
|
|
2883
|
+
}
|
|
2884
|
+
)
|
|
2885
|
+
] });
|
|
2886
|
+
};
|
|
2887
|
+
|
|
2732
2888
|
// lib/sod-128.tsx
|
|
2733
|
-
import { Colorize as Colorize20, Cuboid as
|
|
2734
|
-
import { Fragment as
|
|
2889
|
+
import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull15, Translate as Translate19, Union as Union13 } from "jscad-fiber";
|
|
2890
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2735
2891
|
var SOD128 = () => {
|
|
2736
2892
|
const fullWidth = 3.8;
|
|
2737
2893
|
const bodyLength10 = 2.5;
|
|
@@ -2744,27 +2900,27 @@ var SOD128 = () => {
|
|
|
2744
2900
|
const taperOffset = 0.4;
|
|
2745
2901
|
const lowerTaperOffset = 0.05;
|
|
2746
2902
|
const straightHeight = bodyHeight * 0.2;
|
|
2747
|
-
return /* @__PURE__ */
|
|
2748
|
-
/* @__PURE__ */
|
|
2749
|
-
|
|
2903
|
+
return /* @__PURE__ */ jsxs38(Fragment38, { children: [
|
|
2904
|
+
/* @__PURE__ */ jsx42(
|
|
2905
|
+
Cuboid28,
|
|
2750
2906
|
{
|
|
2751
2907
|
color: "#ccc",
|
|
2752
2908
|
size: [padLength, padWidth, padThickness],
|
|
2753
2909
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2754
2910
|
}
|
|
2755
2911
|
),
|
|
2756
|
-
/* @__PURE__ */
|
|
2757
|
-
|
|
2912
|
+
/* @__PURE__ */ jsx42(
|
|
2913
|
+
Cuboid28,
|
|
2758
2914
|
{
|
|
2759
2915
|
color: "#ccc",
|
|
2760
2916
|
size: [padLength, padWidth, padThickness],
|
|
2761
2917
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2762
2918
|
}
|
|
2763
2919
|
),
|
|
2764
|
-
/* @__PURE__ */
|
|
2765
|
-
/* @__PURE__ */
|
|
2766
|
-
/* @__PURE__ */
|
|
2767
|
-
|
|
2920
|
+
/* @__PURE__ */ jsx42(Colorize20, { color: "#222", children: /* @__PURE__ */ jsxs38(Union13, { children: [
|
|
2921
|
+
/* @__PURE__ */ jsxs38(Hull15, { children: [
|
|
2922
|
+
/* @__PURE__ */ jsx42(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx42(
|
|
2923
|
+
Cuboid28,
|
|
2768
2924
|
{
|
|
2769
2925
|
size: [
|
|
2770
2926
|
fullWidth - lowerTaperOffset / 2,
|
|
@@ -2773,8 +2929,8 @@ var SOD128 = () => {
|
|
|
2773
2929
|
]
|
|
2774
2930
|
}
|
|
2775
2931
|
) }),
|
|
2776
|
-
/* @__PURE__ */
|
|
2777
|
-
|
|
2932
|
+
/* @__PURE__ */ jsx42(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx42(
|
|
2933
|
+
Cuboid28,
|
|
2778
2934
|
{
|
|
2779
2935
|
size: [
|
|
2780
2936
|
fullWidth - lowerTaperOffset,
|
|
@@ -2784,18 +2940,18 @@ var SOD128 = () => {
|
|
|
2784
2940
|
}
|
|
2785
2941
|
) })
|
|
2786
2942
|
] }),
|
|
2787
|
-
/* @__PURE__ */
|
|
2788
|
-
/* @__PURE__ */
|
|
2789
|
-
/* @__PURE__ */
|
|
2790
|
-
|
|
2943
|
+
/* @__PURE__ */ jsxs38(Hull15, { children: [
|
|
2944
|
+
/* @__PURE__ */ jsx42(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx42(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2945
|
+
/* @__PURE__ */ jsx42(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx42(
|
|
2946
|
+
Cuboid28,
|
|
2791
2947
|
{
|
|
2792
2948
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2793
2949
|
}
|
|
2794
2950
|
) })
|
|
2795
2951
|
] })
|
|
2796
2952
|
] }) }),
|
|
2797
|
-
/* @__PURE__ */
|
|
2798
|
-
|
|
2953
|
+
/* @__PURE__ */ jsx42(
|
|
2954
|
+
Cuboid28,
|
|
2799
2955
|
{
|
|
2800
2956
|
color: "#777",
|
|
2801
2957
|
size: [padThickness * 2.7, bodyLength10 - taperOffset, 0.02],
|
|
@@ -2806,8 +2962,8 @@ var SOD128 = () => {
|
|
|
2806
2962
|
};
|
|
2807
2963
|
|
|
2808
2964
|
// lib/SOD-923.tsx
|
|
2809
|
-
import { Colorize as Colorize21, Cuboid as
|
|
2810
|
-
import { Fragment as
|
|
2965
|
+
import { Colorize as Colorize21, Cuboid as Cuboid29, Hull as Hull16, Translate as Translate20, Union as Union14 } from "jscad-fiber";
|
|
2966
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2811
2967
|
var SOD923 = () => {
|
|
2812
2968
|
const fullWidth = 0.8;
|
|
2813
2969
|
const bodyLength10 = 0.6;
|
|
@@ -2819,29 +2975,29 @@ var SOD923 = () => {
|
|
|
2819
2975
|
const rightPadCenterX = fullWidth / 2;
|
|
2820
2976
|
const taperOffset = 0.1;
|
|
2821
2977
|
const straightHeight = padThickness;
|
|
2822
|
-
return /* @__PURE__ */
|
|
2823
|
-
/* @__PURE__ */
|
|
2824
|
-
|
|
2978
|
+
return /* @__PURE__ */ jsxs39(Fragment39, { children: [
|
|
2979
|
+
/* @__PURE__ */ jsx43(
|
|
2980
|
+
Cuboid29,
|
|
2825
2981
|
{
|
|
2826
2982
|
color: "#ccc",
|
|
2827
2983
|
size: [padLength, padWidth, padThickness],
|
|
2828
2984
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2829
2985
|
}
|
|
2830
2986
|
),
|
|
2831
|
-
/* @__PURE__ */
|
|
2832
|
-
|
|
2987
|
+
/* @__PURE__ */ jsx43(
|
|
2988
|
+
Cuboid29,
|
|
2833
2989
|
{
|
|
2834
2990
|
color: "#ccc",
|
|
2835
2991
|
size: [padLength, padWidth, padThickness],
|
|
2836
2992
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2837
2993
|
}
|
|
2838
2994
|
),
|
|
2839
|
-
/* @__PURE__ */
|
|
2840
|
-
/* @__PURE__ */
|
|
2841
|
-
/* @__PURE__ */
|
|
2842
|
-
/* @__PURE__ */
|
|
2843
|
-
/* @__PURE__ */
|
|
2844
|
-
|
|
2995
|
+
/* @__PURE__ */ jsx43(Colorize21, { color: "#222", children: /* @__PURE__ */ jsxs39(Union14, { children: [
|
|
2996
|
+
/* @__PURE__ */ jsx43(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx43(Cuboid29, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2997
|
+
/* @__PURE__ */ jsxs39(Hull16, { children: [
|
|
2998
|
+
/* @__PURE__ */ jsx43(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx43(Cuboid29, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2999
|
+
/* @__PURE__ */ jsx43(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx43(
|
|
3000
|
+
Cuboid29,
|
|
2845
3001
|
{
|
|
2846
3002
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2847
3003
|
}
|
|
@@ -2852,7 +3008,7 @@ var SOD923 = () => {
|
|
|
2852
3008
|
};
|
|
2853
3009
|
|
|
2854
3010
|
// lib/SOT-223.tsx
|
|
2855
|
-
import { Fragment as
|
|
3011
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2856
3012
|
var SOT223 = () => {
|
|
2857
3013
|
const fullWidth = 6.6;
|
|
2858
3014
|
const bodyWidth = 3.5;
|
|
@@ -2865,8 +3021,8 @@ var SOT223 = () => {
|
|
|
2865
3021
|
const padContactLength = 0.5;
|
|
2866
3022
|
const padPitch = 2.3;
|
|
2867
3023
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2868
|
-
return /* @__PURE__ */
|
|
2869
|
-
/* @__PURE__ */
|
|
3024
|
+
return /* @__PURE__ */ jsxs40(Fragment40, { children: [
|
|
3025
|
+
/* @__PURE__ */ jsx44(
|
|
2870
3026
|
SmdChipLead,
|
|
2871
3027
|
{
|
|
2872
3028
|
rotation: Math.PI,
|
|
@@ -2883,7 +3039,7 @@ var SOT223 = () => {
|
|
|
2883
3039
|
},
|
|
2884
3040
|
4
|
|
2885
3041
|
),
|
|
2886
|
-
/* @__PURE__ */
|
|
3042
|
+
/* @__PURE__ */ jsx44(
|
|
2887
3043
|
SmdChipLead,
|
|
2888
3044
|
{
|
|
2889
3045
|
position: {
|
|
@@ -2899,7 +3055,7 @@ var SOT223 = () => {
|
|
|
2899
3055
|
},
|
|
2900
3056
|
3
|
|
2901
3057
|
),
|
|
2902
|
-
/* @__PURE__ */
|
|
3058
|
+
/* @__PURE__ */ jsx44(
|
|
2903
3059
|
SmdChipLead,
|
|
2904
3060
|
{
|
|
2905
3061
|
position: {
|
|
@@ -2915,7 +3071,7 @@ var SOT223 = () => {
|
|
|
2915
3071
|
},
|
|
2916
3072
|
1
|
|
2917
3073
|
),
|
|
2918
|
-
/* @__PURE__ */
|
|
3074
|
+
/* @__PURE__ */ jsx44(
|
|
2919
3075
|
SmdChipLead,
|
|
2920
3076
|
{
|
|
2921
3077
|
position: {
|
|
@@ -2931,7 +3087,7 @@ var SOT223 = () => {
|
|
|
2931
3087
|
},
|
|
2932
3088
|
2
|
|
2933
3089
|
),
|
|
2934
|
-
/* @__PURE__ */
|
|
3090
|
+
/* @__PURE__ */ jsx44(
|
|
2935
3091
|
ChipBody,
|
|
2936
3092
|
{
|
|
2937
3093
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2947,7 +3103,7 @@ var SOT223 = () => {
|
|
|
2947
3103
|
};
|
|
2948
3104
|
|
|
2949
3105
|
// lib/tqfp.tsx
|
|
2950
|
-
import { Fragment as
|
|
3106
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2951
3107
|
var TQFP = () => {
|
|
2952
3108
|
const pinCount = 64;
|
|
2953
3109
|
const pitch = 0.5;
|
|
@@ -2962,8 +3118,8 @@ var TQFP = () => {
|
|
|
2962
3118
|
const leadHeight = 0.65;
|
|
2963
3119
|
const leadThickness = 0.25;
|
|
2964
3120
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2965
|
-
return /* @__PURE__ */
|
|
2966
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3121
|
+
return /* @__PURE__ */ jsxs41(Fragment41, { children: [
|
|
3122
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
2967
3123
|
SmdChipLead,
|
|
2968
3124
|
{
|
|
2969
3125
|
position: {
|
|
@@ -2979,7 +3135,7 @@ var TQFP = () => {
|
|
|
2979
3135
|
},
|
|
2980
3136
|
`left-${i}`
|
|
2981
3137
|
)),
|
|
2982
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3138
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
2983
3139
|
SmdChipLead,
|
|
2984
3140
|
{
|
|
2985
3141
|
rotation: Math.PI,
|
|
@@ -2996,7 +3152,7 @@ var TQFP = () => {
|
|
|
2996
3152
|
},
|
|
2997
3153
|
`right-${i}`
|
|
2998
3154
|
)),
|
|
2999
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3155
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
3000
3156
|
SmdChipLead,
|
|
3001
3157
|
{
|
|
3002
3158
|
rotation: Math.PI / 2,
|
|
@@ -3013,7 +3169,7 @@ var TQFP = () => {
|
|
|
3013
3169
|
},
|
|
3014
3170
|
`bottom-${i}`
|
|
3015
3171
|
)),
|
|
3016
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3172
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
3017
3173
|
SmdChipLead,
|
|
3018
3174
|
{
|
|
3019
3175
|
rotation: -Math.PI / 2,
|
|
@@ -3030,7 +3186,7 @@ var TQFP = () => {
|
|
|
3030
3186
|
},
|
|
3031
3187
|
`top-${i}`
|
|
3032
3188
|
)),
|
|
3033
|
-
/* @__PURE__ */
|
|
3189
|
+
/* @__PURE__ */ jsx45(
|
|
3034
3190
|
ChipBody,
|
|
3035
3191
|
{
|
|
3036
3192
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3048,7 +3204,7 @@ var TQFP = () => {
|
|
|
3048
3204
|
var tqfp_default = TQFP;
|
|
3049
3205
|
|
|
3050
3206
|
// lib/SOT-323.tsx
|
|
3051
|
-
import { Fragment as
|
|
3207
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3052
3208
|
var SOT323 = () => {
|
|
3053
3209
|
const fullWidth = 2.05;
|
|
3054
3210
|
const bodyWidth = 1.25;
|
|
@@ -3060,8 +3216,8 @@ var SOT323 = () => {
|
|
|
3060
3216
|
const padContactLength = 0.2;
|
|
3061
3217
|
const padPitch = 0.65;
|
|
3062
3218
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3063
|
-
return /* @__PURE__ */
|
|
3064
|
-
/* @__PURE__ */
|
|
3219
|
+
return /* @__PURE__ */ jsxs42(Fragment42, { children: [
|
|
3220
|
+
/* @__PURE__ */ jsx46(
|
|
3065
3221
|
SmdChipLead,
|
|
3066
3222
|
{
|
|
3067
3223
|
rotation: Math.PI,
|
|
@@ -3078,7 +3234,7 @@ var SOT323 = () => {
|
|
|
3078
3234
|
},
|
|
3079
3235
|
4
|
|
3080
3236
|
),
|
|
3081
|
-
/* @__PURE__ */
|
|
3237
|
+
/* @__PURE__ */ jsx46(
|
|
3082
3238
|
SmdChipLead,
|
|
3083
3239
|
{
|
|
3084
3240
|
position: {
|
|
@@ -3094,7 +3250,7 @@ var SOT323 = () => {
|
|
|
3094
3250
|
},
|
|
3095
3251
|
1
|
|
3096
3252
|
),
|
|
3097
|
-
/* @__PURE__ */
|
|
3253
|
+
/* @__PURE__ */ jsx46(
|
|
3098
3254
|
SmdChipLead,
|
|
3099
3255
|
{
|
|
3100
3256
|
position: {
|
|
@@ -3110,7 +3266,7 @@ var SOT323 = () => {
|
|
|
3110
3266
|
},
|
|
3111
3267
|
2
|
|
3112
3268
|
),
|
|
3113
|
-
/* @__PURE__ */
|
|
3269
|
+
/* @__PURE__ */ jsx46(
|
|
3114
3270
|
ChipBody,
|
|
3115
3271
|
{
|
|
3116
3272
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3127,7 +3283,7 @@ var SOT323 = () => {
|
|
|
3127
3283
|
};
|
|
3128
3284
|
|
|
3129
3285
|
// lib/lqfp.tsx
|
|
3130
|
-
import { Fragment as
|
|
3286
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3131
3287
|
var LQFP = ({
|
|
3132
3288
|
pinCount,
|
|
3133
3289
|
pitch,
|
|
@@ -3150,8 +3306,8 @@ var LQFP = ({
|
|
|
3150
3306
|
const leadHeight = 0.8;
|
|
3151
3307
|
const leadThickness = 0.2;
|
|
3152
3308
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
3153
|
-
return /* @__PURE__ */
|
|
3154
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3309
|
+
return /* @__PURE__ */ jsxs43(Fragment43, { children: [
|
|
3310
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3155
3311
|
SmdChipLead,
|
|
3156
3312
|
{
|
|
3157
3313
|
position: {
|
|
@@ -3167,7 +3323,7 @@ var LQFP = ({
|
|
|
3167
3323
|
},
|
|
3168
3324
|
`left-${i}`
|
|
3169
3325
|
)),
|
|
3170
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3326
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3171
3327
|
SmdChipLead,
|
|
3172
3328
|
{
|
|
3173
3329
|
rotation: Math.PI,
|
|
@@ -3184,7 +3340,7 @@ var LQFP = ({
|
|
|
3184
3340
|
},
|
|
3185
3341
|
`right-${i}`
|
|
3186
3342
|
)),
|
|
3187
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3343
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3188
3344
|
SmdChipLead,
|
|
3189
3345
|
{
|
|
3190
3346
|
rotation: Math.PI / 2,
|
|
@@ -3201,7 +3357,7 @@ var LQFP = ({
|
|
|
3201
3357
|
},
|
|
3202
3358
|
`bottom-${i}`
|
|
3203
3359
|
)),
|
|
3204
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3360
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3205
3361
|
SmdChipLead,
|
|
3206
3362
|
{
|
|
3207
3363
|
rotation: -Math.PI / 2,
|
|
@@ -3218,7 +3374,7 @@ var LQFP = ({
|
|
|
3218
3374
|
},
|
|
3219
3375
|
`top-${i}`
|
|
3220
3376
|
)),
|
|
3221
|
-
/* @__PURE__ */
|
|
3377
|
+
/* @__PURE__ */ jsx47(
|
|
3222
3378
|
ChipBody,
|
|
3223
3379
|
{
|
|
3224
3380
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3240,8 +3396,8 @@ var LQFP = ({
|
|
|
3240
3396
|
};
|
|
3241
3397
|
|
|
3242
3398
|
// lib/SOT-723.tsx
|
|
3243
|
-
import { Cuboid as
|
|
3244
|
-
import { Fragment as
|
|
3399
|
+
import { Cuboid as Cuboid30, Translate as Translate21, Colorize as Colorize22, Hull as Hull17, Union as Union15 } from "jscad-fiber";
|
|
3400
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3245
3401
|
var SOT723 = () => {
|
|
3246
3402
|
const bodyWidth = 0.85;
|
|
3247
3403
|
const bodyLength10 = 1.2;
|
|
@@ -3258,43 +3414,43 @@ var SOT723 = () => {
|
|
|
3258
3414
|
const leftTopPadCenterY = 0.4;
|
|
3259
3415
|
const leftBottomPadCenterX = -0.55;
|
|
3260
3416
|
const leftBottomPadCenterY = -0.4;
|
|
3261
|
-
return /* @__PURE__ */
|
|
3262
|
-
/* @__PURE__ */
|
|
3263
|
-
/* @__PURE__ */
|
|
3264
|
-
|
|
3417
|
+
return /* @__PURE__ */ jsxs44(Fragment44, { children: [
|
|
3418
|
+
/* @__PURE__ */ jsx48(Colorize22, { color: "#222", children: /* @__PURE__ */ jsxs44(Union15, { children: [
|
|
3419
|
+
/* @__PURE__ */ jsx48(
|
|
3420
|
+
Cuboid30,
|
|
3265
3421
|
{
|
|
3266
3422
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
3267
3423
|
center: [0, 0, straightHeight / 2]
|
|
3268
3424
|
}
|
|
3269
3425
|
),
|
|
3270
|
-
/* @__PURE__ */
|
|
3271
|
-
/* @__PURE__ */
|
|
3272
|
-
/* @__PURE__ */
|
|
3273
|
-
|
|
3426
|
+
/* @__PURE__ */ jsxs44(Hull17, { children: [
|
|
3427
|
+
/* @__PURE__ */ jsx48(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx48(Cuboid30, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
3428
|
+
/* @__PURE__ */ jsx48(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx48(
|
|
3429
|
+
Cuboid30,
|
|
3274
3430
|
{
|
|
3275
3431
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
3276
3432
|
}
|
|
3277
3433
|
) })
|
|
3278
3434
|
] })
|
|
3279
3435
|
] }) }),
|
|
3280
|
-
/* @__PURE__ */
|
|
3281
|
-
|
|
3436
|
+
/* @__PURE__ */ jsx48(
|
|
3437
|
+
Cuboid30,
|
|
3282
3438
|
{
|
|
3283
3439
|
color: "#ccc",
|
|
3284
3440
|
size: [padLength, rightPadWidth, padThickness],
|
|
3285
3441
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
3286
3442
|
}
|
|
3287
3443
|
),
|
|
3288
|
-
/* @__PURE__ */
|
|
3289
|
-
|
|
3444
|
+
/* @__PURE__ */ jsx48(
|
|
3445
|
+
Cuboid30,
|
|
3290
3446
|
{
|
|
3291
3447
|
color: "#ccc",
|
|
3292
3448
|
size: [padLength, leftPadWidth, padThickness],
|
|
3293
3449
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
3294
3450
|
}
|
|
3295
3451
|
),
|
|
3296
|
-
/* @__PURE__ */
|
|
3297
|
-
|
|
3452
|
+
/* @__PURE__ */ jsx48(
|
|
3453
|
+
Cuboid30,
|
|
3298
3454
|
{
|
|
3299
3455
|
color: "#ccc",
|
|
3300
3456
|
size: [padLength, leftPadWidth, padThickness],
|
|
@@ -3305,8 +3461,8 @@ var SOT723 = () => {
|
|
|
3305
3461
|
};
|
|
3306
3462
|
|
|
3307
3463
|
// lib/dfn.tsx
|
|
3308
|
-
import { Cuboid as
|
|
3309
|
-
import { Fragment as
|
|
3464
|
+
import { Cuboid as Cuboid31 } from "jscad-fiber";
|
|
3465
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3310
3466
|
var DFN = ({
|
|
3311
3467
|
num_pins,
|
|
3312
3468
|
bodyWidth = 5.3,
|
|
@@ -3333,8 +3489,8 @@ var DFN = ({
|
|
|
3333
3489
|
const pinNumber = i + 1;
|
|
3334
3490
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
3335
3491
|
}
|
|
3336
|
-
return /* @__PURE__ */
|
|
3337
|
-
/* @__PURE__ */
|
|
3492
|
+
return /* @__PURE__ */ jsxs45(Fragment45, { children: [
|
|
3493
|
+
/* @__PURE__ */ jsx49(
|
|
3338
3494
|
ChipBody,
|
|
3339
3495
|
{
|
|
3340
3496
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3352,16 +3508,16 @@ var DFN = ({
|
|
|
3352
3508
|
}
|
|
3353
3509
|
}
|
|
3354
3510
|
),
|
|
3355
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
3356
|
-
|
|
3511
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx49(
|
|
3512
|
+
Cuboid31,
|
|
3357
3513
|
{
|
|
3358
3514
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
3359
3515
|
size: [p.padSizeX, p.padSizeY, thermalPadThickness]
|
|
3360
3516
|
},
|
|
3361
3517
|
i
|
|
3362
3518
|
)),
|
|
3363
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
3364
|
-
|
|
3519
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx49(
|
|
3520
|
+
Cuboid31,
|
|
3365
3521
|
{
|
|
3366
3522
|
center: [0, 0, thermalPadThickness / 2],
|
|
3367
3523
|
size: [
|
|
@@ -3376,7 +3532,7 @@ var DFN = ({
|
|
|
3376
3532
|
|
|
3377
3533
|
// lib/hc49.tsx
|
|
3378
3534
|
import { Colorize as Colorize23, Cylinder as Cylinder5, Hull as Hull18, RoundedCylinder } from "jscad-fiber";
|
|
3379
|
-
import { Fragment as
|
|
3535
|
+
import { Fragment as Fragment46, jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3380
3536
|
var HC49 = ({
|
|
3381
3537
|
bodyLength: bodyLength10 = 10.2,
|
|
3382
3538
|
bodyWidth = 4.65,
|
|
@@ -3392,10 +3548,10 @@ var HC49 = ({
|
|
|
3392
3548
|
const endCenterX = halfLength - endRadius;
|
|
3393
3549
|
const leadCenterX = leadSpacing / 2;
|
|
3394
3550
|
const baseHeight = 0.85;
|
|
3395
|
-
return /* @__PURE__ */
|
|
3396
|
-
/* @__PURE__ */
|
|
3397
|
-
/* @__PURE__ */
|
|
3398
|
-
/* @__PURE__ */
|
|
3551
|
+
return /* @__PURE__ */ jsxs46(Fragment46, { children: [
|
|
3552
|
+
/* @__PURE__ */ jsxs46(Colorize23, { color, children: [
|
|
3553
|
+
/* @__PURE__ */ jsxs46(Hull18, { children: [
|
|
3554
|
+
/* @__PURE__ */ jsx50(
|
|
3399
3555
|
RoundedCylinder,
|
|
3400
3556
|
{
|
|
3401
3557
|
height: bodyHeight,
|
|
@@ -3404,7 +3560,7 @@ var HC49 = ({
|
|
|
3404
3560
|
center: [-endCenterX, 0, bodyHeight]
|
|
3405
3561
|
}
|
|
3406
3562
|
),
|
|
3407
|
-
/* @__PURE__ */
|
|
3563
|
+
/* @__PURE__ */ jsx50(
|
|
3408
3564
|
RoundedCylinder,
|
|
3409
3565
|
{
|
|
3410
3566
|
height: bodyHeight,
|
|
@@ -3414,8 +3570,8 @@ var HC49 = ({
|
|
|
3414
3570
|
}
|
|
3415
3571
|
)
|
|
3416
3572
|
] }),
|
|
3417
|
-
/* @__PURE__ */
|
|
3418
|
-
/* @__PURE__ */
|
|
3573
|
+
/* @__PURE__ */ jsxs46(Hull18, { children: [
|
|
3574
|
+
/* @__PURE__ */ jsx50(
|
|
3419
3575
|
RoundedCylinder,
|
|
3420
3576
|
{
|
|
3421
3577
|
height: baseHeight,
|
|
@@ -3424,7 +3580,7 @@ var HC49 = ({
|
|
|
3424
3580
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
3425
3581
|
}
|
|
3426
3582
|
),
|
|
3427
|
-
/* @__PURE__ */
|
|
3583
|
+
/* @__PURE__ */ jsx50(
|
|
3428
3584
|
RoundedCylinder,
|
|
3429
3585
|
{
|
|
3430
3586
|
height: baseHeight,
|
|
@@ -3435,8 +3591,8 @@ var HC49 = ({
|
|
|
3435
3591
|
)
|
|
3436
3592
|
] })
|
|
3437
3593
|
] }),
|
|
3438
|
-
/* @__PURE__ */
|
|
3439
|
-
/* @__PURE__ */
|
|
3594
|
+
/* @__PURE__ */ jsxs46(Colorize23, { color: leadColor, children: [
|
|
3595
|
+
/* @__PURE__ */ jsx50(
|
|
3440
3596
|
Cylinder5,
|
|
3441
3597
|
{
|
|
3442
3598
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3444,7 +3600,7 @@ var HC49 = ({
|
|
|
3444
3600
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
3445
3601
|
}
|
|
3446
3602
|
),
|
|
3447
|
-
/* @__PURE__ */
|
|
3603
|
+
/* @__PURE__ */ jsx50(
|
|
3448
3604
|
Cylinder5,
|
|
3449
3605
|
{
|
|
3450
3606
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3464,7 +3620,7 @@ import {
|
|
|
3464
3620
|
Rotate as Rotate7,
|
|
3465
3621
|
RoundedCuboid as RoundedCuboid2
|
|
3466
3622
|
} from "jscad-fiber";
|
|
3467
|
-
import { Fragment as
|
|
3623
|
+
import { Fragment as Fragment47, jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3468
3624
|
var MicroMELF = ({
|
|
3469
3625
|
bodyLength: bodyLength10 = 1.4,
|
|
3470
3626
|
bodyDiameter = 1.1,
|
|
@@ -3473,9 +3629,9 @@ var MicroMELF = ({
|
|
|
3473
3629
|
cathodeIdentification = "#111"
|
|
3474
3630
|
}) => {
|
|
3475
3631
|
const padLength = 0.2;
|
|
3476
|
-
return /* @__PURE__ */
|
|
3477
|
-
/* @__PURE__ */
|
|
3478
|
-
/* @__PURE__ */
|
|
3632
|
+
return /* @__PURE__ */ jsxs47(Fragment47, { children: [
|
|
3633
|
+
/* @__PURE__ */ jsx51(Colorize24, { color, children: /* @__PURE__ */ jsxs47(Rotate7, { rotation: [0, "90deg", 0], children: [
|
|
3634
|
+
/* @__PURE__ */ jsx51(
|
|
3479
3635
|
RoundedCuboid2,
|
|
3480
3636
|
{
|
|
3481
3637
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -3483,7 +3639,7 @@ var MicroMELF = ({
|
|
|
3483
3639
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
3484
3640
|
}
|
|
3485
3641
|
),
|
|
3486
|
-
/* @__PURE__ */
|
|
3642
|
+
/* @__PURE__ */ jsx51(
|
|
3487
3643
|
Cylinder6,
|
|
3488
3644
|
{
|
|
3489
3645
|
height: padLength / 2,
|
|
@@ -3492,7 +3648,7 @@ var MicroMELF = ({
|
|
|
3492
3648
|
}
|
|
3493
3649
|
)
|
|
3494
3650
|
] }) }),
|
|
3495
|
-
/* @__PURE__ */
|
|
3651
|
+
/* @__PURE__ */ jsx51(Colorize24, { color: cathodeIdentification, children: /* @__PURE__ */ jsx51(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3496
3652
|
RoundedCuboid2,
|
|
3497
3653
|
{
|
|
3498
3654
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -3500,7 +3656,7 @@ var MicroMELF = ({
|
|
|
3500
3656
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
3501
3657
|
}
|
|
3502
3658
|
) }) }),
|
|
3503
|
-
/* @__PURE__ */
|
|
3659
|
+
/* @__PURE__ */ jsx51(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx51(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3504
3660
|
RoundedCylinder2,
|
|
3505
3661
|
{
|
|
3506
3662
|
height: padLength,
|
|
@@ -3509,7 +3665,7 @@ var MicroMELF = ({
|
|
|
3509
3665
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3510
3666
|
}
|
|
3511
3667
|
) }) }),
|
|
3512
|
-
/* @__PURE__ */
|
|
3668
|
+
/* @__PURE__ */ jsx51(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx51(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3513
3669
|
RoundedCylinder2,
|
|
3514
3670
|
{
|
|
3515
3671
|
height: padLength,
|
|
@@ -3523,7 +3679,7 @@ var MicroMELF = ({
|
|
|
3523
3679
|
|
|
3524
3680
|
// lib/MINIMELF.tsx
|
|
3525
3681
|
import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
|
|
3526
|
-
import { Fragment as
|
|
3682
|
+
import { Fragment as Fragment48, jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3527
3683
|
var MINIMELF = ({
|
|
3528
3684
|
bodyLength: bodyLength10 = 3.5,
|
|
3529
3685
|
bodyDiameter = 1.5,
|
|
@@ -3531,8 +3687,8 @@ var MINIMELF = ({
|
|
|
3531
3687
|
contactColor = "#c6c6c6"
|
|
3532
3688
|
}) => {
|
|
3533
3689
|
const padLength = 0.5;
|
|
3534
|
-
return /* @__PURE__ */
|
|
3535
|
-
/* @__PURE__ */
|
|
3690
|
+
return /* @__PURE__ */ jsxs48(Fragment48, { children: [
|
|
3691
|
+
/* @__PURE__ */ jsx52(Colorize25, { color, children: /* @__PURE__ */ jsx52(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3536
3692
|
RoundedCylinder3,
|
|
3537
3693
|
{
|
|
3538
3694
|
height: bodyLength10,
|
|
@@ -3541,7 +3697,7 @@ var MINIMELF = ({
|
|
|
3541
3697
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3542
3698
|
}
|
|
3543
3699
|
) }) }),
|
|
3544
|
-
/* @__PURE__ */
|
|
3700
|
+
/* @__PURE__ */ jsx52(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx52(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3545
3701
|
RoundedCylinder3,
|
|
3546
3702
|
{
|
|
3547
3703
|
height: padLength,
|
|
@@ -3550,7 +3706,7 @@ var MINIMELF = ({
|
|
|
3550
3706
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3551
3707
|
}
|
|
3552
3708
|
) }) }),
|
|
3553
|
-
/* @__PURE__ */
|
|
3709
|
+
/* @__PURE__ */ jsx52(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx52(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3554
3710
|
RoundedCylinder3,
|
|
3555
3711
|
{
|
|
3556
3712
|
height: padLength,
|
|
@@ -3564,7 +3720,7 @@ var MINIMELF = ({
|
|
|
3564
3720
|
|
|
3565
3721
|
// lib/MELF.tsx
|
|
3566
3722
|
import { Colorize as Colorize26, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
|
|
3567
|
-
import { Fragment as
|
|
3723
|
+
import { Fragment as Fragment49, jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3568
3724
|
var MELF = ({
|
|
3569
3725
|
bodyLength: bodyLength10 = 3.9,
|
|
3570
3726
|
bodyDiameter = 2.5,
|
|
@@ -3572,8 +3728,8 @@ var MELF = ({
|
|
|
3572
3728
|
contactColor = "#c6c6c6"
|
|
3573
3729
|
}) => {
|
|
3574
3730
|
const padLength = 0.55;
|
|
3575
|
-
return /* @__PURE__ */
|
|
3576
|
-
/* @__PURE__ */
|
|
3731
|
+
return /* @__PURE__ */ jsxs49(Fragment49, { children: [
|
|
3732
|
+
/* @__PURE__ */ jsx53(Colorize26, { color, children: /* @__PURE__ */ jsx53(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx53(
|
|
3577
3733
|
RoundedCylinder4,
|
|
3578
3734
|
{
|
|
3579
3735
|
height: bodyLength10,
|
|
@@ -3582,7 +3738,7 @@ var MELF = ({
|
|
|
3582
3738
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3583
3739
|
}
|
|
3584
3740
|
) }) }),
|
|
3585
|
-
/* @__PURE__ */
|
|
3741
|
+
/* @__PURE__ */ jsx53(Colorize26, { color: contactColor, children: /* @__PURE__ */ jsx53(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx53(
|
|
3586
3742
|
RoundedCylinder4,
|
|
3587
3743
|
{
|
|
3588
3744
|
height: padLength,
|
|
@@ -3591,7 +3747,7 @@ var MELF = ({
|
|
|
3591
3747
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3592
3748
|
}
|
|
3593
3749
|
) }) }),
|
|
3594
|
-
/* @__PURE__ */
|
|
3750
|
+
/* @__PURE__ */ jsx53(Colorize26, { color: contactColor, children: /* @__PURE__ */ jsx53(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx53(
|
|
3595
3751
|
RoundedCylinder4,
|
|
3596
3752
|
{
|
|
3597
3753
|
height: padLength,
|
|
@@ -3604,7 +3760,7 @@ var MELF = ({
|
|
|
3604
3760
|
};
|
|
3605
3761
|
|
|
3606
3762
|
// lib/ms012.tsx
|
|
3607
|
-
import { Fragment as
|
|
3763
|
+
import { Fragment as Fragment50, jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3608
3764
|
var MS012 = ({
|
|
3609
3765
|
pinCount,
|
|
3610
3766
|
padContactLength = 0.6,
|
|
@@ -3619,8 +3775,8 @@ var MS012 = ({
|
|
|
3619
3775
|
const bodyLength10 = 3.9;
|
|
3620
3776
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3621
3777
|
const leadThickness = 0.2;
|
|
3622
|
-
return /* @__PURE__ */
|
|
3623
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3778
|
+
return /* @__PURE__ */ jsxs50(Fragment50, { children: [
|
|
3779
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx54(
|
|
3624
3780
|
SmdChipLead,
|
|
3625
3781
|
{
|
|
3626
3782
|
position: {
|
|
@@ -3636,7 +3792,7 @@ var MS012 = ({
|
|
|
3636
3792
|
},
|
|
3637
3793
|
i
|
|
3638
3794
|
)),
|
|
3639
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3795
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx54(
|
|
3640
3796
|
SmdChipLead,
|
|
3641
3797
|
{
|
|
3642
3798
|
rotation: Math.PI,
|
|
@@ -3653,7 +3809,7 @@ var MS012 = ({
|
|
|
3653
3809
|
},
|
|
3654
3810
|
`right-${i}`
|
|
3655
3811
|
)),
|
|
3656
|
-
/* @__PURE__ */
|
|
3812
|
+
/* @__PURE__ */ jsx54(
|
|
3657
3813
|
ChipBody,
|
|
3658
3814
|
{
|
|
3659
3815
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3673,7 +3829,7 @@ var MS012 = ({
|
|
|
3673
3829
|
};
|
|
3674
3830
|
|
|
3675
3831
|
// lib/ms013.tsx
|
|
3676
|
-
import { Fragment as
|
|
3832
|
+
import { Fragment as Fragment51, jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3677
3833
|
var MS013 = ({
|
|
3678
3834
|
pinCount = 16,
|
|
3679
3835
|
padContactLength = 0.6,
|
|
@@ -3688,8 +3844,8 @@ var MS013 = ({
|
|
|
3688
3844
|
const bodyLength10 = 10.3;
|
|
3689
3845
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3690
3846
|
const leadThickness = 0.2;
|
|
3691
|
-
return /* @__PURE__ */
|
|
3692
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3847
|
+
return /* @__PURE__ */ jsxs51(Fragment51, { children: [
|
|
3848
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx55(
|
|
3693
3849
|
SmdChipLead,
|
|
3694
3850
|
{
|
|
3695
3851
|
position: {
|
|
@@ -3705,7 +3861,7 @@ var MS013 = ({
|
|
|
3705
3861
|
},
|
|
3706
3862
|
i
|
|
3707
3863
|
)),
|
|
3708
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3864
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx55(
|
|
3709
3865
|
SmdChipLead,
|
|
3710
3866
|
{
|
|
3711
3867
|
rotation: Math.PI,
|
|
@@ -3722,7 +3878,7 @@ var MS013 = ({
|
|
|
3722
3878
|
},
|
|
3723
3879
|
`right-${i}`
|
|
3724
3880
|
)),
|
|
3725
|
-
/* @__PURE__ */
|
|
3881
|
+
/* @__PURE__ */ jsx55(
|
|
3726
3882
|
ChipBody,
|
|
3727
3883
|
{
|
|
3728
3884
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3744,14 +3900,14 @@ var MS013 = ({
|
|
|
3744
3900
|
// lib/TO220.tsx
|
|
3745
3901
|
import {
|
|
3746
3902
|
Colorize as Colorize27,
|
|
3747
|
-
Cuboid as
|
|
3903
|
+
Cuboid as Cuboid34,
|
|
3748
3904
|
Hull as Hull19,
|
|
3749
3905
|
Rotate as Rotate10,
|
|
3750
3906
|
Translate as Translate22,
|
|
3751
3907
|
Cylinder as Cylinder7,
|
|
3752
3908
|
Subtract as Subtract4
|
|
3753
3909
|
} from "jscad-fiber";
|
|
3754
|
-
import { Fragment as
|
|
3910
|
+
import { Fragment as Fragment52, jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3755
3911
|
var TO220 = () => {
|
|
3756
3912
|
const fullLength10 = 20;
|
|
3757
3913
|
const bodyLength10 = 9.9;
|
|
@@ -3770,18 +3926,18 @@ var TO220 = () => {
|
|
|
3770
3926
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3771
3927
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3772
3928
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3773
|
-
return /* @__PURE__ */
|
|
3774
|
-
/* @__PURE__ */
|
|
3775
|
-
/* @__PURE__ */
|
|
3776
|
-
/* @__PURE__ */
|
|
3777
|
-
|
|
3929
|
+
return /* @__PURE__ */ jsx56(Translate22, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs52(Fragment52, { children: [
|
|
3930
|
+
/* @__PURE__ */ jsxs52(Rotate10, { rotation: [0, 55, -55], children: [
|
|
3931
|
+
/* @__PURE__ */ jsxs52(Subtract4, { children: [
|
|
3932
|
+
/* @__PURE__ */ jsx56(
|
|
3933
|
+
Cuboid34,
|
|
3778
3934
|
{
|
|
3779
3935
|
color: "#ccc",
|
|
3780
3936
|
size: [padLength + 0.1, padWidth, padThickness],
|
|
3781
3937
|
center: [padCenterX, 0, padThickness - 2]
|
|
3782
3938
|
}
|
|
3783
3939
|
),
|
|
3784
|
-
/* @__PURE__ */
|
|
3940
|
+
/* @__PURE__ */ jsx56(
|
|
3785
3941
|
Cylinder7,
|
|
3786
3942
|
{
|
|
3787
3943
|
color: "black",
|
|
@@ -3791,7 +3947,7 @@ var TO220 = () => {
|
|
|
3791
3947
|
}
|
|
3792
3948
|
)
|
|
3793
3949
|
] }),
|
|
3794
|
-
/* @__PURE__ */
|
|
3950
|
+
/* @__PURE__ */ jsx56(Colorize27, { color: "#222", children: /* @__PURE__ */ jsx56(
|
|
3795
3951
|
ChipBody,
|
|
3796
3952
|
{
|
|
3797
3953
|
width: bodyWidth,
|
|
@@ -3805,29 +3961,29 @@ var TO220 = () => {
|
|
|
3805
3961
|
}
|
|
3806
3962
|
) })
|
|
3807
3963
|
] }),
|
|
3808
|
-
/* @__PURE__ */
|
|
3964
|
+
/* @__PURE__ */ jsx56(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3809
3965
|
const x = prongCenterX;
|
|
3810
3966
|
const y = (i - 1) * prongPitch;
|
|
3811
3967
|
const z = -prongHeight - 0.6;
|
|
3812
|
-
return /* @__PURE__ */
|
|
3813
|
-
/* @__PURE__ */
|
|
3814
|
-
/* @__PURE__ */
|
|
3815
|
-
/* @__PURE__ */
|
|
3968
|
+
return /* @__PURE__ */ jsxs52(Colorize27, { color: "gold", children: [
|
|
3969
|
+
/* @__PURE__ */ jsxs52(Hull19, { children: [
|
|
3970
|
+
/* @__PURE__ */ jsx56(Translate22, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx56(Cuboid34, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
|
|
3971
|
+
/* @__PURE__ */ jsx56(
|
|
3816
3972
|
Translate22,
|
|
3817
3973
|
{
|
|
3818
3974
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3819
|
-
children: /* @__PURE__ */
|
|
3975
|
+
children: /* @__PURE__ */ jsx56(Cuboid34, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3820
3976
|
}
|
|
3821
3977
|
)
|
|
3822
3978
|
] }),
|
|
3823
|
-
/* @__PURE__ */
|
|
3979
|
+
/* @__PURE__ */ jsx56(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx56(Cuboid34, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3824
3980
|
] }, `prong-${i}`);
|
|
3825
3981
|
}) })
|
|
3826
3982
|
] }) });
|
|
3827
3983
|
};
|
|
3828
3984
|
|
|
3829
3985
|
// lib/SOT-457.tsx
|
|
3830
|
-
import { Fragment as
|
|
3986
|
+
import { Fragment as Fragment53, jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
3831
3987
|
var SOT457 = () => {
|
|
3832
3988
|
const fullWidth = 2.8;
|
|
3833
3989
|
const bodyWidth = 1.6;
|
|
@@ -3839,8 +3995,8 @@ var SOT457 = () => {
|
|
|
3839
3995
|
const padContactLength = 0.5;
|
|
3840
3996
|
const padPitch = 0.95;
|
|
3841
3997
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3842
|
-
return /* @__PURE__ */
|
|
3843
|
-
/* @__PURE__ */
|
|
3998
|
+
return /* @__PURE__ */ jsxs53(Fragment53, { children: [
|
|
3999
|
+
/* @__PURE__ */ jsx57(
|
|
3844
4000
|
SmdChipLead,
|
|
3845
4001
|
{
|
|
3846
4002
|
rotation: Math.PI,
|
|
@@ -3857,7 +4013,7 @@ var SOT457 = () => {
|
|
|
3857
4013
|
},
|
|
3858
4014
|
1
|
|
3859
4015
|
),
|
|
3860
|
-
/* @__PURE__ */
|
|
4016
|
+
/* @__PURE__ */ jsx57(
|
|
3861
4017
|
SmdChipLead,
|
|
3862
4018
|
{
|
|
3863
4019
|
rotation: Math.PI,
|
|
@@ -3874,7 +4030,7 @@ var SOT457 = () => {
|
|
|
3874
4030
|
},
|
|
3875
4031
|
2
|
|
3876
4032
|
),
|
|
3877
|
-
/* @__PURE__ */
|
|
4033
|
+
/* @__PURE__ */ jsx57(
|
|
3878
4034
|
SmdChipLead,
|
|
3879
4035
|
{
|
|
3880
4036
|
rotation: Math.PI,
|
|
@@ -3891,7 +4047,7 @@ var SOT457 = () => {
|
|
|
3891
4047
|
},
|
|
3892
4048
|
3
|
|
3893
4049
|
),
|
|
3894
|
-
/* @__PURE__ */
|
|
4050
|
+
/* @__PURE__ */ jsx57(
|
|
3895
4051
|
SmdChipLead,
|
|
3896
4052
|
{
|
|
3897
4053
|
position: {
|
|
@@ -3907,7 +4063,7 @@ var SOT457 = () => {
|
|
|
3907
4063
|
},
|
|
3908
4064
|
3
|
|
3909
4065
|
),
|
|
3910
|
-
/* @__PURE__ */
|
|
4066
|
+
/* @__PURE__ */ jsx57(
|
|
3911
4067
|
SmdChipLead,
|
|
3912
4068
|
{
|
|
3913
4069
|
position: {
|
|
@@ -3923,7 +4079,7 @@ var SOT457 = () => {
|
|
|
3923
4079
|
},
|
|
3924
4080
|
1
|
|
3925
4081
|
),
|
|
3926
|
-
/* @__PURE__ */
|
|
4082
|
+
/* @__PURE__ */ jsx57(
|
|
3927
4083
|
SmdChipLead,
|
|
3928
4084
|
{
|
|
3929
4085
|
position: {
|
|
@@ -3939,7 +4095,7 @@ var SOT457 = () => {
|
|
|
3939
4095
|
},
|
|
3940
4096
|
2
|
|
3941
4097
|
),
|
|
3942
|
-
/* @__PURE__ */
|
|
4098
|
+
/* @__PURE__ */ jsx57(
|
|
3943
4099
|
ChipBody,
|
|
3944
4100
|
{
|
|
3945
4101
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3959,8 +4115,8 @@ var SOT457 = () => {
|
|
|
3959
4115
|
};
|
|
3960
4116
|
|
|
3961
4117
|
// lib/SOT-963.tsx
|
|
3962
|
-
import { Cuboid as
|
|
3963
|
-
import { Fragment as
|
|
4118
|
+
import { Cuboid as Cuboid35 } from "jscad-fiber";
|
|
4119
|
+
import { Fragment as Fragment54, jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
3964
4120
|
var SOT963 = () => {
|
|
3965
4121
|
const bodyWidth = 0.8;
|
|
3966
4122
|
const bodyLength10 = 1;
|
|
@@ -3971,8 +4127,8 @@ var SOT963 = () => {
|
|
|
3971
4127
|
const pitch = 0.35;
|
|
3972
4128
|
const pinsPerSide = 3;
|
|
3973
4129
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
3974
|
-
return /* @__PURE__ */
|
|
3975
|
-
/* @__PURE__ */
|
|
4130
|
+
return /* @__PURE__ */ jsxs54(Fragment54, { children: [
|
|
4131
|
+
/* @__PURE__ */ jsx58(
|
|
3976
4132
|
ChipBody,
|
|
3977
4133
|
{
|
|
3978
4134
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3992,8 +4148,8 @@ var SOT963 = () => {
|
|
|
3992
4148
|
),
|
|
3993
4149
|
[0, 1, 2].map((i) => {
|
|
3994
4150
|
const y = -pinSpan / 2 + i * pitch;
|
|
3995
|
-
return /* @__PURE__ */
|
|
3996
|
-
|
|
4151
|
+
return /* @__PURE__ */ jsx58(
|
|
4152
|
+
Cuboid35,
|
|
3997
4153
|
{
|
|
3998
4154
|
center: [
|
|
3999
4155
|
-bodyWidth / 2 + terminalLength / 2 - 0.1,
|
|
@@ -4007,8 +4163,8 @@ var SOT963 = () => {
|
|
|
4007
4163
|
}),
|
|
4008
4164
|
[0, 1, 2].map((i) => {
|
|
4009
4165
|
const y = -pinSpan / 2 + i * pitch;
|
|
4010
|
-
return /* @__PURE__ */
|
|
4011
|
-
|
|
4166
|
+
return /* @__PURE__ */ jsx58(
|
|
4167
|
+
Cuboid35,
|
|
4012
4168
|
{
|
|
4013
4169
|
center: [
|
|
4014
4170
|
bodyWidth / 2 - terminalLength / 2 + 0.1,
|
|
@@ -4026,13 +4182,13 @@ var SOT963 = () => {
|
|
|
4026
4182
|
// lib/TO92.tsx
|
|
4027
4183
|
import {
|
|
4028
4184
|
Colorize as Colorize28,
|
|
4029
|
-
Cuboid as
|
|
4185
|
+
Cuboid as Cuboid36,
|
|
4030
4186
|
Hull as Hull20,
|
|
4031
4187
|
Translate as Translate23,
|
|
4032
4188
|
Cylinder as Cylinder8,
|
|
4033
4189
|
Subtract as Subtract5
|
|
4034
4190
|
} from "jscad-fiber";
|
|
4035
|
-
import { jsx as
|
|
4191
|
+
import { jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4036
4192
|
var TO92 = () => {
|
|
4037
4193
|
const bodyRadius = 2.4;
|
|
4038
4194
|
const bodyHeight = 4.5;
|
|
@@ -4053,24 +4209,24 @@ var TO92 = () => {
|
|
|
4053
4209
|
const leadMidPosB = [0, 1.28, -2.72];
|
|
4054
4210
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
4055
4211
|
const sideLeadZ = -7.5;
|
|
4056
|
-
return /* @__PURE__ */
|
|
4057
|
-
/* @__PURE__ */
|
|
4058
|
-
/* @__PURE__ */
|
|
4059
|
-
/* @__PURE__ */
|
|
4212
|
+
return /* @__PURE__ */ jsxs55(Translate23, { center: [0, 1, 10.5], children: [
|
|
4213
|
+
/* @__PURE__ */ jsx59(Colorize28, { color: bodyColor, children: /* @__PURE__ */ jsxs55(Subtract5, { children: [
|
|
4214
|
+
/* @__PURE__ */ jsx59(Translate23, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx59(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
|
|
4215
|
+
/* @__PURE__ */ jsx59(Translate23, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx59(Cuboid36, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
|
|
4060
4216
|
] }) }),
|
|
4061
|
-
/* @__PURE__ */
|
|
4062
|
-
/* @__PURE__ */
|
|
4063
|
-
/* @__PURE__ */
|
|
4064
|
-
/* @__PURE__ */
|
|
4217
|
+
/* @__PURE__ */ jsx59(Translate23, { center: leadTipPos1, children: /* @__PURE__ */ jsx59(Cuboid36, { size: leadTipSize }) }),
|
|
4218
|
+
/* @__PURE__ */ jsxs55(Hull20, { children: [
|
|
4219
|
+
/* @__PURE__ */ jsx59(Translate23, { center: leadMidPosA, children: /* @__PURE__ */ jsx59(Cuboid36, { size: leadSmallSize }) }),
|
|
4220
|
+
/* @__PURE__ */ jsx59(Translate23, { center: leadMidPosB, children: /* @__PURE__ */ jsx59(Cuboid36, { size: leadSmallSize }) })
|
|
4065
4221
|
] }),
|
|
4066
|
-
/* @__PURE__ */
|
|
4067
|
-
/* @__PURE__ */
|
|
4068
|
-
/* @__PURE__ */
|
|
4222
|
+
/* @__PURE__ */ jsx59(Translate23, { center: leadTipPos2, children: /* @__PURE__ */ jsx59(Cuboid36, { size: [leadLength, legWidth, 12.2] }) }),
|
|
4223
|
+
/* @__PURE__ */ jsx59(Translate23, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx59(Cuboid36, { size: [leadLength, legWidth, 15] }) }),
|
|
4224
|
+
/* @__PURE__ */ jsx59(Translate23, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx59(Cuboid36, { size: [leadLength, legWidth, 15] }) })
|
|
4069
4225
|
] });
|
|
4070
4226
|
};
|
|
4071
4227
|
|
|
4072
4228
|
// lib/SOT-363.tsx
|
|
4073
|
-
import { Fragment as
|
|
4229
|
+
import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4074
4230
|
var SOT363 = () => {
|
|
4075
4231
|
const fullWidth = 2;
|
|
4076
4232
|
const bodyWidth = 1.25;
|
|
@@ -4081,8 +4237,8 @@ var SOT363 = () => {
|
|
|
4081
4237
|
const leadHeight = 0.85;
|
|
4082
4238
|
const padContactLength = 0.3;
|
|
4083
4239
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
4084
|
-
return /* @__PURE__ */
|
|
4085
|
-
/* @__PURE__ */
|
|
4240
|
+
return /* @__PURE__ */ jsxs56(Fragment55, { children: [
|
|
4241
|
+
/* @__PURE__ */ jsx60(
|
|
4086
4242
|
SmdChipLead,
|
|
4087
4243
|
{
|
|
4088
4244
|
rotation: Math.PI,
|
|
@@ -4099,7 +4255,7 @@ var SOT363 = () => {
|
|
|
4099
4255
|
},
|
|
4100
4256
|
1
|
|
4101
4257
|
),
|
|
4102
|
-
/* @__PURE__ */
|
|
4258
|
+
/* @__PURE__ */ jsx60(
|
|
4103
4259
|
SmdChipLead,
|
|
4104
4260
|
{
|
|
4105
4261
|
rotation: Math.PI,
|
|
@@ -4116,7 +4272,7 @@ var SOT363 = () => {
|
|
|
4116
4272
|
},
|
|
4117
4273
|
2
|
|
4118
4274
|
),
|
|
4119
|
-
/* @__PURE__ */
|
|
4275
|
+
/* @__PURE__ */ jsx60(
|
|
4120
4276
|
SmdChipLead,
|
|
4121
4277
|
{
|
|
4122
4278
|
rotation: Math.PI,
|
|
@@ -4133,7 +4289,7 @@ var SOT363 = () => {
|
|
|
4133
4289
|
},
|
|
4134
4290
|
3
|
|
4135
4291
|
),
|
|
4136
|
-
/* @__PURE__ */
|
|
4292
|
+
/* @__PURE__ */ jsx60(
|
|
4137
4293
|
SmdChipLead,
|
|
4138
4294
|
{
|
|
4139
4295
|
position: {
|
|
@@ -4149,7 +4305,7 @@ var SOT363 = () => {
|
|
|
4149
4305
|
},
|
|
4150
4306
|
3
|
|
4151
4307
|
),
|
|
4152
|
-
/* @__PURE__ */
|
|
4308
|
+
/* @__PURE__ */ jsx60(
|
|
4153
4309
|
SmdChipLead,
|
|
4154
4310
|
{
|
|
4155
4311
|
position: {
|
|
@@ -4165,7 +4321,7 @@ var SOT363 = () => {
|
|
|
4165
4321
|
},
|
|
4166
4322
|
1
|
|
4167
4323
|
),
|
|
4168
|
-
/* @__PURE__ */
|
|
4324
|
+
/* @__PURE__ */ jsx60(
|
|
4169
4325
|
SmdChipLead,
|
|
4170
4326
|
{
|
|
4171
4327
|
position: {
|
|
@@ -4181,7 +4337,7 @@ var SOT363 = () => {
|
|
|
4181
4337
|
},
|
|
4182
4338
|
2
|
|
4183
4339
|
),
|
|
4184
|
-
/* @__PURE__ */
|
|
4340
|
+
/* @__PURE__ */ jsx60(
|
|
4185
4341
|
ChipBody,
|
|
4186
4342
|
{
|
|
4187
4343
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4202,8 +4358,8 @@ var SOT363 = () => {
|
|
|
4202
4358
|
var SOT_363_default = SOT363;
|
|
4203
4359
|
|
|
4204
4360
|
// lib/SOT-886.tsx
|
|
4205
|
-
import { Cuboid as
|
|
4206
|
-
import { Fragment as
|
|
4361
|
+
import { Cuboid as Cuboid37 } from "jscad-fiber";
|
|
4362
|
+
import { Fragment as Fragment56, jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4207
4363
|
var SOT886 = () => {
|
|
4208
4364
|
const bodyWidth = 1;
|
|
4209
4365
|
const bodyLength10 = 1.45;
|
|
@@ -4214,8 +4370,8 @@ var SOT886 = () => {
|
|
|
4214
4370
|
const pitch = 0.5;
|
|
4215
4371
|
const pinsPerSide = 3;
|
|
4216
4372
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
4217
|
-
return /* @__PURE__ */
|
|
4218
|
-
/* @__PURE__ */
|
|
4373
|
+
return /* @__PURE__ */ jsxs57(Fragment56, { children: [
|
|
4374
|
+
/* @__PURE__ */ jsx61(
|
|
4219
4375
|
ChipBody,
|
|
4220
4376
|
{
|
|
4221
4377
|
center: { x: 0, y: 0, z: terminalThickness },
|
|
@@ -4230,8 +4386,8 @@ var SOT886 = () => {
|
|
|
4230
4386
|
),
|
|
4231
4387
|
[0, 1, 2].map((i) => {
|
|
4232
4388
|
const y = -pinSpan / 2 + i * pitch;
|
|
4233
|
-
return /* @__PURE__ */
|
|
4234
|
-
|
|
4389
|
+
return /* @__PURE__ */ jsx61(
|
|
4390
|
+
Cuboid37,
|
|
4235
4391
|
{
|
|
4236
4392
|
center: [
|
|
4237
4393
|
-bodyWidth / 2 + terminalLength / 2,
|
|
@@ -4245,8 +4401,8 @@ var SOT886 = () => {
|
|
|
4245
4401
|
}),
|
|
4246
4402
|
[0, 1, 2].map((i) => {
|
|
4247
4403
|
const y = -pinSpan / 2 + i * pitch;
|
|
4248
|
-
return /* @__PURE__ */
|
|
4249
|
-
|
|
4404
|
+
return /* @__PURE__ */ jsx61(
|
|
4405
|
+
Cuboid37,
|
|
4250
4406
|
{
|
|
4251
4407
|
center: [
|
|
4252
4408
|
bodyWidth / 2 - terminalLength / 2,
|
|
@@ -4262,8 +4418,8 @@ var SOT886 = () => {
|
|
|
4262
4418
|
};
|
|
4263
4419
|
|
|
4264
4420
|
// lib/sod-323.tsx
|
|
4265
|
-
import { Colorize as Colorize29, Cuboid as
|
|
4266
|
-
import { Fragment as
|
|
4421
|
+
import { Colorize as Colorize29, Cuboid as Cuboid38 } from "jscad-fiber";
|
|
4422
|
+
import { Fragment as Fragment57, jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4267
4423
|
var SOD323 = () => {
|
|
4268
4424
|
const fullWidth = 2.5;
|
|
4269
4425
|
const bodyLength10 = 1.25;
|
|
@@ -4275,8 +4431,8 @@ var SOD323 = () => {
|
|
|
4275
4431
|
const padCenterX = bodyWidth / 2;
|
|
4276
4432
|
const bodyDistance = 0.45;
|
|
4277
4433
|
const leadHeight = 0.7;
|
|
4278
|
-
return /* @__PURE__ */
|
|
4279
|
-
/* @__PURE__ */
|
|
4434
|
+
return /* @__PURE__ */ jsxs58(Fragment57, { children: [
|
|
4435
|
+
/* @__PURE__ */ jsx62(
|
|
4280
4436
|
SmdChipLead,
|
|
4281
4437
|
{
|
|
4282
4438
|
position: {
|
|
@@ -4292,7 +4448,7 @@ var SOD323 = () => {
|
|
|
4292
4448
|
},
|
|
4293
4449
|
1
|
|
4294
4450
|
),
|
|
4295
|
-
/* @__PURE__ */
|
|
4451
|
+
/* @__PURE__ */ jsx62(
|
|
4296
4452
|
SmdChipLead,
|
|
4297
4453
|
{
|
|
4298
4454
|
rotation: Math.PI,
|
|
@@ -4309,7 +4465,7 @@ var SOD323 = () => {
|
|
|
4309
4465
|
},
|
|
4310
4466
|
1
|
|
4311
4467
|
),
|
|
4312
|
-
/* @__PURE__ */
|
|
4468
|
+
/* @__PURE__ */ jsx62(Colorize29, { color: "#222", children: /* @__PURE__ */ jsx62(
|
|
4313
4469
|
ChipBody,
|
|
4314
4470
|
{
|
|
4315
4471
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4322,8 +4478,8 @@ var SOD323 = () => {
|
|
|
4322
4478
|
heightAboveSurface: 0.05
|
|
4323
4479
|
}
|
|
4324
4480
|
) }),
|
|
4325
|
-
/* @__PURE__ */
|
|
4326
|
-
|
|
4481
|
+
/* @__PURE__ */ jsx62(
|
|
4482
|
+
Cuboid38,
|
|
4327
4483
|
{
|
|
4328
4484
|
color: "#777",
|
|
4329
4485
|
size: [bodyWidth / 3, bodyLength10 - 0.075, 0.02],
|
|
@@ -4334,8 +4490,8 @@ var SOD323 = () => {
|
|
|
4334
4490
|
};
|
|
4335
4491
|
|
|
4336
4492
|
// lib/sod-323F.tsx
|
|
4337
|
-
import { Colorize as Colorize30, Cuboid as
|
|
4338
|
-
import { Fragment as
|
|
4493
|
+
import { Colorize as Colorize30, Cuboid as Cuboid39, Hull as Hull22, Translate as Translate25, Union as Union17 } from "jscad-fiber";
|
|
4494
|
+
import { Fragment as Fragment58, jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4339
4495
|
var SOD323F = () => {
|
|
4340
4496
|
const fullWidth = 1.7;
|
|
4341
4497
|
const bodyLength10 = 1.25;
|
|
@@ -4345,39 +4501,39 @@ var SOD323F = () => {
|
|
|
4345
4501
|
const padThickness = 0.175;
|
|
4346
4502
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2;
|
|
4347
4503
|
const rightPadCenterX = fullWidth / 2 + padLength / 2;
|
|
4348
|
-
const taperOffset = 0.2;
|
|
4349
|
-
const straightHeight = padThickness;
|
|
4350
|
-
return /* @__PURE__ */
|
|
4351
|
-
/* @__PURE__ */
|
|
4352
|
-
|
|
4504
|
+
const taperOffset = 0.2;
|
|
4505
|
+
const straightHeight = padThickness;
|
|
4506
|
+
return /* @__PURE__ */ jsxs59(Fragment58, { children: [
|
|
4507
|
+
/* @__PURE__ */ jsx63(
|
|
4508
|
+
Cuboid39,
|
|
4353
4509
|
{
|
|
4354
4510
|
color: "#ccc",
|
|
4355
4511
|
size: [padLength, padWidth, padThickness],
|
|
4356
4512
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4357
4513
|
}
|
|
4358
4514
|
),
|
|
4359
|
-
/* @__PURE__ */
|
|
4360
|
-
|
|
4515
|
+
/* @__PURE__ */ jsx63(
|
|
4516
|
+
Cuboid39,
|
|
4361
4517
|
{
|
|
4362
4518
|
color: "#ccc",
|
|
4363
4519
|
size: [padLength, padWidth, padThickness],
|
|
4364
4520
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4365
4521
|
}
|
|
4366
4522
|
),
|
|
4367
|
-
/* @__PURE__ */
|
|
4368
|
-
/* @__PURE__ */
|
|
4369
|
-
/* @__PURE__ */
|
|
4370
|
-
/* @__PURE__ */
|
|
4371
|
-
/* @__PURE__ */
|
|
4372
|
-
|
|
4523
|
+
/* @__PURE__ */ jsx63(Colorize30, { color: "#222", children: /* @__PURE__ */ jsxs59(Union17, { children: [
|
|
4524
|
+
/* @__PURE__ */ jsx63(Translate25, { z: straightHeight / 2, children: /* @__PURE__ */ jsx63(Cuboid39, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
4525
|
+
/* @__PURE__ */ jsxs59(Hull22, { children: [
|
|
4526
|
+
/* @__PURE__ */ jsx63(Translate25, { z: straightHeight, children: /* @__PURE__ */ jsx63(Cuboid39, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
4527
|
+
/* @__PURE__ */ jsx63(Translate25, { z: bodyHeight, children: /* @__PURE__ */ jsx63(
|
|
4528
|
+
Cuboid39,
|
|
4373
4529
|
{
|
|
4374
4530
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
4375
4531
|
}
|
|
4376
4532
|
) })
|
|
4377
4533
|
] })
|
|
4378
4534
|
] }) }),
|
|
4379
|
-
/* @__PURE__ */
|
|
4380
|
-
|
|
4535
|
+
/* @__PURE__ */ jsx63(
|
|
4536
|
+
Cuboid39,
|
|
4381
4537
|
{
|
|
4382
4538
|
color: "#777",
|
|
4383
4539
|
size: [fullWidth / 3, bodyLength10 - taperOffset, 0.02],
|
|
@@ -4388,8 +4544,8 @@ var SOD323F = () => {
|
|
|
4388
4544
|
};
|
|
4389
4545
|
|
|
4390
4546
|
// lib/sod-323FL.tsx
|
|
4391
|
-
import { Colorize as Colorize31, Cuboid as
|
|
4392
|
-
import { Fragment as
|
|
4547
|
+
import { Colorize as Colorize31, Cuboid as Cuboid40 } from "jscad-fiber";
|
|
4548
|
+
import { Fragment as Fragment59, jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4393
4549
|
var SOD323FL = () => {
|
|
4394
4550
|
const fullWidth = 1.775;
|
|
4395
4551
|
const bodyLength10 = 1.25;
|
|
@@ -4400,24 +4556,24 @@ var SOD323FL = () => {
|
|
|
4400
4556
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
4401
4557
|
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
4402
4558
|
const taperOffset = 0.2;
|
|
4403
|
-
return /* @__PURE__ */
|
|
4404
|
-
/* @__PURE__ */
|
|
4405
|
-
|
|
4559
|
+
return /* @__PURE__ */ jsxs60(Fragment59, { children: [
|
|
4560
|
+
/* @__PURE__ */ jsx64(
|
|
4561
|
+
Cuboid40,
|
|
4406
4562
|
{
|
|
4407
4563
|
color: "#ccc",
|
|
4408
4564
|
size: [padLength, padWidth, padThickness],
|
|
4409
4565
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4410
4566
|
}
|
|
4411
4567
|
),
|
|
4412
|
-
/* @__PURE__ */
|
|
4413
|
-
|
|
4568
|
+
/* @__PURE__ */ jsx64(
|
|
4569
|
+
Cuboid40,
|
|
4414
4570
|
{
|
|
4415
4571
|
color: "#ccc",
|
|
4416
4572
|
size: [padLength, padWidth, padThickness],
|
|
4417
4573
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4418
4574
|
}
|
|
4419
4575
|
),
|
|
4420
|
-
/* @__PURE__ */
|
|
4576
|
+
/* @__PURE__ */ jsx64(Colorize31, { color: "#222", children: /* @__PURE__ */ jsx64(
|
|
4421
4577
|
ChipBody,
|
|
4422
4578
|
{
|
|
4423
4579
|
width: fullWidth,
|
|
@@ -4430,8 +4586,8 @@ var SOD323FL = () => {
|
|
|
4430
4586
|
includeNotch: false
|
|
4431
4587
|
}
|
|
4432
4588
|
) }),
|
|
4433
|
-
/* @__PURE__ */
|
|
4434
|
-
|
|
4589
|
+
/* @__PURE__ */ jsx64(
|
|
4590
|
+
Cuboid40,
|
|
4435
4591
|
{
|
|
4436
4592
|
color: "#777",
|
|
4437
4593
|
size: [fullWidth / 3, bodyLength10 - 0.05, 0.02],
|
|
@@ -4443,20 +4599,20 @@ var SOD323FL = () => {
|
|
|
4443
4599
|
|
|
4444
4600
|
// lib/AxialCapacitor.tsx
|
|
4445
4601
|
import { Colorize as Colorize32, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
|
|
4446
|
-
import { Fragment as
|
|
4602
|
+
import { Fragment as Fragment60, jsx as jsx65, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
4447
4603
|
var AxialCapacitor = ({ pitch = 10 }) => {
|
|
4448
4604
|
const heightToCenterOfCapacitor = 0.5 + 4 / 2;
|
|
4449
|
-
return /* @__PURE__ */
|
|
4450
|
-
/* @__PURE__ */
|
|
4451
|
-
/* @__PURE__ */
|
|
4605
|
+
return /* @__PURE__ */ jsxs61(Fragment60, { children: [
|
|
4606
|
+
/* @__PURE__ */ jsx65(Cylinder9, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
|
|
4607
|
+
/* @__PURE__ */ jsx65(
|
|
4452
4608
|
Sphere2,
|
|
4453
4609
|
{
|
|
4454
4610
|
radius: 0.5,
|
|
4455
4611
|
center: [-pitch / 2, 0, heightToCenterOfCapacitor]
|
|
4456
4612
|
}
|
|
4457
4613
|
),
|
|
4458
|
-
/* @__PURE__ */
|
|
4459
|
-
/* @__PURE__ */
|
|
4614
|
+
/* @__PURE__ */ jsx65(Translate27, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs61(Rotate11, { rotation: [0, Math.PI / 2, 0], children: [
|
|
4615
|
+
/* @__PURE__ */ jsx65(
|
|
4460
4616
|
Cylinder9,
|
|
4461
4617
|
{
|
|
4462
4618
|
height: pitch,
|
|
@@ -4464,7 +4620,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4464
4620
|
center: [0, 0, heightToCenterOfCapacitor]
|
|
4465
4621
|
}
|
|
4466
4622
|
),
|
|
4467
|
-
/* @__PURE__ */
|
|
4623
|
+
/* @__PURE__ */ jsx65(Colorize32, { color: "#d2b48c", children: /* @__PURE__ */ jsx65(
|
|
4468
4624
|
Cylinder9,
|
|
4469
4625
|
{
|
|
4470
4626
|
height: 5,
|
|
@@ -4473,14 +4629,14 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4473
4629
|
}
|
|
4474
4630
|
) })
|
|
4475
4631
|
] }) }),
|
|
4476
|
-
/* @__PURE__ */
|
|
4477
|
-
/* @__PURE__ */
|
|
4632
|
+
/* @__PURE__ */ jsx65(Cylinder9, { height: 4, radius: 0.5, center: [pitch / 2, 0, 0.5] }),
|
|
4633
|
+
/* @__PURE__ */ jsx65(Sphere2, { radius: 0.5, center: [pitch / 2, 0, heightToCenterOfCapacitor] })
|
|
4478
4634
|
] });
|
|
4479
4635
|
};
|
|
4480
4636
|
|
|
4481
4637
|
// lib/stampboard.tsx
|
|
4482
|
-
import { Colorize as Colorize33, Cuboid as
|
|
4483
|
-
import { Fragment as
|
|
4638
|
+
import { Colorize as Colorize33, Cuboid as Cuboid41, Cylinder as Cylinder10, Subtract as Subtract6, Union as Union19 } from "jscad-fiber";
|
|
4639
|
+
import { Fragment as Fragment61, jsx as jsx66, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
4484
4640
|
var StampBoard = ({
|
|
4485
4641
|
bodyWidth = 21,
|
|
4486
4642
|
boardThickness = 0.5,
|
|
@@ -4578,16 +4734,16 @@ var StampBoard = ({
|
|
|
4578
4734
|
}
|
|
4579
4735
|
}
|
|
4580
4736
|
}
|
|
4581
|
-
const boardBody = /* @__PURE__ */
|
|
4582
|
-
/* @__PURE__ */
|
|
4583
|
-
|
|
4737
|
+
const boardBody = /* @__PURE__ */ jsx66(Colorize33, { color: "#051a0a", children: /* @__PURE__ */ jsxs62(Subtract6, { children: [
|
|
4738
|
+
/* @__PURE__ */ jsx66(
|
|
4739
|
+
Cuboid41,
|
|
4584
4740
|
{
|
|
4585
4741
|
center: [0, 0, boardCenterZ],
|
|
4586
4742
|
size: [bodyWidth, bodyLength10, boardThickness]
|
|
4587
4743
|
}
|
|
4588
4744
|
),
|
|
4589
|
-
pads.map((pad, index) => /* @__PURE__ */
|
|
4590
|
-
|
|
4745
|
+
pads.map((pad, index) => /* @__PURE__ */ jsx66(
|
|
4746
|
+
Cuboid41,
|
|
4591
4747
|
{
|
|
4592
4748
|
center: [pad.x, pad.y, boardCenterZ],
|
|
4593
4749
|
size: [pad.pl + 0.01, pad.pw + 0.01, boardHeight]
|
|
@@ -4595,7 +4751,7 @@ var StampBoard = ({
|
|
|
4595
4751
|
index
|
|
4596
4752
|
))
|
|
4597
4753
|
] }) });
|
|
4598
|
-
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */
|
|
4754
|
+
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */ jsx66(
|
|
4599
4755
|
Cylinder10,
|
|
4600
4756
|
{
|
|
4601
4757
|
color: "black",
|
|
@@ -4605,19 +4761,19 @@ var StampBoard = ({
|
|
|
4605
4761
|
},
|
|
4606
4762
|
index
|
|
4607
4763
|
));
|
|
4608
|
-
const rectPads = pads.map((pad, index) => /* @__PURE__ */
|
|
4609
|
-
|
|
4764
|
+
const rectPads = pads.map((pad, index) => /* @__PURE__ */ jsx66(
|
|
4765
|
+
Cuboid41,
|
|
4610
4766
|
{
|
|
4611
4767
|
center: [pad.x, pad.y, boardCenterZ],
|
|
4612
4768
|
size: [pad.pl + 0.01, pad.pw + 0.01, boardHeight]
|
|
4613
4769
|
},
|
|
4614
4770
|
index
|
|
4615
4771
|
));
|
|
4616
|
-
return /* @__PURE__ */
|
|
4772
|
+
return /* @__PURE__ */ jsxs62(Fragment61, { children: [
|
|
4617
4773
|
boardBody,
|
|
4618
|
-
/* @__PURE__ */
|
|
4619
|
-
/* @__PURE__ */
|
|
4620
|
-
|
|
4774
|
+
/* @__PURE__ */ jsx66(Colorize33, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs62(Subtract6, { children: [
|
|
4775
|
+
/* @__PURE__ */ jsx66(Union19, { children: pads.map((pad, index) => /* @__PURE__ */ jsx66(
|
|
4776
|
+
Cuboid41,
|
|
4621
4777
|
{
|
|
4622
4778
|
center: [pad.x, pad.y, boardCenterZ],
|
|
4623
4779
|
size: [pad.pl + 0.01, pad.pw + 0.01, boardHeight]
|
|
@@ -4630,11 +4786,11 @@ var StampBoard = ({
|
|
|
4630
4786
|
};
|
|
4631
4787
|
|
|
4632
4788
|
// lib/MountedPcbModule.tsx
|
|
4633
|
-
import { Colorize as Colorize35, Cuboid as
|
|
4789
|
+
import { Colorize as Colorize35, Cuboid as Cuboid43, Cylinder as Cylinder11, Subtract as Subtract8 } from "jscad-fiber";
|
|
4634
4790
|
|
|
4635
4791
|
// lib/Screen.tsx
|
|
4636
|
-
import { Colorize as Colorize34, Cuboid as
|
|
4637
|
-
import { jsx as
|
|
4792
|
+
import { Colorize as Colorize34, Cuboid as Cuboid42, Subtract as Subtract7, Translate as Translate28 } from "jscad-fiber";
|
|
4793
|
+
import { jsx as jsx67, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
4638
4794
|
var Screen = ({
|
|
4639
4795
|
width: width10 = 30,
|
|
4640
4796
|
height: height10 = 22,
|
|
@@ -4662,32 +4818,32 @@ var Screen = ({
|
|
|
4662
4818
|
const offsetX = offset?.x ?? 0;
|
|
4663
4819
|
const offsetY = offset?.y ?? 0;
|
|
4664
4820
|
const offsetZ = offset?.z ?? 0;
|
|
4665
|
-
return /* @__PURE__ */
|
|
4666
|
-
backBlockHeight > 0 && /* @__PURE__ */
|
|
4667
|
-
|
|
4821
|
+
return /* @__PURE__ */ jsxs63(Translate28, { offset: { x: offsetX, y: offsetY, z: offsetZ }, children: [
|
|
4822
|
+
backBlockHeight > 0 && /* @__PURE__ */ jsx67(Colorize34, { color: bezelColor, children: /* @__PURE__ */ jsx67(
|
|
4823
|
+
Cuboid42,
|
|
4668
4824
|
{
|
|
4669
4825
|
size: [w, h, backBlockHeight],
|
|
4670
4826
|
offset: [0, 0, backBlockHeight / 2]
|
|
4671
4827
|
}
|
|
4672
4828
|
) }),
|
|
4673
|
-
/* @__PURE__ */
|
|
4674
|
-
/* @__PURE__ */
|
|
4675
|
-
|
|
4829
|
+
/* @__PURE__ */ jsx67(Colorize34, { color: bezelColor, children: /* @__PURE__ */ jsxs63(Subtract7, { children: [
|
|
4830
|
+
/* @__PURE__ */ jsx67(
|
|
4831
|
+
Cuboid42,
|
|
4676
4832
|
{
|
|
4677
4833
|
size: [w, h, clampedBezelDepth],
|
|
4678
4834
|
offset: [0, 0, backBlockHeight + clampedBezelDepth / 2]
|
|
4679
4835
|
}
|
|
4680
4836
|
),
|
|
4681
|
-
/* @__PURE__ */
|
|
4682
|
-
|
|
4837
|
+
/* @__PURE__ */ jsx67(
|
|
4838
|
+
Cuboid42,
|
|
4683
4839
|
{
|
|
4684
4840
|
size: [innerWidth, innerHeight, clampedBezelDepth + 0.02],
|
|
4685
4841
|
offset: [0, 0, backBlockHeight + clampedBezelDepth / 2]
|
|
4686
4842
|
}
|
|
4687
4843
|
)
|
|
4688
4844
|
] }) }),
|
|
4689
|
-
/* @__PURE__ */
|
|
4690
|
-
|
|
4845
|
+
/* @__PURE__ */ jsx67(Colorize34, { color: screenColor, children: /* @__PURE__ */ jsx67(
|
|
4846
|
+
Cuboid42,
|
|
4691
4847
|
{
|
|
4692
4848
|
size: [innerWidth, innerHeight, screenThickness],
|
|
4693
4849
|
offset: [0, 0, backBlockHeight + screenThickness / 2]
|
|
@@ -4698,7 +4854,7 @@ var Screen = ({
|
|
|
4698
4854
|
var Display = Screen;
|
|
4699
4855
|
|
|
4700
4856
|
// lib/MountedPcbModule.tsx
|
|
4701
|
-
import { Fragment as
|
|
4857
|
+
import { Fragment as Fragment62, jsx as jsx68, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
4702
4858
|
var MountedPcbModule = ({
|
|
4703
4859
|
numPins = 5,
|
|
4704
4860
|
rows = 1,
|
|
@@ -4799,15 +4955,15 @@ var MountedPcbModule = ({
|
|
|
4799
4955
|
const shortSidePinLength = 3;
|
|
4800
4956
|
const boardOffsetZ = nopin || female ? 0 : pinBodyHeight;
|
|
4801
4957
|
const boardTopZ = boardOffsetZ + boardThickness;
|
|
4802
|
-
const boardBody = /* @__PURE__ */
|
|
4803
|
-
/* @__PURE__ */
|
|
4804
|
-
|
|
4958
|
+
const boardBody = /* @__PURE__ */ jsx68(Colorize35, { color: "#008080", children: /* @__PURE__ */ jsxs64(Subtract8, { children: [
|
|
4959
|
+
/* @__PURE__ */ jsx68(
|
|
4960
|
+
Cuboid43,
|
|
4805
4961
|
{
|
|
4806
4962
|
center: [0, 0, boardCenterZ + boardOffsetZ],
|
|
4807
4963
|
size: [finalWidth, finalHeight, boardThickness]
|
|
4808
4964
|
}
|
|
4809
4965
|
),
|
|
4810
|
-
holePositions.map((hole, index) => /* @__PURE__ */
|
|
4966
|
+
holePositions.map((hole, index) => /* @__PURE__ */ jsx68(
|
|
4811
4967
|
Cylinder11,
|
|
4812
4968
|
{
|
|
4813
4969
|
center: [hole.x, hole.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4816,7 +4972,7 @@ var MountedPcbModule = ({
|
|
|
4816
4972
|
},
|
|
4817
4973
|
`hole-${index}`
|
|
4818
4974
|
)),
|
|
4819
|
-
pins.map((pin, index) => /* @__PURE__ */
|
|
4975
|
+
pins.map((pin, index) => /* @__PURE__ */ jsx68(
|
|
4820
4976
|
Cylinder11,
|
|
4821
4977
|
{
|
|
4822
4978
|
center: [pin.x, pin.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4826,8 +4982,8 @@ var MountedPcbModule = ({
|
|
|
4826
4982
|
`pin-hole-${index}`
|
|
4827
4983
|
))
|
|
4828
4984
|
] }) });
|
|
4829
|
-
const platedHoles = pins.map((pin, index) => /* @__PURE__ */
|
|
4830
|
-
/* @__PURE__ */
|
|
4985
|
+
const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx68(Colorize35, { color: "#FFD700", children: /* @__PURE__ */ jsxs64(Subtract8, { children: [
|
|
4986
|
+
/* @__PURE__ */ jsx68(
|
|
4831
4987
|
Cylinder11,
|
|
4832
4988
|
{
|
|
4833
4989
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4835,7 +4991,7 @@ var MountedPcbModule = ({
|
|
|
4835
4991
|
height: boardThickness
|
|
4836
4992
|
}
|
|
4837
4993
|
),
|
|
4838
|
-
/* @__PURE__ */
|
|
4994
|
+
/* @__PURE__ */ jsx68(
|
|
4839
4995
|
Cylinder11,
|
|
4840
4996
|
{
|
|
4841
4997
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4844,7 +5000,7 @@ var MountedPcbModule = ({
|
|
|
4844
5000
|
}
|
|
4845
5001
|
)
|
|
4846
5002
|
] }) }, `pin-${index}`));
|
|
4847
|
-
const headerPins = pins.map((pin, index) => /* @__PURE__ */
|
|
5003
|
+
const headerPins = pins.map((pin, index) => /* @__PURE__ */ jsx68(
|
|
4848
5004
|
PinHeader,
|
|
4849
5005
|
{
|
|
4850
5006
|
x: pin.x,
|
|
@@ -4857,7 +5013,7 @@ var MountedPcbModule = ({
|
|
|
4857
5013
|
},
|
|
4858
5014
|
`pin-3d-${index}`
|
|
4859
5015
|
));
|
|
4860
|
-
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */
|
|
5016
|
+
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */ jsx68(
|
|
4861
5017
|
FemaleHeader,
|
|
4862
5018
|
{
|
|
4863
5019
|
x: pin.x,
|
|
@@ -4866,12 +5022,12 @@ var MountedPcbModule = ({
|
|
|
4866
5022
|
},
|
|
4867
5023
|
`female-pin-3d-${index}`
|
|
4868
5024
|
));
|
|
4869
|
-
return /* @__PURE__ */
|
|
5025
|
+
return /* @__PURE__ */ jsxs64(Fragment62, { children: [
|
|
4870
5026
|
boardBody,
|
|
4871
5027
|
platedHoles,
|
|
4872
5028
|
!female && !nopin && headerPins,
|
|
4873
5029
|
female && femaleHeaderRow,
|
|
4874
|
-
showScreen && /* @__PURE__ */
|
|
5030
|
+
showScreen && /* @__PURE__ */ jsx68(
|
|
4875
5031
|
Screen,
|
|
4876
5032
|
{
|
|
4877
5033
|
width: screenWidth ?? finalWidth * 0.8,
|
|
@@ -4887,8 +5043,8 @@ var MountedPcbModule = ({
|
|
|
4887
5043
|
};
|
|
4888
5044
|
|
|
4889
5045
|
// lib/SOD723.tsx
|
|
4890
|
-
import { Colorize as Colorize36, Cuboid as
|
|
4891
|
-
import { Fragment as
|
|
5046
|
+
import { Colorize as Colorize36, Cuboid as Cuboid44, Hull as Hull24, Translate as Translate29, Union as Union20 } from "jscad-fiber";
|
|
5047
|
+
import { Fragment as Fragment63, jsx as jsx69, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
4892
5048
|
var SOD723 = () => {
|
|
4893
5049
|
const fullWidth = 1.4;
|
|
4894
5050
|
const bodyLength10 = 0.6;
|
|
@@ -4901,37 +5057,37 @@ var SOD723 = () => {
|
|
|
4901
5057
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
4902
5058
|
const taperOffset = 0.2;
|
|
4903
5059
|
const straightHeight = bodyHeight * 0.24;
|
|
4904
|
-
return /* @__PURE__ */
|
|
4905
|
-
/* @__PURE__ */
|
|
4906
|
-
|
|
5060
|
+
return /* @__PURE__ */ jsxs65(Fragment63, { children: [
|
|
5061
|
+
/* @__PURE__ */ jsx69(
|
|
5062
|
+
Cuboid44,
|
|
4907
5063
|
{
|
|
4908
5064
|
color: "#ccc",
|
|
4909
5065
|
size: [padLength, padWidth, padThickness],
|
|
4910
5066
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4911
5067
|
}
|
|
4912
5068
|
),
|
|
4913
|
-
/* @__PURE__ */
|
|
4914
|
-
|
|
5069
|
+
/* @__PURE__ */ jsx69(
|
|
5070
|
+
Cuboid44,
|
|
4915
5071
|
{
|
|
4916
5072
|
color: "#ccc",
|
|
4917
5073
|
size: [padLength, padWidth, padThickness],
|
|
4918
5074
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4919
5075
|
}
|
|
4920
5076
|
),
|
|
4921
|
-
/* @__PURE__ */
|
|
4922
|
-
/* @__PURE__ */
|
|
4923
|
-
/* @__PURE__ */
|
|
4924
|
-
/* @__PURE__ */
|
|
4925
|
-
/* @__PURE__ */
|
|
4926
|
-
|
|
5077
|
+
/* @__PURE__ */ jsx69(Colorize36, { color: "#222", children: /* @__PURE__ */ jsxs65(Union20, { children: [
|
|
5078
|
+
/* @__PURE__ */ jsx69(Translate29, { z: straightHeight / 2, children: /* @__PURE__ */ jsx69(Cuboid44, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
5079
|
+
/* @__PURE__ */ jsxs65(Hull24, { children: [
|
|
5080
|
+
/* @__PURE__ */ jsx69(Translate29, { z: straightHeight, children: /* @__PURE__ */ jsx69(Cuboid44, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
5081
|
+
/* @__PURE__ */ jsx69(Translate29, { z: bodyHeight, children: /* @__PURE__ */ jsx69(
|
|
5082
|
+
Cuboid44,
|
|
4927
5083
|
{
|
|
4928
5084
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
4929
5085
|
}
|
|
4930
5086
|
) })
|
|
4931
5087
|
] })
|
|
4932
5088
|
] }) }),
|
|
4933
|
-
/* @__PURE__ */
|
|
4934
|
-
|
|
5089
|
+
/* @__PURE__ */ jsx69(
|
|
5090
|
+
Cuboid44,
|
|
4935
5091
|
{
|
|
4936
5092
|
color: "#777",
|
|
4937
5093
|
size: [fullWidth / 6, bodyLength10 - taperOffset, 0.02],
|
|
@@ -4945,13 +5101,13 @@ var SOD723_default = SOD723;
|
|
|
4945
5101
|
// lib/JSTZH1_5mm.tsx
|
|
4946
5102
|
import {
|
|
4947
5103
|
Colorize as Colorize37,
|
|
4948
|
-
Cuboid as
|
|
5104
|
+
Cuboid as Cuboid45,
|
|
4949
5105
|
Cylinder as Cylinder12,
|
|
4950
5106
|
Rotate as Rotate12,
|
|
4951
5107
|
Subtract as Subtract9,
|
|
4952
5108
|
Translate as Translate30
|
|
4953
5109
|
} from "jscad-fiber";
|
|
4954
|
-
import { Fragment as
|
|
5110
|
+
import { Fragment as Fragment64, jsx as jsx70, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
4955
5111
|
var JSTZH1_5mm = ({
|
|
4956
5112
|
numPins = 7,
|
|
4957
5113
|
showPins = true,
|
|
@@ -4967,17 +5123,17 @@ var JSTZH1_5mm = ({
|
|
|
4967
5123
|
const pinLength = 6;
|
|
4968
5124
|
const bodyWidth = (numPins - 1) * pitch + 4;
|
|
4969
5125
|
const startX = -((numPins - 1) * pitch) / 2;
|
|
4970
|
-
return /* @__PURE__ */
|
|
4971
|
-
/* @__PURE__ */
|
|
4972
|
-
/* @__PURE__ */
|
|
4973
|
-
|
|
5126
|
+
return /* @__PURE__ */ jsxs66(Fragment64, { children: [
|
|
5127
|
+
/* @__PURE__ */ jsx70(Translate30, { offset: [0, 0, bodyHeight], children: /* @__PURE__ */ jsx70(Rotate12, { angles: [Math.PI, 0, 0], children: /* @__PURE__ */ jsx70(Colorize37, { color: bodyColor, children: /* @__PURE__ */ jsxs66(Subtract9, { children: [
|
|
5128
|
+
/* @__PURE__ */ jsx70(
|
|
5129
|
+
Cuboid45,
|
|
4974
5130
|
{
|
|
4975
5131
|
size: [bodyWidth, bodyDepth, bodyHeight],
|
|
4976
5132
|
center: [0, 0, bodyHeight / 2]
|
|
4977
5133
|
}
|
|
4978
5134
|
),
|
|
4979
|
-
/* @__PURE__ */
|
|
4980
|
-
|
|
5135
|
+
/* @__PURE__ */ jsx70(
|
|
5136
|
+
Cuboid45,
|
|
4981
5137
|
{
|
|
4982
5138
|
size: [
|
|
4983
5139
|
bodyWidth - wallThickness * 2,
|
|
@@ -4987,15 +5143,15 @@ var JSTZH1_5mm = ({
|
|
|
4987
5143
|
center: [0, 0, hollowHeight / 2]
|
|
4988
5144
|
}
|
|
4989
5145
|
),
|
|
4990
|
-
/* @__PURE__ */
|
|
4991
|
-
|
|
5146
|
+
/* @__PURE__ */ jsx70(
|
|
5147
|
+
Cuboid45,
|
|
4992
5148
|
{
|
|
4993
5149
|
size: [bodyWidth, bodyDepth / 3, hollowHeight],
|
|
4994
5150
|
center: [0, 0, hollowHeight / 6]
|
|
4995
5151
|
}
|
|
4996
5152
|
),
|
|
4997
|
-
/* @__PURE__ */
|
|
4998
|
-
|
|
5153
|
+
/* @__PURE__ */ jsx70(
|
|
5154
|
+
Cuboid45,
|
|
4999
5155
|
{
|
|
5000
5156
|
size: [
|
|
5001
5157
|
bodyWidth - wallThickness * 2,
|
|
@@ -5009,8 +5165,8 @@ var JSTZH1_5mm = ({
|
|
|
5009
5165
|
]
|
|
5010
5166
|
}
|
|
5011
5167
|
),
|
|
5012
|
-
/* @__PURE__ */
|
|
5013
|
-
|
|
5168
|
+
/* @__PURE__ */ jsx70(
|
|
5169
|
+
Cuboid45,
|
|
5014
5170
|
{
|
|
5015
5171
|
size: [
|
|
5016
5172
|
bodyWidth - wallThickness * 2,
|
|
@@ -5024,36 +5180,36 @@ var JSTZH1_5mm = ({
|
|
|
5024
5180
|
]
|
|
5025
5181
|
}
|
|
5026
5182
|
),
|
|
5027
|
-
/* @__PURE__ */
|
|
5028
|
-
|
|
5183
|
+
/* @__PURE__ */ jsx70(
|
|
5184
|
+
Cuboid45,
|
|
5029
5185
|
{
|
|
5030
5186
|
size: [1, wallThickness + 2, 1],
|
|
5031
5187
|
center: [-bodyWidth / 4, bodyDepth / 2, bodyHeight / 2]
|
|
5032
5188
|
}
|
|
5033
5189
|
),
|
|
5034
|
-
/* @__PURE__ */
|
|
5035
|
-
|
|
5190
|
+
/* @__PURE__ */ jsx70(
|
|
5191
|
+
Cuboid45,
|
|
5036
5192
|
{
|
|
5037
5193
|
size: [1, wallThickness + 3, 1],
|
|
5038
5194
|
center: [bodyWidth / 4, bodyDepth / 2, bodyHeight / 2]
|
|
5039
5195
|
}
|
|
5040
5196
|
),
|
|
5041
|
-
/* @__PURE__ */
|
|
5042
|
-
|
|
5197
|
+
/* @__PURE__ */ jsx70(
|
|
5198
|
+
Cuboid45,
|
|
5043
5199
|
{
|
|
5044
5200
|
size: [1, wallThickness + 2, 1],
|
|
5045
5201
|
center: [-bodyWidth / 4, -bodyDepth / 2, bodyHeight / 2]
|
|
5046
5202
|
}
|
|
5047
5203
|
),
|
|
5048
|
-
/* @__PURE__ */
|
|
5049
|
-
|
|
5204
|
+
/* @__PURE__ */ jsx70(
|
|
5205
|
+
Cuboid45,
|
|
5050
5206
|
{
|
|
5051
5207
|
size: [1, wallThickness + 3, 1],
|
|
5052
5208
|
center: [bodyWidth / 4, -bodyDepth / 2, bodyHeight / 2]
|
|
5053
5209
|
}
|
|
5054
5210
|
)
|
|
5055
5211
|
] }) }) }) }),
|
|
5056
|
-
showPins && Array.from({ length: numPins }).map((_, i) => /* @__PURE__ */
|
|
5212
|
+
showPins && Array.from({ length: numPins }).map((_, i) => /* @__PURE__ */ jsx70(Colorize37, { color: pinColor, children: /* @__PURE__ */ jsx70(
|
|
5057
5213
|
Cylinder12,
|
|
5058
5214
|
{
|
|
5059
5215
|
height: pinLength,
|
|
@@ -5089,7 +5245,7 @@ var JSTZH1_5mm = ({
|
|
|
5089
5245
|
layers: ["top", "bottom"],
|
|
5090
5246
|
port_hints: [`${i + 1}`]
|
|
5091
5247
|
};
|
|
5092
|
-
return /* @__PURE__ */
|
|
5248
|
+
return /* @__PURE__ */ jsx70(
|
|
5093
5249
|
FootprintPlatedHole,
|
|
5094
5250
|
{
|
|
5095
5251
|
hole,
|
|
@@ -5104,14 +5260,14 @@ var JSTZH1_5mm = ({
|
|
|
5104
5260
|
// lib/FPC.tsx
|
|
5105
5261
|
import {
|
|
5106
5262
|
Colorize as Colorize38,
|
|
5107
|
-
Cuboid as
|
|
5263
|
+
Cuboid as Cuboid46,
|
|
5108
5264
|
Cylinder as Cylinder13,
|
|
5109
5265
|
Rotate as Rotate13,
|
|
5110
5266
|
RoundedCuboid as RoundedCuboid3,
|
|
5111
5267
|
Subtract as Subtract10,
|
|
5112
5268
|
Translate as Translate31
|
|
5113
5269
|
} from "jscad-fiber";
|
|
5114
|
-
import { Fragment as
|
|
5270
|
+
import { Fragment as Fragment65, jsx as jsx71, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5115
5271
|
var HOUSING_COLOR = "#303339";
|
|
5116
5272
|
var HOUSING_SHADOW = "#1f2227";
|
|
5117
5273
|
var ACTUATOR_COLOR = "#eee8d8";
|
|
@@ -5198,9 +5354,9 @@ var FPC = ({
|
|
|
5198
5354
|
const clipCapX = bodyWidth / 2 - 0.23;
|
|
5199
5355
|
const sideBossX = bodyWidth / 2 - 0.32;
|
|
5200
5356
|
const sideBossWidth = 0.68;
|
|
5201
|
-
return /* @__PURE__ */
|
|
5202
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5203
|
-
|
|
5357
|
+
return /* @__PURE__ */ jsxs67(Fragment65, { children: [
|
|
5358
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5359
|
+
Cuboid46,
|
|
5204
5360
|
{
|
|
5205
5361
|
color: TIN_COLOR,
|
|
5206
5362
|
center: [direction * endClipX, mountY, 0.07],
|
|
@@ -5208,8 +5364,8 @@ var FPC = ({
|
|
|
5208
5364
|
},
|
|
5209
5365
|
`mount-pad:${direction}`
|
|
5210
5366
|
)),
|
|
5211
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5212
|
-
|
|
5367
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx71(
|
|
5368
|
+
Cuboid46,
|
|
5213
5369
|
{
|
|
5214
5370
|
color: TIN_COLOR,
|
|
5215
5371
|
center: [contact.x, terminalCenterY, 0.065],
|
|
@@ -5217,7 +5373,7 @@ var FPC = ({
|
|
|
5217
5373
|
},
|
|
5218
5374
|
`terminal:${contact.index}`
|
|
5219
5375
|
)),
|
|
5220
|
-
/* @__PURE__ */
|
|
5376
|
+
/* @__PURE__ */ jsx71(
|
|
5221
5377
|
RoundedCuboid3,
|
|
5222
5378
|
{
|
|
5223
5379
|
color: HOUSING_SHADOW,
|
|
@@ -5226,8 +5382,8 @@ var FPC = ({
|
|
|
5226
5382
|
roundRadius: 0.1
|
|
5227
5383
|
}
|
|
5228
5384
|
),
|
|
5229
|
-
/* @__PURE__ */
|
|
5230
|
-
/* @__PURE__ */
|
|
5385
|
+
/* @__PURE__ */ jsx71(Colorize38, { color: HOUSING_COLOR, children: /* @__PURE__ */ jsxs67(Subtract10, { children: [
|
|
5386
|
+
/* @__PURE__ */ jsx71(
|
|
5231
5387
|
RoundedCuboid3,
|
|
5232
5388
|
{
|
|
5233
5389
|
center: [0, housingCenterY, housingBaseHeight + housingHeight / 2],
|
|
@@ -5235,22 +5391,22 @@ var FPC = ({
|
|
|
5235
5391
|
roundRadius: 0.14
|
|
5236
5392
|
}
|
|
5237
5393
|
),
|
|
5238
|
-
/* @__PURE__ */
|
|
5239
|
-
|
|
5394
|
+
/* @__PURE__ */ jsx71(
|
|
5395
|
+
Cuboid46,
|
|
5240
5396
|
{
|
|
5241
5397
|
center: [0, throatCenterY, throatCenterZ],
|
|
5242
5398
|
size: [openingWidth, throatDepth, throatHeight]
|
|
5243
5399
|
}
|
|
5244
5400
|
),
|
|
5245
|
-
/* @__PURE__ */
|
|
5246
|
-
|
|
5401
|
+
/* @__PURE__ */ jsx71(
|
|
5402
|
+
Cuboid46,
|
|
5247
5403
|
{
|
|
5248
5404
|
center: [0, actuatorCenterY, overallHeight - actuatorHeight * 0.72],
|
|
5249
5405
|
size: [actuatorWidth - 0.32, actuatorDepth - 0.16, actuatorHeight]
|
|
5250
5406
|
}
|
|
5251
5407
|
)
|
|
5252
5408
|
] }) }),
|
|
5253
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5409
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx71(
|
|
5254
5410
|
RoundedCuboid3,
|
|
5255
5411
|
{
|
|
5256
5412
|
color: TIN_HIGHLIGHT,
|
|
@@ -5260,8 +5416,8 @@ var FPC = ({
|
|
|
5260
5416
|
},
|
|
5261
5417
|
`spring:${contact.index}`
|
|
5262
5418
|
)),
|
|
5263
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5264
|
-
|
|
5419
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx71(
|
|
5420
|
+
Cuboid46,
|
|
5265
5421
|
{
|
|
5266
5422
|
color: TIN_COLOR,
|
|
5267
5423
|
center: [
|
|
@@ -5273,8 +5429,8 @@ var FPC = ({
|
|
|
5273
5429
|
},
|
|
5274
5430
|
`terminal-rise:${contact.index}`
|
|
5275
5431
|
)),
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
|
|
5432
|
+
/* @__PURE__ */ jsx71(
|
|
5433
|
+
Cuboid46,
|
|
5278
5434
|
{
|
|
5279
5435
|
color: HOUSING_SHADOW,
|
|
5280
5436
|
center: [
|
|
@@ -5285,7 +5441,7 @@ var FPC = ({
|
|
|
5285
5441
|
size: [openingWidth + 0.18, 0.16, 0.8]
|
|
5286
5442
|
}
|
|
5287
5443
|
),
|
|
5288
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx71(
|
|
5289
5445
|
RoundedCuboid3,
|
|
5290
5446
|
{
|
|
5291
5447
|
color: ACTUATOR_COLOR,
|
|
@@ -5294,8 +5450,8 @@ var FPC = ({
|
|
|
5294
5450
|
roundRadius: 0.11
|
|
5295
5451
|
}
|
|
5296
5452
|
),
|
|
5297
|
-
/* @__PURE__ */
|
|
5298
|
-
|
|
5453
|
+
/* @__PURE__ */ jsx71(
|
|
5454
|
+
Cuboid46,
|
|
5299
5455
|
{
|
|
5300
5456
|
color: ACTUATOR_HIGHLIGHT,
|
|
5301
5457
|
center: [
|
|
@@ -5306,7 +5462,7 @@ var FPC = ({
|
|
|
5306
5462
|
size: [actuatorWidth - 0.36, 0.24, 0.07]
|
|
5307
5463
|
}
|
|
5308
5464
|
),
|
|
5309
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5465
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5310
5466
|
RoundedCuboid3,
|
|
5311
5467
|
{
|
|
5312
5468
|
color: ACTUATOR_COLOR,
|
|
@@ -5316,13 +5472,13 @@ var FPC = ({
|
|
|
5316
5472
|
},
|
|
5317
5473
|
`actuator-ear:${direction}`
|
|
5318
5474
|
)),
|
|
5319
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5475
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5320
5476
|
Translate31,
|
|
5321
5477
|
{
|
|
5322
5478
|
x: direction * sideBossX,
|
|
5323
5479
|
y: hingeY,
|
|
5324
5480
|
z: hingeZ,
|
|
5325
|
-
children: /* @__PURE__ */
|
|
5481
|
+
children: /* @__PURE__ */ jsx71(Rotate13, { rotation: [0, Math.PI / 2, 0], children: /* @__PURE__ */ jsx71(
|
|
5326
5482
|
Cylinder13,
|
|
5327
5483
|
{
|
|
5328
5484
|
color: ACTUATOR_HIGHLIGHT,
|
|
@@ -5333,7 +5489,7 @@ var FPC = ({
|
|
|
5333
5489
|
},
|
|
5334
5490
|
`hinge:${direction}`
|
|
5335
5491
|
)),
|
|
5336
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5492
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5337
5493
|
RoundedCuboid3,
|
|
5338
5494
|
{
|
|
5339
5495
|
color: HOLD_DOWN_COLOR,
|
|
@@ -5343,7 +5499,7 @@ var FPC = ({
|
|
|
5343
5499
|
},
|
|
5344
5500
|
`hold-down-wall:${direction}`
|
|
5345
5501
|
)),
|
|
5346
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5502
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5347
5503
|
RoundedCuboid3,
|
|
5348
5504
|
{
|
|
5349
5505
|
color: HOLD_DOWN_HIGHLIGHT,
|
|
@@ -5353,16 +5509,16 @@ var FPC = ({
|
|
|
5353
5509
|
},
|
|
5354
5510
|
`hold-down-cap:${direction}`
|
|
5355
5511
|
)),
|
|
5356
|
-
/* @__PURE__ */
|
|
5357
|
-
|
|
5512
|
+
/* @__PURE__ */ jsx71(
|
|
5513
|
+
Cuboid46,
|
|
5358
5514
|
{
|
|
5359
5515
|
color: HOUSING_SHADOW,
|
|
5360
5516
|
center: [0, housingCenterY, 0.025],
|
|
5361
5517
|
size: [openingWidth + 0.7, housingDepth * 0.58, 0.05]
|
|
5362
5518
|
}
|
|
5363
5519
|
),
|
|
5364
|
-
/* @__PURE__ */
|
|
5365
|
-
|
|
5520
|
+
/* @__PURE__ */ jsx71(
|
|
5521
|
+
Cuboid46,
|
|
5366
5522
|
{
|
|
5367
5523
|
color: HOUSING_SHADOW,
|
|
5368
5524
|
center: [
|
|
@@ -5377,8 +5533,8 @@ var FPC = ({
|
|
|
5377
5533
|
};
|
|
5378
5534
|
|
|
5379
5535
|
// lib/SmdPinHeader.tsx
|
|
5380
|
-
import { Colorize as Colorize39, Cuboid as
|
|
5381
|
-
import { Fragment as
|
|
5536
|
+
import { Colorize as Colorize39, Cuboid as Cuboid47, Hull as Hull25, Translate as Translate32 } from "jscad-fiber";
|
|
5537
|
+
import { Fragment as Fragment66, jsx as jsx72, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5382
5538
|
var SmdPinHeader = ({
|
|
5383
5539
|
numberOfPins,
|
|
5384
5540
|
pitch = 2.54,
|
|
@@ -5393,52 +5549,52 @@ var SmdPinHeader = ({
|
|
|
5393
5549
|
const bodyTop = standoffHeight + bodyHeight;
|
|
5394
5550
|
const tailLength = tailSpan / 2;
|
|
5395
5551
|
const tipChamferHeight = pinThickness * 0.35;
|
|
5396
|
-
return /* @__PURE__ */
|
|
5552
|
+
return /* @__PURE__ */ jsx72(Fragment66, { children: Array.from({ length: numberOfPins }, (_, index) => {
|
|
5397
5553
|
const x = xStart + index * pitch;
|
|
5398
5554
|
const tailDirection = index % 2 === 0 ? 1 : -1;
|
|
5399
5555
|
const postBodyLength = matingPinLength - tipChamferHeight;
|
|
5400
5556
|
const verticalTailLength = standoffHeight - pinThickness / 2;
|
|
5401
|
-
return /* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5403
|
-
|
|
5557
|
+
return /* @__PURE__ */ jsxs68(Translate32, { x, children: [
|
|
5558
|
+
/* @__PURE__ */ jsx72(
|
|
5559
|
+
Cuboid47,
|
|
5404
5560
|
{
|
|
5405
5561
|
color: "#222",
|
|
5406
5562
|
size: [pitch, bodyWidth, bodyHeight],
|
|
5407
5563
|
center: [0, 0, standoffHeight + bodyHeight / 2]
|
|
5408
5564
|
}
|
|
5409
5565
|
),
|
|
5410
|
-
/* @__PURE__ */
|
|
5411
|
-
/* @__PURE__ */
|
|
5412
|
-
|
|
5566
|
+
/* @__PURE__ */ jsxs68(Colorize39, { color: "#d4af37", children: [
|
|
5567
|
+
/* @__PURE__ */ jsx72(
|
|
5568
|
+
Cuboid47,
|
|
5413
5569
|
{
|
|
5414
5570
|
size: [pinThickness, tailLength, pinThickness],
|
|
5415
5571
|
center: [0, tailDirection * (tailLength / 2), pinThickness / 2]
|
|
5416
5572
|
}
|
|
5417
5573
|
),
|
|
5418
|
-
/* @__PURE__ */
|
|
5419
|
-
|
|
5574
|
+
/* @__PURE__ */ jsx72(
|
|
5575
|
+
Cuboid47,
|
|
5420
5576
|
{
|
|
5421
5577
|
size: [pinThickness, pinThickness, verticalTailLength],
|
|
5422
5578
|
center: [0, 0, pinThickness / 2 + verticalTailLength / 2]
|
|
5423
5579
|
}
|
|
5424
5580
|
),
|
|
5425
|
-
/* @__PURE__ */
|
|
5426
|
-
|
|
5581
|
+
/* @__PURE__ */ jsx72(
|
|
5582
|
+
Cuboid47,
|
|
5427
5583
|
{
|
|
5428
5584
|
size: [pinThickness, pinThickness, postBodyLength],
|
|
5429
5585
|
center: [0, 0, bodyTop + postBodyLength / 2]
|
|
5430
5586
|
}
|
|
5431
5587
|
),
|
|
5432
|
-
/* @__PURE__ */
|
|
5433
|
-
/* @__PURE__ */
|
|
5434
|
-
|
|
5588
|
+
/* @__PURE__ */ jsxs68(Hull25, { children: [
|
|
5589
|
+
/* @__PURE__ */ jsx72(
|
|
5590
|
+
Cuboid47,
|
|
5435
5591
|
{
|
|
5436
5592
|
size: [pinThickness, pinThickness, 0.01],
|
|
5437
5593
|
center: [0, 0, bodyTop + postBodyLength]
|
|
5438
5594
|
}
|
|
5439
5595
|
),
|
|
5440
|
-
/* @__PURE__ */
|
|
5441
|
-
|
|
5596
|
+
/* @__PURE__ */ jsx72(
|
|
5597
|
+
Cuboid47,
|
|
5442
5598
|
{
|
|
5443
5599
|
size: [pinThickness * 0.65, pinThickness * 0.65, 0.01],
|
|
5444
5600
|
center: [0, 0, bodyTop + matingPinLength]
|
|
@@ -5454,8 +5610,8 @@ var SmdPinHeader = ({
|
|
|
5454
5610
|
import { mm } from "@tscircuit/mm";
|
|
5455
5611
|
|
|
5456
5612
|
// lib/ParametricChip.tsx
|
|
5457
|
-
import { Cuboid as
|
|
5458
|
-
import { Fragment as
|
|
5613
|
+
import { Cuboid as Cuboid48 } from "jscad-fiber";
|
|
5614
|
+
import { Fragment as Fragment67, jsx as jsx73, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
5459
5615
|
var ParametricChip = ({
|
|
5460
5616
|
padPitch,
|
|
5461
5617
|
padHeight,
|
|
@@ -5466,25 +5622,25 @@ var ParametricChip = ({
|
|
|
5466
5622
|
const height10 = width10;
|
|
5467
5623
|
const terminatorWidth9 = fullLength10 * 0.2;
|
|
5468
5624
|
const bodyLength10 = fullLength10 - terminatorWidth9 * 2;
|
|
5469
|
-
return /* @__PURE__ */
|
|
5470
|
-
/* @__PURE__ */
|
|
5471
|
-
|
|
5625
|
+
return /* @__PURE__ */ jsxs69(Fragment67, { children: [
|
|
5626
|
+
/* @__PURE__ */ jsx73(
|
|
5627
|
+
Cuboid48,
|
|
5472
5628
|
{
|
|
5473
5629
|
size: [bodyLength10, width10, height10],
|
|
5474
5630
|
offset: [0, 0, height10 / 2],
|
|
5475
5631
|
color
|
|
5476
5632
|
}
|
|
5477
5633
|
),
|
|
5478
|
-
/* @__PURE__ */
|
|
5479
|
-
|
|
5634
|
+
/* @__PURE__ */ jsx73(
|
|
5635
|
+
Cuboid48,
|
|
5480
5636
|
{
|
|
5481
5637
|
size: [terminatorWidth9, height10, width10],
|
|
5482
5638
|
offset: [fullLength10 / 2 - terminatorWidth9 / 2, 0, height10 / 2],
|
|
5483
5639
|
color: "#ccc"
|
|
5484
5640
|
}
|
|
5485
5641
|
),
|
|
5486
|
-
/* @__PURE__ */
|
|
5487
|
-
|
|
5642
|
+
/* @__PURE__ */ jsx73(
|
|
5643
|
+
Cuboid48,
|
|
5488
5644
|
{
|
|
5489
5645
|
size: [terminatorWidth9, height10, width10],
|
|
5490
5646
|
offset: [-fullLength10 / 2 + terminatorWidth9 / 2, 0, height10 / 2],
|
|
@@ -5497,13 +5653,13 @@ var ParametricChip = ({
|
|
|
5497
5653
|
// lib/Led5050.tsx
|
|
5498
5654
|
import {
|
|
5499
5655
|
Colorize as Colorize40,
|
|
5500
|
-
Cuboid as
|
|
5656
|
+
Cuboid as Cuboid49,
|
|
5501
5657
|
Cylinder as Cylinder14,
|
|
5502
5658
|
Rotate as Rotate14,
|
|
5503
5659
|
Subtract as Subtract11,
|
|
5504
5660
|
Translate as Translate33
|
|
5505
5661
|
} from "jscad-fiber";
|
|
5506
|
-
import { Fragment as
|
|
5662
|
+
import { Fragment as Fragment68, jsx as jsx74, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
5507
5663
|
var Led5050 = ({
|
|
5508
5664
|
color = "#ffff00",
|
|
5509
5665
|
bodyColor = "#ffffff",
|
|
@@ -5524,10 +5680,10 @@ var Led5050 = ({
|
|
|
5524
5680
|
const cornerCutDepth = 0.3;
|
|
5525
5681
|
const leadYPositions = [-1.7, 0, 1.7];
|
|
5526
5682
|
const leadSides = [-1, 1];
|
|
5527
|
-
return /* @__PURE__ */
|
|
5683
|
+
return /* @__PURE__ */ jsxs70(Fragment68, { children: [
|
|
5528
5684
|
leadYPositions.flatMap(
|
|
5529
|
-
(y) => leadSides.map((side) => /* @__PURE__ */
|
|
5530
|
-
|
|
5685
|
+
(y) => leadSides.map((side) => /* @__PURE__ */ jsx74(
|
|
5686
|
+
Cuboid49,
|
|
5531
5687
|
{
|
|
5532
5688
|
color: leadColor,
|
|
5533
5689
|
size: [leadLength, leadWidth, leadThickness],
|
|
@@ -5536,8 +5692,8 @@ var Led5050 = ({
|
|
|
5536
5692
|
`${side}-${y}`
|
|
5537
5693
|
))
|
|
5538
5694
|
),
|
|
5539
|
-
/* @__PURE__ */
|
|
5540
|
-
/* @__PURE__ */
|
|
5695
|
+
/* @__PURE__ */ jsx74(Colorize40, { color: bodyColor, children: /* @__PURE__ */ jsxs70(Subtract11, { children: [
|
|
5696
|
+
/* @__PURE__ */ jsx74(
|
|
5541
5697
|
ChipBody,
|
|
5542
5698
|
{
|
|
5543
5699
|
width: bodySize,
|
|
@@ -5551,7 +5707,7 @@ var Led5050 = ({
|
|
|
5551
5707
|
includeNotch: false
|
|
5552
5708
|
}
|
|
5553
5709
|
),
|
|
5554
|
-
/* @__PURE__ */
|
|
5710
|
+
/* @__PURE__ */ jsx74(
|
|
5555
5711
|
Cylinder14,
|
|
5556
5712
|
{
|
|
5557
5713
|
radius: lensRadius,
|
|
@@ -5559,7 +5715,7 @@ var Led5050 = ({
|
|
|
5559
5715
|
center: [0, 0, bodyTop - lensHeight / 2]
|
|
5560
5716
|
}
|
|
5561
5717
|
),
|
|
5562
|
-
/* @__PURE__ */
|
|
5718
|
+
/* @__PURE__ */ jsx74(
|
|
5563
5719
|
Translate33,
|
|
5564
5720
|
{
|
|
5565
5721
|
offset: [
|
|
@@ -5567,11 +5723,11 @@ var Led5050 = ({
|
|
|
5567
5723
|
bodySize / 2,
|
|
5568
5724
|
bodyTop - cornerCutDepth / 2 + 5e-3
|
|
5569
5725
|
],
|
|
5570
|
-
children: /* @__PURE__ */
|
|
5726
|
+
children: /* @__PURE__ */ jsx74(Rotate14, { rotation: [0, 0, Math.PI / 4], children: /* @__PURE__ */ jsx74(Cuboid49, { size: [0.9, 0.9, cornerCutDepth + 0.01] }) })
|
|
5571
5727
|
}
|
|
5572
5728
|
)
|
|
5573
5729
|
] }) }),
|
|
5574
|
-
/* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx74(
|
|
5575
5731
|
Cylinder14,
|
|
5576
5732
|
{
|
|
5577
5733
|
color,
|
|
@@ -5586,14 +5742,14 @@ var Led5050 = ({
|
|
|
5586
5742
|
// lib/RJ45.tsx
|
|
5587
5743
|
import {
|
|
5588
5744
|
Colorize as Colorize41,
|
|
5589
|
-
Cuboid as
|
|
5745
|
+
Cuboid as Cuboid50,
|
|
5590
5746
|
Cylinder as Cylinder15,
|
|
5591
5747
|
Rotate as Rotate15,
|
|
5592
5748
|
RoundedCuboid as RoundedCuboid4,
|
|
5593
5749
|
Subtract as Subtract12,
|
|
5594
5750
|
Translate as Translate34
|
|
5595
5751
|
} from "jscad-fiber";
|
|
5596
|
-
import { Fragment as
|
|
5752
|
+
import { Fragment as Fragment69, jsx as jsx75, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
5597
5753
|
var range2 = (length) => Array.from({ length }, (_, index) => index);
|
|
5598
5754
|
var RJ45 = ({
|
|
5599
5755
|
bodyWidth = 16.26,
|
|
@@ -5651,18 +5807,18 @@ var RJ45 = ({
|
|
|
5651
5807
|
const contactY = frontY - frontDirection * Math.max(cavityDepth * 0.48, 1.2);
|
|
5652
5808
|
const contactZ = openingCenterZ + openingHeight * 0.18;
|
|
5653
5809
|
const frontLipY = frontY + frontDirection * shellThickness * 0.2;
|
|
5654
|
-
return /* @__PURE__ */
|
|
5655
|
-
/* @__PURE__ */
|
|
5656
|
-
/* @__PURE__ */
|
|
5657
|
-
/* @__PURE__ */
|
|
5658
|
-
|
|
5810
|
+
return /* @__PURE__ */ jsxs71(Fragment69, { children: [
|
|
5811
|
+
/* @__PURE__ */ jsxs71(Colorize41, { color: shellColor, children: [
|
|
5812
|
+
/* @__PURE__ */ jsxs71(Subtract12, { children: [
|
|
5813
|
+
/* @__PURE__ */ jsx75(
|
|
5814
|
+
Cuboid50,
|
|
5659
5815
|
{
|
|
5660
5816
|
center: [0, bodyCenterY, bodyHeight / 2],
|
|
5661
5817
|
size: [bodyWidth, bodyDepth, bodyHeight]
|
|
5662
5818
|
}
|
|
5663
5819
|
),
|
|
5664
|
-
/* @__PURE__ */
|
|
5665
|
-
|
|
5820
|
+
/* @__PURE__ */ jsx75(
|
|
5821
|
+
Cuboid50,
|
|
5666
5822
|
{
|
|
5667
5823
|
center: [0, cavityCenterY, openingCenterZ],
|
|
5668
5824
|
size: [
|
|
@@ -5673,15 +5829,15 @@ var RJ45 = ({
|
|
|
5673
5829
|
}
|
|
5674
5830
|
)
|
|
5675
5831
|
] }),
|
|
5676
|
-
/* @__PURE__ */
|
|
5677
|
-
|
|
5832
|
+
/* @__PURE__ */ jsx75(
|
|
5833
|
+
Cuboid50,
|
|
5678
5834
|
{
|
|
5679
5835
|
center: [0, frontLipY, 0.72],
|
|
5680
5836
|
size: [openingWidth + 0.5, shellThickness * 1.25, 1.05]
|
|
5681
5837
|
}
|
|
5682
5838
|
),
|
|
5683
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5684
|
-
|
|
5839
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx75(
|
|
5840
|
+
Cuboid50,
|
|
5685
5841
|
{
|
|
5686
5842
|
center: [direction * shieldPinX, shieldPinY, 0.25],
|
|
5687
5843
|
size: [
|
|
@@ -5692,8 +5848,8 @@ var RJ45 = ({
|
|
|
5692
5848
|
},
|
|
5693
5849
|
`shield-tab:${direction}`
|
|
5694
5850
|
)),
|
|
5695
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5696
|
-
|
|
5851
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx75(
|
|
5852
|
+
Cuboid50,
|
|
5697
5853
|
{
|
|
5698
5854
|
center: [
|
|
5699
5855
|
direction * bodyWidth * 0.24,
|
|
@@ -5705,9 +5861,9 @@ var RJ45 = ({
|
|
|
5705
5861
|
`top-seam:${direction}`
|
|
5706
5862
|
))
|
|
5707
5863
|
] }),
|
|
5708
|
-
/* @__PURE__ */
|
|
5709
|
-
/* @__PURE__ */
|
|
5710
|
-
/* @__PURE__ */
|
|
5864
|
+
/* @__PURE__ */ jsxs71(Colorize41, { color: housingColor, children: [
|
|
5865
|
+
/* @__PURE__ */ jsxs71(Subtract12, { children: [
|
|
5866
|
+
/* @__PURE__ */ jsx75(
|
|
5711
5867
|
RoundedCuboid4,
|
|
5712
5868
|
{
|
|
5713
5869
|
center: [0, cavityCenterY, openingCenterZ],
|
|
@@ -5719,8 +5875,8 @@ var RJ45 = ({
|
|
|
5719
5875
|
roundRadius: 0.22
|
|
5720
5876
|
}
|
|
5721
5877
|
),
|
|
5722
|
-
/* @__PURE__ */
|
|
5723
|
-
|
|
5878
|
+
/* @__PURE__ */ jsx75(
|
|
5879
|
+
Cuboid50,
|
|
5724
5880
|
{
|
|
5725
5881
|
center: [
|
|
5726
5882
|
0,
|
|
@@ -5735,14 +5891,14 @@ var RJ45 = ({
|
|
|
5735
5891
|
}
|
|
5736
5892
|
)
|
|
5737
5893
|
] }),
|
|
5738
|
-
/* @__PURE__ */
|
|
5739
|
-
|
|
5894
|
+
/* @__PURE__ */ jsx75(
|
|
5895
|
+
Cuboid50,
|
|
5740
5896
|
{
|
|
5741
5897
|
center: [0, backWallY, openingCenterZ],
|
|
5742
5898
|
size: [openingWidth - 1.15, shellThickness, openingHeight - 1.25]
|
|
5743
5899
|
}
|
|
5744
5900
|
),
|
|
5745
|
-
/* @__PURE__ */
|
|
5901
|
+
/* @__PURE__ */ jsx75(
|
|
5746
5902
|
RoundedCuboid4,
|
|
5747
5903
|
{
|
|
5748
5904
|
center: [0, frontY - frontDirection * cavityDepth * 0.28, 1.55],
|
|
@@ -5750,7 +5906,7 @@ var RJ45 = ({
|
|
|
5750
5906
|
roundRadius: 0.16
|
|
5751
5907
|
}
|
|
5752
5908
|
),
|
|
5753
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5909
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx75(
|
|
5754
5910
|
Cylinder15,
|
|
5755
5911
|
{
|
|
5756
5912
|
center: [direction * locatorHoleX, locatorHoleY, -0.25],
|
|
@@ -5760,8 +5916,8 @@ var RJ45 = ({
|
|
|
5760
5916
|
`locator:${direction}`
|
|
5761
5917
|
))
|
|
5762
5918
|
] }),
|
|
5763
|
-
/* @__PURE__ */
|
|
5764
|
-
signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */
|
|
5919
|
+
/* @__PURE__ */ jsxs71(Colorize41, { color: contactColor, children: [
|
|
5920
|
+
signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */ jsx75(
|
|
5765
5921
|
Cylinder15,
|
|
5766
5922
|
{
|
|
5767
5923
|
center: [x, y, 0.15],
|
|
@@ -5770,7 +5926,7 @@ var RJ45 = ({
|
|
|
5770
5926
|
},
|
|
5771
5927
|
`signal-lead:${index}`
|
|
5772
5928
|
)),
|
|
5773
|
-
range2(8).map((index) => /* @__PURE__ */
|
|
5929
|
+
range2(8).map((index) => /* @__PURE__ */ jsx75(
|
|
5774
5930
|
Translate34,
|
|
5775
5931
|
{
|
|
5776
5932
|
offset: [
|
|
@@ -5778,7 +5934,7 @@ var RJ45 = ({
|
|
|
5778
5934
|
contactY,
|
|
5779
5935
|
contactZ + (index % 2 === 0 ? 0.03 : -0.03)
|
|
5780
5936
|
],
|
|
5781
|
-
children: /* @__PURE__ */
|
|
5937
|
+
children: /* @__PURE__ */ jsx75(Rotate15, { rotation: [frontDirection * 0.2, 0, 0], children: /* @__PURE__ */ jsx75(
|
|
5782
5938
|
RoundedCuboid4,
|
|
5783
5939
|
{
|
|
5784
5940
|
size: [Math.max(contactPitch * 0.28, 0.28), 3.25, 0.16],
|
|
@@ -5788,7 +5944,7 @@ var RJ45 = ({
|
|
|
5788
5944
|
},
|
|
5789
5945
|
`socket-contact:${index}`
|
|
5790
5946
|
)),
|
|
5791
|
-
ledPins && ledPinPositions.map((x, index) => /* @__PURE__ */
|
|
5947
|
+
ledPins && ledPinPositions.map((x, index) => /* @__PURE__ */ jsx75(
|
|
5792
5948
|
Cylinder15,
|
|
5793
5949
|
{
|
|
5794
5950
|
center: [x, ledPinY, 0.15],
|
|
@@ -5798,8 +5954,8 @@ var RJ45 = ({
|
|
|
5798
5954
|
`led-lead:${index}`
|
|
5799
5955
|
))
|
|
5800
5956
|
] }),
|
|
5801
|
-
ledPins && /* @__PURE__ */
|
|
5802
|
-
/* @__PURE__ */
|
|
5957
|
+
ledPins && /* @__PURE__ */ jsxs71(Fragment69, { children: [
|
|
5958
|
+
/* @__PURE__ */ jsx75(
|
|
5803
5959
|
RoundedCuboid4,
|
|
5804
5960
|
{
|
|
5805
5961
|
color: "#73b744",
|
|
@@ -5812,7 +5968,7 @@ var RJ45 = ({
|
|
|
5812
5968
|
roundRadius: 0.18
|
|
5813
5969
|
}
|
|
5814
5970
|
),
|
|
5815
|
-
/* @__PURE__ */
|
|
5971
|
+
/* @__PURE__ */ jsx75(
|
|
5816
5972
|
RoundedCuboid4,
|
|
5817
5973
|
{
|
|
5818
5974
|
color: "#e0aa35",
|
|
@@ -5830,7 +5986,7 @@ var RJ45 = ({
|
|
|
5830
5986
|
};
|
|
5831
5987
|
|
|
5832
5988
|
// lib/Footprinter3d.tsx
|
|
5833
|
-
import { jsx as
|
|
5989
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
5834
5990
|
var Footprinter3d = ({ footprint }) => {
|
|
5835
5991
|
let normalizedFootprint = footprint;
|
|
5836
5992
|
if (footprint.startsWith("jstzh1_5mm")) {
|
|
@@ -5843,7 +5999,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5843
5999
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
5844
6000
|
switch (fpJson.fn) {
|
|
5845
6001
|
case "crystal":
|
|
5846
|
-
return /* @__PURE__ */
|
|
6002
|
+
return /* @__PURE__ */ jsx76(
|
|
5847
6003
|
Crystal,
|
|
5848
6004
|
{
|
|
5849
6005
|
horizontalPadPitch: fpJson.px,
|
|
@@ -5853,11 +6009,11 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5853
6009
|
}
|
|
5854
6010
|
);
|
|
5855
6011
|
case "dip":
|
|
5856
|
-
return /* @__PURE__ */
|
|
6012
|
+
return /* @__PURE__ */ jsx76(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
5857
6013
|
case "axial":
|
|
5858
|
-
return /* @__PURE__ */
|
|
6014
|
+
return /* @__PURE__ */ jsx76(AxialCapacitor, { pitch: fpJson.p });
|
|
5859
6015
|
case "tssop":
|
|
5860
|
-
return /* @__PURE__ */
|
|
6016
|
+
return /* @__PURE__ */ jsx76(
|
|
5861
6017
|
Tssop,
|
|
5862
6018
|
{
|
|
5863
6019
|
pinCount: fpJson.num_pins,
|
|
@@ -5868,7 +6024,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5868
6024
|
}
|
|
5869
6025
|
);
|
|
5870
6026
|
case "msop":
|
|
5871
|
-
return /* @__PURE__ */
|
|
6027
|
+
return /* @__PURE__ */ jsx76(
|
|
5872
6028
|
MSOP,
|
|
5873
6029
|
{
|
|
5874
6030
|
pinCount: fpJson.num_pins,
|
|
@@ -5879,7 +6035,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5879
6035
|
}
|
|
5880
6036
|
);
|
|
5881
6037
|
case "vssop":
|
|
5882
|
-
return /* @__PURE__ */
|
|
6038
|
+
return /* @__PURE__ */ jsx76(
|
|
5883
6039
|
VSSOP,
|
|
5884
6040
|
{
|
|
5885
6041
|
pinCount: fpJson.num_pins,
|
|
@@ -5891,7 +6047,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5891
6047
|
}
|
|
5892
6048
|
);
|
|
5893
6049
|
case "qfp":
|
|
5894
|
-
return /* @__PURE__ */
|
|
6050
|
+
return /* @__PURE__ */ jsx76(
|
|
5895
6051
|
QFP,
|
|
5896
6052
|
{
|
|
5897
6053
|
pinCount: fpJson.num_pins,
|
|
@@ -5902,12 +6058,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5902
6058
|
}
|
|
5903
6059
|
);
|
|
5904
6060
|
case "tqfp":
|
|
5905
|
-
return /* @__PURE__ */
|
|
6061
|
+
return /* @__PURE__ */ jsx76(tqfp_default, {});
|
|
5906
6062
|
case "lqfp":
|
|
5907
|
-
return /* @__PURE__ */
|
|
6063
|
+
return /* @__PURE__ */ jsx76(LQFP, { pinCount: fpJson.num_pins });
|
|
5908
6064
|
case "qfn": {
|
|
5909
6065
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
5910
|
-
return /* @__PURE__ */
|
|
6066
|
+
return /* @__PURE__ */ jsx76(
|
|
5911
6067
|
qfn_default,
|
|
5912
6068
|
{
|
|
5913
6069
|
num_pins: fpJson.num_pins,
|
|
@@ -5925,7 +6081,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5925
6081
|
}
|
|
5926
6082
|
case "dfn": {
|
|
5927
6083
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
5928
|
-
return /* @__PURE__ */
|
|
6084
|
+
return /* @__PURE__ */ jsx76(
|
|
5929
6085
|
DFN,
|
|
5930
6086
|
{
|
|
5931
6087
|
num_pins: fpJson.num_pins,
|
|
@@ -5945,7 +6101,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5945
6101
|
const rowsMatch = footprint.match(/_rows(\d+)/);
|
|
5946
6102
|
const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
|
|
5947
6103
|
if (fpJson.male)
|
|
5948
|
-
return /* @__PURE__ */
|
|
6104
|
+
return /* @__PURE__ */ jsx76(
|
|
5949
6105
|
PinRow,
|
|
5950
6106
|
{
|
|
5951
6107
|
numberOfPins: fpJson.num_pins,
|
|
@@ -5958,7 +6114,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5958
6114
|
}
|
|
5959
6115
|
);
|
|
5960
6116
|
if (fpJson.female)
|
|
5961
|
-
return /* @__PURE__ */
|
|
6117
|
+
return /* @__PURE__ */ jsx76(
|
|
5962
6118
|
FemaleHeaderRow,
|
|
5963
6119
|
{
|
|
5964
6120
|
numberOfPins: fpJson.num_pins,
|
|
@@ -5968,7 +6124,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5968
6124
|
);
|
|
5969
6125
|
}
|
|
5970
6126
|
case "smdpinheader":
|
|
5971
|
-
return /* @__PURE__ */
|
|
6127
|
+
return /* @__PURE__ */ jsx76(
|
|
5972
6128
|
SmdPinHeader,
|
|
5973
6129
|
{
|
|
5974
6130
|
numberOfPins: fpJson.num_pins,
|
|
@@ -5977,52 +6133,55 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5977
6133
|
}
|
|
5978
6134
|
);
|
|
5979
6135
|
case "led5050":
|
|
5980
|
-
return /* @__PURE__ */
|
|
6136
|
+
return /* @__PURE__ */ jsx76(Led5050, { color });
|
|
5981
6137
|
case "cap": {
|
|
5982
6138
|
switch (fpJson.imperial) {
|
|
5983
6139
|
case "0402":
|
|
5984
|
-
return /* @__PURE__ */
|
|
6140
|
+
return /* @__PURE__ */ jsx76(A0402, { color: "#856c4d" });
|
|
5985
6141
|
case "0603":
|
|
5986
|
-
return /* @__PURE__ */
|
|
6142
|
+
return /* @__PURE__ */ jsx76(A0603, { color: "#856c4d" });
|
|
5987
6143
|
case "0805":
|
|
5988
|
-
return /* @__PURE__ */
|
|
6144
|
+
return /* @__PURE__ */ jsx76(A0805, { color: "#856c4d" });
|
|
5989
6145
|
case "0201":
|
|
5990
|
-
return /* @__PURE__ */
|
|
6146
|
+
return /* @__PURE__ */ jsx76(A0201, { color: "#856c4d" });
|
|
5991
6147
|
case "01005":
|
|
5992
|
-
return /* @__PURE__ */
|
|
6148
|
+
return /* @__PURE__ */ jsx76(A01005, { color: "#856c4d" });
|
|
5993
6149
|
case "1206":
|
|
5994
|
-
return /* @__PURE__ */
|
|
6150
|
+
return /* @__PURE__ */ jsx76(A1206, { color: "#856c4d" });
|
|
5995
6151
|
case "1210":
|
|
5996
|
-
return /* @__PURE__ */
|
|
6152
|
+
return /* @__PURE__ */ jsx76(A1210, { color: "#856c4d" });
|
|
5997
6153
|
case "2010":
|
|
5998
|
-
return /* @__PURE__ */
|
|
6154
|
+
return /* @__PURE__ */ jsx76(A2010, { color: "#856c4d" });
|
|
5999
6155
|
case "2512":
|
|
6000
|
-
return /* @__PURE__ */
|
|
6156
|
+
return /* @__PURE__ */ jsx76(A2512, { color: "#856c4d" });
|
|
6001
6157
|
}
|
|
6002
6158
|
break;
|
|
6003
6159
|
}
|
|
6160
|
+
case "sot23":
|
|
6161
|
+
if (fpJson.num_pins === 3) return /* @__PURE__ */ jsx76(SOT233P, { color });
|
|
6162
|
+
break;
|
|
6004
6163
|
case "sot235":
|
|
6005
|
-
return /* @__PURE__ */
|
|
6164
|
+
return /* @__PURE__ */ jsx76(SOT_235_default, {});
|
|
6006
6165
|
case "sot457":
|
|
6007
|
-
return /* @__PURE__ */
|
|
6166
|
+
return /* @__PURE__ */ jsx76(SOT457, {});
|
|
6008
6167
|
case "sot223":
|
|
6009
|
-
return /* @__PURE__ */
|
|
6168
|
+
return /* @__PURE__ */ jsx76(SOT223, {});
|
|
6010
6169
|
case "sot23w":
|
|
6011
|
-
return /* @__PURE__ */
|
|
6170
|
+
return /* @__PURE__ */ jsx76(SOT23W, {});
|
|
6012
6171
|
case "sot323":
|
|
6013
|
-
return /* @__PURE__ */
|
|
6172
|
+
return /* @__PURE__ */ jsx76(SOT323, {});
|
|
6014
6173
|
case "sod323f":
|
|
6015
|
-
return /* @__PURE__ */
|
|
6174
|
+
return /* @__PURE__ */ jsx76(SOD323F, {});
|
|
6016
6175
|
case "sod323fl":
|
|
6017
|
-
return /* @__PURE__ */
|
|
6176
|
+
return /* @__PURE__ */ jsx76(SOD323FL, {});
|
|
6018
6177
|
case "sot363":
|
|
6019
|
-
return /* @__PURE__ */
|
|
6178
|
+
return /* @__PURE__ */ jsx76(SOT_363_default, {});
|
|
6020
6179
|
case "sot886":
|
|
6021
|
-
return /* @__PURE__ */
|
|
6180
|
+
return /* @__PURE__ */ jsx76(SOT886, {});
|
|
6022
6181
|
case "sot963":
|
|
6023
|
-
return /* @__PURE__ */
|
|
6182
|
+
return /* @__PURE__ */ jsx76(SOT963, {});
|
|
6024
6183
|
case "pushbutton":
|
|
6025
|
-
return /* @__PURE__ */
|
|
6184
|
+
return /* @__PURE__ */ jsx76(
|
|
6026
6185
|
PushButton,
|
|
6027
6186
|
{
|
|
6028
6187
|
width: fpJson.w,
|
|
@@ -6032,11 +6191,11 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6032
6191
|
);
|
|
6033
6192
|
case "jst":
|
|
6034
6193
|
if (fpJson.zh) {
|
|
6035
|
-
return /* @__PURE__ */
|
|
6194
|
+
return /* @__PURE__ */ jsx76(JSTZH1_5mm, { numPins: fpJson.num_pins });
|
|
6036
6195
|
}
|
|
6037
6196
|
break;
|
|
6038
6197
|
case "fpc":
|
|
6039
|
-
return /* @__PURE__ */
|
|
6198
|
+
return /* @__PURE__ */ jsx76(
|
|
6040
6199
|
FPC,
|
|
6041
6200
|
{
|
|
6042
6201
|
pinCount: fpJson.num_pins,
|
|
@@ -6056,7 +6215,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6056
6215
|
}
|
|
6057
6216
|
);
|
|
6058
6217
|
case "rj45":
|
|
6059
|
-
return /* @__PURE__ */
|
|
6218
|
+
return /* @__PURE__ */ jsx76(
|
|
6060
6219
|
RJ45,
|
|
6061
6220
|
{
|
|
6062
6221
|
bodyWidth: fpJson.w,
|
|
@@ -6080,7 +6239,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6080
6239
|
}
|
|
6081
6240
|
);
|
|
6082
6241
|
case "soic":
|
|
6083
|
-
return /* @__PURE__ */
|
|
6242
|
+
return /* @__PURE__ */ jsx76(
|
|
6084
6243
|
SOIC,
|
|
6085
6244
|
{
|
|
6086
6245
|
pinCount: fpJson.num_pins,
|
|
@@ -6091,41 +6250,43 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6091
6250
|
}
|
|
6092
6251
|
);
|
|
6093
6252
|
case "sod523":
|
|
6094
|
-
return /* @__PURE__ */
|
|
6253
|
+
return /* @__PURE__ */ jsx76(SOD523, {});
|
|
6095
6254
|
case "sod723":
|
|
6096
|
-
return /* @__PURE__ */
|
|
6255
|
+
return /* @__PURE__ */ jsx76(SOD723_default, {});
|
|
6097
6256
|
case "sod882":
|
|
6098
|
-
return /* @__PURE__ */
|
|
6257
|
+
return /* @__PURE__ */ jsx76(SOD882, {});
|
|
6099
6258
|
case "sma":
|
|
6100
|
-
return /* @__PURE__ */
|
|
6259
|
+
return /* @__PURE__ */ jsx76(SMA, {});
|
|
6101
6260
|
case "smb":
|
|
6102
|
-
return /* @__PURE__ */
|
|
6261
|
+
return /* @__PURE__ */ jsx76(SMB, {});
|
|
6103
6262
|
case "smc":
|
|
6104
|
-
return /* @__PURE__ */
|
|
6263
|
+
return /* @__PURE__ */ jsx76(SMC, {});
|
|
6105
6264
|
case "smf":
|
|
6106
|
-
return /* @__PURE__ */
|
|
6265
|
+
return /* @__PURE__ */ jsx76(SMF, {});
|
|
6266
|
+
case "sod123":
|
|
6267
|
+
return /* @__PURE__ */ jsx76(SOD123, {});
|
|
6107
6268
|
case "sod123f":
|
|
6108
|
-
return /* @__PURE__ */
|
|
6269
|
+
return /* @__PURE__ */ jsx76(SOD123F, {});
|
|
6109
6270
|
case "sod123fl":
|
|
6110
|
-
return /* @__PURE__ */
|
|
6271
|
+
return /* @__PURE__ */ jsx76(SOD123FL, {});
|
|
6111
6272
|
case "sod123w":
|
|
6112
|
-
return /* @__PURE__ */
|
|
6273
|
+
return /* @__PURE__ */ jsx76(SOD123W, {});
|
|
6113
6274
|
case "sod128":
|
|
6114
|
-
return /* @__PURE__ */
|
|
6275
|
+
return /* @__PURE__ */ jsx76(SOD128, {});
|
|
6115
6276
|
case "sod323":
|
|
6116
|
-
return /* @__PURE__ */
|
|
6277
|
+
return /* @__PURE__ */ jsx76(SOD323, {});
|
|
6117
6278
|
case "sod923":
|
|
6118
|
-
return /* @__PURE__ */
|
|
6279
|
+
return /* @__PURE__ */ jsx76(SOD923, {});
|
|
6119
6280
|
case "hc49":
|
|
6120
|
-
return /* @__PURE__ */
|
|
6281
|
+
return /* @__PURE__ */ jsx76(HC49, {});
|
|
6121
6282
|
case "micromelf":
|
|
6122
|
-
return /* @__PURE__ */
|
|
6283
|
+
return /* @__PURE__ */ jsx76(MicroMELF, {});
|
|
6123
6284
|
case "minimelf":
|
|
6124
|
-
return /* @__PURE__ */
|
|
6285
|
+
return /* @__PURE__ */ jsx76(MINIMELF, {});
|
|
6125
6286
|
case "melf":
|
|
6126
|
-
return /* @__PURE__ */
|
|
6287
|
+
return /* @__PURE__ */ jsx76(MELF, {});
|
|
6127
6288
|
case "ms012":
|
|
6128
|
-
return /* @__PURE__ */
|
|
6289
|
+
return /* @__PURE__ */ jsx76(
|
|
6129
6290
|
MS012,
|
|
6130
6291
|
{
|
|
6131
6292
|
pinCount: fpJson.num_pins,
|
|
@@ -6135,7 +6296,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6135
6296
|
}
|
|
6136
6297
|
);
|
|
6137
6298
|
case "ms013":
|
|
6138
|
-
return /* @__PURE__ */
|
|
6299
|
+
return /* @__PURE__ */ jsx76(
|
|
6139
6300
|
MS013,
|
|
6140
6301
|
{
|
|
6141
6302
|
pinCount: fpJson.num_pins,
|
|
@@ -6145,14 +6306,14 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6145
6306
|
}
|
|
6146
6307
|
);
|
|
6147
6308
|
case "sot723":
|
|
6148
|
-
return /* @__PURE__ */
|
|
6309
|
+
return /* @__PURE__ */ jsx76(SOT723, {});
|
|
6149
6310
|
case "to220":
|
|
6150
|
-
return /* @__PURE__ */
|
|
6311
|
+
return /* @__PURE__ */ jsx76(TO220, {});
|
|
6151
6312
|
case "to92":
|
|
6152
|
-
return /* @__PURE__ */
|
|
6313
|
+
return /* @__PURE__ */ jsx76(TO92, {});
|
|
6153
6314
|
case "stampboard":
|
|
6154
6315
|
case "stampreceiver":
|
|
6155
|
-
return /* @__PURE__ */
|
|
6316
|
+
return /* @__PURE__ */ jsx76(
|
|
6156
6317
|
StampBoard,
|
|
6157
6318
|
{
|
|
6158
6319
|
bodyWidth: fpJson.w,
|
|
@@ -6176,7 +6337,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6176
6337
|
const pinRow = fpJson.pinrow;
|
|
6177
6338
|
const pinRowHoleEdgeToEdgeDist = fpJson.pinRowHoleEdgeToEdgeDist;
|
|
6178
6339
|
const holes = Array.isArray(fpJson.holes) ? fpJson.holes : [];
|
|
6179
|
-
return /* @__PURE__ */
|
|
6340
|
+
return /* @__PURE__ */ jsx76(
|
|
6180
6341
|
MountedPcbModule,
|
|
6181
6342
|
{
|
|
6182
6343
|
numPins: pinRow,
|
|
@@ -6203,29 +6364,29 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6203
6364
|
}
|
|
6204
6365
|
switch (fpJson.imperial) {
|
|
6205
6366
|
case "0402":
|
|
6206
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ jsx76(A0402, { color });
|
|
6207
6368
|
case "0603":
|
|
6208
|
-
return /* @__PURE__ */
|
|
6369
|
+
return /* @__PURE__ */ jsx76(A0603, { color });
|
|
6209
6370
|
case "0805":
|
|
6210
|
-
return /* @__PURE__ */
|
|
6371
|
+
return /* @__PURE__ */ jsx76(A0805, { color });
|
|
6211
6372
|
case "0201":
|
|
6212
|
-
return /* @__PURE__ */
|
|
6373
|
+
return /* @__PURE__ */ jsx76(A0201, { color });
|
|
6213
6374
|
case "01005":
|
|
6214
|
-
return /* @__PURE__ */
|
|
6375
|
+
return /* @__PURE__ */ jsx76(A01005, { color });
|
|
6215
6376
|
case "1206":
|
|
6216
|
-
return /* @__PURE__ */
|
|
6377
|
+
return /* @__PURE__ */ jsx76(A1206, { color });
|
|
6217
6378
|
case "1210":
|
|
6218
|
-
return /* @__PURE__ */
|
|
6379
|
+
return /* @__PURE__ */ jsx76(A1210, { color });
|
|
6219
6380
|
case "2010":
|
|
6220
|
-
return /* @__PURE__ */
|
|
6381
|
+
return /* @__PURE__ */ jsx76(A2010, { color });
|
|
6221
6382
|
case "2512":
|
|
6222
|
-
return /* @__PURE__ */
|
|
6383
|
+
return /* @__PURE__ */ jsx76(A2512, { color });
|
|
6223
6384
|
}
|
|
6224
6385
|
if ((fpJson.fn === "res" || fpJson.fn === "cap") && fpJson.p !== void 0 && fpJson.ph !== void 0) {
|
|
6225
6386
|
const padPitch = mm(fpJson.p);
|
|
6226
6387
|
const padHeight = mm(fpJson.ph);
|
|
6227
6388
|
if (Number.isFinite(padPitch) && Number.isFinite(padHeight)) {
|
|
6228
|
-
return /* @__PURE__ */
|
|
6389
|
+
return /* @__PURE__ */ jsx76(
|
|
6229
6390
|
ParametricChip,
|
|
6230
6391
|
{
|
|
6231
6392
|
padPitch,
|
|
@@ -6238,84 +6399,9 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6238
6399
|
return null;
|
|
6239
6400
|
};
|
|
6240
6401
|
|
|
6241
|
-
// lib/SOT-23-3P.tsx
|
|
6242
|
-
import { Fragment as Fragment68, jsx as jsx75, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
6243
|
-
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
6244
|
-
const bodyWidth = 1.3;
|
|
6245
|
-
const bodyLength10 = 2.9;
|
|
6246
|
-
const bodyHeight = 1.1;
|
|
6247
|
-
const leadWidth = 0.4;
|
|
6248
|
-
const leadThickness = 0.15;
|
|
6249
|
-
const leadHeight = 0.95;
|
|
6250
|
-
const padContactLength = 0.4;
|
|
6251
|
-
const padThickness = leadThickness / 2;
|
|
6252
|
-
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
6253
|
-
return /* @__PURE__ */ jsxs70(Fragment68, { children: [
|
|
6254
|
-
/* @__PURE__ */ jsx75(
|
|
6255
|
-
SmdChipLead,
|
|
6256
|
-
{
|
|
6257
|
-
rotation: Math.PI,
|
|
6258
|
-
position: {
|
|
6259
|
-
x: fullWidth / 2,
|
|
6260
|
-
y: -1,
|
|
6261
|
-
z: padThickness
|
|
6262
|
-
},
|
|
6263
|
-
width: leadWidth,
|
|
6264
|
-
thickness: leadThickness,
|
|
6265
|
-
padContactLength,
|
|
6266
|
-
bodyDistance: extendedBodyDistance,
|
|
6267
|
-
height: leadHeight
|
|
6268
|
-
},
|
|
6269
|
-
1
|
|
6270
|
-
),
|
|
6271
|
-
/* @__PURE__ */ jsx75(
|
|
6272
|
-
SmdChipLead,
|
|
6273
|
-
{
|
|
6274
|
-
rotation: Math.PI,
|
|
6275
|
-
position: {
|
|
6276
|
-
x: fullWidth / 2,
|
|
6277
|
-
y: 1,
|
|
6278
|
-
z: padThickness
|
|
6279
|
-
},
|
|
6280
|
-
width: leadWidth,
|
|
6281
|
-
thickness: leadThickness,
|
|
6282
|
-
padContactLength,
|
|
6283
|
-
bodyDistance: extendedBodyDistance,
|
|
6284
|
-
height: leadHeight
|
|
6285
|
-
},
|
|
6286
|
-
2
|
|
6287
|
-
),
|
|
6288
|
-
/* @__PURE__ */ jsx75(
|
|
6289
|
-
SmdChipLead,
|
|
6290
|
-
{
|
|
6291
|
-
position: {
|
|
6292
|
-
x: -fullWidth / 2,
|
|
6293
|
-
y: 0,
|
|
6294
|
-
z: padThickness
|
|
6295
|
-
},
|
|
6296
|
-
width: leadWidth,
|
|
6297
|
-
thickness: leadThickness,
|
|
6298
|
-
padContactLength,
|
|
6299
|
-
bodyDistance: extendedBodyDistance,
|
|
6300
|
-
height: leadHeight
|
|
6301
|
-
},
|
|
6302
|
-
3
|
|
6303
|
-
),
|
|
6304
|
-
/* @__PURE__ */ jsx75(
|
|
6305
|
-
ChipBody,
|
|
6306
|
-
{
|
|
6307
|
-
center: { x: 0, y: 0, z: 0 },
|
|
6308
|
-
width: bodyWidth,
|
|
6309
|
-
length: bodyLength10,
|
|
6310
|
-
height: bodyHeight
|
|
6311
|
-
}
|
|
6312
|
-
)
|
|
6313
|
-
] });
|
|
6314
|
-
};
|
|
6315
|
-
|
|
6316
6402
|
// lib/SOT-563.tsx
|
|
6317
|
-
import { Cuboid as
|
|
6318
|
-
import { Fragment as
|
|
6403
|
+
import { Cuboid as Cuboid51, Translate as Translate35, Rotate as Rotate16, Colorize as Colorize42 } from "jscad-fiber";
|
|
6404
|
+
import { Fragment as Fragment70, jsx as jsx77, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
6319
6405
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
6320
6406
|
const bodyWidth = 1.2;
|
|
6321
6407
|
const bodyLength10 = 1.6;
|
|
@@ -6325,11 +6411,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
6325
6411
|
const leadHeight = 0.13;
|
|
6326
6412
|
const leadSpacing = 0.5;
|
|
6327
6413
|
const bodyZOffset = -0.4;
|
|
6328
|
-
return /* @__PURE__ */
|
|
6329
|
-
/* @__PURE__ */
|
|
6414
|
+
return /* @__PURE__ */ jsxs72(Fragment70, { children: [
|
|
6415
|
+
/* @__PURE__ */ jsx77(Rotate16, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx77(Translate35, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx77(Colorize42, { color: "grey", children: /* @__PURE__ */ jsx77(Cuboid51, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
6330
6416
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
6331
6417
|
// Left lead
|
|
6332
|
-
/* @__PURE__ */
|
|
6418
|
+
/* @__PURE__ */ jsx77(
|
|
6333
6419
|
Translate35,
|
|
6334
6420
|
{
|
|
6335
6421
|
center: [
|
|
@@ -6337,80 +6423,22 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
6337
6423
|
yOffset * leadSpacing,
|
|
6338
6424
|
leadHeight / 2
|
|
6339
6425
|
],
|
|
6340
|
-
children: /* @__PURE__ */
|
|
6426
|
+
children: /* @__PURE__ */ jsx77(Cuboid51, { size: [leadLength, leadWidth, leadHeight] })
|
|
6341
6427
|
},
|
|
6342
6428
|
`left-${index}`
|
|
6343
6429
|
),
|
|
6344
6430
|
// Right lead
|
|
6345
|
-
/* @__PURE__ */
|
|
6431
|
+
/* @__PURE__ */ jsx77(
|
|
6346
6432
|
Translate35,
|
|
6347
6433
|
{
|
|
6348
6434
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
6349
|
-
children: /* @__PURE__ */
|
|
6435
|
+
children: /* @__PURE__ */ jsx77(Cuboid51, { size: [leadLength, leadWidth, leadHeight] })
|
|
6350
6436
|
},
|
|
6351
6437
|
`right-${index}`
|
|
6352
6438
|
)
|
|
6353
6439
|
])
|
|
6354
6440
|
] });
|
|
6355
6441
|
};
|
|
6356
|
-
|
|
6357
|
-
// lib/sod-123.tsx
|
|
6358
|
-
import { Fragment as Fragment70, jsx as jsx77, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
6359
|
-
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
6360
|
-
const bodyWidth = 2.9;
|
|
6361
|
-
const bodyLength10 = 1.3;
|
|
6362
|
-
const bodyHeight = 1.1;
|
|
6363
|
-
const leadWidth = 0.8;
|
|
6364
|
-
const leadThickness = 0.15;
|
|
6365
|
-
const leadHeight = 0.5;
|
|
6366
|
-
const padContactLength = 0.4;
|
|
6367
|
-
const padThickness = leadThickness / 2;
|
|
6368
|
-
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
6369
|
-
return /* @__PURE__ */ jsxs72(Fragment70, { children: [
|
|
6370
|
-
/* @__PURE__ */ jsx77(
|
|
6371
|
-
SmdChipLead,
|
|
6372
|
-
{
|
|
6373
|
-
position: {
|
|
6374
|
-
x: -fullWidth / 2 + leadWidth / 2,
|
|
6375
|
-
y: 0,
|
|
6376
|
-
z: padThickness
|
|
6377
|
-
},
|
|
6378
|
-
width: leadWidth,
|
|
6379
|
-
thickness: leadThickness,
|
|
6380
|
-
padContactLength,
|
|
6381
|
-
bodyDistance,
|
|
6382
|
-
height: leadHeight
|
|
6383
|
-
},
|
|
6384
|
-
1
|
|
6385
|
-
),
|
|
6386
|
-
/* @__PURE__ */ jsx77(
|
|
6387
|
-
SmdChipLead,
|
|
6388
|
-
{
|
|
6389
|
-
rotation: Math.PI,
|
|
6390
|
-
position: {
|
|
6391
|
-
x: fullWidth / 2 - leadWidth / 2,
|
|
6392
|
-
y: 0,
|
|
6393
|
-
z: padThickness
|
|
6394
|
-
},
|
|
6395
|
-
width: leadWidth,
|
|
6396
|
-
thickness: leadThickness,
|
|
6397
|
-
padContactLength,
|
|
6398
|
-
bodyDistance,
|
|
6399
|
-
height: leadHeight
|
|
6400
|
-
},
|
|
6401
|
-
2
|
|
6402
|
-
),
|
|
6403
|
-
/* @__PURE__ */ jsx77(
|
|
6404
|
-
ChipBody,
|
|
6405
|
-
{
|
|
6406
|
-
center: { x: 0, y: 0, z: 0 },
|
|
6407
|
-
width: bodyWidth,
|
|
6408
|
-
length: bodyLength10,
|
|
6409
|
-
height: bodyHeight
|
|
6410
|
-
}
|
|
6411
|
-
)
|
|
6412
|
-
] });
|
|
6413
|
-
};
|
|
6414
6442
|
export {
|
|
6415
6443
|
A01005,
|
|
6416
6444
|
A0201,
|