jscad-electronics 0.0.57 → 0.0.58
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 +133 -58
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +72 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -171,4 +171,6 @@ declare const SOD523: () => react_jsx_runtime.JSX.Element;
|
|
|
171
171
|
|
|
172
172
|
declare const SMA: () => react_jsx_runtime.JSX.Element;
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
declare const SMB: () => react_jsx_runtime.JSX.Element;
|
|
175
|
+
|
|
176
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, PinRow, QFN, QFP, SMA, SMB, SOD123, SOD523, SOT233P, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop, VSSOP };
|
package/dist/index.js
CHANGED
|
@@ -1751,15 +1751,87 @@ var SMA = () => {
|
|
|
1751
1751
|
] });
|
|
1752
1752
|
};
|
|
1753
1753
|
|
|
1754
|
+
// lib/SMB.tsx
|
|
1755
|
+
import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union7, Hull as Hull6, Translate as Translate11 } from "jscad-fiber";
|
|
1756
|
+
import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1757
|
+
var SMB = () => {
|
|
1758
|
+
const bodyWidth = 4.4;
|
|
1759
|
+
const bodyLength10 = 3.4;
|
|
1760
|
+
const bodyHeight = 2.3;
|
|
1761
|
+
const padWidth = 1.45;
|
|
1762
|
+
const padThickness = 0.12;
|
|
1763
|
+
const leadThickness = 0.2;
|
|
1764
|
+
const leadHeight = 1.14;
|
|
1765
|
+
const taperOffset = 0.4;
|
|
1766
|
+
const straightHeight = bodyHeight * 0.5;
|
|
1767
|
+
const Body = /* @__PURE__ */ jsx28(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs26(Union7, { children: [
|
|
1768
|
+
/* @__PURE__ */ jsxs26(Hull6, { children: [
|
|
1769
|
+
/* @__PURE__ */ jsx28(Translate11, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx28(
|
|
1770
|
+
Cuboid20,
|
|
1771
|
+
{
|
|
1772
|
+
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1773
|
+
}
|
|
1774
|
+
) }),
|
|
1775
|
+
/* @__PURE__ */ jsx28(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx28(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1776
|
+
] }),
|
|
1777
|
+
/* @__PURE__ */ jsxs26(Hull6, { children: [
|
|
1778
|
+
/* @__PURE__ */ jsx28(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx28(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1779
|
+
/* @__PURE__ */ jsx28(Translate11, { z: bodyHeight, children: /* @__PURE__ */ jsx28(
|
|
1780
|
+
Cuboid20,
|
|
1781
|
+
{
|
|
1782
|
+
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1783
|
+
}
|
|
1784
|
+
) })
|
|
1785
|
+
] })
|
|
1786
|
+
] }) });
|
|
1787
|
+
const Lead = ({ xDir }) => {
|
|
1788
|
+
const verticalGap = 1;
|
|
1789
|
+
const lowerPadGap = 1;
|
|
1790
|
+
const lowerPadX = xDir * (bodyLength10 / 2 - bodyHeight * 0.8 / 2 + lowerPadGap);
|
|
1791
|
+
const verticalLeadX = xDir * (bodyLength10 / 2 - leadThickness / 2 + verticalGap);
|
|
1792
|
+
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1793
|
+
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1794
|
+
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1795
|
+
return /* @__PURE__ */ jsx28(Colorize12, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs26(Union7, { children: [
|
|
1796
|
+
/* @__PURE__ */ jsx28(
|
|
1797
|
+
Cuboid20,
|
|
1798
|
+
{
|
|
1799
|
+
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1800
|
+
center: [lowerPadX, 0, leadThickness / 2]
|
|
1801
|
+
}
|
|
1802
|
+
),
|
|
1803
|
+
/* @__PURE__ */ jsx28(
|
|
1804
|
+
Cuboid20,
|
|
1805
|
+
{
|
|
1806
|
+
size: [leadThickness, padWidth, leadHeight],
|
|
1807
|
+
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1808
|
+
}
|
|
1809
|
+
),
|
|
1810
|
+
/* @__PURE__ */ jsx28(
|
|
1811
|
+
Cuboid20,
|
|
1812
|
+
{
|
|
1813
|
+
size: [bridgeLength, padWidth, leadThickness],
|
|
1814
|
+
center: [bridgeCenterX, 0, leadThickness / 2 + leadHeight]
|
|
1815
|
+
}
|
|
1816
|
+
)
|
|
1817
|
+
] }) });
|
|
1818
|
+
};
|
|
1819
|
+
return /* @__PURE__ */ jsxs26(Fragment24, { children: [
|
|
1820
|
+
/* @__PURE__ */ jsx28(Lead, { xDir: 1 }),
|
|
1821
|
+
/* @__PURE__ */ jsx28(Lead, { xDir: -1 }),
|
|
1822
|
+
Body
|
|
1823
|
+
] });
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1754
1826
|
// lib/Footprinter3d.tsx
|
|
1755
|
-
import { jsx as
|
|
1827
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
1756
1828
|
var Footprinter3d = ({ footprint }) => {
|
|
1757
1829
|
const fpJson = fp3.string(footprint).json();
|
|
1758
1830
|
switch (fpJson.fn) {
|
|
1759
1831
|
case "dip":
|
|
1760
|
-
return /* @__PURE__ */
|
|
1832
|
+
return /* @__PURE__ */ jsx29(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
1761
1833
|
case "tssop":
|
|
1762
|
-
return /* @__PURE__ */
|
|
1834
|
+
return /* @__PURE__ */ jsx29(
|
|
1763
1835
|
Tssop,
|
|
1764
1836
|
{
|
|
1765
1837
|
pinCount: fpJson.num_pins,
|
|
@@ -1770,7 +1842,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1770
1842
|
}
|
|
1771
1843
|
);
|
|
1772
1844
|
case "vssop":
|
|
1773
|
-
return /* @__PURE__ */
|
|
1845
|
+
return /* @__PURE__ */ jsx29(
|
|
1774
1846
|
VSSOP,
|
|
1775
1847
|
{
|
|
1776
1848
|
pinCount: fpJson.num_pins,
|
|
@@ -1782,7 +1854,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1782
1854
|
}
|
|
1783
1855
|
);
|
|
1784
1856
|
case "qfp":
|
|
1785
|
-
return /* @__PURE__ */
|
|
1857
|
+
return /* @__PURE__ */ jsx29(
|
|
1786
1858
|
QFP,
|
|
1787
1859
|
{
|
|
1788
1860
|
pinCount: fpJson.num_pins,
|
|
@@ -1794,7 +1866,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1794
1866
|
);
|
|
1795
1867
|
case "qfn":
|
|
1796
1868
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
1797
|
-
return /* @__PURE__ */
|
|
1869
|
+
return /* @__PURE__ */ jsx29(
|
|
1798
1870
|
qfn_default,
|
|
1799
1871
|
{
|
|
1800
1872
|
num_pins: fpJson.num_pins,
|
|
@@ -1811,35 +1883,35 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1811
1883
|
);
|
|
1812
1884
|
case "pinrow":
|
|
1813
1885
|
if (fpJson.male)
|
|
1814
|
-
return /* @__PURE__ */
|
|
1886
|
+
return /* @__PURE__ */ jsx29(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
1815
1887
|
if (fpJson.female)
|
|
1816
|
-
return /* @__PURE__ */
|
|
1888
|
+
return /* @__PURE__ */ jsx29(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
1817
1889
|
case "cap": {
|
|
1818
1890
|
switch (fpJson.imperial) {
|
|
1819
1891
|
case "0402":
|
|
1820
|
-
return /* @__PURE__ */
|
|
1892
|
+
return /* @__PURE__ */ jsx29(A0402, { color: "#856c4d" });
|
|
1821
1893
|
case "0603":
|
|
1822
|
-
return /* @__PURE__ */
|
|
1894
|
+
return /* @__PURE__ */ jsx29(A0603, { color: "#856c4d" });
|
|
1823
1895
|
case "0805":
|
|
1824
|
-
return /* @__PURE__ */
|
|
1896
|
+
return /* @__PURE__ */ jsx29(A0805, { color: "#856c4d" });
|
|
1825
1897
|
case "0201":
|
|
1826
|
-
return /* @__PURE__ */
|
|
1898
|
+
return /* @__PURE__ */ jsx29(A0201, { color: "#856c4d" });
|
|
1827
1899
|
case "01005":
|
|
1828
|
-
return /* @__PURE__ */
|
|
1900
|
+
return /* @__PURE__ */ jsx29(A01005, { color: "#856c4d" });
|
|
1829
1901
|
case "1206":
|
|
1830
|
-
return /* @__PURE__ */
|
|
1902
|
+
return /* @__PURE__ */ jsx29(A1206, { color: "#856c4d" });
|
|
1831
1903
|
case "1210":
|
|
1832
|
-
return /* @__PURE__ */
|
|
1904
|
+
return /* @__PURE__ */ jsx29(A1210, { color: "#856c4d" });
|
|
1833
1905
|
case "2010":
|
|
1834
|
-
return /* @__PURE__ */
|
|
1906
|
+
return /* @__PURE__ */ jsx29(A2010, { color: "#856c4d" });
|
|
1835
1907
|
case "2512":
|
|
1836
|
-
return /* @__PURE__ */
|
|
1908
|
+
return /* @__PURE__ */ jsx29(A2512, { color: "#856c4d" });
|
|
1837
1909
|
}
|
|
1838
1910
|
}
|
|
1839
1911
|
case "sot235":
|
|
1840
|
-
return /* @__PURE__ */
|
|
1912
|
+
return /* @__PURE__ */ jsx29(SOT_235_default, {});
|
|
1841
1913
|
case "pushbutton":
|
|
1842
|
-
return /* @__PURE__ */
|
|
1914
|
+
return /* @__PURE__ */ jsx29(
|
|
1843
1915
|
PushButton,
|
|
1844
1916
|
{
|
|
1845
1917
|
width: fpJson.w,
|
|
@@ -1848,7 +1920,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1848
1920
|
}
|
|
1849
1921
|
);
|
|
1850
1922
|
case "soic":
|
|
1851
|
-
return /* @__PURE__ */
|
|
1923
|
+
return /* @__PURE__ */ jsx29(
|
|
1852
1924
|
SOIC,
|
|
1853
1925
|
{
|
|
1854
1926
|
pinCount: fpJson.num_pins,
|
|
@@ -1859,37 +1931,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
1859
1931
|
}
|
|
1860
1932
|
);
|
|
1861
1933
|
case "sod523":
|
|
1862
|
-
return /* @__PURE__ */
|
|
1934
|
+
return /* @__PURE__ */ jsx29(SOD523, {});
|
|
1863
1935
|
case "sma":
|
|
1864
|
-
return /* @__PURE__ */
|
|
1936
|
+
return /* @__PURE__ */ jsx29(SMA, {});
|
|
1937
|
+
case "smb":
|
|
1938
|
+
return /* @__PURE__ */ jsx29(SMB, {});
|
|
1865
1939
|
}
|
|
1866
1940
|
const colorMatch = footprint.match(/_color\(([^)]+)\)/);
|
|
1867
1941
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
1868
1942
|
switch (fpJson.imperial) {
|
|
1869
1943
|
case "0402":
|
|
1870
|
-
return /* @__PURE__ */
|
|
1944
|
+
return /* @__PURE__ */ jsx29(A0402, { color });
|
|
1871
1945
|
case "0603":
|
|
1872
|
-
return /* @__PURE__ */
|
|
1946
|
+
return /* @__PURE__ */ jsx29(A0603, { color });
|
|
1873
1947
|
case "0805":
|
|
1874
|
-
return /* @__PURE__ */
|
|
1948
|
+
return /* @__PURE__ */ jsx29(A0805, { color });
|
|
1875
1949
|
case "0201":
|
|
1876
|
-
return /* @__PURE__ */
|
|
1950
|
+
return /* @__PURE__ */ jsx29(A0201, { color });
|
|
1877
1951
|
case "01005":
|
|
1878
|
-
return /* @__PURE__ */
|
|
1952
|
+
return /* @__PURE__ */ jsx29(A01005, { color });
|
|
1879
1953
|
case "1206":
|
|
1880
|
-
return /* @__PURE__ */
|
|
1954
|
+
return /* @__PURE__ */ jsx29(A1206, { color });
|
|
1881
1955
|
case "1210":
|
|
1882
|
-
return /* @__PURE__ */
|
|
1956
|
+
return /* @__PURE__ */ jsx29(A1210, { color });
|
|
1883
1957
|
case "2010":
|
|
1884
|
-
return /* @__PURE__ */
|
|
1958
|
+
return /* @__PURE__ */ jsx29(A2010, { color });
|
|
1885
1959
|
case "2512":
|
|
1886
|
-
return /* @__PURE__ */
|
|
1960
|
+
return /* @__PURE__ */ jsx29(A2512, { color });
|
|
1887
1961
|
}
|
|
1888
1962
|
return null;
|
|
1889
1963
|
};
|
|
1890
1964
|
|
|
1891
1965
|
// lib/SOT-23-3P.tsx
|
|
1892
|
-
import { Fragment as
|
|
1966
|
+
import { Fragment as Fragment25, jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1893
1967
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
1894
1968
|
const bodyWidth = 1.3;
|
|
1895
1969
|
const bodyLength10 = 2.9;
|
|
@@ -1900,8 +1974,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1900
1974
|
const padContactLength = 0.4;
|
|
1901
1975
|
const padThickness = leadThickness / 2;
|
|
1902
1976
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
1903
|
-
return /* @__PURE__ */
|
|
1904
|
-
/* @__PURE__ */
|
|
1977
|
+
return /* @__PURE__ */ jsxs27(Fragment25, { children: [
|
|
1978
|
+
/* @__PURE__ */ jsx30(
|
|
1905
1979
|
SmdChipLead,
|
|
1906
1980
|
{
|
|
1907
1981
|
rotation: Math.PI,
|
|
@@ -1918,7 +1992,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1918
1992
|
},
|
|
1919
1993
|
1
|
|
1920
1994
|
),
|
|
1921
|
-
/* @__PURE__ */
|
|
1995
|
+
/* @__PURE__ */ jsx30(
|
|
1922
1996
|
SmdChipLead,
|
|
1923
1997
|
{
|
|
1924
1998
|
rotation: Math.PI,
|
|
@@ -1935,7 +2009,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1935
2009
|
},
|
|
1936
2010
|
2
|
|
1937
2011
|
),
|
|
1938
|
-
/* @__PURE__ */
|
|
2012
|
+
/* @__PURE__ */ jsx30(
|
|
1939
2013
|
SmdChipLead,
|
|
1940
2014
|
{
|
|
1941
2015
|
position: {
|
|
@@ -1951,7 +2025,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1951
2025
|
},
|
|
1952
2026
|
3
|
|
1953
2027
|
),
|
|
1954
|
-
/* @__PURE__ */
|
|
2028
|
+
/* @__PURE__ */ jsx30(
|
|
1955
2029
|
ChipBody,
|
|
1956
2030
|
{
|
|
1957
2031
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -1964,8 +2038,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
1964
2038
|
};
|
|
1965
2039
|
|
|
1966
2040
|
// lib/SOT-563.tsx
|
|
1967
|
-
import { Cuboid as
|
|
1968
|
-
import { Fragment as
|
|
2041
|
+
import { Cuboid as Cuboid21, Translate as Translate12, Rotate as Rotate6, Colorize as Colorize13 } from "jscad-fiber";
|
|
2042
|
+
import { Fragment as Fragment26, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1969
2043
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
1970
2044
|
const bodyWidth = 1.2;
|
|
1971
2045
|
const bodyLength10 = 1.6;
|
|
@@ -1975,28 +2049,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
1975
2049
|
const leadHeight = 0.13;
|
|
1976
2050
|
const leadSpacing = 0.5;
|
|
1977
2051
|
const bodyZOffset = -0.4;
|
|
1978
|
-
return /* @__PURE__ */
|
|
1979
|
-
/* @__PURE__ */
|
|
2052
|
+
return /* @__PURE__ */ jsxs28(Fragment26, { children: [
|
|
2053
|
+
/* @__PURE__ */ jsx31(Rotate6, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx31(Translate12, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx31(Colorize13, { color: "grey", children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
1980
2054
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
1981
2055
|
// Left lead
|
|
1982
|
-
/* @__PURE__ */
|
|
1983
|
-
|
|
2056
|
+
/* @__PURE__ */ jsx31(
|
|
2057
|
+
Translate12,
|
|
1984
2058
|
{
|
|
1985
2059
|
center: [
|
|
1986
2060
|
-bodyWidth / 2 - 0.03,
|
|
1987
2061
|
yOffset * leadSpacing,
|
|
1988
2062
|
leadHeight / 2
|
|
1989
2063
|
],
|
|
1990
|
-
children: /* @__PURE__ */
|
|
2064
|
+
children: /* @__PURE__ */ jsx31(Cuboid21, { size: [leadLength, leadWidth, leadHeight] })
|
|
1991
2065
|
},
|
|
1992
2066
|
`left-${index}`
|
|
1993
2067
|
),
|
|
1994
2068
|
// Right lead
|
|
1995
|
-
/* @__PURE__ */
|
|
1996
|
-
|
|
2069
|
+
/* @__PURE__ */ jsx31(
|
|
2070
|
+
Translate12,
|
|
1997
2071
|
{
|
|
1998
2072
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
1999
|
-
children: /* @__PURE__ */
|
|
2073
|
+
children: /* @__PURE__ */ jsx31(Cuboid21, { size: [leadLength, leadWidth, leadHeight] })
|
|
2000
2074
|
},
|
|
2001
2075
|
`right-${index}`
|
|
2002
2076
|
)
|
|
@@ -2005,8 +2079,8 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2005
2079
|
};
|
|
2006
2080
|
|
|
2007
2081
|
// lib/SOT-723.tsx
|
|
2008
|
-
import { Cuboid as
|
|
2009
|
-
import { Fragment as
|
|
2082
|
+
import { Cuboid as Cuboid22, Translate as Translate13, Rotate as Rotate7, Colorize as Colorize14 } from "jscad-fiber";
|
|
2083
|
+
import { Fragment as Fragment27, jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2010
2084
|
var getCcwSot723Coords = (pn) => {
|
|
2011
2085
|
if (pn === 1) {
|
|
2012
2086
|
return { x: 0, y: 0 };
|
|
@@ -2024,12 +2098,12 @@ var SOT723 = () => {
|
|
|
2024
2098
|
const leadLength = 0.3;
|
|
2025
2099
|
const leadHeight = 0.1;
|
|
2026
2100
|
const centerLeadWidth = 0.42;
|
|
2027
|
-
return /* @__PURE__ */
|
|
2028
|
-
/* @__PURE__ */
|
|
2101
|
+
return /* @__PURE__ */ jsxs29(Fragment27, { children: [
|
|
2102
|
+
/* @__PURE__ */ jsx32(Rotate7, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx32(Translate13, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ jsx32(Colorize14, { color: "grey", children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
2029
2103
|
[1, 2, 3].map((pn) => {
|
|
2030
2104
|
const { x, y } = getCcwSot723Coords(pn);
|
|
2031
|
-
return /* @__PURE__ */
|
|
2032
|
-
|
|
2105
|
+
return /* @__PURE__ */ jsx32(Translate13, { center: [x, y, 0], children: /* @__PURE__ */ jsx32(
|
|
2106
|
+
Cuboid22,
|
|
2033
2107
|
{
|
|
2034
2108
|
size: [
|
|
2035
2109
|
leadLength,
|
|
@@ -2043,7 +2117,7 @@ var SOT723 = () => {
|
|
|
2043
2117
|
};
|
|
2044
2118
|
|
|
2045
2119
|
// lib/sod-123.tsx
|
|
2046
|
-
import { Fragment as
|
|
2120
|
+
import { Fragment as Fragment28, jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2047
2121
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
2048
2122
|
const bodyWidth = 2.9;
|
|
2049
2123
|
const bodyLength10 = 1.3;
|
|
@@ -2054,8 +2128,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2054
2128
|
const padContactLength = 0.4;
|
|
2055
2129
|
const padThickness = leadThickness / 2;
|
|
2056
2130
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
2057
|
-
return /* @__PURE__ */
|
|
2058
|
-
/* @__PURE__ */
|
|
2131
|
+
return /* @__PURE__ */ jsxs30(Fragment28, { children: [
|
|
2132
|
+
/* @__PURE__ */ jsx33(
|
|
2059
2133
|
SmdChipLead,
|
|
2060
2134
|
{
|
|
2061
2135
|
position: {
|
|
@@ -2071,7 +2145,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2071
2145
|
},
|
|
2072
2146
|
1
|
|
2073
2147
|
),
|
|
2074
|
-
/* @__PURE__ */
|
|
2148
|
+
/* @__PURE__ */ jsx33(
|
|
2075
2149
|
SmdChipLead,
|
|
2076
2150
|
{
|
|
2077
2151
|
rotation: Math.PI,
|
|
@@ -2088,7 +2162,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2088
2162
|
},
|
|
2089
2163
|
2
|
|
2090
2164
|
),
|
|
2091
|
-
/* @__PURE__ */
|
|
2165
|
+
/* @__PURE__ */ jsx33(
|
|
2092
2166
|
ChipBody,
|
|
2093
2167
|
{
|
|
2094
2168
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2119,6 +2193,7 @@ export {
|
|
|
2119
2193
|
QFN,
|
|
2120
2194
|
QFP,
|
|
2121
2195
|
SMA,
|
|
2196
|
+
SMB,
|
|
2122
2197
|
SOD123,
|
|
2123
2198
|
SOD523,
|
|
2124
2199
|
SOT233P,
|