jscad-electronics 0.0.56 → 0.0.57
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 +3 -1
- package/dist/index.js +132 -57
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +73 -1
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -169,4 +169,6 @@ declare const PinRow: ({ numberOfPins, pitch, longSidePinLength, }: {
|
|
|
169
169
|
|
|
170
170
|
declare const SOD523: () => react_jsx_runtime.JSX.Element;
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
declare const SMA: () => react_jsx_runtime.JSX.Element;
|
|
173
|
+
|
|
174
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, PinRow, QFN, QFP, SMA, SOD123, SOD523, SOT233P, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop, VSSOP };
|
package/dist/index.js
CHANGED
|
@@ -1679,15 +1679,87 @@ var SOD523 = () => {
|
|
|
1679
1679
|
] });
|
|
1680
1680
|
};
|
|
1681
1681
|
|
|
1682
|
+
// lib/SMA.tsx
|
|
1683
|
+
import { Cuboid as Cuboid19, Colorize as Colorize11, Union as Union6, Hull as Hull5, Translate as Translate10 } from "jscad-fiber";
|
|
1684
|
+
import { Fragment as Fragment23, jsx as jsx27, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1685
|
+
var SMA = () => {
|
|
1686
|
+
const bodyWidth = 4.4;
|
|
1687
|
+
const bodyLength10 = 3.4;
|
|
1688
|
+
const bodyHeight = 2.3;
|
|
1689
|
+
const padWidth = 1.45;
|
|
1690
|
+
const padThickness = 0.12;
|
|
1691
|
+
const leadThickness = 0.2;
|
|
1692
|
+
const leadHeight = 1.14;
|
|
1693
|
+
const taperOffset = 0.4;
|
|
1694
|
+
const straightHeight = bodyHeight * 0.5;
|
|
1695
|
+
const Body = /* @__PURE__ */ jsx27(Colorize11, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs25(Union6, { children: [
|
|
1696
|
+
/* @__PURE__ */ jsxs25(Hull5, { children: [
|
|
1697
|
+
/* @__PURE__ */ jsx27(Translate10, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx27(
|
|
1698
|
+
Cuboid19,
|
|
1699
|
+
{
|
|
1700
|
+
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1701
|
+
}
|
|
1702
|
+
) }),
|
|
1703
|
+
/* @__PURE__ */ jsx27(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx27(Cuboid19, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1704
|
+
] }),
|
|
1705
|
+
/* @__PURE__ */ jsxs25(Hull5, { children: [
|
|
1706
|
+
/* @__PURE__ */ jsx27(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx27(Cuboid19, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1707
|
+
/* @__PURE__ */ jsx27(Translate10, { z: bodyHeight, children: /* @__PURE__ */ jsx27(
|
|
1708
|
+
Cuboid19,
|
|
1709
|
+
{
|
|
1710
|
+
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1711
|
+
}
|
|
1712
|
+
) })
|
|
1713
|
+
] })
|
|
1714
|
+
] }) });
|
|
1715
|
+
const Lead = ({ xDir }) => {
|
|
1716
|
+
const verticalGap = 1;
|
|
1717
|
+
const lowerPadGap = 1;
|
|
1718
|
+
const lowerPadX = xDir * (bodyLength10 / 2 - bodyHeight * 0.8 / 2 + lowerPadGap);
|
|
1719
|
+
const verticalLeadX = xDir * (bodyLength10 / 2 - leadThickness / 2 + verticalGap);
|
|
1720
|
+
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1721
|
+
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1722
|
+
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1723
|
+
return /* @__PURE__ */ jsx27(Colorize11, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs25(Union6, { children: [
|
|
1724
|
+
/* @__PURE__ */ jsx27(
|
|
1725
|
+
Cuboid19,
|
|
1726
|
+
{
|
|
1727
|
+
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1728
|
+
center: [lowerPadX, 0, leadThickness / 2]
|
|
1729
|
+
}
|
|
1730
|
+
),
|
|
1731
|
+
/* @__PURE__ */ jsx27(
|
|
1732
|
+
Cuboid19,
|
|
1733
|
+
{
|
|
1734
|
+
size: [leadThickness, padWidth, leadHeight],
|
|
1735
|
+
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1736
|
+
}
|
|
1737
|
+
),
|
|
1738
|
+
/* @__PURE__ */ jsx27(
|
|
1739
|
+
Cuboid19,
|
|
1740
|
+
{
|
|
1741
|
+
size: [bridgeLength, padWidth, leadThickness],
|
|
1742
|
+
center: [bridgeCenterX, 0, leadThickness / 2 + leadHeight]
|
|
1743
|
+
}
|
|
1744
|
+
)
|
|
1745
|
+
] }) });
|
|
1746
|
+
};
|
|
1747
|
+
return /* @__PURE__ */ jsxs25(Fragment23, { children: [
|
|
1748
|
+
/* @__PURE__ */ jsx27(Lead, { xDir: 1 }),
|
|
1749
|
+
/* @__PURE__ */ jsx27(Lead, { xDir: -1 }),
|
|
1750
|
+
Body
|
|
1751
|
+
] });
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1682
1754
|
// lib/Footprinter3d.tsx
|
|
1683
|
-
import { jsx as
|
|
1755
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1684
1756
|
var Footprinter3d = ({ footprint }) => {
|
|
1685
1757
|
const fpJson = fp3.string(footprint).json();
|
|
1686
1758
|
switch (fpJson.fn) {
|
|
1687
1759
|
case "dip":
|
|
1688
|
-
return /* @__PURE__ */
|
|
1760
|
+
return /* @__PURE__ */ jsx28(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
1689
1761
|
case "tssop":
|
|
1690
|
-
return /* @__PURE__ */
|
|
1762
|
+
return /* @__PURE__ */ jsx28(
|
|
1691
1763
|
Tssop,
|
|
1692
1764
|
{
|
|
1693
1765
|
pinCount: fpJson.num_pins,
|
|
@@ -1698,7 +1770,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1698
1770
|
}
|
|
1699
1771
|
);
|
|
1700
1772
|
case "vssop":
|
|
1701
|
-
return /* @__PURE__ */
|
|
1773
|
+
return /* @__PURE__ */ jsx28(
|
|
1702
1774
|
VSSOP,
|
|
1703
1775
|
{
|
|
1704
1776
|
pinCount: fpJson.num_pins,
|
|
@@ -1710,7 +1782,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1710
1782
|
}
|
|
1711
1783
|
);
|
|
1712
1784
|
case "qfp":
|
|
1713
|
-
return /* @__PURE__ */
|
|
1785
|
+
return /* @__PURE__ */ jsx28(
|
|
1714
1786
|
QFP,
|
|
1715
1787
|
{
|
|
1716
1788
|
pinCount: fpJson.num_pins,
|
|
@@ -1722,7 +1794,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1722
1794
|
);
|
|
1723
1795
|
case "qfn":
|
|
1724
1796
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
1725
|
-
return /* @__PURE__ */
|
|
1797
|
+
return /* @__PURE__ */ jsx28(
|
|
1726
1798
|
qfn_default,
|
|
1727
1799
|
{
|
|
1728
1800
|
num_pins: fpJson.num_pins,
|
|
@@ -1739,35 +1811,35 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1739
1811
|
);
|
|
1740
1812
|
case "pinrow":
|
|
1741
1813
|
if (fpJson.male)
|
|
1742
|
-
return /* @__PURE__ */
|
|
1814
|
+
return /* @__PURE__ */ jsx28(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
1743
1815
|
if (fpJson.female)
|
|
1744
|
-
return /* @__PURE__ */
|
|
1816
|
+
return /* @__PURE__ */ jsx28(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
1745
1817
|
case "cap": {
|
|
1746
1818
|
switch (fpJson.imperial) {
|
|
1747
1819
|
case "0402":
|
|
1748
|
-
return /* @__PURE__ */
|
|
1820
|
+
return /* @__PURE__ */ jsx28(A0402, { color: "#856c4d" });
|
|
1749
1821
|
case "0603":
|
|
1750
|
-
return /* @__PURE__ */
|
|
1822
|
+
return /* @__PURE__ */ jsx28(A0603, { color: "#856c4d" });
|
|
1751
1823
|
case "0805":
|
|
1752
|
-
return /* @__PURE__ */
|
|
1824
|
+
return /* @__PURE__ */ jsx28(A0805, { color: "#856c4d" });
|
|
1753
1825
|
case "0201":
|
|
1754
|
-
return /* @__PURE__ */
|
|
1826
|
+
return /* @__PURE__ */ jsx28(A0201, { color: "#856c4d" });
|
|
1755
1827
|
case "01005":
|
|
1756
|
-
return /* @__PURE__ */
|
|
1828
|
+
return /* @__PURE__ */ jsx28(A01005, { color: "#856c4d" });
|
|
1757
1829
|
case "1206":
|
|
1758
|
-
return /* @__PURE__ */
|
|
1830
|
+
return /* @__PURE__ */ jsx28(A1206, { color: "#856c4d" });
|
|
1759
1831
|
case "1210":
|
|
1760
|
-
return /* @__PURE__ */
|
|
1832
|
+
return /* @__PURE__ */ jsx28(A1210, { color: "#856c4d" });
|
|
1761
1833
|
case "2010":
|
|
1762
|
-
return /* @__PURE__ */
|
|
1834
|
+
return /* @__PURE__ */ jsx28(A2010, { color: "#856c4d" });
|
|
1763
1835
|
case "2512":
|
|
1764
|
-
return /* @__PURE__ */
|
|
1836
|
+
return /* @__PURE__ */ jsx28(A2512, { color: "#856c4d" });
|
|
1765
1837
|
}
|
|
1766
1838
|
}
|
|
1767
1839
|
case "sot235":
|
|
1768
|
-
return /* @__PURE__ */
|
|
1840
|
+
return /* @__PURE__ */ jsx28(SOT_235_default, {});
|
|
1769
1841
|
case "pushbutton":
|
|
1770
|
-
return /* @__PURE__ */
|
|
1842
|
+
return /* @__PURE__ */ jsx28(
|
|
1771
1843
|
PushButton,
|
|
1772
1844
|
{
|
|
1773
1845
|
width: fpJson.w,
|
|
@@ -1776,7 +1848,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1776
1848
|
}
|
|
1777
1849
|
);
|
|
1778
1850
|
case "soic":
|
|
1779
|
-
return /* @__PURE__ */
|
|
1851
|
+
return /* @__PURE__ */ jsx28(
|
|
1780
1852
|
SOIC,
|
|
1781
1853
|
{
|
|
1782
1854
|
pinCount: fpJson.num_pins,
|
|
@@ -1787,35 +1859,37 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1787
1859
|
}
|
|
1788
1860
|
);
|
|
1789
1861
|
case "sod523":
|
|
1790
|
-
return /* @__PURE__ */
|
|
1862
|
+
return /* @__PURE__ */ jsx28(SOD523, {});
|
|
1863
|
+
case "sma":
|
|
1864
|
+
return /* @__PURE__ */ jsx28(SMA, {});
|
|
1791
1865
|
}
|
|
1792
1866
|
const colorMatch = footprint.match(/_color\(([^)]+)\)/);
|
|
1793
1867
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
1794
1868
|
switch (fpJson.imperial) {
|
|
1795
1869
|
case "0402":
|
|
1796
|
-
return /* @__PURE__ */
|
|
1870
|
+
return /* @__PURE__ */ jsx28(A0402, { color });
|
|
1797
1871
|
case "0603":
|
|
1798
|
-
return /* @__PURE__ */
|
|
1872
|
+
return /* @__PURE__ */ jsx28(A0603, { color });
|
|
1799
1873
|
case "0805":
|
|
1800
|
-
return /* @__PURE__ */
|
|
1874
|
+
return /* @__PURE__ */ jsx28(A0805, { color });
|
|
1801
1875
|
case "0201":
|
|
1802
|
-
return /* @__PURE__ */
|
|
1876
|
+
return /* @__PURE__ */ jsx28(A0201, { color });
|
|
1803
1877
|
case "01005":
|
|
1804
|
-
return /* @__PURE__ */
|
|
1878
|
+
return /* @__PURE__ */ jsx28(A01005, { color });
|
|
1805
1879
|
case "1206":
|
|
1806
|
-
return /* @__PURE__ */
|
|
1880
|
+
return /* @__PURE__ */ jsx28(A1206, { color });
|
|
1807
1881
|
case "1210":
|
|
1808
|
-
return /* @__PURE__ */
|
|
1882
|
+
return /* @__PURE__ */ jsx28(A1210, { color });
|
|
1809
1883
|
case "2010":
|
|
1810
|
-
return /* @__PURE__ */
|
|
1884
|
+
return /* @__PURE__ */ jsx28(A2010, { color });
|
|
1811
1885
|
case "2512":
|
|
1812
|
-
return /* @__PURE__ */
|
|
1886
|
+
return /* @__PURE__ */ jsx28(A2512, { color });
|
|
1813
1887
|
}
|
|
1814
1888
|
return null;
|
|
1815
1889
|
};
|
|
1816
1890
|
|
|
1817
1891
|
// lib/SOT-23-3P.tsx
|
|
1818
|
-
import { Fragment as
|
|
1892
|
+
import { Fragment as Fragment24, jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1819
1893
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
1820
1894
|
const bodyWidth = 1.3;
|
|
1821
1895
|
const bodyLength10 = 2.9;
|
|
@@ -1826,8 +1900,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1826
1900
|
const padContactLength = 0.4;
|
|
1827
1901
|
const padThickness = leadThickness / 2;
|
|
1828
1902
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1829
|
-
return /* @__PURE__ */
|
|
1830
|
-
/* @__PURE__ */
|
|
1903
|
+
return /* @__PURE__ */ jsxs26(Fragment24, { children: [
|
|
1904
|
+
/* @__PURE__ */ jsx29(
|
|
1831
1905
|
SmdChipLead,
|
|
1832
1906
|
{
|
|
1833
1907
|
rotation: Math.PI,
|
|
@@ -1844,7 +1918,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1844
1918
|
},
|
|
1845
1919
|
1
|
|
1846
1920
|
),
|
|
1847
|
-
/* @__PURE__ */
|
|
1921
|
+
/* @__PURE__ */ jsx29(
|
|
1848
1922
|
SmdChipLead,
|
|
1849
1923
|
{
|
|
1850
1924
|
rotation: Math.PI,
|
|
@@ -1861,7 +1935,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1861
1935
|
},
|
|
1862
1936
|
2
|
|
1863
1937
|
),
|
|
1864
|
-
/* @__PURE__ */
|
|
1938
|
+
/* @__PURE__ */ jsx29(
|
|
1865
1939
|
SmdChipLead,
|
|
1866
1940
|
{
|
|
1867
1941
|
position: {
|
|
@@ -1877,7 +1951,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1877
1951
|
},
|
|
1878
1952
|
3
|
|
1879
1953
|
),
|
|
1880
|
-
/* @__PURE__ */
|
|
1954
|
+
/* @__PURE__ */ jsx29(
|
|
1881
1955
|
ChipBody,
|
|
1882
1956
|
{
|
|
1883
1957
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -1890,8 +1964,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1890
1964
|
};
|
|
1891
1965
|
|
|
1892
1966
|
// lib/SOT-563.tsx
|
|
1893
|
-
import { Cuboid as
|
|
1894
|
-
import { Fragment as
|
|
1967
|
+
import { Cuboid as Cuboid20, Translate as Translate11, Rotate as Rotate6, Colorize as Colorize12 } from "jscad-fiber";
|
|
1968
|
+
import { Fragment as Fragment25, jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1895
1969
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
1896
1970
|
const bodyWidth = 1.2;
|
|
1897
1971
|
const bodyLength10 = 1.6;
|
|
@@ -1901,28 +1975,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
1901
1975
|
const leadHeight = 0.13;
|
|
1902
1976
|
const leadSpacing = 0.5;
|
|
1903
1977
|
const bodyZOffset = -0.4;
|
|
1904
|
-
return /* @__PURE__ */
|
|
1905
|
-
/* @__PURE__ */
|
|
1978
|
+
return /* @__PURE__ */ jsxs27(Fragment25, { children: [
|
|
1979
|
+
/* @__PURE__ */ jsx30(Rotate6, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx30(Translate11, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx30(Colorize12, { color: "grey", children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
1906
1980
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
1907
1981
|
// Left lead
|
|
1908
|
-
/* @__PURE__ */
|
|
1909
|
-
|
|
1982
|
+
/* @__PURE__ */ jsx30(
|
|
1983
|
+
Translate11,
|
|
1910
1984
|
{
|
|
1911
1985
|
center: [
|
|
1912
1986
|
-bodyWidth / 2 - 0.03,
|
|
1913
1987
|
yOffset * leadSpacing,
|
|
1914
1988
|
leadHeight / 2
|
|
1915
1989
|
],
|
|
1916
|
-
children: /* @__PURE__ */
|
|
1990
|
+
children: /* @__PURE__ */ jsx30(Cuboid20, { size: [leadLength, leadWidth, leadHeight] })
|
|
1917
1991
|
},
|
|
1918
1992
|
`left-${index}`
|
|
1919
1993
|
),
|
|
1920
1994
|
// Right lead
|
|
1921
|
-
/* @__PURE__ */
|
|
1922
|
-
|
|
1995
|
+
/* @__PURE__ */ jsx30(
|
|
1996
|
+
Translate11,
|
|
1923
1997
|
{
|
|
1924
1998
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
1925
|
-
children: /* @__PURE__ */
|
|
1999
|
+
children: /* @__PURE__ */ jsx30(Cuboid20, { size: [leadLength, leadWidth, leadHeight] })
|
|
1926
2000
|
},
|
|
1927
2001
|
`right-${index}`
|
|
1928
2002
|
)
|
|
@@ -1931,8 +2005,8 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
1931
2005
|
};
|
|
1932
2006
|
|
|
1933
2007
|
// lib/SOT-723.tsx
|
|
1934
|
-
import { Cuboid as
|
|
1935
|
-
import { Fragment as
|
|
2008
|
+
import { Cuboid as Cuboid21, Translate as Translate12, Rotate as Rotate7, Colorize as Colorize13 } from "jscad-fiber";
|
|
2009
|
+
import { Fragment as Fragment26, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1936
2010
|
var getCcwSot723Coords = (pn) => {
|
|
1937
2011
|
if (pn === 1) {
|
|
1938
2012
|
return { x: 0, y: 0 };
|
|
@@ -1950,12 +2024,12 @@ var SOT723 = () => {
|
|
|
1950
2024
|
const leadLength = 0.3;
|
|
1951
2025
|
const leadHeight = 0.1;
|
|
1952
2026
|
const centerLeadWidth = 0.42;
|
|
1953
|
-
return /* @__PURE__ */
|
|
1954
|
-
/* @__PURE__ */
|
|
2027
|
+
return /* @__PURE__ */ jsxs28(Fragment26, { children: [
|
|
2028
|
+
/* @__PURE__ */ jsx31(Rotate7, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx31(Translate12, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ jsx31(Colorize13, { color: "grey", children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
1955
2029
|
[1, 2, 3].map((pn) => {
|
|
1956
2030
|
const { x, y } = getCcwSot723Coords(pn);
|
|
1957
|
-
return /* @__PURE__ */
|
|
1958
|
-
|
|
2031
|
+
return /* @__PURE__ */ jsx31(Translate12, { center: [x, y, 0], children: /* @__PURE__ */ jsx31(
|
|
2032
|
+
Cuboid21,
|
|
1959
2033
|
{
|
|
1960
2034
|
size: [
|
|
1961
2035
|
leadLength,
|
|
@@ -1969,7 +2043,7 @@ var SOT723 = () => {
|
|
|
1969
2043
|
};
|
|
1970
2044
|
|
|
1971
2045
|
// lib/sod-123.tsx
|
|
1972
|
-
import { Fragment as
|
|
2046
|
+
import { Fragment as Fragment27, jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1973
2047
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
1974
2048
|
const bodyWidth = 2.9;
|
|
1975
2049
|
const bodyLength10 = 1.3;
|
|
@@ -1980,8 +2054,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
1980
2054
|
const padContactLength = 0.4;
|
|
1981
2055
|
const padThickness = leadThickness / 2;
|
|
1982
2056
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
1983
|
-
return /* @__PURE__ */
|
|
1984
|
-
/* @__PURE__ */
|
|
2057
|
+
return /* @__PURE__ */ jsxs29(Fragment27, { children: [
|
|
2058
|
+
/* @__PURE__ */ jsx32(
|
|
1985
2059
|
SmdChipLead,
|
|
1986
2060
|
{
|
|
1987
2061
|
position: {
|
|
@@ -1997,7 +2071,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
1997
2071
|
},
|
|
1998
2072
|
1
|
|
1999
2073
|
),
|
|
2000
|
-
/* @__PURE__ */
|
|
2074
|
+
/* @__PURE__ */ jsx32(
|
|
2001
2075
|
SmdChipLead,
|
|
2002
2076
|
{
|
|
2003
2077
|
rotation: Math.PI,
|
|
@@ -2014,7 +2088,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2014
2088
|
},
|
|
2015
2089
|
2
|
|
2016
2090
|
),
|
|
2017
|
-
/* @__PURE__ */
|
|
2091
|
+
/* @__PURE__ */ jsx32(
|
|
2018
2092
|
ChipBody,
|
|
2019
2093
|
{
|
|
2020
2094
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2044,6 +2118,7 @@ export {
|
|
|
2044
2118
|
PinRow,
|
|
2045
2119
|
QFN,
|
|
2046
2120
|
QFP,
|
|
2121
|
+
SMA,
|
|
2047
2122
|
SOD123,
|
|
2048
2123
|
SOD523,
|
|
2049
2124
|
SOT233P,
|