jscad-electronics 0.0.146 → 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 +4 -3
- package/dist/index.js +623 -616
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +81 -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",
|
|
@@ -2731,7 +2810,7 @@ var SOD123W = () => {
|
|
|
2731
2810
|
|
|
2732
2811
|
// lib/sod-123.tsx
|
|
2733
2812
|
import { Cuboid as Cuboid27 } from "jscad-fiber";
|
|
2734
|
-
import { Fragment as
|
|
2813
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2735
2814
|
var SOD123 = ({
|
|
2736
2815
|
fullWidth = 3.7,
|
|
2737
2816
|
fullLength: fullLength10 = 1.55
|
|
@@ -2747,8 +2826,8 @@ var SOD123 = ({
|
|
|
2747
2826
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
2748
2827
|
const padContactLength = 0.25;
|
|
2749
2828
|
const leadCurveLength = 0.2;
|
|
2750
|
-
return /* @__PURE__ */
|
|
2751
|
-
/* @__PURE__ */
|
|
2829
|
+
return /* @__PURE__ */ jsxs37(Fragment37, { children: [
|
|
2830
|
+
/* @__PURE__ */ jsx41(
|
|
2752
2831
|
SmdChipLead,
|
|
2753
2832
|
{
|
|
2754
2833
|
position: {
|
|
@@ -2764,7 +2843,7 @@ var SOD123 = ({
|
|
|
2764
2843
|
height: leadHeight
|
|
2765
2844
|
}
|
|
2766
2845
|
),
|
|
2767
|
-
/* @__PURE__ */
|
|
2846
|
+
/* @__PURE__ */ jsx41(
|
|
2768
2847
|
SmdChipLead,
|
|
2769
2848
|
{
|
|
2770
2849
|
rotation: Math.PI,
|
|
@@ -2781,7 +2860,7 @@ var SOD123 = ({
|
|
|
2781
2860
|
height: leadHeight
|
|
2782
2861
|
}
|
|
2783
2862
|
),
|
|
2784
|
-
/* @__PURE__ */
|
|
2863
|
+
/* @__PURE__ */ jsx41(
|
|
2785
2864
|
ChipBody,
|
|
2786
2865
|
{
|
|
2787
2866
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2795,7 +2874,7 @@ var SOD123 = ({
|
|
|
2795
2874
|
straightHeightRatio: 0.6
|
|
2796
2875
|
}
|
|
2797
2876
|
),
|
|
2798
|
-
/* @__PURE__ */
|
|
2877
|
+
/* @__PURE__ */ jsx41(
|
|
2799
2878
|
Cuboid27,
|
|
2800
2879
|
{
|
|
2801
2880
|
color: "#777",
|
|
@@ -2808,7 +2887,7 @@ var SOD123 = ({
|
|
|
2808
2887
|
|
|
2809
2888
|
// lib/sod-128.tsx
|
|
2810
2889
|
import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull15, Translate as Translate19, Union as Union13 } from "jscad-fiber";
|
|
2811
|
-
import { Fragment as
|
|
2890
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2812
2891
|
var SOD128 = () => {
|
|
2813
2892
|
const fullWidth = 3.8;
|
|
2814
2893
|
const bodyLength10 = 2.5;
|
|
@@ -2821,8 +2900,8 @@ var SOD128 = () => {
|
|
|
2821
2900
|
const taperOffset = 0.4;
|
|
2822
2901
|
const lowerTaperOffset = 0.05;
|
|
2823
2902
|
const straightHeight = bodyHeight * 0.2;
|
|
2824
|
-
return /* @__PURE__ */
|
|
2825
|
-
/* @__PURE__ */
|
|
2903
|
+
return /* @__PURE__ */ jsxs38(Fragment38, { children: [
|
|
2904
|
+
/* @__PURE__ */ jsx42(
|
|
2826
2905
|
Cuboid28,
|
|
2827
2906
|
{
|
|
2828
2907
|
color: "#ccc",
|
|
@@ -2830,7 +2909,7 @@ var SOD128 = () => {
|
|
|
2830
2909
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2831
2910
|
}
|
|
2832
2911
|
),
|
|
2833
|
-
/* @__PURE__ */
|
|
2912
|
+
/* @__PURE__ */ jsx42(
|
|
2834
2913
|
Cuboid28,
|
|
2835
2914
|
{
|
|
2836
2915
|
color: "#ccc",
|
|
@@ -2838,9 +2917,9 @@ var SOD128 = () => {
|
|
|
2838
2917
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2839
2918
|
}
|
|
2840
2919
|
),
|
|
2841
|
-
/* @__PURE__ */
|
|
2842
|
-
/* @__PURE__ */
|
|
2843
|
-
/* @__PURE__ */
|
|
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(
|
|
2844
2923
|
Cuboid28,
|
|
2845
2924
|
{
|
|
2846
2925
|
size: [
|
|
@@ -2850,7 +2929,7 @@ var SOD128 = () => {
|
|
|
2850
2929
|
]
|
|
2851
2930
|
}
|
|
2852
2931
|
) }),
|
|
2853
|
-
/* @__PURE__ */
|
|
2932
|
+
/* @__PURE__ */ jsx42(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx42(
|
|
2854
2933
|
Cuboid28,
|
|
2855
2934
|
{
|
|
2856
2935
|
size: [
|
|
@@ -2861,9 +2940,9 @@ var SOD128 = () => {
|
|
|
2861
2940
|
}
|
|
2862
2941
|
) })
|
|
2863
2942
|
] }),
|
|
2864
|
-
/* @__PURE__ */
|
|
2865
|
-
/* @__PURE__ */
|
|
2866
|
-
/* @__PURE__ */
|
|
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(
|
|
2867
2946
|
Cuboid28,
|
|
2868
2947
|
{
|
|
2869
2948
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2871,7 +2950,7 @@ var SOD128 = () => {
|
|
|
2871
2950
|
) })
|
|
2872
2951
|
] })
|
|
2873
2952
|
] }) }),
|
|
2874
|
-
/* @__PURE__ */
|
|
2953
|
+
/* @__PURE__ */ jsx42(
|
|
2875
2954
|
Cuboid28,
|
|
2876
2955
|
{
|
|
2877
2956
|
color: "#777",
|
|
@@ -2884,7 +2963,7 @@ var SOD128 = () => {
|
|
|
2884
2963
|
|
|
2885
2964
|
// lib/SOD-923.tsx
|
|
2886
2965
|
import { Colorize as Colorize21, Cuboid as Cuboid29, Hull as Hull16, Translate as Translate20, Union as Union14 } from "jscad-fiber";
|
|
2887
|
-
import { Fragment as
|
|
2966
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2888
2967
|
var SOD923 = () => {
|
|
2889
2968
|
const fullWidth = 0.8;
|
|
2890
2969
|
const bodyLength10 = 0.6;
|
|
@@ -2896,8 +2975,8 @@ var SOD923 = () => {
|
|
|
2896
2975
|
const rightPadCenterX = fullWidth / 2;
|
|
2897
2976
|
const taperOffset = 0.1;
|
|
2898
2977
|
const straightHeight = padThickness;
|
|
2899
|
-
return /* @__PURE__ */
|
|
2900
|
-
/* @__PURE__ */
|
|
2978
|
+
return /* @__PURE__ */ jsxs39(Fragment39, { children: [
|
|
2979
|
+
/* @__PURE__ */ jsx43(
|
|
2901
2980
|
Cuboid29,
|
|
2902
2981
|
{
|
|
2903
2982
|
color: "#ccc",
|
|
@@ -2905,7 +2984,7 @@ var SOD923 = () => {
|
|
|
2905
2984
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2906
2985
|
}
|
|
2907
2986
|
),
|
|
2908
|
-
/* @__PURE__ */
|
|
2987
|
+
/* @__PURE__ */ jsx43(
|
|
2909
2988
|
Cuboid29,
|
|
2910
2989
|
{
|
|
2911
2990
|
color: "#ccc",
|
|
@@ -2913,11 +2992,11 @@ var SOD923 = () => {
|
|
|
2913
2992
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2914
2993
|
}
|
|
2915
2994
|
),
|
|
2916
|
-
/* @__PURE__ */
|
|
2917
|
-
/* @__PURE__ */
|
|
2918
|
-
/* @__PURE__ */
|
|
2919
|
-
/* @__PURE__ */
|
|
2920
|
-
/* @__PURE__ */
|
|
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(
|
|
2921
3000
|
Cuboid29,
|
|
2922
3001
|
{
|
|
2923
3002
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -2929,7 +3008,7 @@ var SOD923 = () => {
|
|
|
2929
3008
|
};
|
|
2930
3009
|
|
|
2931
3010
|
// lib/SOT-223.tsx
|
|
2932
|
-
import { Fragment as
|
|
3011
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2933
3012
|
var SOT223 = () => {
|
|
2934
3013
|
const fullWidth = 6.6;
|
|
2935
3014
|
const bodyWidth = 3.5;
|
|
@@ -2942,8 +3021,8 @@ var SOT223 = () => {
|
|
|
2942
3021
|
const padContactLength = 0.5;
|
|
2943
3022
|
const padPitch = 2.3;
|
|
2944
3023
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2945
|
-
return /* @__PURE__ */
|
|
2946
|
-
/* @__PURE__ */
|
|
3024
|
+
return /* @__PURE__ */ jsxs40(Fragment40, { children: [
|
|
3025
|
+
/* @__PURE__ */ jsx44(
|
|
2947
3026
|
SmdChipLead,
|
|
2948
3027
|
{
|
|
2949
3028
|
rotation: Math.PI,
|
|
@@ -2960,7 +3039,7 @@ var SOT223 = () => {
|
|
|
2960
3039
|
},
|
|
2961
3040
|
4
|
|
2962
3041
|
),
|
|
2963
|
-
/* @__PURE__ */
|
|
3042
|
+
/* @__PURE__ */ jsx44(
|
|
2964
3043
|
SmdChipLead,
|
|
2965
3044
|
{
|
|
2966
3045
|
position: {
|
|
@@ -2976,7 +3055,7 @@ var SOT223 = () => {
|
|
|
2976
3055
|
},
|
|
2977
3056
|
3
|
|
2978
3057
|
),
|
|
2979
|
-
/* @__PURE__ */
|
|
3058
|
+
/* @__PURE__ */ jsx44(
|
|
2980
3059
|
SmdChipLead,
|
|
2981
3060
|
{
|
|
2982
3061
|
position: {
|
|
@@ -2992,7 +3071,7 @@ var SOT223 = () => {
|
|
|
2992
3071
|
},
|
|
2993
3072
|
1
|
|
2994
3073
|
),
|
|
2995
|
-
/* @__PURE__ */
|
|
3074
|
+
/* @__PURE__ */ jsx44(
|
|
2996
3075
|
SmdChipLead,
|
|
2997
3076
|
{
|
|
2998
3077
|
position: {
|
|
@@ -3008,7 +3087,7 @@ var SOT223 = () => {
|
|
|
3008
3087
|
},
|
|
3009
3088
|
2
|
|
3010
3089
|
),
|
|
3011
|
-
/* @__PURE__ */
|
|
3090
|
+
/* @__PURE__ */ jsx44(
|
|
3012
3091
|
ChipBody,
|
|
3013
3092
|
{
|
|
3014
3093
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3024,7 +3103,7 @@ var SOT223 = () => {
|
|
|
3024
3103
|
};
|
|
3025
3104
|
|
|
3026
3105
|
// lib/tqfp.tsx
|
|
3027
|
-
import { Fragment as
|
|
3106
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3028
3107
|
var TQFP = () => {
|
|
3029
3108
|
const pinCount = 64;
|
|
3030
3109
|
const pitch = 0.5;
|
|
@@ -3039,8 +3118,8 @@ var TQFP = () => {
|
|
|
3039
3118
|
const leadHeight = 0.65;
|
|
3040
3119
|
const leadThickness = 0.25;
|
|
3041
3120
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
3042
|
-
return /* @__PURE__ */
|
|
3043
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3121
|
+
return /* @__PURE__ */ jsxs41(Fragment41, { children: [
|
|
3122
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
3044
3123
|
SmdChipLead,
|
|
3045
3124
|
{
|
|
3046
3125
|
position: {
|
|
@@ -3056,7 +3135,7 @@ var TQFP = () => {
|
|
|
3056
3135
|
},
|
|
3057
3136
|
`left-${i}`
|
|
3058
3137
|
)),
|
|
3059
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3138
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
3060
3139
|
SmdChipLead,
|
|
3061
3140
|
{
|
|
3062
3141
|
rotation: Math.PI,
|
|
@@ -3073,7 +3152,7 @@ var TQFP = () => {
|
|
|
3073
3152
|
},
|
|
3074
3153
|
`right-${i}`
|
|
3075
3154
|
)),
|
|
3076
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3155
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
3077
3156
|
SmdChipLead,
|
|
3078
3157
|
{
|
|
3079
3158
|
rotation: Math.PI / 2,
|
|
@@ -3090,7 +3169,7 @@ var TQFP = () => {
|
|
|
3090
3169
|
},
|
|
3091
3170
|
`bottom-${i}`
|
|
3092
3171
|
)),
|
|
3093
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3172
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
3094
3173
|
SmdChipLead,
|
|
3095
3174
|
{
|
|
3096
3175
|
rotation: -Math.PI / 2,
|
|
@@ -3107,7 +3186,7 @@ var TQFP = () => {
|
|
|
3107
3186
|
},
|
|
3108
3187
|
`top-${i}`
|
|
3109
3188
|
)),
|
|
3110
|
-
/* @__PURE__ */
|
|
3189
|
+
/* @__PURE__ */ jsx45(
|
|
3111
3190
|
ChipBody,
|
|
3112
3191
|
{
|
|
3113
3192
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3125,7 +3204,7 @@ var TQFP = () => {
|
|
|
3125
3204
|
var tqfp_default = TQFP;
|
|
3126
3205
|
|
|
3127
3206
|
// lib/SOT-323.tsx
|
|
3128
|
-
import { Fragment as
|
|
3207
|
+
import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3129
3208
|
var SOT323 = () => {
|
|
3130
3209
|
const fullWidth = 2.05;
|
|
3131
3210
|
const bodyWidth = 1.25;
|
|
@@ -3137,8 +3216,8 @@ var SOT323 = () => {
|
|
|
3137
3216
|
const padContactLength = 0.2;
|
|
3138
3217
|
const padPitch = 0.65;
|
|
3139
3218
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3140
|
-
return /* @__PURE__ */
|
|
3141
|
-
/* @__PURE__ */
|
|
3219
|
+
return /* @__PURE__ */ jsxs42(Fragment42, { children: [
|
|
3220
|
+
/* @__PURE__ */ jsx46(
|
|
3142
3221
|
SmdChipLead,
|
|
3143
3222
|
{
|
|
3144
3223
|
rotation: Math.PI,
|
|
@@ -3155,7 +3234,7 @@ var SOT323 = () => {
|
|
|
3155
3234
|
},
|
|
3156
3235
|
4
|
|
3157
3236
|
),
|
|
3158
|
-
/* @__PURE__ */
|
|
3237
|
+
/* @__PURE__ */ jsx46(
|
|
3159
3238
|
SmdChipLead,
|
|
3160
3239
|
{
|
|
3161
3240
|
position: {
|
|
@@ -3171,7 +3250,7 @@ var SOT323 = () => {
|
|
|
3171
3250
|
},
|
|
3172
3251
|
1
|
|
3173
3252
|
),
|
|
3174
|
-
/* @__PURE__ */
|
|
3253
|
+
/* @__PURE__ */ jsx46(
|
|
3175
3254
|
SmdChipLead,
|
|
3176
3255
|
{
|
|
3177
3256
|
position: {
|
|
@@ -3187,7 +3266,7 @@ var SOT323 = () => {
|
|
|
3187
3266
|
},
|
|
3188
3267
|
2
|
|
3189
3268
|
),
|
|
3190
|
-
/* @__PURE__ */
|
|
3269
|
+
/* @__PURE__ */ jsx46(
|
|
3191
3270
|
ChipBody,
|
|
3192
3271
|
{
|
|
3193
3272
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3204,7 +3283,7 @@ var SOT323 = () => {
|
|
|
3204
3283
|
};
|
|
3205
3284
|
|
|
3206
3285
|
// lib/lqfp.tsx
|
|
3207
|
-
import { Fragment as
|
|
3286
|
+
import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3208
3287
|
var LQFP = ({
|
|
3209
3288
|
pinCount,
|
|
3210
3289
|
pitch,
|
|
@@ -3227,8 +3306,8 @@ var LQFP = ({
|
|
|
3227
3306
|
const leadHeight = 0.8;
|
|
3228
3307
|
const leadThickness = 0.2;
|
|
3229
3308
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
|
|
3230
|
-
return /* @__PURE__ */
|
|
3231
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3309
|
+
return /* @__PURE__ */ jsxs43(Fragment43, { children: [
|
|
3310
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3232
3311
|
SmdChipLead,
|
|
3233
3312
|
{
|
|
3234
3313
|
position: {
|
|
@@ -3244,7 +3323,7 @@ var LQFP = ({
|
|
|
3244
3323
|
},
|
|
3245
3324
|
`left-${i}`
|
|
3246
3325
|
)),
|
|
3247
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3326
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3248
3327
|
SmdChipLead,
|
|
3249
3328
|
{
|
|
3250
3329
|
rotation: Math.PI,
|
|
@@ -3261,7 +3340,7 @@ var LQFP = ({
|
|
|
3261
3340
|
},
|
|
3262
3341
|
`right-${i}`
|
|
3263
3342
|
)),
|
|
3264
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3343
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3265
3344
|
SmdChipLead,
|
|
3266
3345
|
{
|
|
3267
3346
|
rotation: Math.PI / 2,
|
|
@@ -3278,7 +3357,7 @@ var LQFP = ({
|
|
|
3278
3357
|
},
|
|
3279
3358
|
`bottom-${i}`
|
|
3280
3359
|
)),
|
|
3281
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3360
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx47(
|
|
3282
3361
|
SmdChipLead,
|
|
3283
3362
|
{
|
|
3284
3363
|
rotation: -Math.PI / 2,
|
|
@@ -3295,7 +3374,7 @@ var LQFP = ({
|
|
|
3295
3374
|
},
|
|
3296
3375
|
`top-${i}`
|
|
3297
3376
|
)),
|
|
3298
|
-
/* @__PURE__ */
|
|
3377
|
+
/* @__PURE__ */ jsx47(
|
|
3299
3378
|
ChipBody,
|
|
3300
3379
|
{
|
|
3301
3380
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3318,7 +3397,7 @@ var LQFP = ({
|
|
|
3318
3397
|
|
|
3319
3398
|
// lib/SOT-723.tsx
|
|
3320
3399
|
import { Cuboid as Cuboid30, Translate as Translate21, Colorize as Colorize22, Hull as Hull17, Union as Union15 } from "jscad-fiber";
|
|
3321
|
-
import { Fragment as
|
|
3400
|
+
import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3322
3401
|
var SOT723 = () => {
|
|
3323
3402
|
const bodyWidth = 0.85;
|
|
3324
3403
|
const bodyLength10 = 1.2;
|
|
@@ -3335,18 +3414,18 @@ var SOT723 = () => {
|
|
|
3335
3414
|
const leftTopPadCenterY = 0.4;
|
|
3336
3415
|
const leftBottomPadCenterX = -0.55;
|
|
3337
3416
|
const leftBottomPadCenterY = -0.4;
|
|
3338
|
-
return /* @__PURE__ */
|
|
3339
|
-
/* @__PURE__ */
|
|
3340
|
-
/* @__PURE__ */
|
|
3417
|
+
return /* @__PURE__ */ jsxs44(Fragment44, { children: [
|
|
3418
|
+
/* @__PURE__ */ jsx48(Colorize22, { color: "#222", children: /* @__PURE__ */ jsxs44(Union15, { children: [
|
|
3419
|
+
/* @__PURE__ */ jsx48(
|
|
3341
3420
|
Cuboid30,
|
|
3342
3421
|
{
|
|
3343
3422
|
size: [bodyWidth, bodyLength10, straightHeight],
|
|
3344
3423
|
center: [0, 0, straightHeight / 2]
|
|
3345
3424
|
}
|
|
3346
3425
|
),
|
|
3347
|
-
/* @__PURE__ */
|
|
3348
|
-
/* @__PURE__ */
|
|
3349
|
-
/* @__PURE__ */
|
|
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(
|
|
3350
3429
|
Cuboid30,
|
|
3351
3430
|
{
|
|
3352
3431
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -3354,7 +3433,7 @@ var SOT723 = () => {
|
|
|
3354
3433
|
) })
|
|
3355
3434
|
] })
|
|
3356
3435
|
] }) }),
|
|
3357
|
-
/* @__PURE__ */
|
|
3436
|
+
/* @__PURE__ */ jsx48(
|
|
3358
3437
|
Cuboid30,
|
|
3359
3438
|
{
|
|
3360
3439
|
color: "#ccc",
|
|
@@ -3362,7 +3441,7 @@ var SOT723 = () => {
|
|
|
3362
3441
|
center: [rightPadCenterX, rightPadCenterY, padThickness / 2]
|
|
3363
3442
|
}
|
|
3364
3443
|
),
|
|
3365
|
-
/* @__PURE__ */
|
|
3444
|
+
/* @__PURE__ */ jsx48(
|
|
3366
3445
|
Cuboid30,
|
|
3367
3446
|
{
|
|
3368
3447
|
color: "#ccc",
|
|
@@ -3370,7 +3449,7 @@ var SOT723 = () => {
|
|
|
3370
3449
|
center: [leftTopPadCenterX, leftTopPadCenterY, padThickness / 2]
|
|
3371
3450
|
}
|
|
3372
3451
|
),
|
|
3373
|
-
/* @__PURE__ */
|
|
3452
|
+
/* @__PURE__ */ jsx48(
|
|
3374
3453
|
Cuboid30,
|
|
3375
3454
|
{
|
|
3376
3455
|
color: "#ccc",
|
|
@@ -3383,7 +3462,7 @@ var SOT723 = () => {
|
|
|
3383
3462
|
|
|
3384
3463
|
// lib/dfn.tsx
|
|
3385
3464
|
import { Cuboid as Cuboid31 } from "jscad-fiber";
|
|
3386
|
-
import { Fragment as
|
|
3465
|
+
import { Fragment as Fragment45, jsx as jsx49, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3387
3466
|
var DFN = ({
|
|
3388
3467
|
num_pins,
|
|
3389
3468
|
bodyWidth = 5.3,
|
|
@@ -3410,8 +3489,8 @@ var DFN = ({
|
|
|
3410
3489
|
const pinNumber = i + 1;
|
|
3411
3490
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
3412
3491
|
}
|
|
3413
|
-
return /* @__PURE__ */
|
|
3414
|
-
/* @__PURE__ */
|
|
3492
|
+
return /* @__PURE__ */ jsxs45(Fragment45, { children: [
|
|
3493
|
+
/* @__PURE__ */ jsx49(
|
|
3415
3494
|
ChipBody,
|
|
3416
3495
|
{
|
|
3417
3496
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3429,7 +3508,7 @@ var DFN = ({
|
|
|
3429
3508
|
}
|
|
3430
3509
|
}
|
|
3431
3510
|
),
|
|
3432
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
3511
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx49(
|
|
3433
3512
|
Cuboid31,
|
|
3434
3513
|
{
|
|
3435
3514
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
@@ -3437,7 +3516,7 @@ var DFN = ({
|
|
|
3437
3516
|
},
|
|
3438
3517
|
i
|
|
3439
3518
|
)),
|
|
3440
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
3519
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx49(
|
|
3441
3520
|
Cuboid31,
|
|
3442
3521
|
{
|
|
3443
3522
|
center: [0, 0, thermalPadThickness / 2],
|
|
@@ -3453,7 +3532,7 @@ var DFN = ({
|
|
|
3453
3532
|
|
|
3454
3533
|
// lib/hc49.tsx
|
|
3455
3534
|
import { Colorize as Colorize23, Cylinder as Cylinder5, Hull as Hull18, RoundedCylinder } from "jscad-fiber";
|
|
3456
|
-
import { Fragment as
|
|
3535
|
+
import { Fragment as Fragment46, jsx as jsx50, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3457
3536
|
var HC49 = ({
|
|
3458
3537
|
bodyLength: bodyLength10 = 10.2,
|
|
3459
3538
|
bodyWidth = 4.65,
|
|
@@ -3469,10 +3548,10 @@ var HC49 = ({
|
|
|
3469
3548
|
const endCenterX = halfLength - endRadius;
|
|
3470
3549
|
const leadCenterX = leadSpacing / 2;
|
|
3471
3550
|
const baseHeight = 0.85;
|
|
3472
|
-
return /* @__PURE__ */
|
|
3473
|
-
/* @__PURE__ */
|
|
3474
|
-
/* @__PURE__ */
|
|
3475
|
-
/* @__PURE__ */
|
|
3551
|
+
return /* @__PURE__ */ jsxs46(Fragment46, { children: [
|
|
3552
|
+
/* @__PURE__ */ jsxs46(Colorize23, { color, children: [
|
|
3553
|
+
/* @__PURE__ */ jsxs46(Hull18, { children: [
|
|
3554
|
+
/* @__PURE__ */ jsx50(
|
|
3476
3555
|
RoundedCylinder,
|
|
3477
3556
|
{
|
|
3478
3557
|
height: bodyHeight,
|
|
@@ -3481,7 +3560,7 @@ var HC49 = ({
|
|
|
3481
3560
|
center: [-endCenterX, 0, bodyHeight]
|
|
3482
3561
|
}
|
|
3483
3562
|
),
|
|
3484
|
-
/* @__PURE__ */
|
|
3563
|
+
/* @__PURE__ */ jsx50(
|
|
3485
3564
|
RoundedCylinder,
|
|
3486
3565
|
{
|
|
3487
3566
|
height: bodyHeight,
|
|
@@ -3491,8 +3570,8 @@ var HC49 = ({
|
|
|
3491
3570
|
}
|
|
3492
3571
|
)
|
|
3493
3572
|
] }),
|
|
3494
|
-
/* @__PURE__ */
|
|
3495
|
-
/* @__PURE__ */
|
|
3573
|
+
/* @__PURE__ */ jsxs46(Hull18, { children: [
|
|
3574
|
+
/* @__PURE__ */ jsx50(
|
|
3496
3575
|
RoundedCylinder,
|
|
3497
3576
|
{
|
|
3498
3577
|
height: baseHeight,
|
|
@@ -3501,7 +3580,7 @@ var HC49 = ({
|
|
|
3501
3580
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
3502
3581
|
}
|
|
3503
3582
|
),
|
|
3504
|
-
/* @__PURE__ */
|
|
3583
|
+
/* @__PURE__ */ jsx50(
|
|
3505
3584
|
RoundedCylinder,
|
|
3506
3585
|
{
|
|
3507
3586
|
height: baseHeight,
|
|
@@ -3512,8 +3591,8 @@ var HC49 = ({
|
|
|
3512
3591
|
)
|
|
3513
3592
|
] })
|
|
3514
3593
|
] }),
|
|
3515
|
-
/* @__PURE__ */
|
|
3516
|
-
/* @__PURE__ */
|
|
3594
|
+
/* @__PURE__ */ jsxs46(Colorize23, { color: leadColor, children: [
|
|
3595
|
+
/* @__PURE__ */ jsx50(
|
|
3517
3596
|
Cylinder5,
|
|
3518
3597
|
{
|
|
3519
3598
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3521,7 +3600,7 @@ var HC49 = ({
|
|
|
3521
3600
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
3522
3601
|
}
|
|
3523
3602
|
),
|
|
3524
|
-
/* @__PURE__ */
|
|
3603
|
+
/* @__PURE__ */ jsx50(
|
|
3525
3604
|
Cylinder5,
|
|
3526
3605
|
{
|
|
3527
3606
|
height: leadLength + bodyHeight / 2,
|
|
@@ -3541,7 +3620,7 @@ import {
|
|
|
3541
3620
|
Rotate as Rotate7,
|
|
3542
3621
|
RoundedCuboid as RoundedCuboid2
|
|
3543
3622
|
} from "jscad-fiber";
|
|
3544
|
-
import { Fragment as
|
|
3623
|
+
import { Fragment as Fragment47, jsx as jsx51, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3545
3624
|
var MicroMELF = ({
|
|
3546
3625
|
bodyLength: bodyLength10 = 1.4,
|
|
3547
3626
|
bodyDiameter = 1.1,
|
|
@@ -3550,9 +3629,9 @@ var MicroMELF = ({
|
|
|
3550
3629
|
cathodeIdentification = "#111"
|
|
3551
3630
|
}) => {
|
|
3552
3631
|
const padLength = 0.2;
|
|
3553
|
-
return /* @__PURE__ */
|
|
3554
|
-
/* @__PURE__ */
|
|
3555
|
-
/* @__PURE__ */
|
|
3632
|
+
return /* @__PURE__ */ jsxs47(Fragment47, { children: [
|
|
3633
|
+
/* @__PURE__ */ jsx51(Colorize24, { color, children: /* @__PURE__ */ jsxs47(Rotate7, { rotation: [0, "90deg", 0], children: [
|
|
3634
|
+
/* @__PURE__ */ jsx51(
|
|
3556
3635
|
RoundedCuboid2,
|
|
3557
3636
|
{
|
|
3558
3637
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -3560,7 +3639,7 @@ var MicroMELF = ({
|
|
|
3560
3639
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
3561
3640
|
}
|
|
3562
3641
|
),
|
|
3563
|
-
/* @__PURE__ */
|
|
3642
|
+
/* @__PURE__ */ jsx51(
|
|
3564
3643
|
Cylinder6,
|
|
3565
3644
|
{
|
|
3566
3645
|
height: padLength / 2,
|
|
@@ -3569,7 +3648,7 @@ var MicroMELF = ({
|
|
|
3569
3648
|
}
|
|
3570
3649
|
)
|
|
3571
3650
|
] }) }),
|
|
3572
|
-
/* @__PURE__ */
|
|
3651
|
+
/* @__PURE__ */ jsx51(Colorize24, { color: cathodeIdentification, children: /* @__PURE__ */ jsx51(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3573
3652
|
RoundedCuboid2,
|
|
3574
3653
|
{
|
|
3575
3654
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -3577,7 +3656,7 @@ var MicroMELF = ({
|
|
|
3577
3656
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
3578
3657
|
}
|
|
3579
3658
|
) }) }),
|
|
3580
|
-
/* @__PURE__ */
|
|
3659
|
+
/* @__PURE__ */ jsx51(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx51(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3581
3660
|
RoundedCylinder2,
|
|
3582
3661
|
{
|
|
3583
3662
|
height: padLength,
|
|
@@ -3586,7 +3665,7 @@ var MicroMELF = ({
|
|
|
3586
3665
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3587
3666
|
}
|
|
3588
3667
|
) }) }),
|
|
3589
|
-
/* @__PURE__ */
|
|
3668
|
+
/* @__PURE__ */ jsx51(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx51(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx51(
|
|
3590
3669
|
RoundedCylinder2,
|
|
3591
3670
|
{
|
|
3592
3671
|
height: padLength,
|
|
@@ -3600,7 +3679,7 @@ var MicroMELF = ({
|
|
|
3600
3679
|
|
|
3601
3680
|
// lib/MINIMELF.tsx
|
|
3602
3681
|
import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
|
|
3603
|
-
import { Fragment as
|
|
3682
|
+
import { Fragment as Fragment48, jsx as jsx52, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
3604
3683
|
var MINIMELF = ({
|
|
3605
3684
|
bodyLength: bodyLength10 = 3.5,
|
|
3606
3685
|
bodyDiameter = 1.5,
|
|
@@ -3608,8 +3687,8 @@ var MINIMELF = ({
|
|
|
3608
3687
|
contactColor = "#c6c6c6"
|
|
3609
3688
|
}) => {
|
|
3610
3689
|
const padLength = 0.5;
|
|
3611
|
-
return /* @__PURE__ */
|
|
3612
|
-
/* @__PURE__ */
|
|
3690
|
+
return /* @__PURE__ */ jsxs48(Fragment48, { children: [
|
|
3691
|
+
/* @__PURE__ */ jsx52(Colorize25, { color, children: /* @__PURE__ */ jsx52(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3613
3692
|
RoundedCylinder3,
|
|
3614
3693
|
{
|
|
3615
3694
|
height: bodyLength10,
|
|
@@ -3618,7 +3697,7 @@ var MINIMELF = ({
|
|
|
3618
3697
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3619
3698
|
}
|
|
3620
3699
|
) }) }),
|
|
3621
|
-
/* @__PURE__ */
|
|
3700
|
+
/* @__PURE__ */ jsx52(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx52(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3622
3701
|
RoundedCylinder3,
|
|
3623
3702
|
{
|
|
3624
3703
|
height: padLength,
|
|
@@ -3627,7 +3706,7 @@ var MINIMELF = ({
|
|
|
3627
3706
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3628
3707
|
}
|
|
3629
3708
|
) }) }),
|
|
3630
|
-
/* @__PURE__ */
|
|
3709
|
+
/* @__PURE__ */ jsx52(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx52(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx52(
|
|
3631
3710
|
RoundedCylinder3,
|
|
3632
3711
|
{
|
|
3633
3712
|
height: padLength,
|
|
@@ -3641,7 +3720,7 @@ var MINIMELF = ({
|
|
|
3641
3720
|
|
|
3642
3721
|
// lib/MELF.tsx
|
|
3643
3722
|
import { Colorize as Colorize26, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
|
|
3644
|
-
import { Fragment as
|
|
3723
|
+
import { Fragment as Fragment49, jsx as jsx53, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
3645
3724
|
var MELF = ({
|
|
3646
3725
|
bodyLength: bodyLength10 = 3.9,
|
|
3647
3726
|
bodyDiameter = 2.5,
|
|
@@ -3649,8 +3728,8 @@ var MELF = ({
|
|
|
3649
3728
|
contactColor = "#c6c6c6"
|
|
3650
3729
|
}) => {
|
|
3651
3730
|
const padLength = 0.55;
|
|
3652
|
-
return /* @__PURE__ */
|
|
3653
|
-
/* @__PURE__ */
|
|
3731
|
+
return /* @__PURE__ */ jsxs49(Fragment49, { children: [
|
|
3732
|
+
/* @__PURE__ */ jsx53(Colorize26, { color, children: /* @__PURE__ */ jsx53(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx53(
|
|
3654
3733
|
RoundedCylinder4,
|
|
3655
3734
|
{
|
|
3656
3735
|
height: bodyLength10,
|
|
@@ -3659,7 +3738,7 @@ var MELF = ({
|
|
|
3659
3738
|
center: [-bodyDiameter / 2, 0, 0]
|
|
3660
3739
|
}
|
|
3661
3740
|
) }) }),
|
|
3662
|
-
/* @__PURE__ */
|
|
3741
|
+
/* @__PURE__ */ jsx53(Colorize26, { color: contactColor, children: /* @__PURE__ */ jsx53(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx53(
|
|
3663
3742
|
RoundedCylinder4,
|
|
3664
3743
|
{
|
|
3665
3744
|
height: padLength,
|
|
@@ -3668,7 +3747,7 @@ var MELF = ({
|
|
|
3668
3747
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
3669
3748
|
}
|
|
3670
3749
|
) }) }),
|
|
3671
|
-
/* @__PURE__ */
|
|
3750
|
+
/* @__PURE__ */ jsx53(Colorize26, { color: contactColor, children: /* @__PURE__ */ jsx53(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx53(
|
|
3672
3751
|
RoundedCylinder4,
|
|
3673
3752
|
{
|
|
3674
3753
|
height: padLength,
|
|
@@ -3681,7 +3760,7 @@ var MELF = ({
|
|
|
3681
3760
|
};
|
|
3682
3761
|
|
|
3683
3762
|
// lib/ms012.tsx
|
|
3684
|
-
import { Fragment as
|
|
3763
|
+
import { Fragment as Fragment50, jsx as jsx54, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
3685
3764
|
var MS012 = ({
|
|
3686
3765
|
pinCount,
|
|
3687
3766
|
padContactLength = 0.6,
|
|
@@ -3696,8 +3775,8 @@ var MS012 = ({
|
|
|
3696
3775
|
const bodyLength10 = 3.9;
|
|
3697
3776
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3698
3777
|
const leadThickness = 0.2;
|
|
3699
|
-
return /* @__PURE__ */
|
|
3700
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3778
|
+
return /* @__PURE__ */ jsxs50(Fragment50, { children: [
|
|
3779
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx54(
|
|
3701
3780
|
SmdChipLead,
|
|
3702
3781
|
{
|
|
3703
3782
|
position: {
|
|
@@ -3713,7 +3792,7 @@ var MS012 = ({
|
|
|
3713
3792
|
},
|
|
3714
3793
|
i
|
|
3715
3794
|
)),
|
|
3716
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3795
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx54(
|
|
3717
3796
|
SmdChipLead,
|
|
3718
3797
|
{
|
|
3719
3798
|
rotation: Math.PI,
|
|
@@ -3730,7 +3809,7 @@ var MS012 = ({
|
|
|
3730
3809
|
},
|
|
3731
3810
|
`right-${i}`
|
|
3732
3811
|
)),
|
|
3733
|
-
/* @__PURE__ */
|
|
3812
|
+
/* @__PURE__ */ jsx54(
|
|
3734
3813
|
ChipBody,
|
|
3735
3814
|
{
|
|
3736
3815
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3750,7 +3829,7 @@ var MS012 = ({
|
|
|
3750
3829
|
};
|
|
3751
3830
|
|
|
3752
3831
|
// lib/ms013.tsx
|
|
3753
|
-
import { Fragment as
|
|
3832
|
+
import { Fragment as Fragment51, jsx as jsx55, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
3754
3833
|
var MS013 = ({
|
|
3755
3834
|
pinCount = 16,
|
|
3756
3835
|
padContactLength = 0.6,
|
|
@@ -3765,8 +3844,8 @@ var MS013 = ({
|
|
|
3765
3844
|
const bodyLength10 = 10.3;
|
|
3766
3845
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
3767
3846
|
const leadThickness = 0.2;
|
|
3768
|
-
return /* @__PURE__ */
|
|
3769
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3847
|
+
return /* @__PURE__ */ jsxs51(Fragment51, { children: [
|
|
3848
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx55(
|
|
3770
3849
|
SmdChipLead,
|
|
3771
3850
|
{
|
|
3772
3851
|
position: {
|
|
@@ -3782,7 +3861,7 @@ var MS013 = ({
|
|
|
3782
3861
|
},
|
|
3783
3862
|
i
|
|
3784
3863
|
)),
|
|
3785
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
3864
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx55(
|
|
3786
3865
|
SmdChipLead,
|
|
3787
3866
|
{
|
|
3788
3867
|
rotation: Math.PI,
|
|
@@ -3799,7 +3878,7 @@ var MS013 = ({
|
|
|
3799
3878
|
},
|
|
3800
3879
|
`right-${i}`
|
|
3801
3880
|
)),
|
|
3802
|
-
/* @__PURE__ */
|
|
3881
|
+
/* @__PURE__ */ jsx55(
|
|
3803
3882
|
ChipBody,
|
|
3804
3883
|
{
|
|
3805
3884
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -3828,7 +3907,7 @@ import {
|
|
|
3828
3907
|
Cylinder as Cylinder7,
|
|
3829
3908
|
Subtract as Subtract4
|
|
3830
3909
|
} from "jscad-fiber";
|
|
3831
|
-
import { Fragment as
|
|
3910
|
+
import { Fragment as Fragment52, jsx as jsx56, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
3832
3911
|
var TO220 = () => {
|
|
3833
3912
|
const fullLength10 = 20;
|
|
3834
3913
|
const bodyLength10 = 9.9;
|
|
@@ -3847,10 +3926,10 @@ var TO220 = () => {
|
|
|
3847
3926
|
const bodyBackX = fullLength10 + bodyLength10 / 2;
|
|
3848
3927
|
const prongCenterX = bodyFrontX - prongLength / 2;
|
|
3849
3928
|
const padCenterX = bodyBackX + padLength / 2;
|
|
3850
|
-
return /* @__PURE__ */
|
|
3851
|
-
/* @__PURE__ */
|
|
3852
|
-
/* @__PURE__ */
|
|
3853
|
-
/* @__PURE__ */
|
|
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(
|
|
3854
3933
|
Cuboid34,
|
|
3855
3934
|
{
|
|
3856
3935
|
color: "#ccc",
|
|
@@ -3858,7 +3937,7 @@ var TO220 = () => {
|
|
|
3858
3937
|
center: [padCenterX, 0, padThickness - 2]
|
|
3859
3938
|
}
|
|
3860
3939
|
),
|
|
3861
|
-
/* @__PURE__ */
|
|
3940
|
+
/* @__PURE__ */ jsx56(
|
|
3862
3941
|
Cylinder7,
|
|
3863
3942
|
{
|
|
3864
3943
|
color: "black",
|
|
@@ -3868,7 +3947,7 @@ var TO220 = () => {
|
|
|
3868
3947
|
}
|
|
3869
3948
|
)
|
|
3870
3949
|
] }),
|
|
3871
|
-
/* @__PURE__ */
|
|
3950
|
+
/* @__PURE__ */ jsx56(Colorize27, { color: "#222", children: /* @__PURE__ */ jsx56(
|
|
3872
3951
|
ChipBody,
|
|
3873
3952
|
{
|
|
3874
3953
|
width: bodyWidth,
|
|
@@ -3882,29 +3961,29 @@ var TO220 = () => {
|
|
|
3882
3961
|
}
|
|
3883
3962
|
) })
|
|
3884
3963
|
] }),
|
|
3885
|
-
/* @__PURE__ */
|
|
3964
|
+
/* @__PURE__ */ jsx56(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
|
|
3886
3965
|
const x = prongCenterX;
|
|
3887
3966
|
const y = (i - 1) * prongPitch;
|
|
3888
3967
|
const z = -prongHeight - 0.6;
|
|
3889
|
-
return /* @__PURE__ */
|
|
3890
|
-
/* @__PURE__ */
|
|
3891
|
-
/* @__PURE__ */
|
|
3892
|
-
/* @__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(
|
|
3893
3972
|
Translate22,
|
|
3894
3973
|
{
|
|
3895
3974
|
center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
|
|
3896
|
-
children: /* @__PURE__ */
|
|
3975
|
+
children: /* @__PURE__ */ jsx56(Cuboid34, { size: [bodyHeight, prongWidth, prongHeight] })
|
|
3897
3976
|
}
|
|
3898
3977
|
)
|
|
3899
3978
|
] }),
|
|
3900
|
-
/* @__PURE__ */
|
|
3979
|
+
/* @__PURE__ */ jsx56(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx56(Cuboid34, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
|
|
3901
3980
|
] }, `prong-${i}`);
|
|
3902
3981
|
}) })
|
|
3903
3982
|
] }) });
|
|
3904
3983
|
};
|
|
3905
3984
|
|
|
3906
3985
|
// lib/SOT-457.tsx
|
|
3907
|
-
import { Fragment as
|
|
3986
|
+
import { Fragment as Fragment53, jsx as jsx57, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
3908
3987
|
var SOT457 = () => {
|
|
3909
3988
|
const fullWidth = 2.8;
|
|
3910
3989
|
const bodyWidth = 1.6;
|
|
@@ -3916,8 +3995,8 @@ var SOT457 = () => {
|
|
|
3916
3995
|
const padContactLength = 0.5;
|
|
3917
3996
|
const padPitch = 0.95;
|
|
3918
3997
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
3919
|
-
return /* @__PURE__ */
|
|
3920
|
-
/* @__PURE__ */
|
|
3998
|
+
return /* @__PURE__ */ jsxs53(Fragment53, { children: [
|
|
3999
|
+
/* @__PURE__ */ jsx57(
|
|
3921
4000
|
SmdChipLead,
|
|
3922
4001
|
{
|
|
3923
4002
|
rotation: Math.PI,
|
|
@@ -3934,7 +4013,7 @@ var SOT457 = () => {
|
|
|
3934
4013
|
},
|
|
3935
4014
|
1
|
|
3936
4015
|
),
|
|
3937
|
-
/* @__PURE__ */
|
|
4016
|
+
/* @__PURE__ */ jsx57(
|
|
3938
4017
|
SmdChipLead,
|
|
3939
4018
|
{
|
|
3940
4019
|
rotation: Math.PI,
|
|
@@ -3951,7 +4030,7 @@ var SOT457 = () => {
|
|
|
3951
4030
|
},
|
|
3952
4031
|
2
|
|
3953
4032
|
),
|
|
3954
|
-
/* @__PURE__ */
|
|
4033
|
+
/* @__PURE__ */ jsx57(
|
|
3955
4034
|
SmdChipLead,
|
|
3956
4035
|
{
|
|
3957
4036
|
rotation: Math.PI,
|
|
@@ -3968,7 +4047,7 @@ var SOT457 = () => {
|
|
|
3968
4047
|
},
|
|
3969
4048
|
3
|
|
3970
4049
|
),
|
|
3971
|
-
/* @__PURE__ */
|
|
4050
|
+
/* @__PURE__ */ jsx57(
|
|
3972
4051
|
SmdChipLead,
|
|
3973
4052
|
{
|
|
3974
4053
|
position: {
|
|
@@ -3984,7 +4063,7 @@ var SOT457 = () => {
|
|
|
3984
4063
|
},
|
|
3985
4064
|
3
|
|
3986
4065
|
),
|
|
3987
|
-
/* @__PURE__ */
|
|
4066
|
+
/* @__PURE__ */ jsx57(
|
|
3988
4067
|
SmdChipLead,
|
|
3989
4068
|
{
|
|
3990
4069
|
position: {
|
|
@@ -4000,7 +4079,7 @@ var SOT457 = () => {
|
|
|
4000
4079
|
},
|
|
4001
4080
|
1
|
|
4002
4081
|
),
|
|
4003
|
-
/* @__PURE__ */
|
|
4082
|
+
/* @__PURE__ */ jsx57(
|
|
4004
4083
|
SmdChipLead,
|
|
4005
4084
|
{
|
|
4006
4085
|
position: {
|
|
@@ -4016,7 +4095,7 @@ var SOT457 = () => {
|
|
|
4016
4095
|
},
|
|
4017
4096
|
2
|
|
4018
4097
|
),
|
|
4019
|
-
/* @__PURE__ */
|
|
4098
|
+
/* @__PURE__ */ jsx57(
|
|
4020
4099
|
ChipBody,
|
|
4021
4100
|
{
|
|
4022
4101
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4037,7 +4116,7 @@ var SOT457 = () => {
|
|
|
4037
4116
|
|
|
4038
4117
|
// lib/SOT-963.tsx
|
|
4039
4118
|
import { Cuboid as Cuboid35 } from "jscad-fiber";
|
|
4040
|
-
import { Fragment as
|
|
4119
|
+
import { Fragment as Fragment54, jsx as jsx58, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4041
4120
|
var SOT963 = () => {
|
|
4042
4121
|
const bodyWidth = 0.8;
|
|
4043
4122
|
const bodyLength10 = 1;
|
|
@@ -4048,8 +4127,8 @@ var SOT963 = () => {
|
|
|
4048
4127
|
const pitch = 0.35;
|
|
4049
4128
|
const pinsPerSide = 3;
|
|
4050
4129
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
4051
|
-
return /* @__PURE__ */
|
|
4052
|
-
/* @__PURE__ */
|
|
4130
|
+
return /* @__PURE__ */ jsxs54(Fragment54, { children: [
|
|
4131
|
+
/* @__PURE__ */ jsx58(
|
|
4053
4132
|
ChipBody,
|
|
4054
4133
|
{
|
|
4055
4134
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4069,7 +4148,7 @@ var SOT963 = () => {
|
|
|
4069
4148
|
),
|
|
4070
4149
|
[0, 1, 2].map((i) => {
|
|
4071
4150
|
const y = -pinSpan / 2 + i * pitch;
|
|
4072
|
-
return /* @__PURE__ */
|
|
4151
|
+
return /* @__PURE__ */ jsx58(
|
|
4073
4152
|
Cuboid35,
|
|
4074
4153
|
{
|
|
4075
4154
|
center: [
|
|
@@ -4084,7 +4163,7 @@ var SOT963 = () => {
|
|
|
4084
4163
|
}),
|
|
4085
4164
|
[0, 1, 2].map((i) => {
|
|
4086
4165
|
const y = -pinSpan / 2 + i * pitch;
|
|
4087
|
-
return /* @__PURE__ */
|
|
4166
|
+
return /* @__PURE__ */ jsx58(
|
|
4088
4167
|
Cuboid35,
|
|
4089
4168
|
{
|
|
4090
4169
|
center: [
|
|
@@ -4109,7 +4188,7 @@ import {
|
|
|
4109
4188
|
Cylinder as Cylinder8,
|
|
4110
4189
|
Subtract as Subtract5
|
|
4111
4190
|
} from "jscad-fiber";
|
|
4112
|
-
import { jsx as
|
|
4191
|
+
import { jsx as jsx59, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4113
4192
|
var TO92 = () => {
|
|
4114
4193
|
const bodyRadius = 2.4;
|
|
4115
4194
|
const bodyHeight = 4.5;
|
|
@@ -4130,24 +4209,24 @@ var TO92 = () => {
|
|
|
4130
4209
|
const leadMidPosB = [0, 1.28, -2.72];
|
|
4131
4210
|
const leadTipPos2 = [0, 1.28, -8.9];
|
|
4132
4211
|
const sideLeadZ = -7.5;
|
|
4133
|
-
return /* @__PURE__ */
|
|
4134
|
-
/* @__PURE__ */
|
|
4135
|
-
/* @__PURE__ */
|
|
4136
|
-
/* @__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] }) })
|
|
4137
4216
|
] }) }),
|
|
4138
|
-
/* @__PURE__ */
|
|
4139
|
-
/* @__PURE__ */
|
|
4140
|
-
/* @__PURE__ */
|
|
4141
|
-
/* @__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 }) })
|
|
4142
4221
|
] }),
|
|
4143
|
-
/* @__PURE__ */
|
|
4144
|
-
/* @__PURE__ */
|
|
4145
|
-
/* @__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] }) })
|
|
4146
4225
|
] });
|
|
4147
4226
|
};
|
|
4148
4227
|
|
|
4149
4228
|
// lib/SOT-363.tsx
|
|
4150
|
-
import { Fragment as
|
|
4229
|
+
import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4151
4230
|
var SOT363 = () => {
|
|
4152
4231
|
const fullWidth = 2;
|
|
4153
4232
|
const bodyWidth = 1.25;
|
|
@@ -4158,8 +4237,8 @@ var SOT363 = () => {
|
|
|
4158
4237
|
const leadHeight = 0.85;
|
|
4159
4238
|
const padContactLength = 0.3;
|
|
4160
4239
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
4161
|
-
return /* @__PURE__ */
|
|
4162
|
-
/* @__PURE__ */
|
|
4240
|
+
return /* @__PURE__ */ jsxs56(Fragment55, { children: [
|
|
4241
|
+
/* @__PURE__ */ jsx60(
|
|
4163
4242
|
SmdChipLead,
|
|
4164
4243
|
{
|
|
4165
4244
|
rotation: Math.PI,
|
|
@@ -4176,7 +4255,7 @@ var SOT363 = () => {
|
|
|
4176
4255
|
},
|
|
4177
4256
|
1
|
|
4178
4257
|
),
|
|
4179
|
-
/* @__PURE__ */
|
|
4258
|
+
/* @__PURE__ */ jsx60(
|
|
4180
4259
|
SmdChipLead,
|
|
4181
4260
|
{
|
|
4182
4261
|
rotation: Math.PI,
|
|
@@ -4193,7 +4272,7 @@ var SOT363 = () => {
|
|
|
4193
4272
|
},
|
|
4194
4273
|
2
|
|
4195
4274
|
),
|
|
4196
|
-
/* @__PURE__ */
|
|
4275
|
+
/* @__PURE__ */ jsx60(
|
|
4197
4276
|
SmdChipLead,
|
|
4198
4277
|
{
|
|
4199
4278
|
rotation: Math.PI,
|
|
@@ -4210,7 +4289,7 @@ var SOT363 = () => {
|
|
|
4210
4289
|
},
|
|
4211
4290
|
3
|
|
4212
4291
|
),
|
|
4213
|
-
/* @__PURE__ */
|
|
4292
|
+
/* @__PURE__ */ jsx60(
|
|
4214
4293
|
SmdChipLead,
|
|
4215
4294
|
{
|
|
4216
4295
|
position: {
|
|
@@ -4226,7 +4305,7 @@ var SOT363 = () => {
|
|
|
4226
4305
|
},
|
|
4227
4306
|
3
|
|
4228
4307
|
),
|
|
4229
|
-
/* @__PURE__ */
|
|
4308
|
+
/* @__PURE__ */ jsx60(
|
|
4230
4309
|
SmdChipLead,
|
|
4231
4310
|
{
|
|
4232
4311
|
position: {
|
|
@@ -4242,7 +4321,7 @@ var SOT363 = () => {
|
|
|
4242
4321
|
},
|
|
4243
4322
|
1
|
|
4244
4323
|
),
|
|
4245
|
-
/* @__PURE__ */
|
|
4324
|
+
/* @__PURE__ */ jsx60(
|
|
4246
4325
|
SmdChipLead,
|
|
4247
4326
|
{
|
|
4248
4327
|
position: {
|
|
@@ -4258,7 +4337,7 @@ var SOT363 = () => {
|
|
|
4258
4337
|
},
|
|
4259
4338
|
2
|
|
4260
4339
|
),
|
|
4261
|
-
/* @__PURE__ */
|
|
4340
|
+
/* @__PURE__ */ jsx60(
|
|
4262
4341
|
ChipBody,
|
|
4263
4342
|
{
|
|
4264
4343
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4280,7 +4359,7 @@ var SOT_363_default = SOT363;
|
|
|
4280
4359
|
|
|
4281
4360
|
// lib/SOT-886.tsx
|
|
4282
4361
|
import { Cuboid as Cuboid37 } from "jscad-fiber";
|
|
4283
|
-
import { Fragment as
|
|
4362
|
+
import { Fragment as Fragment56, jsx as jsx61, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4284
4363
|
var SOT886 = () => {
|
|
4285
4364
|
const bodyWidth = 1;
|
|
4286
4365
|
const bodyLength10 = 1.45;
|
|
@@ -4291,8 +4370,8 @@ var SOT886 = () => {
|
|
|
4291
4370
|
const pitch = 0.5;
|
|
4292
4371
|
const pinsPerSide = 3;
|
|
4293
4372
|
const pinSpan = pitch * (pinsPerSide - 1);
|
|
4294
|
-
return /* @__PURE__ */
|
|
4295
|
-
/* @__PURE__ */
|
|
4373
|
+
return /* @__PURE__ */ jsxs57(Fragment56, { children: [
|
|
4374
|
+
/* @__PURE__ */ jsx61(
|
|
4296
4375
|
ChipBody,
|
|
4297
4376
|
{
|
|
4298
4377
|
center: { x: 0, y: 0, z: terminalThickness },
|
|
@@ -4307,7 +4386,7 @@ var SOT886 = () => {
|
|
|
4307
4386
|
),
|
|
4308
4387
|
[0, 1, 2].map((i) => {
|
|
4309
4388
|
const y = -pinSpan / 2 + i * pitch;
|
|
4310
|
-
return /* @__PURE__ */
|
|
4389
|
+
return /* @__PURE__ */ jsx61(
|
|
4311
4390
|
Cuboid37,
|
|
4312
4391
|
{
|
|
4313
4392
|
center: [
|
|
@@ -4322,7 +4401,7 @@ var SOT886 = () => {
|
|
|
4322
4401
|
}),
|
|
4323
4402
|
[0, 1, 2].map((i) => {
|
|
4324
4403
|
const y = -pinSpan / 2 + i * pitch;
|
|
4325
|
-
return /* @__PURE__ */
|
|
4404
|
+
return /* @__PURE__ */ jsx61(
|
|
4326
4405
|
Cuboid37,
|
|
4327
4406
|
{
|
|
4328
4407
|
center: [
|
|
@@ -4340,7 +4419,7 @@ var SOT886 = () => {
|
|
|
4340
4419
|
|
|
4341
4420
|
// lib/sod-323.tsx
|
|
4342
4421
|
import { Colorize as Colorize29, Cuboid as Cuboid38 } from "jscad-fiber";
|
|
4343
|
-
import { Fragment as
|
|
4422
|
+
import { Fragment as Fragment57, jsx as jsx62, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4344
4423
|
var SOD323 = () => {
|
|
4345
4424
|
const fullWidth = 2.5;
|
|
4346
4425
|
const bodyLength10 = 1.25;
|
|
@@ -4352,8 +4431,8 @@ var SOD323 = () => {
|
|
|
4352
4431
|
const padCenterX = bodyWidth / 2;
|
|
4353
4432
|
const bodyDistance = 0.45;
|
|
4354
4433
|
const leadHeight = 0.7;
|
|
4355
|
-
return /* @__PURE__ */
|
|
4356
|
-
/* @__PURE__ */
|
|
4434
|
+
return /* @__PURE__ */ jsxs58(Fragment57, { children: [
|
|
4435
|
+
/* @__PURE__ */ jsx62(
|
|
4357
4436
|
SmdChipLead,
|
|
4358
4437
|
{
|
|
4359
4438
|
position: {
|
|
@@ -4369,7 +4448,7 @@ var SOD323 = () => {
|
|
|
4369
4448
|
},
|
|
4370
4449
|
1
|
|
4371
4450
|
),
|
|
4372
|
-
/* @__PURE__ */
|
|
4451
|
+
/* @__PURE__ */ jsx62(
|
|
4373
4452
|
SmdChipLead,
|
|
4374
4453
|
{
|
|
4375
4454
|
rotation: Math.PI,
|
|
@@ -4386,7 +4465,7 @@ var SOD323 = () => {
|
|
|
4386
4465
|
},
|
|
4387
4466
|
1
|
|
4388
4467
|
),
|
|
4389
|
-
/* @__PURE__ */
|
|
4468
|
+
/* @__PURE__ */ jsx62(Colorize29, { color: "#222", children: /* @__PURE__ */ jsx62(
|
|
4390
4469
|
ChipBody,
|
|
4391
4470
|
{
|
|
4392
4471
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -4399,7 +4478,7 @@ var SOD323 = () => {
|
|
|
4399
4478
|
heightAboveSurface: 0.05
|
|
4400
4479
|
}
|
|
4401
4480
|
) }),
|
|
4402
|
-
/* @__PURE__ */
|
|
4481
|
+
/* @__PURE__ */ jsx62(
|
|
4403
4482
|
Cuboid38,
|
|
4404
4483
|
{
|
|
4405
4484
|
color: "#777",
|
|
@@ -4412,7 +4491,7 @@ var SOD323 = () => {
|
|
|
4412
4491
|
|
|
4413
4492
|
// lib/sod-323F.tsx
|
|
4414
4493
|
import { Colorize as Colorize30, Cuboid as Cuboid39, Hull as Hull22, Translate as Translate25, Union as Union17 } from "jscad-fiber";
|
|
4415
|
-
import { Fragment as
|
|
4494
|
+
import { Fragment as Fragment58, jsx as jsx63, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4416
4495
|
var SOD323F = () => {
|
|
4417
4496
|
const fullWidth = 1.7;
|
|
4418
4497
|
const bodyLength10 = 1.25;
|
|
@@ -4424,8 +4503,8 @@ var SOD323F = () => {
|
|
|
4424
4503
|
const rightPadCenterX = fullWidth / 2 + padLength / 2;
|
|
4425
4504
|
const taperOffset = 0.2;
|
|
4426
4505
|
const straightHeight = padThickness;
|
|
4427
|
-
return /* @__PURE__ */
|
|
4428
|
-
/* @__PURE__ */
|
|
4506
|
+
return /* @__PURE__ */ jsxs59(Fragment58, { children: [
|
|
4507
|
+
/* @__PURE__ */ jsx63(
|
|
4429
4508
|
Cuboid39,
|
|
4430
4509
|
{
|
|
4431
4510
|
color: "#ccc",
|
|
@@ -4433,7 +4512,7 @@ var SOD323F = () => {
|
|
|
4433
4512
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4434
4513
|
}
|
|
4435
4514
|
),
|
|
4436
|
-
/* @__PURE__ */
|
|
4515
|
+
/* @__PURE__ */ jsx63(
|
|
4437
4516
|
Cuboid39,
|
|
4438
4517
|
{
|
|
4439
4518
|
color: "#ccc",
|
|
@@ -4441,11 +4520,11 @@ var SOD323F = () => {
|
|
|
4441
4520
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4442
4521
|
}
|
|
4443
4522
|
),
|
|
4444
|
-
/* @__PURE__ */
|
|
4445
|
-
/* @__PURE__ */
|
|
4446
|
-
/* @__PURE__ */
|
|
4447
|
-
/* @__PURE__ */
|
|
4448
|
-
/* @__PURE__ */
|
|
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(
|
|
4449
4528
|
Cuboid39,
|
|
4450
4529
|
{
|
|
4451
4530
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -4453,7 +4532,7 @@ var SOD323F = () => {
|
|
|
4453
4532
|
) })
|
|
4454
4533
|
] })
|
|
4455
4534
|
] }) }),
|
|
4456
|
-
/* @__PURE__ */
|
|
4535
|
+
/* @__PURE__ */ jsx63(
|
|
4457
4536
|
Cuboid39,
|
|
4458
4537
|
{
|
|
4459
4538
|
color: "#777",
|
|
@@ -4466,7 +4545,7 @@ var SOD323F = () => {
|
|
|
4466
4545
|
|
|
4467
4546
|
// lib/sod-323FL.tsx
|
|
4468
4547
|
import { Colorize as Colorize31, Cuboid as Cuboid40 } from "jscad-fiber";
|
|
4469
|
-
import { Fragment as
|
|
4548
|
+
import { Fragment as Fragment59, jsx as jsx64, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4470
4549
|
var SOD323FL = () => {
|
|
4471
4550
|
const fullWidth = 1.775;
|
|
4472
4551
|
const bodyLength10 = 1.25;
|
|
@@ -4477,8 +4556,8 @@ var SOD323FL = () => {
|
|
|
4477
4556
|
const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
|
|
4478
4557
|
const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
|
|
4479
4558
|
const taperOffset = 0.2;
|
|
4480
|
-
return /* @__PURE__ */
|
|
4481
|
-
/* @__PURE__ */
|
|
4559
|
+
return /* @__PURE__ */ jsxs60(Fragment59, { children: [
|
|
4560
|
+
/* @__PURE__ */ jsx64(
|
|
4482
4561
|
Cuboid40,
|
|
4483
4562
|
{
|
|
4484
4563
|
color: "#ccc",
|
|
@@ -4486,7 +4565,7 @@ var SOD323FL = () => {
|
|
|
4486
4565
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4487
4566
|
}
|
|
4488
4567
|
),
|
|
4489
|
-
/* @__PURE__ */
|
|
4568
|
+
/* @__PURE__ */ jsx64(
|
|
4490
4569
|
Cuboid40,
|
|
4491
4570
|
{
|
|
4492
4571
|
color: "#ccc",
|
|
@@ -4494,7 +4573,7 @@ var SOD323FL = () => {
|
|
|
4494
4573
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4495
4574
|
}
|
|
4496
4575
|
),
|
|
4497
|
-
/* @__PURE__ */
|
|
4576
|
+
/* @__PURE__ */ jsx64(Colorize31, { color: "#222", children: /* @__PURE__ */ jsx64(
|
|
4498
4577
|
ChipBody,
|
|
4499
4578
|
{
|
|
4500
4579
|
width: fullWidth,
|
|
@@ -4507,7 +4586,7 @@ var SOD323FL = () => {
|
|
|
4507
4586
|
includeNotch: false
|
|
4508
4587
|
}
|
|
4509
4588
|
) }),
|
|
4510
|
-
/* @__PURE__ */
|
|
4589
|
+
/* @__PURE__ */ jsx64(
|
|
4511
4590
|
Cuboid40,
|
|
4512
4591
|
{
|
|
4513
4592
|
color: "#777",
|
|
@@ -4520,20 +4599,20 @@ var SOD323FL = () => {
|
|
|
4520
4599
|
|
|
4521
4600
|
// lib/AxialCapacitor.tsx
|
|
4522
4601
|
import { Colorize as Colorize32, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
|
|
4523
|
-
import { Fragment as
|
|
4602
|
+
import { Fragment as Fragment60, jsx as jsx65, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
4524
4603
|
var AxialCapacitor = ({ pitch = 10 }) => {
|
|
4525
4604
|
const heightToCenterOfCapacitor = 0.5 + 4 / 2;
|
|
4526
|
-
return /* @__PURE__ */
|
|
4527
|
-
/* @__PURE__ */
|
|
4528
|
-
/* @__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(
|
|
4529
4608
|
Sphere2,
|
|
4530
4609
|
{
|
|
4531
4610
|
radius: 0.5,
|
|
4532
4611
|
center: [-pitch / 2, 0, heightToCenterOfCapacitor]
|
|
4533
4612
|
}
|
|
4534
4613
|
),
|
|
4535
|
-
/* @__PURE__ */
|
|
4536
|
-
/* @__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(
|
|
4537
4616
|
Cylinder9,
|
|
4538
4617
|
{
|
|
4539
4618
|
height: pitch,
|
|
@@ -4541,7 +4620,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4541
4620
|
center: [0, 0, heightToCenterOfCapacitor]
|
|
4542
4621
|
}
|
|
4543
4622
|
),
|
|
4544
|
-
/* @__PURE__ */
|
|
4623
|
+
/* @__PURE__ */ jsx65(Colorize32, { color: "#d2b48c", children: /* @__PURE__ */ jsx65(
|
|
4545
4624
|
Cylinder9,
|
|
4546
4625
|
{
|
|
4547
4626
|
height: 5,
|
|
@@ -4550,14 +4629,14 @@ var AxialCapacitor = ({ pitch = 10 }) => {
|
|
|
4550
4629
|
}
|
|
4551
4630
|
) })
|
|
4552
4631
|
] }) }),
|
|
4553
|
-
/* @__PURE__ */
|
|
4554
|
-
/* @__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] })
|
|
4555
4634
|
] });
|
|
4556
4635
|
};
|
|
4557
4636
|
|
|
4558
4637
|
// lib/stampboard.tsx
|
|
4559
4638
|
import { Colorize as Colorize33, Cuboid as Cuboid41, Cylinder as Cylinder10, Subtract as Subtract6, Union as Union19 } from "jscad-fiber";
|
|
4560
|
-
import { Fragment as
|
|
4639
|
+
import { Fragment as Fragment61, jsx as jsx66, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
4561
4640
|
var StampBoard = ({
|
|
4562
4641
|
bodyWidth = 21,
|
|
4563
4642
|
boardThickness = 0.5,
|
|
@@ -4655,15 +4734,15 @@ var StampBoard = ({
|
|
|
4655
4734
|
}
|
|
4656
4735
|
}
|
|
4657
4736
|
}
|
|
4658
|
-
const boardBody = /* @__PURE__ */
|
|
4659
|
-
/* @__PURE__ */
|
|
4737
|
+
const boardBody = /* @__PURE__ */ jsx66(Colorize33, { color: "#051a0a", children: /* @__PURE__ */ jsxs62(Subtract6, { children: [
|
|
4738
|
+
/* @__PURE__ */ jsx66(
|
|
4660
4739
|
Cuboid41,
|
|
4661
4740
|
{
|
|
4662
4741
|
center: [0, 0, boardCenterZ],
|
|
4663
4742
|
size: [bodyWidth, bodyLength10, boardThickness]
|
|
4664
4743
|
}
|
|
4665
4744
|
),
|
|
4666
|
-
pads.map((pad, index) => /* @__PURE__ */
|
|
4745
|
+
pads.map((pad, index) => /* @__PURE__ */ jsx66(
|
|
4667
4746
|
Cuboid41,
|
|
4668
4747
|
{
|
|
4669
4748
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4672,7 +4751,7 @@ var StampBoard = ({
|
|
|
4672
4751
|
index
|
|
4673
4752
|
))
|
|
4674
4753
|
] }) });
|
|
4675
|
-
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */
|
|
4754
|
+
const holePads = innerHoles && holes.map((hole, index) => /* @__PURE__ */ jsx66(
|
|
4676
4755
|
Cylinder10,
|
|
4677
4756
|
{
|
|
4678
4757
|
color: "black",
|
|
@@ -4682,7 +4761,7 @@ var StampBoard = ({
|
|
|
4682
4761
|
},
|
|
4683
4762
|
index
|
|
4684
4763
|
));
|
|
4685
|
-
const rectPads = pads.map((pad, index) => /* @__PURE__ */
|
|
4764
|
+
const rectPads = pads.map((pad, index) => /* @__PURE__ */ jsx66(
|
|
4686
4765
|
Cuboid41,
|
|
4687
4766
|
{
|
|
4688
4767
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4690,10 +4769,10 @@ var StampBoard = ({
|
|
|
4690
4769
|
},
|
|
4691
4770
|
index
|
|
4692
4771
|
));
|
|
4693
|
-
return /* @__PURE__ */
|
|
4772
|
+
return /* @__PURE__ */ jsxs62(Fragment61, { children: [
|
|
4694
4773
|
boardBody,
|
|
4695
|
-
/* @__PURE__ */
|
|
4696
|
-
/* @__PURE__ */
|
|
4774
|
+
/* @__PURE__ */ jsx66(Colorize33, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs62(Subtract6, { children: [
|
|
4775
|
+
/* @__PURE__ */ jsx66(Union19, { children: pads.map((pad, index) => /* @__PURE__ */ jsx66(
|
|
4697
4776
|
Cuboid41,
|
|
4698
4777
|
{
|
|
4699
4778
|
center: [pad.x, pad.y, boardCenterZ],
|
|
@@ -4711,7 +4790,7 @@ import { Colorize as Colorize35, Cuboid as Cuboid43, Cylinder as Cylinder11, Sub
|
|
|
4711
4790
|
|
|
4712
4791
|
// lib/Screen.tsx
|
|
4713
4792
|
import { Colorize as Colorize34, Cuboid as Cuboid42, Subtract as Subtract7, Translate as Translate28 } from "jscad-fiber";
|
|
4714
|
-
import { jsx as
|
|
4793
|
+
import { jsx as jsx67, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
4715
4794
|
var Screen = ({
|
|
4716
4795
|
width: width10 = 30,
|
|
4717
4796
|
height: height10 = 22,
|
|
@@ -4739,23 +4818,23 @@ var Screen = ({
|
|
|
4739
4818
|
const offsetX = offset?.x ?? 0;
|
|
4740
4819
|
const offsetY = offset?.y ?? 0;
|
|
4741
4820
|
const offsetZ = offset?.z ?? 0;
|
|
4742
|
-
return /* @__PURE__ */
|
|
4743
|
-
backBlockHeight > 0 && /* @__PURE__ */
|
|
4821
|
+
return /* @__PURE__ */ jsxs63(Translate28, { offset: { x: offsetX, y: offsetY, z: offsetZ }, children: [
|
|
4822
|
+
backBlockHeight > 0 && /* @__PURE__ */ jsx67(Colorize34, { color: bezelColor, children: /* @__PURE__ */ jsx67(
|
|
4744
4823
|
Cuboid42,
|
|
4745
4824
|
{
|
|
4746
4825
|
size: [w, h, backBlockHeight],
|
|
4747
4826
|
offset: [0, 0, backBlockHeight / 2]
|
|
4748
4827
|
}
|
|
4749
4828
|
) }),
|
|
4750
|
-
/* @__PURE__ */
|
|
4751
|
-
/* @__PURE__ */
|
|
4829
|
+
/* @__PURE__ */ jsx67(Colorize34, { color: bezelColor, children: /* @__PURE__ */ jsxs63(Subtract7, { children: [
|
|
4830
|
+
/* @__PURE__ */ jsx67(
|
|
4752
4831
|
Cuboid42,
|
|
4753
4832
|
{
|
|
4754
4833
|
size: [w, h, clampedBezelDepth],
|
|
4755
4834
|
offset: [0, 0, backBlockHeight + clampedBezelDepth / 2]
|
|
4756
4835
|
}
|
|
4757
4836
|
),
|
|
4758
|
-
/* @__PURE__ */
|
|
4837
|
+
/* @__PURE__ */ jsx67(
|
|
4759
4838
|
Cuboid42,
|
|
4760
4839
|
{
|
|
4761
4840
|
size: [innerWidth, innerHeight, clampedBezelDepth + 0.02],
|
|
@@ -4763,7 +4842,7 @@ var Screen = ({
|
|
|
4763
4842
|
}
|
|
4764
4843
|
)
|
|
4765
4844
|
] }) }),
|
|
4766
|
-
/* @__PURE__ */
|
|
4845
|
+
/* @__PURE__ */ jsx67(Colorize34, { color: screenColor, children: /* @__PURE__ */ jsx67(
|
|
4767
4846
|
Cuboid42,
|
|
4768
4847
|
{
|
|
4769
4848
|
size: [innerWidth, innerHeight, screenThickness],
|
|
@@ -4775,7 +4854,7 @@ var Screen = ({
|
|
|
4775
4854
|
var Display = Screen;
|
|
4776
4855
|
|
|
4777
4856
|
// lib/MountedPcbModule.tsx
|
|
4778
|
-
import { Fragment as
|
|
4857
|
+
import { Fragment as Fragment62, jsx as jsx68, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
4779
4858
|
var MountedPcbModule = ({
|
|
4780
4859
|
numPins = 5,
|
|
4781
4860
|
rows = 1,
|
|
@@ -4876,15 +4955,15 @@ var MountedPcbModule = ({
|
|
|
4876
4955
|
const shortSidePinLength = 3;
|
|
4877
4956
|
const boardOffsetZ = nopin || female ? 0 : pinBodyHeight;
|
|
4878
4957
|
const boardTopZ = boardOffsetZ + boardThickness;
|
|
4879
|
-
const boardBody = /* @__PURE__ */
|
|
4880
|
-
/* @__PURE__ */
|
|
4958
|
+
const boardBody = /* @__PURE__ */ jsx68(Colorize35, { color: "#008080", children: /* @__PURE__ */ jsxs64(Subtract8, { children: [
|
|
4959
|
+
/* @__PURE__ */ jsx68(
|
|
4881
4960
|
Cuboid43,
|
|
4882
4961
|
{
|
|
4883
4962
|
center: [0, 0, boardCenterZ + boardOffsetZ],
|
|
4884
4963
|
size: [finalWidth, finalHeight, boardThickness]
|
|
4885
4964
|
}
|
|
4886
4965
|
),
|
|
4887
|
-
holePositions.map((hole, index) => /* @__PURE__ */
|
|
4966
|
+
holePositions.map((hole, index) => /* @__PURE__ */ jsx68(
|
|
4888
4967
|
Cylinder11,
|
|
4889
4968
|
{
|
|
4890
4969
|
center: [hole.x, hole.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4893,7 +4972,7 @@ var MountedPcbModule = ({
|
|
|
4893
4972
|
},
|
|
4894
4973
|
`hole-${index}`
|
|
4895
4974
|
)),
|
|
4896
|
-
pins.map((pin, index) => /* @__PURE__ */
|
|
4975
|
+
pins.map((pin, index) => /* @__PURE__ */ jsx68(
|
|
4897
4976
|
Cylinder11,
|
|
4898
4977
|
{
|
|
4899
4978
|
center: [pin.x, pin.y, boardCenterZ + boardOffsetZ],
|
|
@@ -4903,8 +4982,8 @@ var MountedPcbModule = ({
|
|
|
4903
4982
|
`pin-hole-${index}`
|
|
4904
4983
|
))
|
|
4905
4984
|
] }) });
|
|
4906
|
-
const platedHoles = pins.map((pin, index) => /* @__PURE__ */
|
|
4907
|
-
/* @__PURE__ */
|
|
4985
|
+
const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx68(Colorize35, { color: "#FFD700", children: /* @__PURE__ */ jsxs64(Subtract8, { children: [
|
|
4986
|
+
/* @__PURE__ */ jsx68(
|
|
4908
4987
|
Cylinder11,
|
|
4909
4988
|
{
|
|
4910
4989
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4912,7 +4991,7 @@ var MountedPcbModule = ({
|
|
|
4912
4991
|
height: boardThickness
|
|
4913
4992
|
}
|
|
4914
4993
|
),
|
|
4915
|
-
/* @__PURE__ */
|
|
4994
|
+
/* @__PURE__ */ jsx68(
|
|
4916
4995
|
Cylinder11,
|
|
4917
4996
|
{
|
|
4918
4997
|
center: [pin.x, pin.y, boardThickness / 2 + boardOffsetZ],
|
|
@@ -4921,7 +5000,7 @@ var MountedPcbModule = ({
|
|
|
4921
5000
|
}
|
|
4922
5001
|
)
|
|
4923
5002
|
] }) }, `pin-${index}`));
|
|
4924
|
-
const headerPins = pins.map((pin, index) => /* @__PURE__ */
|
|
5003
|
+
const headerPins = pins.map((pin, index) => /* @__PURE__ */ jsx68(
|
|
4925
5004
|
PinHeader,
|
|
4926
5005
|
{
|
|
4927
5006
|
x: pin.x,
|
|
@@ -4934,7 +5013,7 @@ var MountedPcbModule = ({
|
|
|
4934
5013
|
},
|
|
4935
5014
|
`pin-3d-${index}`
|
|
4936
5015
|
));
|
|
4937
|
-
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */
|
|
5016
|
+
const femaleHeaderRow = pins.map((pin, index) => /* @__PURE__ */ jsx68(
|
|
4938
5017
|
FemaleHeader,
|
|
4939
5018
|
{
|
|
4940
5019
|
x: pin.x,
|
|
@@ -4943,12 +5022,12 @@ var MountedPcbModule = ({
|
|
|
4943
5022
|
},
|
|
4944
5023
|
`female-pin-3d-${index}`
|
|
4945
5024
|
));
|
|
4946
|
-
return /* @__PURE__ */
|
|
5025
|
+
return /* @__PURE__ */ jsxs64(Fragment62, { children: [
|
|
4947
5026
|
boardBody,
|
|
4948
5027
|
platedHoles,
|
|
4949
5028
|
!female && !nopin && headerPins,
|
|
4950
5029
|
female && femaleHeaderRow,
|
|
4951
|
-
showScreen && /* @__PURE__ */
|
|
5030
|
+
showScreen && /* @__PURE__ */ jsx68(
|
|
4952
5031
|
Screen,
|
|
4953
5032
|
{
|
|
4954
5033
|
width: screenWidth ?? finalWidth * 0.8,
|
|
@@ -4965,7 +5044,7 @@ var MountedPcbModule = ({
|
|
|
4965
5044
|
|
|
4966
5045
|
// lib/SOD723.tsx
|
|
4967
5046
|
import { Colorize as Colorize36, Cuboid as Cuboid44, Hull as Hull24, Translate as Translate29, Union as Union20 } from "jscad-fiber";
|
|
4968
|
-
import { Fragment as
|
|
5047
|
+
import { Fragment as Fragment63, jsx as jsx69, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
4969
5048
|
var SOD723 = () => {
|
|
4970
5049
|
const fullWidth = 1.4;
|
|
4971
5050
|
const bodyLength10 = 0.6;
|
|
@@ -4978,8 +5057,8 @@ var SOD723 = () => {
|
|
|
4978
5057
|
const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
|
|
4979
5058
|
const taperOffset = 0.2;
|
|
4980
5059
|
const straightHeight = bodyHeight * 0.24;
|
|
4981
|
-
return /* @__PURE__ */
|
|
4982
|
-
/* @__PURE__ */
|
|
5060
|
+
return /* @__PURE__ */ jsxs65(Fragment63, { children: [
|
|
5061
|
+
/* @__PURE__ */ jsx69(
|
|
4983
5062
|
Cuboid44,
|
|
4984
5063
|
{
|
|
4985
5064
|
color: "#ccc",
|
|
@@ -4987,7 +5066,7 @@ var SOD723 = () => {
|
|
|
4987
5066
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
4988
5067
|
}
|
|
4989
5068
|
),
|
|
4990
|
-
/* @__PURE__ */
|
|
5069
|
+
/* @__PURE__ */ jsx69(
|
|
4991
5070
|
Cuboid44,
|
|
4992
5071
|
{
|
|
4993
5072
|
color: "#ccc",
|
|
@@ -4995,11 +5074,11 @@ var SOD723 = () => {
|
|
|
4995
5074
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
4996
5075
|
}
|
|
4997
5076
|
),
|
|
4998
|
-
/* @__PURE__ */
|
|
4999
|
-
/* @__PURE__ */
|
|
5000
|
-
/* @__PURE__ */
|
|
5001
|
-
/* @__PURE__ */
|
|
5002
|
-
/* @__PURE__ */
|
|
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(
|
|
5003
5082
|
Cuboid44,
|
|
5004
5083
|
{
|
|
5005
5084
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
@@ -5007,7 +5086,7 @@ var SOD723 = () => {
|
|
|
5007
5086
|
) })
|
|
5008
5087
|
] })
|
|
5009
5088
|
] }) }),
|
|
5010
|
-
/* @__PURE__ */
|
|
5089
|
+
/* @__PURE__ */ jsx69(
|
|
5011
5090
|
Cuboid44,
|
|
5012
5091
|
{
|
|
5013
5092
|
color: "#777",
|
|
@@ -5028,7 +5107,7 @@ import {
|
|
|
5028
5107
|
Subtract as Subtract9,
|
|
5029
5108
|
Translate as Translate30
|
|
5030
5109
|
} from "jscad-fiber";
|
|
5031
|
-
import { Fragment as
|
|
5110
|
+
import { Fragment as Fragment64, jsx as jsx70, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5032
5111
|
var JSTZH1_5mm = ({
|
|
5033
5112
|
numPins = 7,
|
|
5034
5113
|
showPins = true,
|
|
@@ -5044,16 +5123,16 @@ var JSTZH1_5mm = ({
|
|
|
5044
5123
|
const pinLength = 6;
|
|
5045
5124
|
const bodyWidth = (numPins - 1) * pitch + 4;
|
|
5046
5125
|
const startX = -((numPins - 1) * pitch) / 2;
|
|
5047
|
-
return /* @__PURE__ */
|
|
5048
|
-
/* @__PURE__ */
|
|
5049
|
-
/* @__PURE__ */
|
|
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(
|
|
5050
5129
|
Cuboid45,
|
|
5051
5130
|
{
|
|
5052
5131
|
size: [bodyWidth, bodyDepth, bodyHeight],
|
|
5053
5132
|
center: [0, 0, bodyHeight / 2]
|
|
5054
5133
|
}
|
|
5055
5134
|
),
|
|
5056
|
-
/* @__PURE__ */
|
|
5135
|
+
/* @__PURE__ */ jsx70(
|
|
5057
5136
|
Cuboid45,
|
|
5058
5137
|
{
|
|
5059
5138
|
size: [
|
|
@@ -5064,14 +5143,14 @@ var JSTZH1_5mm = ({
|
|
|
5064
5143
|
center: [0, 0, hollowHeight / 2]
|
|
5065
5144
|
}
|
|
5066
5145
|
),
|
|
5067
|
-
/* @__PURE__ */
|
|
5146
|
+
/* @__PURE__ */ jsx70(
|
|
5068
5147
|
Cuboid45,
|
|
5069
5148
|
{
|
|
5070
5149
|
size: [bodyWidth, bodyDepth / 3, hollowHeight],
|
|
5071
5150
|
center: [0, 0, hollowHeight / 6]
|
|
5072
5151
|
}
|
|
5073
5152
|
),
|
|
5074
|
-
/* @__PURE__ */
|
|
5153
|
+
/* @__PURE__ */ jsx70(
|
|
5075
5154
|
Cuboid45,
|
|
5076
5155
|
{
|
|
5077
5156
|
size: [
|
|
@@ -5086,7 +5165,7 @@ var JSTZH1_5mm = ({
|
|
|
5086
5165
|
]
|
|
5087
5166
|
}
|
|
5088
5167
|
),
|
|
5089
|
-
/* @__PURE__ */
|
|
5168
|
+
/* @__PURE__ */ jsx70(
|
|
5090
5169
|
Cuboid45,
|
|
5091
5170
|
{
|
|
5092
5171
|
size: [
|
|
@@ -5101,28 +5180,28 @@ var JSTZH1_5mm = ({
|
|
|
5101
5180
|
]
|
|
5102
5181
|
}
|
|
5103
5182
|
),
|
|
5104
|
-
/* @__PURE__ */
|
|
5183
|
+
/* @__PURE__ */ jsx70(
|
|
5105
5184
|
Cuboid45,
|
|
5106
5185
|
{
|
|
5107
5186
|
size: [1, wallThickness + 2, 1],
|
|
5108
5187
|
center: [-bodyWidth / 4, bodyDepth / 2, bodyHeight / 2]
|
|
5109
5188
|
}
|
|
5110
5189
|
),
|
|
5111
|
-
/* @__PURE__ */
|
|
5190
|
+
/* @__PURE__ */ jsx70(
|
|
5112
5191
|
Cuboid45,
|
|
5113
5192
|
{
|
|
5114
5193
|
size: [1, wallThickness + 3, 1],
|
|
5115
5194
|
center: [bodyWidth / 4, bodyDepth / 2, bodyHeight / 2]
|
|
5116
5195
|
}
|
|
5117
5196
|
),
|
|
5118
|
-
/* @__PURE__ */
|
|
5197
|
+
/* @__PURE__ */ jsx70(
|
|
5119
5198
|
Cuboid45,
|
|
5120
5199
|
{
|
|
5121
5200
|
size: [1, wallThickness + 2, 1],
|
|
5122
5201
|
center: [-bodyWidth / 4, -bodyDepth / 2, bodyHeight / 2]
|
|
5123
5202
|
}
|
|
5124
5203
|
),
|
|
5125
|
-
/* @__PURE__ */
|
|
5204
|
+
/* @__PURE__ */ jsx70(
|
|
5126
5205
|
Cuboid45,
|
|
5127
5206
|
{
|
|
5128
5207
|
size: [1, wallThickness + 3, 1],
|
|
@@ -5130,7 +5209,7 @@ var JSTZH1_5mm = ({
|
|
|
5130
5209
|
}
|
|
5131
5210
|
)
|
|
5132
5211
|
] }) }) }) }),
|
|
5133
|
-
showPins && Array.from({ length: numPins }).map((_, i) => /* @__PURE__ */
|
|
5212
|
+
showPins && Array.from({ length: numPins }).map((_, i) => /* @__PURE__ */ jsx70(Colorize37, { color: pinColor, children: /* @__PURE__ */ jsx70(
|
|
5134
5213
|
Cylinder12,
|
|
5135
5214
|
{
|
|
5136
5215
|
height: pinLength,
|
|
@@ -5166,7 +5245,7 @@ var JSTZH1_5mm = ({
|
|
|
5166
5245
|
layers: ["top", "bottom"],
|
|
5167
5246
|
port_hints: [`${i + 1}`]
|
|
5168
5247
|
};
|
|
5169
|
-
return /* @__PURE__ */
|
|
5248
|
+
return /* @__PURE__ */ jsx70(
|
|
5170
5249
|
FootprintPlatedHole,
|
|
5171
5250
|
{
|
|
5172
5251
|
hole,
|
|
@@ -5188,7 +5267,7 @@ import {
|
|
|
5188
5267
|
Subtract as Subtract10,
|
|
5189
5268
|
Translate as Translate31
|
|
5190
5269
|
} from "jscad-fiber";
|
|
5191
|
-
import { Fragment as
|
|
5270
|
+
import { Fragment as Fragment65, jsx as jsx71, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5192
5271
|
var HOUSING_COLOR = "#303339";
|
|
5193
5272
|
var HOUSING_SHADOW = "#1f2227";
|
|
5194
5273
|
var ACTUATOR_COLOR = "#eee8d8";
|
|
@@ -5275,8 +5354,8 @@ var FPC = ({
|
|
|
5275
5354
|
const clipCapX = bodyWidth / 2 - 0.23;
|
|
5276
5355
|
const sideBossX = bodyWidth / 2 - 0.32;
|
|
5277
5356
|
const sideBossWidth = 0.68;
|
|
5278
|
-
return /* @__PURE__ */
|
|
5279
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5357
|
+
return /* @__PURE__ */ jsxs67(Fragment65, { children: [
|
|
5358
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5280
5359
|
Cuboid46,
|
|
5281
5360
|
{
|
|
5282
5361
|
color: TIN_COLOR,
|
|
@@ -5285,7 +5364,7 @@ var FPC = ({
|
|
|
5285
5364
|
},
|
|
5286
5365
|
`mount-pad:${direction}`
|
|
5287
5366
|
)),
|
|
5288
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5367
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx71(
|
|
5289
5368
|
Cuboid46,
|
|
5290
5369
|
{
|
|
5291
5370
|
color: TIN_COLOR,
|
|
@@ -5294,7 +5373,7 @@ var FPC = ({
|
|
|
5294
5373
|
},
|
|
5295
5374
|
`terminal:${contact.index}`
|
|
5296
5375
|
)),
|
|
5297
|
-
/* @__PURE__ */
|
|
5376
|
+
/* @__PURE__ */ jsx71(
|
|
5298
5377
|
RoundedCuboid3,
|
|
5299
5378
|
{
|
|
5300
5379
|
color: HOUSING_SHADOW,
|
|
@@ -5303,8 +5382,8 @@ var FPC = ({
|
|
|
5303
5382
|
roundRadius: 0.1
|
|
5304
5383
|
}
|
|
5305
5384
|
),
|
|
5306
|
-
/* @__PURE__ */
|
|
5307
|
-
/* @__PURE__ */
|
|
5385
|
+
/* @__PURE__ */ jsx71(Colorize38, { color: HOUSING_COLOR, children: /* @__PURE__ */ jsxs67(Subtract10, { children: [
|
|
5386
|
+
/* @__PURE__ */ jsx71(
|
|
5308
5387
|
RoundedCuboid3,
|
|
5309
5388
|
{
|
|
5310
5389
|
center: [0, housingCenterY, housingBaseHeight + housingHeight / 2],
|
|
@@ -5312,14 +5391,14 @@ var FPC = ({
|
|
|
5312
5391
|
roundRadius: 0.14
|
|
5313
5392
|
}
|
|
5314
5393
|
),
|
|
5315
|
-
/* @__PURE__ */
|
|
5394
|
+
/* @__PURE__ */ jsx71(
|
|
5316
5395
|
Cuboid46,
|
|
5317
5396
|
{
|
|
5318
5397
|
center: [0, throatCenterY, throatCenterZ],
|
|
5319
5398
|
size: [openingWidth, throatDepth, throatHeight]
|
|
5320
5399
|
}
|
|
5321
5400
|
),
|
|
5322
|
-
/* @__PURE__ */
|
|
5401
|
+
/* @__PURE__ */ jsx71(
|
|
5323
5402
|
Cuboid46,
|
|
5324
5403
|
{
|
|
5325
5404
|
center: [0, actuatorCenterY, overallHeight - actuatorHeight * 0.72],
|
|
@@ -5327,7 +5406,7 @@ var FPC = ({
|
|
|
5327
5406
|
}
|
|
5328
5407
|
)
|
|
5329
5408
|
] }) }),
|
|
5330
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5409
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx71(
|
|
5331
5410
|
RoundedCuboid3,
|
|
5332
5411
|
{
|
|
5333
5412
|
color: TIN_HIGHLIGHT,
|
|
@@ -5337,7 +5416,7 @@ var FPC = ({
|
|
|
5337
5416
|
},
|
|
5338
5417
|
`spring:${contact.index}`
|
|
5339
5418
|
)),
|
|
5340
|
-
contactRows.map((contact) => /* @__PURE__ */
|
|
5419
|
+
contactRows.map((contact) => /* @__PURE__ */ jsx71(
|
|
5341
5420
|
Cuboid46,
|
|
5342
5421
|
{
|
|
5343
5422
|
color: TIN_COLOR,
|
|
@@ -5350,7 +5429,7 @@ var FPC = ({
|
|
|
5350
5429
|
},
|
|
5351
5430
|
`terminal-rise:${contact.index}`
|
|
5352
5431
|
)),
|
|
5353
|
-
/* @__PURE__ */
|
|
5432
|
+
/* @__PURE__ */ jsx71(
|
|
5354
5433
|
Cuboid46,
|
|
5355
5434
|
{
|
|
5356
5435
|
color: HOUSING_SHADOW,
|
|
@@ -5362,7 +5441,7 @@ var FPC = ({
|
|
|
5362
5441
|
size: [openingWidth + 0.18, 0.16, 0.8]
|
|
5363
5442
|
}
|
|
5364
5443
|
),
|
|
5365
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx71(
|
|
5366
5445
|
RoundedCuboid3,
|
|
5367
5446
|
{
|
|
5368
5447
|
color: ACTUATOR_COLOR,
|
|
@@ -5371,7 +5450,7 @@ var FPC = ({
|
|
|
5371
5450
|
roundRadius: 0.11
|
|
5372
5451
|
}
|
|
5373
5452
|
),
|
|
5374
|
-
/* @__PURE__ */
|
|
5453
|
+
/* @__PURE__ */ jsx71(
|
|
5375
5454
|
Cuboid46,
|
|
5376
5455
|
{
|
|
5377
5456
|
color: ACTUATOR_HIGHLIGHT,
|
|
@@ -5383,7 +5462,7 @@ var FPC = ({
|
|
|
5383
5462
|
size: [actuatorWidth - 0.36, 0.24, 0.07]
|
|
5384
5463
|
}
|
|
5385
5464
|
),
|
|
5386
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5465
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5387
5466
|
RoundedCuboid3,
|
|
5388
5467
|
{
|
|
5389
5468
|
color: ACTUATOR_COLOR,
|
|
@@ -5393,13 +5472,13 @@ var FPC = ({
|
|
|
5393
5472
|
},
|
|
5394
5473
|
`actuator-ear:${direction}`
|
|
5395
5474
|
)),
|
|
5396
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5475
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5397
5476
|
Translate31,
|
|
5398
5477
|
{
|
|
5399
5478
|
x: direction * sideBossX,
|
|
5400
5479
|
y: hingeY,
|
|
5401
5480
|
z: hingeZ,
|
|
5402
|
-
children: /* @__PURE__ */
|
|
5481
|
+
children: /* @__PURE__ */ jsx71(Rotate13, { rotation: [0, Math.PI / 2, 0], children: /* @__PURE__ */ jsx71(
|
|
5403
5482
|
Cylinder13,
|
|
5404
5483
|
{
|
|
5405
5484
|
color: ACTUATOR_HIGHLIGHT,
|
|
@@ -5410,7 +5489,7 @@ var FPC = ({
|
|
|
5410
5489
|
},
|
|
5411
5490
|
`hinge:${direction}`
|
|
5412
5491
|
)),
|
|
5413
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5492
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5414
5493
|
RoundedCuboid3,
|
|
5415
5494
|
{
|
|
5416
5495
|
color: HOLD_DOWN_COLOR,
|
|
@@ -5420,7 +5499,7 @@ var FPC = ({
|
|
|
5420
5499
|
},
|
|
5421
5500
|
`hold-down-wall:${direction}`
|
|
5422
5501
|
)),
|
|
5423
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5502
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx71(
|
|
5424
5503
|
RoundedCuboid3,
|
|
5425
5504
|
{
|
|
5426
5505
|
color: HOLD_DOWN_HIGHLIGHT,
|
|
@@ -5430,7 +5509,7 @@ var FPC = ({
|
|
|
5430
5509
|
},
|
|
5431
5510
|
`hold-down-cap:${direction}`
|
|
5432
5511
|
)),
|
|
5433
|
-
/* @__PURE__ */
|
|
5512
|
+
/* @__PURE__ */ jsx71(
|
|
5434
5513
|
Cuboid46,
|
|
5435
5514
|
{
|
|
5436
5515
|
color: HOUSING_SHADOW,
|
|
@@ -5438,7 +5517,7 @@ var FPC = ({
|
|
|
5438
5517
|
size: [openingWidth + 0.7, housingDepth * 0.58, 0.05]
|
|
5439
5518
|
}
|
|
5440
5519
|
),
|
|
5441
|
-
/* @__PURE__ */
|
|
5520
|
+
/* @__PURE__ */ jsx71(
|
|
5442
5521
|
Cuboid46,
|
|
5443
5522
|
{
|
|
5444
5523
|
color: HOUSING_SHADOW,
|
|
@@ -5455,7 +5534,7 @@ var FPC = ({
|
|
|
5455
5534
|
|
|
5456
5535
|
// lib/SmdPinHeader.tsx
|
|
5457
5536
|
import { Colorize as Colorize39, Cuboid as Cuboid47, Hull as Hull25, Translate as Translate32 } from "jscad-fiber";
|
|
5458
|
-
import { Fragment as
|
|
5537
|
+
import { Fragment as Fragment66, jsx as jsx72, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5459
5538
|
var SmdPinHeader = ({
|
|
5460
5539
|
numberOfPins,
|
|
5461
5540
|
pitch = 2.54,
|
|
@@ -5470,13 +5549,13 @@ var SmdPinHeader = ({
|
|
|
5470
5549
|
const bodyTop = standoffHeight + bodyHeight;
|
|
5471
5550
|
const tailLength = tailSpan / 2;
|
|
5472
5551
|
const tipChamferHeight = pinThickness * 0.35;
|
|
5473
|
-
return /* @__PURE__ */
|
|
5552
|
+
return /* @__PURE__ */ jsx72(Fragment66, { children: Array.from({ length: numberOfPins }, (_, index) => {
|
|
5474
5553
|
const x = xStart + index * pitch;
|
|
5475
5554
|
const tailDirection = index % 2 === 0 ? 1 : -1;
|
|
5476
5555
|
const postBodyLength = matingPinLength - tipChamferHeight;
|
|
5477
5556
|
const verticalTailLength = standoffHeight - pinThickness / 2;
|
|
5478
|
-
return /* @__PURE__ */
|
|
5479
|
-
/* @__PURE__ */
|
|
5557
|
+
return /* @__PURE__ */ jsxs68(Translate32, { x, children: [
|
|
5558
|
+
/* @__PURE__ */ jsx72(
|
|
5480
5559
|
Cuboid47,
|
|
5481
5560
|
{
|
|
5482
5561
|
color: "#222",
|
|
@@ -5484,37 +5563,37 @@ var SmdPinHeader = ({
|
|
|
5484
5563
|
center: [0, 0, standoffHeight + bodyHeight / 2]
|
|
5485
5564
|
}
|
|
5486
5565
|
),
|
|
5487
|
-
/* @__PURE__ */
|
|
5488
|
-
/* @__PURE__ */
|
|
5566
|
+
/* @__PURE__ */ jsxs68(Colorize39, { color: "#d4af37", children: [
|
|
5567
|
+
/* @__PURE__ */ jsx72(
|
|
5489
5568
|
Cuboid47,
|
|
5490
5569
|
{
|
|
5491
5570
|
size: [pinThickness, tailLength, pinThickness],
|
|
5492
5571
|
center: [0, tailDirection * (tailLength / 2), pinThickness / 2]
|
|
5493
5572
|
}
|
|
5494
5573
|
),
|
|
5495
|
-
/* @__PURE__ */
|
|
5574
|
+
/* @__PURE__ */ jsx72(
|
|
5496
5575
|
Cuboid47,
|
|
5497
5576
|
{
|
|
5498
5577
|
size: [pinThickness, pinThickness, verticalTailLength],
|
|
5499
5578
|
center: [0, 0, pinThickness / 2 + verticalTailLength / 2]
|
|
5500
5579
|
}
|
|
5501
5580
|
),
|
|
5502
|
-
/* @__PURE__ */
|
|
5581
|
+
/* @__PURE__ */ jsx72(
|
|
5503
5582
|
Cuboid47,
|
|
5504
5583
|
{
|
|
5505
5584
|
size: [pinThickness, pinThickness, postBodyLength],
|
|
5506
5585
|
center: [0, 0, bodyTop + postBodyLength / 2]
|
|
5507
5586
|
}
|
|
5508
5587
|
),
|
|
5509
|
-
/* @__PURE__ */
|
|
5510
|
-
/* @__PURE__ */
|
|
5588
|
+
/* @__PURE__ */ jsxs68(Hull25, { children: [
|
|
5589
|
+
/* @__PURE__ */ jsx72(
|
|
5511
5590
|
Cuboid47,
|
|
5512
5591
|
{
|
|
5513
5592
|
size: [pinThickness, pinThickness, 0.01],
|
|
5514
5593
|
center: [0, 0, bodyTop + postBodyLength]
|
|
5515
5594
|
}
|
|
5516
5595
|
),
|
|
5517
|
-
/* @__PURE__ */
|
|
5596
|
+
/* @__PURE__ */ jsx72(
|
|
5518
5597
|
Cuboid47,
|
|
5519
5598
|
{
|
|
5520
5599
|
size: [pinThickness * 0.65, pinThickness * 0.65, 0.01],
|
|
@@ -5532,7 +5611,7 @@ import { mm } from "@tscircuit/mm";
|
|
|
5532
5611
|
|
|
5533
5612
|
// lib/ParametricChip.tsx
|
|
5534
5613
|
import { Cuboid as Cuboid48 } from "jscad-fiber";
|
|
5535
|
-
import { Fragment as
|
|
5614
|
+
import { Fragment as Fragment67, jsx as jsx73, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
5536
5615
|
var ParametricChip = ({
|
|
5537
5616
|
padPitch,
|
|
5538
5617
|
padHeight,
|
|
@@ -5543,8 +5622,8 @@ var ParametricChip = ({
|
|
|
5543
5622
|
const height10 = width10;
|
|
5544
5623
|
const terminatorWidth9 = fullLength10 * 0.2;
|
|
5545
5624
|
const bodyLength10 = fullLength10 - terminatorWidth9 * 2;
|
|
5546
|
-
return /* @__PURE__ */
|
|
5547
|
-
/* @__PURE__ */
|
|
5625
|
+
return /* @__PURE__ */ jsxs69(Fragment67, { children: [
|
|
5626
|
+
/* @__PURE__ */ jsx73(
|
|
5548
5627
|
Cuboid48,
|
|
5549
5628
|
{
|
|
5550
5629
|
size: [bodyLength10, width10, height10],
|
|
@@ -5552,7 +5631,7 @@ var ParametricChip = ({
|
|
|
5552
5631
|
color
|
|
5553
5632
|
}
|
|
5554
5633
|
),
|
|
5555
|
-
/* @__PURE__ */
|
|
5634
|
+
/* @__PURE__ */ jsx73(
|
|
5556
5635
|
Cuboid48,
|
|
5557
5636
|
{
|
|
5558
5637
|
size: [terminatorWidth9, height10, width10],
|
|
@@ -5560,7 +5639,7 @@ var ParametricChip = ({
|
|
|
5560
5639
|
color: "#ccc"
|
|
5561
5640
|
}
|
|
5562
5641
|
),
|
|
5563
|
-
/* @__PURE__ */
|
|
5642
|
+
/* @__PURE__ */ jsx73(
|
|
5564
5643
|
Cuboid48,
|
|
5565
5644
|
{
|
|
5566
5645
|
size: [terminatorWidth9, height10, width10],
|
|
@@ -5580,7 +5659,7 @@ import {
|
|
|
5580
5659
|
Subtract as Subtract11,
|
|
5581
5660
|
Translate as Translate33
|
|
5582
5661
|
} from "jscad-fiber";
|
|
5583
|
-
import { Fragment as
|
|
5662
|
+
import { Fragment as Fragment68, jsx as jsx74, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
5584
5663
|
var Led5050 = ({
|
|
5585
5664
|
color = "#ffff00",
|
|
5586
5665
|
bodyColor = "#ffffff",
|
|
@@ -5601,9 +5680,9 @@ var Led5050 = ({
|
|
|
5601
5680
|
const cornerCutDepth = 0.3;
|
|
5602
5681
|
const leadYPositions = [-1.7, 0, 1.7];
|
|
5603
5682
|
const leadSides = [-1, 1];
|
|
5604
|
-
return /* @__PURE__ */
|
|
5683
|
+
return /* @__PURE__ */ jsxs70(Fragment68, { children: [
|
|
5605
5684
|
leadYPositions.flatMap(
|
|
5606
|
-
(y) => leadSides.map((side) => /* @__PURE__ */
|
|
5685
|
+
(y) => leadSides.map((side) => /* @__PURE__ */ jsx74(
|
|
5607
5686
|
Cuboid49,
|
|
5608
5687
|
{
|
|
5609
5688
|
color: leadColor,
|
|
@@ -5613,8 +5692,8 @@ var Led5050 = ({
|
|
|
5613
5692
|
`${side}-${y}`
|
|
5614
5693
|
))
|
|
5615
5694
|
),
|
|
5616
|
-
/* @__PURE__ */
|
|
5617
|
-
/* @__PURE__ */
|
|
5695
|
+
/* @__PURE__ */ jsx74(Colorize40, { color: bodyColor, children: /* @__PURE__ */ jsxs70(Subtract11, { children: [
|
|
5696
|
+
/* @__PURE__ */ jsx74(
|
|
5618
5697
|
ChipBody,
|
|
5619
5698
|
{
|
|
5620
5699
|
width: bodySize,
|
|
@@ -5628,7 +5707,7 @@ var Led5050 = ({
|
|
|
5628
5707
|
includeNotch: false
|
|
5629
5708
|
}
|
|
5630
5709
|
),
|
|
5631
|
-
/* @__PURE__ */
|
|
5710
|
+
/* @__PURE__ */ jsx74(
|
|
5632
5711
|
Cylinder14,
|
|
5633
5712
|
{
|
|
5634
5713
|
radius: lensRadius,
|
|
@@ -5636,7 +5715,7 @@ var Led5050 = ({
|
|
|
5636
5715
|
center: [0, 0, bodyTop - lensHeight / 2]
|
|
5637
5716
|
}
|
|
5638
5717
|
),
|
|
5639
|
-
/* @__PURE__ */
|
|
5718
|
+
/* @__PURE__ */ jsx74(
|
|
5640
5719
|
Translate33,
|
|
5641
5720
|
{
|
|
5642
5721
|
offset: [
|
|
@@ -5644,11 +5723,11 @@ var Led5050 = ({
|
|
|
5644
5723
|
bodySize / 2,
|
|
5645
5724
|
bodyTop - cornerCutDepth / 2 + 5e-3
|
|
5646
5725
|
],
|
|
5647
|
-
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] }) })
|
|
5648
5727
|
}
|
|
5649
5728
|
)
|
|
5650
5729
|
] }) }),
|
|
5651
|
-
/* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx74(
|
|
5652
5731
|
Cylinder14,
|
|
5653
5732
|
{
|
|
5654
5733
|
color,
|
|
@@ -5670,7 +5749,7 @@ import {
|
|
|
5670
5749
|
Subtract as Subtract12,
|
|
5671
5750
|
Translate as Translate34
|
|
5672
5751
|
} from "jscad-fiber";
|
|
5673
|
-
import { Fragment as
|
|
5752
|
+
import { Fragment as Fragment69, jsx as jsx75, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
5674
5753
|
var range2 = (length) => Array.from({ length }, (_, index) => index);
|
|
5675
5754
|
var RJ45 = ({
|
|
5676
5755
|
bodyWidth = 16.26,
|
|
@@ -5728,17 +5807,17 @@ var RJ45 = ({
|
|
|
5728
5807
|
const contactY = frontY - frontDirection * Math.max(cavityDepth * 0.48, 1.2);
|
|
5729
5808
|
const contactZ = openingCenterZ + openingHeight * 0.18;
|
|
5730
5809
|
const frontLipY = frontY + frontDirection * shellThickness * 0.2;
|
|
5731
|
-
return /* @__PURE__ */
|
|
5732
|
-
/* @__PURE__ */
|
|
5733
|
-
/* @__PURE__ */
|
|
5734
|
-
/* @__PURE__ */
|
|
5810
|
+
return /* @__PURE__ */ jsxs71(Fragment69, { children: [
|
|
5811
|
+
/* @__PURE__ */ jsxs71(Colorize41, { color: shellColor, children: [
|
|
5812
|
+
/* @__PURE__ */ jsxs71(Subtract12, { children: [
|
|
5813
|
+
/* @__PURE__ */ jsx75(
|
|
5735
5814
|
Cuboid50,
|
|
5736
5815
|
{
|
|
5737
5816
|
center: [0, bodyCenterY, bodyHeight / 2],
|
|
5738
5817
|
size: [bodyWidth, bodyDepth, bodyHeight]
|
|
5739
5818
|
}
|
|
5740
5819
|
),
|
|
5741
|
-
/* @__PURE__ */
|
|
5820
|
+
/* @__PURE__ */ jsx75(
|
|
5742
5821
|
Cuboid50,
|
|
5743
5822
|
{
|
|
5744
5823
|
center: [0, cavityCenterY, openingCenterZ],
|
|
@@ -5750,14 +5829,14 @@ var RJ45 = ({
|
|
|
5750
5829
|
}
|
|
5751
5830
|
)
|
|
5752
5831
|
] }),
|
|
5753
|
-
/* @__PURE__ */
|
|
5832
|
+
/* @__PURE__ */ jsx75(
|
|
5754
5833
|
Cuboid50,
|
|
5755
5834
|
{
|
|
5756
5835
|
center: [0, frontLipY, 0.72],
|
|
5757
5836
|
size: [openingWidth + 0.5, shellThickness * 1.25, 1.05]
|
|
5758
5837
|
}
|
|
5759
5838
|
),
|
|
5760
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5839
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx75(
|
|
5761
5840
|
Cuboid50,
|
|
5762
5841
|
{
|
|
5763
5842
|
center: [direction * shieldPinX, shieldPinY, 0.25],
|
|
@@ -5769,7 +5848,7 @@ var RJ45 = ({
|
|
|
5769
5848
|
},
|
|
5770
5849
|
`shield-tab:${direction}`
|
|
5771
5850
|
)),
|
|
5772
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5851
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx75(
|
|
5773
5852
|
Cuboid50,
|
|
5774
5853
|
{
|
|
5775
5854
|
center: [
|
|
@@ -5782,9 +5861,9 @@ var RJ45 = ({
|
|
|
5782
5861
|
`top-seam:${direction}`
|
|
5783
5862
|
))
|
|
5784
5863
|
] }),
|
|
5785
|
-
/* @__PURE__ */
|
|
5786
|
-
/* @__PURE__ */
|
|
5787
|
-
/* @__PURE__ */
|
|
5864
|
+
/* @__PURE__ */ jsxs71(Colorize41, { color: housingColor, children: [
|
|
5865
|
+
/* @__PURE__ */ jsxs71(Subtract12, { children: [
|
|
5866
|
+
/* @__PURE__ */ jsx75(
|
|
5788
5867
|
RoundedCuboid4,
|
|
5789
5868
|
{
|
|
5790
5869
|
center: [0, cavityCenterY, openingCenterZ],
|
|
@@ -5796,7 +5875,7 @@ var RJ45 = ({
|
|
|
5796
5875
|
roundRadius: 0.22
|
|
5797
5876
|
}
|
|
5798
5877
|
),
|
|
5799
|
-
/* @__PURE__ */
|
|
5878
|
+
/* @__PURE__ */ jsx75(
|
|
5800
5879
|
Cuboid50,
|
|
5801
5880
|
{
|
|
5802
5881
|
center: [
|
|
@@ -5812,14 +5891,14 @@ var RJ45 = ({
|
|
|
5812
5891
|
}
|
|
5813
5892
|
)
|
|
5814
5893
|
] }),
|
|
5815
|
-
/* @__PURE__ */
|
|
5894
|
+
/* @__PURE__ */ jsx75(
|
|
5816
5895
|
Cuboid50,
|
|
5817
5896
|
{
|
|
5818
5897
|
center: [0, backWallY, openingCenterZ],
|
|
5819
5898
|
size: [openingWidth - 1.15, shellThickness, openingHeight - 1.25]
|
|
5820
5899
|
}
|
|
5821
5900
|
),
|
|
5822
|
-
/* @__PURE__ */
|
|
5901
|
+
/* @__PURE__ */ jsx75(
|
|
5823
5902
|
RoundedCuboid4,
|
|
5824
5903
|
{
|
|
5825
5904
|
center: [0, frontY - frontDirection * cavityDepth * 0.28, 1.55],
|
|
@@ -5827,7 +5906,7 @@ var RJ45 = ({
|
|
|
5827
5906
|
roundRadius: 0.16
|
|
5828
5907
|
}
|
|
5829
5908
|
),
|
|
5830
|
-
[-1, 1].map((direction) => /* @__PURE__ */
|
|
5909
|
+
[-1, 1].map((direction) => /* @__PURE__ */ jsx75(
|
|
5831
5910
|
Cylinder15,
|
|
5832
5911
|
{
|
|
5833
5912
|
center: [direction * locatorHoleX, locatorHoleY, -0.25],
|
|
@@ -5837,8 +5916,8 @@ var RJ45 = ({
|
|
|
5837
5916
|
`locator:${direction}`
|
|
5838
5917
|
))
|
|
5839
5918
|
] }),
|
|
5840
|
-
/* @__PURE__ */
|
|
5841
|
-
signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */
|
|
5919
|
+
/* @__PURE__ */ jsxs71(Colorize41, { color: contactColor, children: [
|
|
5920
|
+
signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */ jsx75(
|
|
5842
5921
|
Cylinder15,
|
|
5843
5922
|
{
|
|
5844
5923
|
center: [x, y, 0.15],
|
|
@@ -5847,7 +5926,7 @@ var RJ45 = ({
|
|
|
5847
5926
|
},
|
|
5848
5927
|
`signal-lead:${index}`
|
|
5849
5928
|
)),
|
|
5850
|
-
range2(8).map((index) => /* @__PURE__ */
|
|
5929
|
+
range2(8).map((index) => /* @__PURE__ */ jsx75(
|
|
5851
5930
|
Translate34,
|
|
5852
5931
|
{
|
|
5853
5932
|
offset: [
|
|
@@ -5855,7 +5934,7 @@ var RJ45 = ({
|
|
|
5855
5934
|
contactY,
|
|
5856
5935
|
contactZ + (index % 2 === 0 ? 0.03 : -0.03)
|
|
5857
5936
|
],
|
|
5858
|
-
children: /* @__PURE__ */
|
|
5937
|
+
children: /* @__PURE__ */ jsx75(Rotate15, { rotation: [frontDirection * 0.2, 0, 0], children: /* @__PURE__ */ jsx75(
|
|
5859
5938
|
RoundedCuboid4,
|
|
5860
5939
|
{
|
|
5861
5940
|
size: [Math.max(contactPitch * 0.28, 0.28), 3.25, 0.16],
|
|
@@ -5865,7 +5944,7 @@ var RJ45 = ({
|
|
|
5865
5944
|
},
|
|
5866
5945
|
`socket-contact:${index}`
|
|
5867
5946
|
)),
|
|
5868
|
-
ledPins && ledPinPositions.map((x, index) => /* @__PURE__ */
|
|
5947
|
+
ledPins && ledPinPositions.map((x, index) => /* @__PURE__ */ jsx75(
|
|
5869
5948
|
Cylinder15,
|
|
5870
5949
|
{
|
|
5871
5950
|
center: [x, ledPinY, 0.15],
|
|
@@ -5875,8 +5954,8 @@ var RJ45 = ({
|
|
|
5875
5954
|
`led-lead:${index}`
|
|
5876
5955
|
))
|
|
5877
5956
|
] }),
|
|
5878
|
-
ledPins && /* @__PURE__ */
|
|
5879
|
-
/* @__PURE__ */
|
|
5957
|
+
ledPins && /* @__PURE__ */ jsxs71(Fragment69, { children: [
|
|
5958
|
+
/* @__PURE__ */ jsx75(
|
|
5880
5959
|
RoundedCuboid4,
|
|
5881
5960
|
{
|
|
5882
5961
|
color: "#73b744",
|
|
@@ -5889,7 +5968,7 @@ var RJ45 = ({
|
|
|
5889
5968
|
roundRadius: 0.18
|
|
5890
5969
|
}
|
|
5891
5970
|
),
|
|
5892
|
-
/* @__PURE__ */
|
|
5971
|
+
/* @__PURE__ */ jsx75(
|
|
5893
5972
|
RoundedCuboid4,
|
|
5894
5973
|
{
|
|
5895
5974
|
color: "#e0aa35",
|
|
@@ -5907,7 +5986,7 @@ var RJ45 = ({
|
|
|
5907
5986
|
};
|
|
5908
5987
|
|
|
5909
5988
|
// lib/Footprinter3d.tsx
|
|
5910
|
-
import { jsx as
|
|
5989
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
5911
5990
|
var Footprinter3d = ({ footprint }) => {
|
|
5912
5991
|
let normalizedFootprint = footprint;
|
|
5913
5992
|
if (footprint.startsWith("jstzh1_5mm")) {
|
|
@@ -5920,7 +5999,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5920
5999
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
5921
6000
|
switch (fpJson.fn) {
|
|
5922
6001
|
case "crystal":
|
|
5923
|
-
return /* @__PURE__ */
|
|
6002
|
+
return /* @__PURE__ */ jsx76(
|
|
5924
6003
|
Crystal,
|
|
5925
6004
|
{
|
|
5926
6005
|
horizontalPadPitch: fpJson.px,
|
|
@@ -5930,11 +6009,11 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5930
6009
|
}
|
|
5931
6010
|
);
|
|
5932
6011
|
case "dip":
|
|
5933
|
-
return /* @__PURE__ */
|
|
6012
|
+
return /* @__PURE__ */ jsx76(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
5934
6013
|
case "axial":
|
|
5935
|
-
return /* @__PURE__ */
|
|
6014
|
+
return /* @__PURE__ */ jsx76(AxialCapacitor, { pitch: fpJson.p });
|
|
5936
6015
|
case "tssop":
|
|
5937
|
-
return /* @__PURE__ */
|
|
6016
|
+
return /* @__PURE__ */ jsx76(
|
|
5938
6017
|
Tssop,
|
|
5939
6018
|
{
|
|
5940
6019
|
pinCount: fpJson.num_pins,
|
|
@@ -5945,7 +6024,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5945
6024
|
}
|
|
5946
6025
|
);
|
|
5947
6026
|
case "msop":
|
|
5948
|
-
return /* @__PURE__ */
|
|
6027
|
+
return /* @__PURE__ */ jsx76(
|
|
5949
6028
|
MSOP,
|
|
5950
6029
|
{
|
|
5951
6030
|
pinCount: fpJson.num_pins,
|
|
@@ -5956,7 +6035,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5956
6035
|
}
|
|
5957
6036
|
);
|
|
5958
6037
|
case "vssop":
|
|
5959
|
-
return /* @__PURE__ */
|
|
6038
|
+
return /* @__PURE__ */ jsx76(
|
|
5960
6039
|
VSSOP,
|
|
5961
6040
|
{
|
|
5962
6041
|
pinCount: fpJson.num_pins,
|
|
@@ -5968,7 +6047,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5968
6047
|
}
|
|
5969
6048
|
);
|
|
5970
6049
|
case "qfp":
|
|
5971
|
-
return /* @__PURE__ */
|
|
6050
|
+
return /* @__PURE__ */ jsx76(
|
|
5972
6051
|
QFP,
|
|
5973
6052
|
{
|
|
5974
6053
|
pinCount: fpJson.num_pins,
|
|
@@ -5979,12 +6058,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
5979
6058
|
}
|
|
5980
6059
|
);
|
|
5981
6060
|
case "tqfp":
|
|
5982
|
-
return /* @__PURE__ */
|
|
6061
|
+
return /* @__PURE__ */ jsx76(tqfp_default, {});
|
|
5983
6062
|
case "lqfp":
|
|
5984
|
-
return /* @__PURE__ */
|
|
6063
|
+
return /* @__PURE__ */ jsx76(LQFP, { pinCount: fpJson.num_pins });
|
|
5985
6064
|
case "qfn": {
|
|
5986
6065
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
5987
|
-
return /* @__PURE__ */
|
|
6066
|
+
return /* @__PURE__ */ jsx76(
|
|
5988
6067
|
qfn_default,
|
|
5989
6068
|
{
|
|
5990
6069
|
num_pins: fpJson.num_pins,
|
|
@@ -6002,7 +6081,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6002
6081
|
}
|
|
6003
6082
|
case "dfn": {
|
|
6004
6083
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
6005
|
-
return /* @__PURE__ */
|
|
6084
|
+
return /* @__PURE__ */ jsx76(
|
|
6006
6085
|
DFN,
|
|
6007
6086
|
{
|
|
6008
6087
|
num_pins: fpJson.num_pins,
|
|
@@ -6022,7 +6101,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6022
6101
|
const rowsMatch = footprint.match(/_rows(\d+)/);
|
|
6023
6102
|
const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
|
|
6024
6103
|
if (fpJson.male)
|
|
6025
|
-
return /* @__PURE__ */
|
|
6104
|
+
return /* @__PURE__ */ jsx76(
|
|
6026
6105
|
PinRow,
|
|
6027
6106
|
{
|
|
6028
6107
|
numberOfPins: fpJson.num_pins,
|
|
@@ -6035,7 +6114,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6035
6114
|
}
|
|
6036
6115
|
);
|
|
6037
6116
|
if (fpJson.female)
|
|
6038
|
-
return /* @__PURE__ */
|
|
6117
|
+
return /* @__PURE__ */ jsx76(
|
|
6039
6118
|
FemaleHeaderRow,
|
|
6040
6119
|
{
|
|
6041
6120
|
numberOfPins: fpJson.num_pins,
|
|
@@ -6045,7 +6124,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6045
6124
|
);
|
|
6046
6125
|
}
|
|
6047
6126
|
case "smdpinheader":
|
|
6048
|
-
return /* @__PURE__ */
|
|
6127
|
+
return /* @__PURE__ */ jsx76(
|
|
6049
6128
|
SmdPinHeader,
|
|
6050
6129
|
{
|
|
6051
6130
|
numberOfPins: fpJson.num_pins,
|
|
@@ -6054,52 +6133,55 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6054
6133
|
}
|
|
6055
6134
|
);
|
|
6056
6135
|
case "led5050":
|
|
6057
|
-
return /* @__PURE__ */
|
|
6136
|
+
return /* @__PURE__ */ jsx76(Led5050, { color });
|
|
6058
6137
|
case "cap": {
|
|
6059
6138
|
switch (fpJson.imperial) {
|
|
6060
6139
|
case "0402":
|
|
6061
|
-
return /* @__PURE__ */
|
|
6140
|
+
return /* @__PURE__ */ jsx76(A0402, { color: "#856c4d" });
|
|
6062
6141
|
case "0603":
|
|
6063
|
-
return /* @__PURE__ */
|
|
6142
|
+
return /* @__PURE__ */ jsx76(A0603, { color: "#856c4d" });
|
|
6064
6143
|
case "0805":
|
|
6065
|
-
return /* @__PURE__ */
|
|
6144
|
+
return /* @__PURE__ */ jsx76(A0805, { color: "#856c4d" });
|
|
6066
6145
|
case "0201":
|
|
6067
|
-
return /* @__PURE__ */
|
|
6146
|
+
return /* @__PURE__ */ jsx76(A0201, { color: "#856c4d" });
|
|
6068
6147
|
case "01005":
|
|
6069
|
-
return /* @__PURE__ */
|
|
6148
|
+
return /* @__PURE__ */ jsx76(A01005, { color: "#856c4d" });
|
|
6070
6149
|
case "1206":
|
|
6071
|
-
return /* @__PURE__ */
|
|
6150
|
+
return /* @__PURE__ */ jsx76(A1206, { color: "#856c4d" });
|
|
6072
6151
|
case "1210":
|
|
6073
|
-
return /* @__PURE__ */
|
|
6152
|
+
return /* @__PURE__ */ jsx76(A1210, { color: "#856c4d" });
|
|
6074
6153
|
case "2010":
|
|
6075
|
-
return /* @__PURE__ */
|
|
6154
|
+
return /* @__PURE__ */ jsx76(A2010, { color: "#856c4d" });
|
|
6076
6155
|
case "2512":
|
|
6077
|
-
return /* @__PURE__ */
|
|
6156
|
+
return /* @__PURE__ */ jsx76(A2512, { color: "#856c4d" });
|
|
6078
6157
|
}
|
|
6079
6158
|
break;
|
|
6080
6159
|
}
|
|
6160
|
+
case "sot23":
|
|
6161
|
+
if (fpJson.num_pins === 3) return /* @__PURE__ */ jsx76(SOT233P, { color });
|
|
6162
|
+
break;
|
|
6081
6163
|
case "sot235":
|
|
6082
|
-
return /* @__PURE__ */
|
|
6164
|
+
return /* @__PURE__ */ jsx76(SOT_235_default, {});
|
|
6083
6165
|
case "sot457":
|
|
6084
|
-
return /* @__PURE__ */
|
|
6166
|
+
return /* @__PURE__ */ jsx76(SOT457, {});
|
|
6085
6167
|
case "sot223":
|
|
6086
|
-
return /* @__PURE__ */
|
|
6168
|
+
return /* @__PURE__ */ jsx76(SOT223, {});
|
|
6087
6169
|
case "sot23w":
|
|
6088
|
-
return /* @__PURE__ */
|
|
6170
|
+
return /* @__PURE__ */ jsx76(SOT23W, {});
|
|
6089
6171
|
case "sot323":
|
|
6090
|
-
return /* @__PURE__ */
|
|
6172
|
+
return /* @__PURE__ */ jsx76(SOT323, {});
|
|
6091
6173
|
case "sod323f":
|
|
6092
|
-
return /* @__PURE__ */
|
|
6174
|
+
return /* @__PURE__ */ jsx76(SOD323F, {});
|
|
6093
6175
|
case "sod323fl":
|
|
6094
|
-
return /* @__PURE__ */
|
|
6176
|
+
return /* @__PURE__ */ jsx76(SOD323FL, {});
|
|
6095
6177
|
case "sot363":
|
|
6096
|
-
return /* @__PURE__ */
|
|
6178
|
+
return /* @__PURE__ */ jsx76(SOT_363_default, {});
|
|
6097
6179
|
case "sot886":
|
|
6098
|
-
return /* @__PURE__ */
|
|
6180
|
+
return /* @__PURE__ */ jsx76(SOT886, {});
|
|
6099
6181
|
case "sot963":
|
|
6100
|
-
return /* @__PURE__ */
|
|
6182
|
+
return /* @__PURE__ */ jsx76(SOT963, {});
|
|
6101
6183
|
case "pushbutton":
|
|
6102
|
-
return /* @__PURE__ */
|
|
6184
|
+
return /* @__PURE__ */ jsx76(
|
|
6103
6185
|
PushButton,
|
|
6104
6186
|
{
|
|
6105
6187
|
width: fpJson.w,
|
|
@@ -6109,11 +6191,11 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6109
6191
|
);
|
|
6110
6192
|
case "jst":
|
|
6111
6193
|
if (fpJson.zh) {
|
|
6112
|
-
return /* @__PURE__ */
|
|
6194
|
+
return /* @__PURE__ */ jsx76(JSTZH1_5mm, { numPins: fpJson.num_pins });
|
|
6113
6195
|
}
|
|
6114
6196
|
break;
|
|
6115
6197
|
case "fpc":
|
|
6116
|
-
return /* @__PURE__ */
|
|
6198
|
+
return /* @__PURE__ */ jsx76(
|
|
6117
6199
|
FPC,
|
|
6118
6200
|
{
|
|
6119
6201
|
pinCount: fpJson.num_pins,
|
|
@@ -6133,7 +6215,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6133
6215
|
}
|
|
6134
6216
|
);
|
|
6135
6217
|
case "rj45":
|
|
6136
|
-
return /* @__PURE__ */
|
|
6218
|
+
return /* @__PURE__ */ jsx76(
|
|
6137
6219
|
RJ45,
|
|
6138
6220
|
{
|
|
6139
6221
|
bodyWidth: fpJson.w,
|
|
@@ -6157,7 +6239,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6157
6239
|
}
|
|
6158
6240
|
);
|
|
6159
6241
|
case "soic":
|
|
6160
|
-
return /* @__PURE__ */
|
|
6242
|
+
return /* @__PURE__ */ jsx76(
|
|
6161
6243
|
SOIC,
|
|
6162
6244
|
{
|
|
6163
6245
|
pinCount: fpJson.num_pins,
|
|
@@ -6168,43 +6250,43 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6168
6250
|
}
|
|
6169
6251
|
);
|
|
6170
6252
|
case "sod523":
|
|
6171
|
-
return /* @__PURE__ */
|
|
6253
|
+
return /* @__PURE__ */ jsx76(SOD523, {});
|
|
6172
6254
|
case "sod723":
|
|
6173
|
-
return /* @__PURE__ */
|
|
6255
|
+
return /* @__PURE__ */ jsx76(SOD723_default, {});
|
|
6174
6256
|
case "sod882":
|
|
6175
|
-
return /* @__PURE__ */
|
|
6257
|
+
return /* @__PURE__ */ jsx76(SOD882, {});
|
|
6176
6258
|
case "sma":
|
|
6177
|
-
return /* @__PURE__ */
|
|
6259
|
+
return /* @__PURE__ */ jsx76(SMA, {});
|
|
6178
6260
|
case "smb":
|
|
6179
|
-
return /* @__PURE__ */
|
|
6261
|
+
return /* @__PURE__ */ jsx76(SMB, {});
|
|
6180
6262
|
case "smc":
|
|
6181
|
-
return /* @__PURE__ */
|
|
6263
|
+
return /* @__PURE__ */ jsx76(SMC, {});
|
|
6182
6264
|
case "smf":
|
|
6183
|
-
return /* @__PURE__ */
|
|
6265
|
+
return /* @__PURE__ */ jsx76(SMF, {});
|
|
6184
6266
|
case "sod123":
|
|
6185
|
-
return /* @__PURE__ */
|
|
6267
|
+
return /* @__PURE__ */ jsx76(SOD123, {});
|
|
6186
6268
|
case "sod123f":
|
|
6187
|
-
return /* @__PURE__ */
|
|
6269
|
+
return /* @__PURE__ */ jsx76(SOD123F, {});
|
|
6188
6270
|
case "sod123fl":
|
|
6189
|
-
return /* @__PURE__ */
|
|
6271
|
+
return /* @__PURE__ */ jsx76(SOD123FL, {});
|
|
6190
6272
|
case "sod123w":
|
|
6191
|
-
return /* @__PURE__ */
|
|
6273
|
+
return /* @__PURE__ */ jsx76(SOD123W, {});
|
|
6192
6274
|
case "sod128":
|
|
6193
|
-
return /* @__PURE__ */
|
|
6275
|
+
return /* @__PURE__ */ jsx76(SOD128, {});
|
|
6194
6276
|
case "sod323":
|
|
6195
|
-
return /* @__PURE__ */
|
|
6277
|
+
return /* @__PURE__ */ jsx76(SOD323, {});
|
|
6196
6278
|
case "sod923":
|
|
6197
|
-
return /* @__PURE__ */
|
|
6279
|
+
return /* @__PURE__ */ jsx76(SOD923, {});
|
|
6198
6280
|
case "hc49":
|
|
6199
|
-
return /* @__PURE__ */
|
|
6281
|
+
return /* @__PURE__ */ jsx76(HC49, {});
|
|
6200
6282
|
case "micromelf":
|
|
6201
|
-
return /* @__PURE__ */
|
|
6283
|
+
return /* @__PURE__ */ jsx76(MicroMELF, {});
|
|
6202
6284
|
case "minimelf":
|
|
6203
|
-
return /* @__PURE__ */
|
|
6285
|
+
return /* @__PURE__ */ jsx76(MINIMELF, {});
|
|
6204
6286
|
case "melf":
|
|
6205
|
-
return /* @__PURE__ */
|
|
6287
|
+
return /* @__PURE__ */ jsx76(MELF, {});
|
|
6206
6288
|
case "ms012":
|
|
6207
|
-
return /* @__PURE__ */
|
|
6289
|
+
return /* @__PURE__ */ jsx76(
|
|
6208
6290
|
MS012,
|
|
6209
6291
|
{
|
|
6210
6292
|
pinCount: fpJson.num_pins,
|
|
@@ -6214,7 +6296,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6214
6296
|
}
|
|
6215
6297
|
);
|
|
6216
6298
|
case "ms013":
|
|
6217
|
-
return /* @__PURE__ */
|
|
6299
|
+
return /* @__PURE__ */ jsx76(
|
|
6218
6300
|
MS013,
|
|
6219
6301
|
{
|
|
6220
6302
|
pinCount: fpJson.num_pins,
|
|
@@ -6224,14 +6306,14 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6224
6306
|
}
|
|
6225
6307
|
);
|
|
6226
6308
|
case "sot723":
|
|
6227
|
-
return /* @__PURE__ */
|
|
6309
|
+
return /* @__PURE__ */ jsx76(SOT723, {});
|
|
6228
6310
|
case "to220":
|
|
6229
|
-
return /* @__PURE__ */
|
|
6311
|
+
return /* @__PURE__ */ jsx76(TO220, {});
|
|
6230
6312
|
case "to92":
|
|
6231
|
-
return /* @__PURE__ */
|
|
6313
|
+
return /* @__PURE__ */ jsx76(TO92, {});
|
|
6232
6314
|
case "stampboard":
|
|
6233
6315
|
case "stampreceiver":
|
|
6234
|
-
return /* @__PURE__ */
|
|
6316
|
+
return /* @__PURE__ */ jsx76(
|
|
6235
6317
|
StampBoard,
|
|
6236
6318
|
{
|
|
6237
6319
|
bodyWidth: fpJson.w,
|
|
@@ -6255,7 +6337,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6255
6337
|
const pinRow = fpJson.pinrow;
|
|
6256
6338
|
const pinRowHoleEdgeToEdgeDist = fpJson.pinRowHoleEdgeToEdgeDist;
|
|
6257
6339
|
const holes = Array.isArray(fpJson.holes) ? fpJson.holes : [];
|
|
6258
|
-
return /* @__PURE__ */
|
|
6340
|
+
return /* @__PURE__ */ jsx76(
|
|
6259
6341
|
MountedPcbModule,
|
|
6260
6342
|
{
|
|
6261
6343
|
numPins: pinRow,
|
|
@@ -6282,29 +6364,29 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6282
6364
|
}
|
|
6283
6365
|
switch (fpJson.imperial) {
|
|
6284
6366
|
case "0402":
|
|
6285
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ jsx76(A0402, { color });
|
|
6286
6368
|
case "0603":
|
|
6287
|
-
return /* @__PURE__ */
|
|
6369
|
+
return /* @__PURE__ */ jsx76(A0603, { color });
|
|
6288
6370
|
case "0805":
|
|
6289
|
-
return /* @__PURE__ */
|
|
6371
|
+
return /* @__PURE__ */ jsx76(A0805, { color });
|
|
6290
6372
|
case "0201":
|
|
6291
|
-
return /* @__PURE__ */
|
|
6373
|
+
return /* @__PURE__ */ jsx76(A0201, { color });
|
|
6292
6374
|
case "01005":
|
|
6293
|
-
return /* @__PURE__ */
|
|
6375
|
+
return /* @__PURE__ */ jsx76(A01005, { color });
|
|
6294
6376
|
case "1206":
|
|
6295
|
-
return /* @__PURE__ */
|
|
6377
|
+
return /* @__PURE__ */ jsx76(A1206, { color });
|
|
6296
6378
|
case "1210":
|
|
6297
|
-
return /* @__PURE__ */
|
|
6379
|
+
return /* @__PURE__ */ jsx76(A1210, { color });
|
|
6298
6380
|
case "2010":
|
|
6299
|
-
return /* @__PURE__ */
|
|
6381
|
+
return /* @__PURE__ */ jsx76(A2010, { color });
|
|
6300
6382
|
case "2512":
|
|
6301
|
-
return /* @__PURE__ */
|
|
6383
|
+
return /* @__PURE__ */ jsx76(A2512, { color });
|
|
6302
6384
|
}
|
|
6303
6385
|
if ((fpJson.fn === "res" || fpJson.fn === "cap") && fpJson.p !== void 0 && fpJson.ph !== void 0) {
|
|
6304
6386
|
const padPitch = mm(fpJson.p);
|
|
6305
6387
|
const padHeight = mm(fpJson.ph);
|
|
6306
6388
|
if (Number.isFinite(padPitch) && Number.isFinite(padHeight)) {
|
|
6307
|
-
return /* @__PURE__ */
|
|
6389
|
+
return /* @__PURE__ */ jsx76(
|
|
6308
6390
|
ParametricChip,
|
|
6309
6391
|
{
|
|
6310
6392
|
padPitch,
|
|
@@ -6317,81 +6399,6 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
6317
6399
|
return null;
|
|
6318
6400
|
};
|
|
6319
6401
|
|
|
6320
|
-
// lib/SOT-23-3P.tsx
|
|
6321
|
-
import { Fragment as Fragment69, jsx as jsx76, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
6322
|
-
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
6323
|
-
const bodyWidth = 1.3;
|
|
6324
|
-
const bodyLength10 = 2.9;
|
|
6325
|
-
const bodyHeight = 1.1;
|
|
6326
|
-
const leadWidth = 0.4;
|
|
6327
|
-
const leadThickness = 0.15;
|
|
6328
|
-
const leadHeight = 0.95;
|
|
6329
|
-
const padContactLength = 0.4;
|
|
6330
|
-
const padThickness = leadThickness / 2;
|
|
6331
|
-
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
6332
|
-
return /* @__PURE__ */ jsxs71(Fragment69, { children: [
|
|
6333
|
-
/* @__PURE__ */ jsx76(
|
|
6334
|
-
SmdChipLead,
|
|
6335
|
-
{
|
|
6336
|
-
rotation: Math.PI,
|
|
6337
|
-
position: {
|
|
6338
|
-
x: fullWidth / 2,
|
|
6339
|
-
y: -1,
|
|
6340
|
-
z: padThickness
|
|
6341
|
-
},
|
|
6342
|
-
width: leadWidth,
|
|
6343
|
-
thickness: leadThickness,
|
|
6344
|
-
padContactLength,
|
|
6345
|
-
bodyDistance: extendedBodyDistance,
|
|
6346
|
-
height: leadHeight
|
|
6347
|
-
},
|
|
6348
|
-
1
|
|
6349
|
-
),
|
|
6350
|
-
/* @__PURE__ */ jsx76(
|
|
6351
|
-
SmdChipLead,
|
|
6352
|
-
{
|
|
6353
|
-
rotation: Math.PI,
|
|
6354
|
-
position: {
|
|
6355
|
-
x: fullWidth / 2,
|
|
6356
|
-
y: 1,
|
|
6357
|
-
z: padThickness
|
|
6358
|
-
},
|
|
6359
|
-
width: leadWidth,
|
|
6360
|
-
thickness: leadThickness,
|
|
6361
|
-
padContactLength,
|
|
6362
|
-
bodyDistance: extendedBodyDistance,
|
|
6363
|
-
height: leadHeight
|
|
6364
|
-
},
|
|
6365
|
-
2
|
|
6366
|
-
),
|
|
6367
|
-
/* @__PURE__ */ jsx76(
|
|
6368
|
-
SmdChipLead,
|
|
6369
|
-
{
|
|
6370
|
-
position: {
|
|
6371
|
-
x: -fullWidth / 2,
|
|
6372
|
-
y: 0,
|
|
6373
|
-
z: padThickness
|
|
6374
|
-
},
|
|
6375
|
-
width: leadWidth,
|
|
6376
|
-
thickness: leadThickness,
|
|
6377
|
-
padContactLength,
|
|
6378
|
-
bodyDistance: extendedBodyDistance,
|
|
6379
|
-
height: leadHeight
|
|
6380
|
-
},
|
|
6381
|
-
3
|
|
6382
|
-
),
|
|
6383
|
-
/* @__PURE__ */ jsx76(
|
|
6384
|
-
ChipBody,
|
|
6385
|
-
{
|
|
6386
|
-
center: { x: 0, y: 0, z: 0 },
|
|
6387
|
-
width: bodyWidth,
|
|
6388
|
-
length: bodyLength10,
|
|
6389
|
-
height: bodyHeight
|
|
6390
|
-
}
|
|
6391
|
-
)
|
|
6392
|
-
] });
|
|
6393
|
-
};
|
|
6394
|
-
|
|
6395
6402
|
// lib/SOT-563.tsx
|
|
6396
6403
|
import { Cuboid as Cuboid51, Translate as Translate35, Rotate as Rotate16, Colorize as Colorize42 } from "jscad-fiber";
|
|
6397
6404
|
import { Fragment as Fragment70, jsx as jsx77, jsxs as jsxs72 } from "react/jsx-runtime";
|