jscad-electronics 0.0.85 → 0.0.86
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 +335 -266
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +66 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1791,9 +1791,75 @@ var SOD523 = () => {
|
|
|
1791
1791
|
] });
|
|
1792
1792
|
};
|
|
1793
1793
|
|
|
1794
|
-
// lib/
|
|
1795
|
-
import {
|
|
1794
|
+
// lib/SOD882.tsx
|
|
1795
|
+
import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate10 } from "jscad-fiber";
|
|
1796
1796
|
import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1797
|
+
var SOD882 = () => {
|
|
1798
|
+
const bodyLength10 = 0.98;
|
|
1799
|
+
const bodyHeight = 0.47;
|
|
1800
|
+
const pitch = 0.65;
|
|
1801
|
+
const padWidth = 0.51;
|
|
1802
|
+
const padLength = 0.26;
|
|
1803
|
+
const padThickness = 0.12;
|
|
1804
|
+
const bodyWidth = 0.58;
|
|
1805
|
+
const leftPadCenterX = -pitch / 2;
|
|
1806
|
+
const rightPadCenterX = pitch / 2;
|
|
1807
|
+
return /* @__PURE__ */ jsxs26(Fragment24, { children: [
|
|
1808
|
+
/* @__PURE__ */ jsx28(
|
|
1809
|
+
Cuboid19,
|
|
1810
|
+
{
|
|
1811
|
+
color: "#ccc",
|
|
1812
|
+
size: [padLength, padWidth, padThickness],
|
|
1813
|
+
center: [leftPadCenterX, 0, padThickness / 2]
|
|
1814
|
+
}
|
|
1815
|
+
),
|
|
1816
|
+
/* @__PURE__ */ jsx28(
|
|
1817
|
+
Cuboid19,
|
|
1818
|
+
{
|
|
1819
|
+
color: "#ccc",
|
|
1820
|
+
size: [padLength, padWidth, padThickness],
|
|
1821
|
+
center: [rightPadCenterX, 0, padThickness / 2]
|
|
1822
|
+
}
|
|
1823
|
+
),
|
|
1824
|
+
/* @__PURE__ */ jsx28(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx28(Translate10, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx28(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
|
|
1825
|
+
/* @__PURE__ */ jsx28(
|
|
1826
|
+
Cuboid19,
|
|
1827
|
+
{
|
|
1828
|
+
color: "#ccc",
|
|
1829
|
+
size: [bodyLength10 + 1e-3, padLength / 2, padLength / 4],
|
|
1830
|
+
center: [0, padLength / 2, bodyHeight / 4]
|
|
1831
|
+
}
|
|
1832
|
+
),
|
|
1833
|
+
/* @__PURE__ */ jsx28(
|
|
1834
|
+
Cuboid19,
|
|
1835
|
+
{
|
|
1836
|
+
color: "#ccc",
|
|
1837
|
+
size: [bodyLength10 + 1e-3, padLength / 2, padLength / 4],
|
|
1838
|
+
center: [0, -padLength / 2, bodyHeight / 4]
|
|
1839
|
+
}
|
|
1840
|
+
),
|
|
1841
|
+
/* @__PURE__ */ jsx28(
|
|
1842
|
+
Cuboid19,
|
|
1843
|
+
{
|
|
1844
|
+
color: "#ccc",
|
|
1845
|
+
size: [padLength / 1.5, bodyWidth + 1e-3, padLength / 4],
|
|
1846
|
+
center: [pitch / 2, 0, bodyHeight / 4]
|
|
1847
|
+
}
|
|
1848
|
+
),
|
|
1849
|
+
/* @__PURE__ */ jsx28(
|
|
1850
|
+
Cuboid19,
|
|
1851
|
+
{
|
|
1852
|
+
color: "#ccc",
|
|
1853
|
+
size: [padLength / 1.5, bodyWidth + 1e-3, padLength / 4],
|
|
1854
|
+
center: [-pitch / 2, 0, bodyHeight / 4]
|
|
1855
|
+
}
|
|
1856
|
+
)
|
|
1857
|
+
] });
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
// lib/SMA.tsx
|
|
1861
|
+
import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union7, Hull as Hull6, Translate as Translate11 } from "jscad-fiber";
|
|
1862
|
+
import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1797
1863
|
var SMA = () => {
|
|
1798
1864
|
const bodyWidth = 4.4;
|
|
1799
1865
|
const bodyLength10 = 3.4;
|
|
@@ -1804,20 +1870,20 @@ var SMA = () => {
|
|
|
1804
1870
|
const leadHeight = 1.14;
|
|
1805
1871
|
const taperOffset = 0.4;
|
|
1806
1872
|
const straightHeight = bodyHeight * 0.5;
|
|
1807
|
-
const Body = /* @__PURE__ */
|
|
1808
|
-
/* @__PURE__ */
|
|
1809
|
-
/* @__PURE__ */
|
|
1810
|
-
|
|
1873
|
+
const Body = /* @__PURE__ */ jsx29(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs27(Union7, { children: [
|
|
1874
|
+
/* @__PURE__ */ jsxs27(Hull6, { children: [
|
|
1875
|
+
/* @__PURE__ */ jsx29(Translate11, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx29(
|
|
1876
|
+
Cuboid20,
|
|
1811
1877
|
{
|
|
1812
1878
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1813
1879
|
}
|
|
1814
1880
|
) }),
|
|
1815
|
-
/* @__PURE__ */
|
|
1881
|
+
/* @__PURE__ */ jsx29(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx29(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1816
1882
|
] }),
|
|
1817
|
-
/* @__PURE__ */
|
|
1818
|
-
/* @__PURE__ */
|
|
1819
|
-
/* @__PURE__ */
|
|
1820
|
-
|
|
1883
|
+
/* @__PURE__ */ jsxs27(Hull6, { children: [
|
|
1884
|
+
/* @__PURE__ */ jsx29(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx29(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1885
|
+
/* @__PURE__ */ jsx29(Translate11, { z: bodyHeight, children: /* @__PURE__ */ jsx29(
|
|
1886
|
+
Cuboid20,
|
|
1821
1887
|
{
|
|
1822
1888
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1823
1889
|
}
|
|
@@ -1832,23 +1898,23 @@ var SMA = () => {
|
|
|
1832
1898
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1833
1899
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1834
1900
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1835
|
-
return /* @__PURE__ */
|
|
1836
|
-
/* @__PURE__ */
|
|
1837
|
-
|
|
1901
|
+
return /* @__PURE__ */ jsx29(Colorize12, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs27(Union7, { children: [
|
|
1902
|
+
/* @__PURE__ */ jsx29(
|
|
1903
|
+
Cuboid20,
|
|
1838
1904
|
{
|
|
1839
1905
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1840
1906
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
1841
1907
|
}
|
|
1842
1908
|
),
|
|
1843
|
-
/* @__PURE__ */
|
|
1844
|
-
|
|
1909
|
+
/* @__PURE__ */ jsx29(
|
|
1910
|
+
Cuboid20,
|
|
1845
1911
|
{
|
|
1846
1912
|
size: [leadThickness, padWidth, leadHeight],
|
|
1847
1913
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1848
1914
|
}
|
|
1849
1915
|
),
|
|
1850
|
-
/* @__PURE__ */
|
|
1851
|
-
|
|
1916
|
+
/* @__PURE__ */ jsx29(
|
|
1917
|
+
Cuboid20,
|
|
1852
1918
|
{
|
|
1853
1919
|
size: [bridgeLength, padWidth, leadThickness],
|
|
1854
1920
|
center: [bridgeCenterX, 0, leadThickness / 2 + leadHeight]
|
|
@@ -1856,16 +1922,16 @@ var SMA = () => {
|
|
|
1856
1922
|
)
|
|
1857
1923
|
] }) });
|
|
1858
1924
|
};
|
|
1859
|
-
return /* @__PURE__ */
|
|
1860
|
-
/* @__PURE__ */
|
|
1861
|
-
/* @__PURE__ */
|
|
1925
|
+
return /* @__PURE__ */ jsxs27(Fragment25, { children: [
|
|
1926
|
+
/* @__PURE__ */ jsx29(Lead, { xDir: 1 }),
|
|
1927
|
+
/* @__PURE__ */ jsx29(Lead, { xDir: -1 }),
|
|
1862
1928
|
Body
|
|
1863
1929
|
] });
|
|
1864
1930
|
};
|
|
1865
1931
|
|
|
1866
1932
|
// lib/SMB.tsx
|
|
1867
|
-
import { Cuboid as
|
|
1868
|
-
import { Fragment as
|
|
1933
|
+
import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union8, Hull as Hull7, Translate as Translate12 } from "jscad-fiber";
|
|
1934
|
+
import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1869
1935
|
var SMB = () => {
|
|
1870
1936
|
const bodyWidth = 4.4;
|
|
1871
1937
|
const bodyLength10 = 3.4;
|
|
@@ -1876,20 +1942,20 @@ var SMB = () => {
|
|
|
1876
1942
|
const leadHeight = 1.14;
|
|
1877
1943
|
const taperOffset = 0.4;
|
|
1878
1944
|
const straightHeight = bodyHeight * 0.5;
|
|
1879
|
-
const Body = /* @__PURE__ */
|
|
1880
|
-
/* @__PURE__ */
|
|
1881
|
-
/* @__PURE__ */
|
|
1882
|
-
|
|
1945
|
+
const Body = /* @__PURE__ */ jsx30(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Union8, { children: [
|
|
1946
|
+
/* @__PURE__ */ jsxs28(Hull7, { children: [
|
|
1947
|
+
/* @__PURE__ */ jsx30(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx30(
|
|
1948
|
+
Cuboid21,
|
|
1883
1949
|
{
|
|
1884
1950
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1885
1951
|
}
|
|
1886
1952
|
) }),
|
|
1887
|
-
/* @__PURE__ */
|
|
1953
|
+
/* @__PURE__ */ jsx30(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1888
1954
|
] }),
|
|
1889
|
-
/* @__PURE__ */
|
|
1890
|
-
/* @__PURE__ */
|
|
1891
|
-
/* @__PURE__ */
|
|
1892
|
-
|
|
1955
|
+
/* @__PURE__ */ jsxs28(Hull7, { children: [
|
|
1956
|
+
/* @__PURE__ */ jsx30(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
1957
|
+
/* @__PURE__ */ jsx30(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx30(
|
|
1958
|
+
Cuboid21,
|
|
1893
1959
|
{
|
|
1894
1960
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1895
1961
|
}
|
|
@@ -1904,23 +1970,23 @@ var SMB = () => {
|
|
|
1904
1970
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1905
1971
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1906
1972
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1907
|
-
return /* @__PURE__ */
|
|
1908
|
-
/* @__PURE__ */
|
|
1909
|
-
|
|
1973
|
+
return /* @__PURE__ */ jsx30(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs28(Union8, { children: [
|
|
1974
|
+
/* @__PURE__ */ jsx30(
|
|
1975
|
+
Cuboid21,
|
|
1910
1976
|
{
|
|
1911
1977
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1912
1978
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
1913
1979
|
}
|
|
1914
1980
|
),
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
|
|
1981
|
+
/* @__PURE__ */ jsx30(
|
|
1982
|
+
Cuboid21,
|
|
1917
1983
|
{
|
|
1918
1984
|
size: [leadThickness, padWidth, leadHeight],
|
|
1919
1985
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1920
1986
|
}
|
|
1921
1987
|
),
|
|
1922
|
-
/* @__PURE__ */
|
|
1923
|
-
|
|
1988
|
+
/* @__PURE__ */ jsx30(
|
|
1989
|
+
Cuboid21,
|
|
1924
1990
|
{
|
|
1925
1991
|
size: [bridgeLength, padWidth, leadThickness],
|
|
1926
1992
|
center: [bridgeCenterX, 0, leadThickness / 2 + leadHeight]
|
|
@@ -1928,16 +1994,16 @@ var SMB = () => {
|
|
|
1928
1994
|
)
|
|
1929
1995
|
] }) });
|
|
1930
1996
|
};
|
|
1931
|
-
return /* @__PURE__ */
|
|
1932
|
-
/* @__PURE__ */
|
|
1933
|
-
/* @__PURE__ */
|
|
1997
|
+
return /* @__PURE__ */ jsxs28(Fragment26, { children: [
|
|
1998
|
+
/* @__PURE__ */ jsx30(Lead, { xDir: 1 }),
|
|
1999
|
+
/* @__PURE__ */ jsx30(Lead, { xDir: -1 }),
|
|
1934
2000
|
Body
|
|
1935
2001
|
] });
|
|
1936
2002
|
};
|
|
1937
2003
|
|
|
1938
2004
|
// lib/SMC.tsx
|
|
1939
|
-
import { Cuboid as
|
|
1940
|
-
import { Fragment as
|
|
2005
|
+
import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union9, Hull as Hull8, Translate as Translate13 } from "jscad-fiber";
|
|
2006
|
+
import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
1941
2007
|
var SMC = () => {
|
|
1942
2008
|
const bodyWidth = 6.8;
|
|
1943
2009
|
const bodyLength10 = 6;
|
|
@@ -1948,20 +2014,20 @@ var SMC = () => {
|
|
|
1948
2014
|
const leadHeight = 1.14;
|
|
1949
2015
|
const taperOffset = 0.4;
|
|
1950
2016
|
const straightHeight = bodyHeight * 0.5;
|
|
1951
|
-
const Body = /* @__PURE__ */
|
|
1952
|
-
/* @__PURE__ */
|
|
1953
|
-
/* @__PURE__ */
|
|
1954
|
-
|
|
2017
|
+
const Body = /* @__PURE__ */ jsx31(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Union9, { children: [
|
|
2018
|
+
/* @__PURE__ */ jsxs29(Hull8, { children: [
|
|
2019
|
+
/* @__PURE__ */ jsx31(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx31(
|
|
2020
|
+
Cuboid22,
|
|
1955
2021
|
{
|
|
1956
2022
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
|
|
1957
2023
|
}
|
|
1958
2024
|
) }),
|
|
1959
|
-
/* @__PURE__ */
|
|
2025
|
+
/* @__PURE__ */ jsx31(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
|
|
1960
2026
|
] }),
|
|
1961
|
-
/* @__PURE__ */
|
|
1962
|
-
/* @__PURE__ */
|
|
1963
|
-
/* @__PURE__ */
|
|
1964
|
-
|
|
2027
|
+
/* @__PURE__ */ jsxs29(Hull8, { children: [
|
|
2028
|
+
/* @__PURE__ */ jsx31(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2029
|
+
/* @__PURE__ */ jsx31(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx31(
|
|
2030
|
+
Cuboid22,
|
|
1965
2031
|
{
|
|
1966
2032
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
1967
2033
|
}
|
|
@@ -1976,23 +2042,23 @@ var SMC = () => {
|
|
|
1976
2042
|
const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
|
|
1977
2043
|
const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
|
|
1978
2044
|
const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
|
|
1979
|
-
return /* @__PURE__ */
|
|
1980
|
-
/* @__PURE__ */
|
|
1981
|
-
|
|
2045
|
+
return /* @__PURE__ */ jsx31(Colorize14, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs29(Union9, { children: [
|
|
2046
|
+
/* @__PURE__ */ jsx31(
|
|
2047
|
+
Cuboid22,
|
|
1982
2048
|
{
|
|
1983
2049
|
size: [bodyHeight * 0.8, padWidth, leadThickness],
|
|
1984
2050
|
center: [lowerPadX, 0, leadThickness / 2]
|
|
1985
2051
|
}
|
|
1986
2052
|
),
|
|
1987
|
-
/* @__PURE__ */
|
|
1988
|
-
|
|
2053
|
+
/* @__PURE__ */ jsx31(
|
|
2054
|
+
Cuboid22,
|
|
1989
2055
|
{
|
|
1990
2056
|
size: [leadThickness, padWidth, leadHeight],
|
|
1991
2057
|
center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
|
|
1992
2058
|
}
|
|
1993
2059
|
),
|
|
1994
|
-
/* @__PURE__ */
|
|
1995
|
-
|
|
2060
|
+
/* @__PURE__ */ jsx31(
|
|
2061
|
+
Cuboid22,
|
|
1996
2062
|
{
|
|
1997
2063
|
size: [bridgeLength, padWidth, leadThickness],
|
|
1998
2064
|
center: [bridgeCenterX, 0, leadThickness / 2 + leadHeight]
|
|
@@ -2000,16 +2066,16 @@ var SMC = () => {
|
|
|
2000
2066
|
)
|
|
2001
2067
|
] }) });
|
|
2002
2068
|
};
|
|
2003
|
-
return /* @__PURE__ */
|
|
2004
|
-
/* @__PURE__ */
|
|
2005
|
-
/* @__PURE__ */
|
|
2069
|
+
return /* @__PURE__ */ jsxs29(Fragment27, { children: [
|
|
2070
|
+
/* @__PURE__ */ jsx31(Lead, { xDir: 1 }),
|
|
2071
|
+
/* @__PURE__ */ jsx31(Lead, { xDir: -1 }),
|
|
2006
2072
|
Body
|
|
2007
2073
|
] });
|
|
2008
2074
|
};
|
|
2009
2075
|
|
|
2010
2076
|
// lib/SMF.tsx
|
|
2011
|
-
import { Colorize as
|
|
2012
|
-
import { Fragment as
|
|
2077
|
+
import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate14, Union as Union10 } from "jscad-fiber";
|
|
2078
|
+
import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2013
2079
|
var SMF = () => {
|
|
2014
2080
|
const fullWidth = 2.9;
|
|
2015
2081
|
const bodyLength10 = 1.9;
|
|
@@ -2022,29 +2088,29 @@ var SMF = () => {
|
|
|
2022
2088
|
const rightPadCenterX = 1.3;
|
|
2023
2089
|
const taperOffset = 0.2;
|
|
2024
2090
|
const straightHeight = bodyHeight * 0.5;
|
|
2025
|
-
const Body = /* @__PURE__ */
|
|
2026
|
-
/* @__PURE__ */
|
|
2027
|
-
/* @__PURE__ */
|
|
2028
|
-
/* @__PURE__ */
|
|
2029
|
-
/* @__PURE__ */
|
|
2030
|
-
|
|
2091
|
+
const Body = /* @__PURE__ */ jsx32(Colorize15, { color: "#222", children: /* @__PURE__ */ jsxs30(Union10, { children: [
|
|
2092
|
+
/* @__PURE__ */ jsx32(Translate14, { z: straightHeight / 2, children: /* @__PURE__ */ jsx32(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
|
|
2093
|
+
/* @__PURE__ */ jsxs30(Hull9, { children: [
|
|
2094
|
+
/* @__PURE__ */ jsx32(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
|
|
2095
|
+
/* @__PURE__ */ jsx32(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
|
|
2096
|
+
Cuboid23,
|
|
2031
2097
|
{
|
|
2032
2098
|
size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2033
2099
|
}
|
|
2034
2100
|
) })
|
|
2035
2101
|
] })
|
|
2036
2102
|
] }) });
|
|
2037
|
-
return /* @__PURE__ */
|
|
2038
|
-
/* @__PURE__ */
|
|
2039
|
-
|
|
2103
|
+
return /* @__PURE__ */ jsxs30(Fragment28, { children: [
|
|
2104
|
+
/* @__PURE__ */ jsx32(
|
|
2105
|
+
Cuboid23,
|
|
2040
2106
|
{
|
|
2041
2107
|
color: "#ccc",
|
|
2042
2108
|
size: [padLength, padWidth, padThickness],
|
|
2043
2109
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2044
2110
|
}
|
|
2045
2111
|
),
|
|
2046
|
-
/* @__PURE__ */
|
|
2047
|
-
|
|
2112
|
+
/* @__PURE__ */ jsx32(
|
|
2113
|
+
Cuboid23,
|
|
2048
2114
|
{
|
|
2049
2115
|
color: "#ccc",
|
|
2050
2116
|
size: [padLength, padWidth, padThickness],
|
|
@@ -2056,8 +2122,8 @@ var SMF = () => {
|
|
|
2056
2122
|
};
|
|
2057
2123
|
|
|
2058
2124
|
// lib/sod-123F.tsx
|
|
2059
|
-
import { Colorize as
|
|
2060
|
-
import { Fragment as
|
|
2125
|
+
import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate15, Union as Union11 } from "jscad-fiber";
|
|
2126
|
+
import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2061
2127
|
var SOD123F = () => {
|
|
2062
2128
|
const fullWidth = 2.7;
|
|
2063
2129
|
const bodyLength10 = 1.6;
|
|
@@ -2069,29 +2135,29 @@ var SOD123F = () => {
|
|
|
2069
2135
|
const rightPadCenterX = 1.3;
|
|
2070
2136
|
const taperOffset = 0.2;
|
|
2071
2137
|
const straightHeight = bodyHeight * 0.5;
|
|
2072
|
-
return /* @__PURE__ */
|
|
2073
|
-
/* @__PURE__ */
|
|
2074
|
-
|
|
2138
|
+
return /* @__PURE__ */ jsxs31(Fragment29, { children: [
|
|
2139
|
+
/* @__PURE__ */ jsx33(
|
|
2140
|
+
Cuboid24,
|
|
2075
2141
|
{
|
|
2076
2142
|
color: "#ccc",
|
|
2077
2143
|
size: [padLength, padWidth, padThickness],
|
|
2078
2144
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2079
2145
|
}
|
|
2080
2146
|
),
|
|
2081
|
-
/* @__PURE__ */
|
|
2082
|
-
|
|
2147
|
+
/* @__PURE__ */ jsx33(
|
|
2148
|
+
Cuboid24,
|
|
2083
2149
|
{
|
|
2084
2150
|
color: "#ccc",
|
|
2085
2151
|
size: [padLength, padWidth, padThickness],
|
|
2086
2152
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2087
2153
|
}
|
|
2088
2154
|
),
|
|
2089
|
-
/* @__PURE__ */
|
|
2090
|
-
/* @__PURE__ */
|
|
2091
|
-
/* @__PURE__ */
|
|
2092
|
-
/* @__PURE__ */
|
|
2093
|
-
/* @__PURE__ */
|
|
2094
|
-
|
|
2155
|
+
/* @__PURE__ */ jsx33(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs31(Union11, { children: [
|
|
2156
|
+
/* @__PURE__ */ jsx33(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx33(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2157
|
+
/* @__PURE__ */ jsxs31(Hull10, { children: [
|
|
2158
|
+
/* @__PURE__ */ jsx33(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2159
|
+
/* @__PURE__ */ jsx33(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
|
|
2160
|
+
Cuboid24,
|
|
2095
2161
|
{
|
|
2096
2162
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2097
2163
|
}
|
|
@@ -2102,8 +2168,8 @@ var SOD123F = () => {
|
|
|
2102
2168
|
};
|
|
2103
2169
|
|
|
2104
2170
|
// lib/sod-123FL.tsx
|
|
2105
|
-
import { Colorize as
|
|
2106
|
-
import { Fragment as
|
|
2171
|
+
import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate16, Union as Union12 } from "jscad-fiber";
|
|
2172
|
+
import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2107
2173
|
var SOD123FL = () => {
|
|
2108
2174
|
const fullWidth = 2.75;
|
|
2109
2175
|
const bodyLength10 = 1.8;
|
|
@@ -2115,37 +2181,37 @@ var SOD123FL = () => {
|
|
|
2115
2181
|
const rightPadCenterX = fullWidth / 2 - 0.075;
|
|
2116
2182
|
const taperOffset = 0.4;
|
|
2117
2183
|
const straightHeight = bodyHeight * 0.2;
|
|
2118
|
-
return /* @__PURE__ */
|
|
2119
|
-
/* @__PURE__ */
|
|
2120
|
-
|
|
2184
|
+
return /* @__PURE__ */ jsxs32(Fragment30, { children: [
|
|
2185
|
+
/* @__PURE__ */ jsx34(
|
|
2186
|
+
Cuboid25,
|
|
2121
2187
|
{
|
|
2122
2188
|
color: "#ccc",
|
|
2123
2189
|
size: [padLength, padWidth, padThickness],
|
|
2124
2190
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2125
2191
|
}
|
|
2126
2192
|
),
|
|
2127
|
-
/* @__PURE__ */
|
|
2128
|
-
|
|
2193
|
+
/* @__PURE__ */ jsx34(
|
|
2194
|
+
Cuboid25,
|
|
2129
2195
|
{
|
|
2130
2196
|
color: "#ccc",
|
|
2131
2197
|
size: [padLength, padWidth, padThickness],
|
|
2132
2198
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2133
2199
|
}
|
|
2134
2200
|
),
|
|
2135
|
-
/* @__PURE__ */
|
|
2136
|
-
/* @__PURE__ */
|
|
2137
|
-
/* @__PURE__ */
|
|
2138
|
-
/* @__PURE__ */
|
|
2139
|
-
/* @__PURE__ */
|
|
2140
|
-
|
|
2201
|
+
/* @__PURE__ */ jsx34(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs32(Union12, { children: [
|
|
2202
|
+
/* @__PURE__ */ jsx34(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx34(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2203
|
+
/* @__PURE__ */ jsxs32(Hull11, { children: [
|
|
2204
|
+
/* @__PURE__ */ jsx34(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2205
|
+
/* @__PURE__ */ jsx34(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
|
|
2206
|
+
Cuboid25,
|
|
2141
2207
|
{
|
|
2142
2208
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2143
2209
|
}
|
|
2144
2210
|
) })
|
|
2145
2211
|
] })
|
|
2146
2212
|
] }) }),
|
|
2147
|
-
/* @__PURE__ */
|
|
2148
|
-
|
|
2213
|
+
/* @__PURE__ */ jsx34(
|
|
2214
|
+
Cuboid25,
|
|
2149
2215
|
{
|
|
2150
2216
|
color: "#777",
|
|
2151
2217
|
size: [padThickness, bodyLength10 - taperOffset, 0.01],
|
|
@@ -2156,8 +2222,8 @@ var SOD123FL = () => {
|
|
|
2156
2222
|
};
|
|
2157
2223
|
|
|
2158
2224
|
// lib/SOD-923.tsx
|
|
2159
|
-
import { Colorize as
|
|
2160
|
-
import { Fragment as
|
|
2225
|
+
import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate17, Union as Union13 } from "jscad-fiber";
|
|
2226
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2161
2227
|
var SOD923 = () => {
|
|
2162
2228
|
const fullWidth = 0.8;
|
|
2163
2229
|
const bodyLength10 = 0.6;
|
|
@@ -2169,29 +2235,29 @@ var SOD923 = () => {
|
|
|
2169
2235
|
const rightPadCenterX = fullWidth / 2;
|
|
2170
2236
|
const taperOffset = 0.1;
|
|
2171
2237
|
const straightHeight = padThickness;
|
|
2172
|
-
return /* @__PURE__ */
|
|
2173
|
-
/* @__PURE__ */
|
|
2174
|
-
|
|
2238
|
+
return /* @__PURE__ */ jsxs33(Fragment31, { children: [
|
|
2239
|
+
/* @__PURE__ */ jsx35(
|
|
2240
|
+
Cuboid26,
|
|
2175
2241
|
{
|
|
2176
2242
|
color: "#ccc",
|
|
2177
2243
|
size: [padLength, padWidth, padThickness],
|
|
2178
2244
|
center: [leftPadCenterX, 0, padThickness / 2]
|
|
2179
2245
|
}
|
|
2180
2246
|
),
|
|
2181
|
-
/* @__PURE__ */
|
|
2182
|
-
|
|
2247
|
+
/* @__PURE__ */ jsx35(
|
|
2248
|
+
Cuboid26,
|
|
2183
2249
|
{
|
|
2184
2250
|
color: "#ccc",
|
|
2185
2251
|
size: [padLength, padWidth, padThickness],
|
|
2186
2252
|
center: [rightPadCenterX, 0, padThickness / 2]
|
|
2187
2253
|
}
|
|
2188
2254
|
),
|
|
2189
|
-
/* @__PURE__ */
|
|
2190
|
-
/* @__PURE__ */
|
|
2191
|
-
/* @__PURE__ */
|
|
2192
|
-
/* @__PURE__ */
|
|
2193
|
-
/* @__PURE__ */
|
|
2194
|
-
|
|
2255
|
+
/* @__PURE__ */ jsx35(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs33(Union13, { children: [
|
|
2256
|
+
/* @__PURE__ */ jsx35(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid26, { size: [fullWidth, bodyLength10, straightHeight] }) }),
|
|
2257
|
+
/* @__PURE__ */ jsxs33(Hull12, { children: [
|
|
2258
|
+
/* @__PURE__ */ jsx35(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
|
|
2259
|
+
/* @__PURE__ */ jsx35(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
|
|
2260
|
+
Cuboid26,
|
|
2195
2261
|
{
|
|
2196
2262
|
size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
|
|
2197
2263
|
}
|
|
@@ -2202,7 +2268,7 @@ var SOD923 = () => {
|
|
|
2202
2268
|
};
|
|
2203
2269
|
|
|
2204
2270
|
// lib/SOT-223.tsx
|
|
2205
|
-
import { Fragment as
|
|
2271
|
+
import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2206
2272
|
var SOT223 = () => {
|
|
2207
2273
|
const fullWidth = 6.6;
|
|
2208
2274
|
const bodyWidth = 3.5;
|
|
@@ -2215,8 +2281,8 @@ var SOT223 = () => {
|
|
|
2215
2281
|
const padContactLength = 0.5;
|
|
2216
2282
|
const padPitch = 2.3;
|
|
2217
2283
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2218
|
-
return /* @__PURE__ */
|
|
2219
|
-
/* @__PURE__ */
|
|
2284
|
+
return /* @__PURE__ */ jsxs34(Fragment32, { children: [
|
|
2285
|
+
/* @__PURE__ */ jsx36(
|
|
2220
2286
|
SmdChipLead,
|
|
2221
2287
|
{
|
|
2222
2288
|
rotation: Math.PI,
|
|
@@ -2233,7 +2299,7 @@ var SOT223 = () => {
|
|
|
2233
2299
|
},
|
|
2234
2300
|
4
|
|
2235
2301
|
),
|
|
2236
|
-
/* @__PURE__ */
|
|
2302
|
+
/* @__PURE__ */ jsx36(
|
|
2237
2303
|
SmdChipLead,
|
|
2238
2304
|
{
|
|
2239
2305
|
position: {
|
|
@@ -2249,7 +2315,7 @@ var SOT223 = () => {
|
|
|
2249
2315
|
},
|
|
2250
2316
|
3
|
|
2251
2317
|
),
|
|
2252
|
-
/* @__PURE__ */
|
|
2318
|
+
/* @__PURE__ */ jsx36(
|
|
2253
2319
|
SmdChipLead,
|
|
2254
2320
|
{
|
|
2255
2321
|
position: {
|
|
@@ -2265,7 +2331,7 @@ var SOT223 = () => {
|
|
|
2265
2331
|
},
|
|
2266
2332
|
1
|
|
2267
2333
|
),
|
|
2268
|
-
/* @__PURE__ */
|
|
2334
|
+
/* @__PURE__ */ jsx36(
|
|
2269
2335
|
SmdChipLead,
|
|
2270
2336
|
{
|
|
2271
2337
|
position: {
|
|
@@ -2281,7 +2347,7 @@ var SOT223 = () => {
|
|
|
2281
2347
|
},
|
|
2282
2348
|
2
|
|
2283
2349
|
),
|
|
2284
|
-
/* @__PURE__ */
|
|
2350
|
+
/* @__PURE__ */ jsx36(
|
|
2285
2351
|
ChipBody,
|
|
2286
2352
|
{
|
|
2287
2353
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2297,7 +2363,7 @@ var SOT223 = () => {
|
|
|
2297
2363
|
};
|
|
2298
2364
|
|
|
2299
2365
|
// lib/tqfp.tsx
|
|
2300
|
-
import { Fragment as
|
|
2366
|
+
import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2301
2367
|
var TQFP = () => {
|
|
2302
2368
|
const pinCount = 64;
|
|
2303
2369
|
const pitch = 0.5;
|
|
@@ -2312,8 +2378,8 @@ var TQFP = () => {
|
|
|
2312
2378
|
const leadHeight = 0.8;
|
|
2313
2379
|
const leadThickness = 0.25;
|
|
2314
2380
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2315
|
-
return /* @__PURE__ */
|
|
2316
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2381
|
+
return /* @__PURE__ */ jsxs35(Fragment33, { children: [
|
|
2382
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx37(
|
|
2317
2383
|
SmdChipLead,
|
|
2318
2384
|
{
|
|
2319
2385
|
position: {
|
|
@@ -2329,7 +2395,7 @@ var TQFP = () => {
|
|
|
2329
2395
|
},
|
|
2330
2396
|
`left-${i}`
|
|
2331
2397
|
)),
|
|
2332
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2398
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx37(
|
|
2333
2399
|
SmdChipLead,
|
|
2334
2400
|
{
|
|
2335
2401
|
rotation: Math.PI,
|
|
@@ -2346,7 +2412,7 @@ var TQFP = () => {
|
|
|
2346
2412
|
},
|
|
2347
2413
|
`right-${i}`
|
|
2348
2414
|
)),
|
|
2349
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2415
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx37(
|
|
2350
2416
|
SmdChipLead,
|
|
2351
2417
|
{
|
|
2352
2418
|
rotation: Math.PI / 2,
|
|
@@ -2363,7 +2429,7 @@ var TQFP = () => {
|
|
|
2363
2429
|
},
|
|
2364
2430
|
`bottom-${i}`
|
|
2365
2431
|
)),
|
|
2366
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2432
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx37(
|
|
2367
2433
|
SmdChipLead,
|
|
2368
2434
|
{
|
|
2369
2435
|
rotation: -Math.PI / 2,
|
|
@@ -2380,7 +2446,7 @@ var TQFP = () => {
|
|
|
2380
2446
|
},
|
|
2381
2447
|
`top-${i}`
|
|
2382
2448
|
)),
|
|
2383
|
-
/* @__PURE__ */
|
|
2449
|
+
/* @__PURE__ */ jsx37(
|
|
2384
2450
|
ChipBody,
|
|
2385
2451
|
{
|
|
2386
2452
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -2398,7 +2464,7 @@ var TQFP = () => {
|
|
|
2398
2464
|
var tqfp_default = TQFP;
|
|
2399
2465
|
|
|
2400
2466
|
// lib/SOT-323.tsx
|
|
2401
|
-
import { Fragment as
|
|
2467
|
+
import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2402
2468
|
var SOT323 = () => {
|
|
2403
2469
|
const fullWidth = 2.05;
|
|
2404
2470
|
const bodyWidth = 1.25;
|
|
@@ -2410,8 +2476,8 @@ var SOT323 = () => {
|
|
|
2410
2476
|
const padContactLength = 0.2;
|
|
2411
2477
|
const padPitch = 0.65;
|
|
2412
2478
|
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2413
|
-
return /* @__PURE__ */
|
|
2414
|
-
/* @__PURE__ */
|
|
2479
|
+
return /* @__PURE__ */ jsxs36(Fragment34, { children: [
|
|
2480
|
+
/* @__PURE__ */ jsx38(
|
|
2415
2481
|
SmdChipLead,
|
|
2416
2482
|
{
|
|
2417
2483
|
rotation: Math.PI,
|
|
@@ -2428,7 +2494,7 @@ var SOT323 = () => {
|
|
|
2428
2494
|
},
|
|
2429
2495
|
4
|
|
2430
2496
|
),
|
|
2431
|
-
/* @__PURE__ */
|
|
2497
|
+
/* @__PURE__ */ jsx38(
|
|
2432
2498
|
SmdChipLead,
|
|
2433
2499
|
{
|
|
2434
2500
|
position: {
|
|
@@ -2444,7 +2510,7 @@ var SOT323 = () => {
|
|
|
2444
2510
|
},
|
|
2445
2511
|
1
|
|
2446
2512
|
),
|
|
2447
|
-
/* @__PURE__ */
|
|
2513
|
+
/* @__PURE__ */ jsx38(
|
|
2448
2514
|
SmdChipLead,
|
|
2449
2515
|
{
|
|
2450
2516
|
position: {
|
|
@@ -2460,7 +2526,7 @@ var SOT323 = () => {
|
|
|
2460
2526
|
},
|
|
2461
2527
|
2
|
|
2462
2528
|
),
|
|
2463
|
-
/* @__PURE__ */
|
|
2529
|
+
/* @__PURE__ */ jsx38(
|
|
2464
2530
|
ChipBody,
|
|
2465
2531
|
{
|
|
2466
2532
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2477,7 +2543,7 @@ var SOT323 = () => {
|
|
|
2477
2543
|
};
|
|
2478
2544
|
|
|
2479
2545
|
// lib/lqfp.tsx
|
|
2480
|
-
import { Fragment as
|
|
2546
|
+
import { Fragment as Fragment35, jsx as jsx39, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2481
2547
|
var LQFP = ({
|
|
2482
2548
|
pinCount,
|
|
2483
2549
|
pitch,
|
|
@@ -2500,8 +2566,8 @@ var LQFP = ({
|
|
|
2500
2566
|
const leadHeight = 0.8;
|
|
2501
2567
|
const leadThickness = 0.2;
|
|
2502
2568
|
const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
|
|
2503
|
-
return /* @__PURE__ */
|
|
2504
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2569
|
+
return /* @__PURE__ */ jsxs37(Fragment35, { children: [
|
|
2570
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx39(
|
|
2505
2571
|
SmdChipLead,
|
|
2506
2572
|
{
|
|
2507
2573
|
position: {
|
|
@@ -2517,7 +2583,7 @@ var LQFP = ({
|
|
|
2517
2583
|
},
|
|
2518
2584
|
`left-${i}`
|
|
2519
2585
|
)),
|
|
2520
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2586
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx39(
|
|
2521
2587
|
SmdChipLead,
|
|
2522
2588
|
{
|
|
2523
2589
|
rotation: Math.PI,
|
|
@@ -2534,7 +2600,7 @@ var LQFP = ({
|
|
|
2534
2600
|
},
|
|
2535
2601
|
`right-${i}`
|
|
2536
2602
|
)),
|
|
2537
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2603
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx39(
|
|
2538
2604
|
SmdChipLead,
|
|
2539
2605
|
{
|
|
2540
2606
|
rotation: Math.PI / 2,
|
|
@@ -2551,7 +2617,7 @@ var LQFP = ({
|
|
|
2551
2617
|
},
|
|
2552
2618
|
`bottom-${i}`
|
|
2553
2619
|
)),
|
|
2554
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2620
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx39(
|
|
2555
2621
|
SmdChipLead,
|
|
2556
2622
|
{
|
|
2557
2623
|
rotation: -Math.PI / 2,
|
|
@@ -2568,7 +2634,7 @@ var LQFP = ({
|
|
|
2568
2634
|
},
|
|
2569
2635
|
`top-${i}`
|
|
2570
2636
|
)),
|
|
2571
|
-
/* @__PURE__ */
|
|
2637
|
+
/* @__PURE__ */ jsx39(
|
|
2572
2638
|
ChipBody,
|
|
2573
2639
|
{
|
|
2574
2640
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -2590,8 +2656,8 @@ var LQFP = ({
|
|
|
2590
2656
|
};
|
|
2591
2657
|
|
|
2592
2658
|
// lib/dfn.tsx
|
|
2593
|
-
import { Cuboid as
|
|
2594
|
-
import { Fragment as
|
|
2659
|
+
import { Cuboid as Cuboid27 } from "jscad-fiber";
|
|
2660
|
+
import { Fragment as Fragment36, jsx as jsx40, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
2595
2661
|
var DFN = ({
|
|
2596
2662
|
num_pins,
|
|
2597
2663
|
bodyWidth = 5.3,
|
|
@@ -2618,8 +2684,8 @@ var DFN = ({
|
|
|
2618
2684
|
const pinNumber = i + 1;
|
|
2619
2685
|
pinPositions.push({ pinNumber, x, y, padSizeX, padSizeY });
|
|
2620
2686
|
}
|
|
2621
|
-
return /* @__PURE__ */
|
|
2622
|
-
/* @__PURE__ */
|
|
2687
|
+
return /* @__PURE__ */ jsxs38(Fragment36, { children: [
|
|
2688
|
+
/* @__PURE__ */ jsx40(
|
|
2623
2689
|
ChipBody,
|
|
2624
2690
|
{
|
|
2625
2691
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2637,16 +2703,16 @@ var DFN = ({
|
|
|
2637
2703
|
}
|
|
2638
2704
|
}
|
|
2639
2705
|
),
|
|
2640
|
-
pinPositions.map((p, i) => /* @__PURE__ */
|
|
2641
|
-
|
|
2706
|
+
pinPositions.map((p, i) => /* @__PURE__ */ jsx40(
|
|
2707
|
+
Cuboid27,
|
|
2642
2708
|
{
|
|
2643
2709
|
center: [p.x, p.y, thermalPadThickness / 2],
|
|
2644
2710
|
size: [p.padSizeX, p.padSizeY, thermalPadThickness]
|
|
2645
2711
|
},
|
|
2646
2712
|
i
|
|
2647
2713
|
)),
|
|
2648
|
-
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */
|
|
2649
|
-
|
|
2714
|
+
thermalPadSize?.length !== void 0 && thermalPadSize?.width !== void 0 && /* @__PURE__ */ jsx40(
|
|
2715
|
+
Cuboid27,
|
|
2650
2716
|
{
|
|
2651
2717
|
center: [0, 0, thermalPadThickness / 2],
|
|
2652
2718
|
size: [
|
|
@@ -2660,8 +2726,8 @@ var DFN = ({
|
|
|
2660
2726
|
};
|
|
2661
2727
|
|
|
2662
2728
|
// lib/hc49.tsx
|
|
2663
|
-
import { Colorize as
|
|
2664
|
-
import { Fragment as
|
|
2729
|
+
import { Colorize as Colorize19, Cylinder as Cylinder6, Hull as Hull13, RoundedCylinder } from "jscad-fiber";
|
|
2730
|
+
import { Fragment as Fragment37, jsx as jsx41, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
2665
2731
|
var HC49 = ({
|
|
2666
2732
|
bodyLength: bodyLength10 = 10.2,
|
|
2667
2733
|
bodyWidth = 4.65,
|
|
@@ -2677,10 +2743,10 @@ var HC49 = ({
|
|
|
2677
2743
|
const endCenterX = halfLength - endRadius;
|
|
2678
2744
|
const leadCenterX = leadSpacing / 2;
|
|
2679
2745
|
const baseHeight = 0.85;
|
|
2680
|
-
return /* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2682
|
-
/* @__PURE__ */
|
|
2683
|
-
/* @__PURE__ */
|
|
2746
|
+
return /* @__PURE__ */ jsxs39(Fragment37, { children: [
|
|
2747
|
+
/* @__PURE__ */ jsxs39(Colorize19, { color, children: [
|
|
2748
|
+
/* @__PURE__ */ jsxs39(Hull13, { children: [
|
|
2749
|
+
/* @__PURE__ */ jsx41(
|
|
2684
2750
|
RoundedCylinder,
|
|
2685
2751
|
{
|
|
2686
2752
|
height: bodyHeight,
|
|
@@ -2689,7 +2755,7 @@ var HC49 = ({
|
|
|
2689
2755
|
center: [-endCenterX, 0, bodyHeight]
|
|
2690
2756
|
}
|
|
2691
2757
|
),
|
|
2692
|
-
/* @__PURE__ */
|
|
2758
|
+
/* @__PURE__ */ jsx41(
|
|
2693
2759
|
RoundedCylinder,
|
|
2694
2760
|
{
|
|
2695
2761
|
height: bodyHeight,
|
|
@@ -2699,8 +2765,8 @@ var HC49 = ({
|
|
|
2699
2765
|
}
|
|
2700
2766
|
)
|
|
2701
2767
|
] }),
|
|
2702
|
-
/* @__PURE__ */
|
|
2703
|
-
/* @__PURE__ */
|
|
2768
|
+
/* @__PURE__ */ jsxs39(Hull13, { children: [
|
|
2769
|
+
/* @__PURE__ */ jsx41(
|
|
2704
2770
|
RoundedCylinder,
|
|
2705
2771
|
{
|
|
2706
2772
|
height: baseHeight,
|
|
@@ -2709,7 +2775,7 @@ var HC49 = ({
|
|
|
2709
2775
|
center: [-endCenterX, 0, bodyHeight / 2 + baseHeight / 2]
|
|
2710
2776
|
}
|
|
2711
2777
|
),
|
|
2712
|
-
/* @__PURE__ */
|
|
2778
|
+
/* @__PURE__ */ jsx41(
|
|
2713
2779
|
RoundedCylinder,
|
|
2714
2780
|
{
|
|
2715
2781
|
height: baseHeight,
|
|
@@ -2720,8 +2786,8 @@ var HC49 = ({
|
|
|
2720
2786
|
)
|
|
2721
2787
|
] })
|
|
2722
2788
|
] }),
|
|
2723
|
-
/* @__PURE__ */
|
|
2724
|
-
/* @__PURE__ */
|
|
2789
|
+
/* @__PURE__ */ jsxs39(Colorize19, { color: leadColor, children: [
|
|
2790
|
+
/* @__PURE__ */ jsx41(
|
|
2725
2791
|
Cylinder6,
|
|
2726
2792
|
{
|
|
2727
2793
|
height: leadLength + bodyHeight / 2,
|
|
@@ -2729,7 +2795,7 @@ var HC49 = ({
|
|
|
2729
2795
|
center: [-leadCenterX + 0.06, 0, -(leadLength / 2) + bodyHeight / 2]
|
|
2730
2796
|
}
|
|
2731
2797
|
),
|
|
2732
|
-
/* @__PURE__ */
|
|
2798
|
+
/* @__PURE__ */ jsx41(
|
|
2733
2799
|
Cylinder6,
|
|
2734
2800
|
{
|
|
2735
2801
|
height: leadLength + bodyHeight / 2,
|
|
@@ -2743,13 +2809,13 @@ var HC49 = ({
|
|
|
2743
2809
|
|
|
2744
2810
|
// lib/MicroMELF.tsx
|
|
2745
2811
|
import {
|
|
2746
|
-
Colorize as
|
|
2812
|
+
Colorize as Colorize20,
|
|
2747
2813
|
Cylinder as Cylinder7,
|
|
2748
2814
|
RoundedCylinder as RoundedCylinder2,
|
|
2749
2815
|
Rotate as Rotate6,
|
|
2750
2816
|
RoundedCuboid as RoundedCuboid2
|
|
2751
2817
|
} from "jscad-fiber";
|
|
2752
|
-
import { Fragment as
|
|
2818
|
+
import { Fragment as Fragment38, jsx as jsx42, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
2753
2819
|
var MicroMELF = ({
|
|
2754
2820
|
bodyLength: bodyLength10 = 1.4,
|
|
2755
2821
|
bodyDiameter = 1.1,
|
|
@@ -2758,9 +2824,9 @@ var MicroMELF = ({
|
|
|
2758
2824
|
cathodeIdentification = "#111"
|
|
2759
2825
|
}) => {
|
|
2760
2826
|
const padLength = 0.2;
|
|
2761
|
-
return /* @__PURE__ */
|
|
2762
|
-
/* @__PURE__ */
|
|
2763
|
-
/* @__PURE__ */
|
|
2827
|
+
return /* @__PURE__ */ jsxs40(Fragment38, { children: [
|
|
2828
|
+
/* @__PURE__ */ jsx42(Colorize20, { color, children: /* @__PURE__ */ jsxs40(Rotate6, { rotation: [0, "90deg", 0], children: [
|
|
2829
|
+
/* @__PURE__ */ jsx42(
|
|
2764
2830
|
RoundedCuboid2,
|
|
2765
2831
|
{
|
|
2766
2832
|
size: [bodyDiameter, bodyDiameter, bodyLength10 - padLength],
|
|
@@ -2768,7 +2834,7 @@ var MicroMELF = ({
|
|
|
2768
2834
|
center: [-bodyDiameter / 2, 0, 0.05]
|
|
2769
2835
|
}
|
|
2770
2836
|
),
|
|
2771
|
-
/* @__PURE__ */
|
|
2837
|
+
/* @__PURE__ */ jsx42(
|
|
2772
2838
|
Cylinder7,
|
|
2773
2839
|
{
|
|
2774
2840
|
height: padLength / 2,
|
|
@@ -2777,7 +2843,7 @@ var MicroMELF = ({
|
|
|
2777
2843
|
}
|
|
2778
2844
|
)
|
|
2779
2845
|
] }) }),
|
|
2780
|
-
/* @__PURE__ */
|
|
2846
|
+
/* @__PURE__ */ jsx42(Colorize20, { color: cathodeIdentification, children: /* @__PURE__ */ jsx42(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx42(
|
|
2781
2847
|
RoundedCuboid2,
|
|
2782
2848
|
{
|
|
2783
2849
|
size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
|
|
@@ -2785,7 +2851,7 @@ var MicroMELF = ({
|
|
|
2785
2851
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
|
|
2786
2852
|
}
|
|
2787
2853
|
) }) }),
|
|
2788
|
-
/* @__PURE__ */
|
|
2854
|
+
/* @__PURE__ */ jsx42(Colorize20, { color: contactColor, children: /* @__PURE__ */ jsx42(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx42(
|
|
2789
2855
|
RoundedCylinder2,
|
|
2790
2856
|
{
|
|
2791
2857
|
height: padLength,
|
|
@@ -2794,7 +2860,7 @@ var MicroMELF = ({
|
|
|
2794
2860
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2795
2861
|
}
|
|
2796
2862
|
) }) }),
|
|
2797
|
-
/* @__PURE__ */
|
|
2863
|
+
/* @__PURE__ */ jsx42(Colorize20, { color: contactColor, children: /* @__PURE__ */ jsx42(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx42(
|
|
2798
2864
|
RoundedCylinder2,
|
|
2799
2865
|
{
|
|
2800
2866
|
height: padLength,
|
|
@@ -2807,8 +2873,8 @@ var MicroMELF = ({
|
|
|
2807
2873
|
};
|
|
2808
2874
|
|
|
2809
2875
|
// lib/MINIMELF.tsx
|
|
2810
|
-
import { Colorize as
|
|
2811
|
-
import { Fragment as
|
|
2876
|
+
import { Colorize as Colorize21, RoundedCylinder as RoundedCylinder3, Rotate as Rotate7 } from "jscad-fiber";
|
|
2877
|
+
import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
2812
2878
|
var MINIMELF = ({
|
|
2813
2879
|
bodyLength: bodyLength10 = 3.5,
|
|
2814
2880
|
bodyDiameter = 1.5,
|
|
@@ -2816,8 +2882,8 @@ var MINIMELF = ({
|
|
|
2816
2882
|
contactColor = "#c6c6c6"
|
|
2817
2883
|
}) => {
|
|
2818
2884
|
const padLength = 0.5;
|
|
2819
|
-
return /* @__PURE__ */
|
|
2820
|
-
/* @__PURE__ */
|
|
2885
|
+
return /* @__PURE__ */ jsxs41(Fragment39, { children: [
|
|
2886
|
+
/* @__PURE__ */ jsx43(Colorize21, { color, children: /* @__PURE__ */ jsx43(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx43(
|
|
2821
2887
|
RoundedCylinder3,
|
|
2822
2888
|
{
|
|
2823
2889
|
height: bodyLength10,
|
|
@@ -2826,7 +2892,7 @@ var MINIMELF = ({
|
|
|
2826
2892
|
center: [-bodyDiameter / 2, 0, 0]
|
|
2827
2893
|
}
|
|
2828
2894
|
) }) }),
|
|
2829
|
-
/* @__PURE__ */
|
|
2895
|
+
/* @__PURE__ */ jsx43(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx43(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx43(
|
|
2830
2896
|
RoundedCylinder3,
|
|
2831
2897
|
{
|
|
2832
2898
|
height: padLength,
|
|
@@ -2835,7 +2901,7 @@ var MINIMELF = ({
|
|
|
2835
2901
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2836
2902
|
}
|
|
2837
2903
|
) }) }),
|
|
2838
|
-
/* @__PURE__ */
|
|
2904
|
+
/* @__PURE__ */ jsx43(Colorize21, { color: contactColor, children: /* @__PURE__ */ jsx43(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx43(
|
|
2839
2905
|
RoundedCylinder3,
|
|
2840
2906
|
{
|
|
2841
2907
|
height: padLength,
|
|
@@ -2848,8 +2914,8 @@ var MINIMELF = ({
|
|
|
2848
2914
|
};
|
|
2849
2915
|
|
|
2850
2916
|
// lib/MELF.tsx
|
|
2851
|
-
import { Colorize as
|
|
2852
|
-
import { Fragment as
|
|
2917
|
+
import { Colorize as Colorize22, RoundedCylinder as RoundedCylinder4, Rotate as Rotate8 } from "jscad-fiber";
|
|
2918
|
+
import { Fragment as Fragment40, jsx as jsx44, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
2853
2919
|
var MELF = ({
|
|
2854
2920
|
bodyLength: bodyLength10 = 3.9,
|
|
2855
2921
|
bodyDiameter = 2.5,
|
|
@@ -2857,8 +2923,8 @@ var MELF = ({
|
|
|
2857
2923
|
contactColor = "#c6c6c6"
|
|
2858
2924
|
}) => {
|
|
2859
2925
|
const padLength = 0.55;
|
|
2860
|
-
return /* @__PURE__ */
|
|
2861
|
-
/* @__PURE__ */
|
|
2926
|
+
return /* @__PURE__ */ jsxs42(Fragment40, { children: [
|
|
2927
|
+
/* @__PURE__ */ jsx44(Colorize22, { color, children: /* @__PURE__ */ jsx44(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2862
2928
|
RoundedCylinder4,
|
|
2863
2929
|
{
|
|
2864
2930
|
height: bodyLength10,
|
|
@@ -2867,7 +2933,7 @@ var MELF = ({
|
|
|
2867
2933
|
center: [-bodyDiameter / 2, 0, 0]
|
|
2868
2934
|
}
|
|
2869
2935
|
) }) }),
|
|
2870
|
-
/* @__PURE__ */
|
|
2936
|
+
/* @__PURE__ */ jsx44(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx44(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2871
2937
|
RoundedCylinder4,
|
|
2872
2938
|
{
|
|
2873
2939
|
height: padLength,
|
|
@@ -2876,7 +2942,7 @@ var MELF = ({
|
|
|
2876
2942
|
center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
|
|
2877
2943
|
}
|
|
2878
2944
|
) }) }),
|
|
2879
|
-
/* @__PURE__ */
|
|
2945
|
+
/* @__PURE__ */ jsx44(Colorize22, { color: contactColor, children: /* @__PURE__ */ jsx44(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx44(
|
|
2880
2946
|
RoundedCylinder4,
|
|
2881
2947
|
{
|
|
2882
2948
|
height: padLength,
|
|
@@ -2889,7 +2955,7 @@ var MELF = ({
|
|
|
2889
2955
|
};
|
|
2890
2956
|
|
|
2891
2957
|
// lib/ms012.tsx
|
|
2892
|
-
import { Fragment as
|
|
2958
|
+
import { Fragment as Fragment41, jsx as jsx45, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
2893
2959
|
var MS012 = ({
|
|
2894
2960
|
pinCount,
|
|
2895
2961
|
padContactLength = 0.6,
|
|
@@ -2904,8 +2970,8 @@ var MS012 = ({
|
|
|
2904
2970
|
const bodyLength10 = 3.9;
|
|
2905
2971
|
const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
|
|
2906
2972
|
const leadThickness = 0.2;
|
|
2907
|
-
return /* @__PURE__ */
|
|
2908
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2973
|
+
return /* @__PURE__ */ jsxs43(Fragment41, { children: [
|
|
2974
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
2909
2975
|
SmdChipLead,
|
|
2910
2976
|
{
|
|
2911
2977
|
position: {
|
|
@@ -2921,7 +2987,7 @@ var MS012 = ({
|
|
|
2921
2987
|
},
|
|
2922
2988
|
i
|
|
2923
2989
|
)),
|
|
2924
|
-
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */
|
|
2990
|
+
Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx45(
|
|
2925
2991
|
SmdChipLead,
|
|
2926
2992
|
{
|
|
2927
2993
|
rotation: Math.PI,
|
|
@@ -2938,7 +3004,7 @@ var MS012 = ({
|
|
|
2938
3004
|
},
|
|
2939
3005
|
`right-${i}`
|
|
2940
3006
|
)),
|
|
2941
|
-
/* @__PURE__ */
|
|
3007
|
+
/* @__PURE__ */ jsx45(
|
|
2942
3008
|
ChipBody,
|
|
2943
3009
|
{
|
|
2944
3010
|
center: { x: 0, y: 0, z: leadThickness / 2 },
|
|
@@ -2954,14 +3020,14 @@ var MS012 = ({
|
|
|
2954
3020
|
};
|
|
2955
3021
|
|
|
2956
3022
|
// lib/Footprinter3d.tsx
|
|
2957
|
-
import { jsx as
|
|
3023
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2958
3024
|
var Footprinter3d = ({ footprint }) => {
|
|
2959
3025
|
const fpJson = fp3.string(footprint).json();
|
|
2960
3026
|
switch (fpJson.fn) {
|
|
2961
3027
|
case "dip":
|
|
2962
|
-
return /* @__PURE__ */
|
|
3028
|
+
return /* @__PURE__ */ jsx46(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
2963
3029
|
case "tssop":
|
|
2964
|
-
return /* @__PURE__ */
|
|
3030
|
+
return /* @__PURE__ */ jsx46(
|
|
2965
3031
|
Tssop,
|
|
2966
3032
|
{
|
|
2967
3033
|
pinCount: fpJson.num_pins,
|
|
@@ -2972,7 +3038,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2972
3038
|
}
|
|
2973
3039
|
);
|
|
2974
3040
|
case "msop":
|
|
2975
|
-
return /* @__PURE__ */
|
|
3041
|
+
return /* @__PURE__ */ jsx46(
|
|
2976
3042
|
MSOP,
|
|
2977
3043
|
{
|
|
2978
3044
|
pinCount: fpJson.num_pins,
|
|
@@ -2983,7 +3049,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2983
3049
|
}
|
|
2984
3050
|
);
|
|
2985
3051
|
case "vssop":
|
|
2986
|
-
return /* @__PURE__ */
|
|
3052
|
+
return /* @__PURE__ */ jsx46(
|
|
2987
3053
|
VSSOP,
|
|
2988
3054
|
{
|
|
2989
3055
|
pinCount: fpJson.num_pins,
|
|
@@ -2995,7 +3061,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2995
3061
|
}
|
|
2996
3062
|
);
|
|
2997
3063
|
case "qfp":
|
|
2998
|
-
return /* @__PURE__ */
|
|
3064
|
+
return /* @__PURE__ */ jsx46(
|
|
2999
3065
|
QFP,
|
|
3000
3066
|
{
|
|
3001
3067
|
pinCount: fpJson.num_pins,
|
|
@@ -3006,12 +3072,12 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3006
3072
|
}
|
|
3007
3073
|
);
|
|
3008
3074
|
case "tqfp":
|
|
3009
|
-
return /* @__PURE__ */
|
|
3075
|
+
return /* @__PURE__ */ jsx46(tqfp_default, {});
|
|
3010
3076
|
case "lqfp":
|
|
3011
|
-
return /* @__PURE__ */
|
|
3077
|
+
return /* @__PURE__ */ jsx46(LQFP, { pinCount: fpJson.num_pins });
|
|
3012
3078
|
case "qfn": {
|
|
3013
3079
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
3014
|
-
return /* @__PURE__ */
|
|
3080
|
+
return /* @__PURE__ */ jsx46(
|
|
3015
3081
|
qfn_default,
|
|
3016
3082
|
{
|
|
3017
3083
|
num_pins: fpJson.num_pins,
|
|
@@ -3029,7 +3095,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3029
3095
|
}
|
|
3030
3096
|
case "dfn": {
|
|
3031
3097
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
3032
|
-
return /* @__PURE__ */
|
|
3098
|
+
return /* @__PURE__ */ jsx46(
|
|
3033
3099
|
DFN,
|
|
3034
3100
|
{
|
|
3035
3101
|
num_pins: fpJson.num_pins,
|
|
@@ -3047,39 +3113,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3047
3113
|
}
|
|
3048
3114
|
case "pinrow":
|
|
3049
3115
|
if (fpJson.male)
|
|
3050
|
-
return /* @__PURE__ */
|
|
3116
|
+
return /* @__PURE__ */ jsx46(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
3051
3117
|
if (fpJson.female)
|
|
3052
|
-
return /* @__PURE__ */
|
|
3118
|
+
return /* @__PURE__ */ jsx46(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
3053
3119
|
case "cap": {
|
|
3054
3120
|
switch (fpJson.imperial) {
|
|
3055
3121
|
case "0402":
|
|
3056
|
-
return /* @__PURE__ */
|
|
3122
|
+
return /* @__PURE__ */ jsx46(A0402, { color: "#856c4d" });
|
|
3057
3123
|
case "0603":
|
|
3058
|
-
return /* @__PURE__ */
|
|
3124
|
+
return /* @__PURE__ */ jsx46(A0603, { color: "#856c4d" });
|
|
3059
3125
|
case "0805":
|
|
3060
|
-
return /* @__PURE__ */
|
|
3126
|
+
return /* @__PURE__ */ jsx46(A0805, { color: "#856c4d" });
|
|
3061
3127
|
case "0201":
|
|
3062
|
-
return /* @__PURE__ */
|
|
3128
|
+
return /* @__PURE__ */ jsx46(A0201, { color: "#856c4d" });
|
|
3063
3129
|
case "01005":
|
|
3064
|
-
return /* @__PURE__ */
|
|
3130
|
+
return /* @__PURE__ */ jsx46(A01005, { color: "#856c4d" });
|
|
3065
3131
|
case "1206":
|
|
3066
|
-
return /* @__PURE__ */
|
|
3132
|
+
return /* @__PURE__ */ jsx46(A1206, { color: "#856c4d" });
|
|
3067
3133
|
case "1210":
|
|
3068
|
-
return /* @__PURE__ */
|
|
3134
|
+
return /* @__PURE__ */ jsx46(A1210, { color: "#856c4d" });
|
|
3069
3135
|
case "2010":
|
|
3070
|
-
return /* @__PURE__ */
|
|
3136
|
+
return /* @__PURE__ */ jsx46(A2010, { color: "#856c4d" });
|
|
3071
3137
|
case "2512":
|
|
3072
|
-
return /* @__PURE__ */
|
|
3138
|
+
return /* @__PURE__ */ jsx46(A2512, { color: "#856c4d" });
|
|
3073
3139
|
}
|
|
3074
3140
|
}
|
|
3075
3141
|
case "sot235":
|
|
3076
|
-
return /* @__PURE__ */
|
|
3142
|
+
return /* @__PURE__ */ jsx46(SOT_235_default, {});
|
|
3077
3143
|
case "sot223":
|
|
3078
|
-
return /* @__PURE__ */
|
|
3144
|
+
return /* @__PURE__ */ jsx46(SOT223, {});
|
|
3079
3145
|
case "sot323":
|
|
3080
|
-
return /* @__PURE__ */
|
|
3146
|
+
return /* @__PURE__ */ jsx46(SOT323, {});
|
|
3081
3147
|
case "pushbutton":
|
|
3082
|
-
return /* @__PURE__ */
|
|
3148
|
+
return /* @__PURE__ */ jsx46(
|
|
3083
3149
|
PushButton,
|
|
3084
3150
|
{
|
|
3085
3151
|
width: fpJson.w,
|
|
@@ -3088,7 +3154,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3088
3154
|
}
|
|
3089
3155
|
);
|
|
3090
3156
|
case "soic":
|
|
3091
|
-
return /* @__PURE__ */
|
|
3157
|
+
return /* @__PURE__ */ jsx46(
|
|
3092
3158
|
SOIC,
|
|
3093
3159
|
{
|
|
3094
3160
|
pinCount: fpJson.num_pins,
|
|
@@ -3099,31 +3165,33 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3099
3165
|
}
|
|
3100
3166
|
);
|
|
3101
3167
|
case "sod523":
|
|
3102
|
-
return /* @__PURE__ */
|
|
3168
|
+
return /* @__PURE__ */ jsx46(SOD523, {});
|
|
3169
|
+
case "sod882":
|
|
3170
|
+
return /* @__PURE__ */ jsx46(SOD882, {});
|
|
3103
3171
|
case "sma":
|
|
3104
|
-
return /* @__PURE__ */
|
|
3172
|
+
return /* @__PURE__ */ jsx46(SMA, {});
|
|
3105
3173
|
case "smb":
|
|
3106
|
-
return /* @__PURE__ */
|
|
3174
|
+
return /* @__PURE__ */ jsx46(SMB, {});
|
|
3107
3175
|
case "smc":
|
|
3108
|
-
return /* @__PURE__ */
|
|
3176
|
+
return /* @__PURE__ */ jsx46(SMC, {});
|
|
3109
3177
|
case "smf":
|
|
3110
|
-
return /* @__PURE__ */
|
|
3178
|
+
return /* @__PURE__ */ jsx46(SMF, {});
|
|
3111
3179
|
case "sod123f":
|
|
3112
|
-
return /* @__PURE__ */
|
|
3180
|
+
return /* @__PURE__ */ jsx46(SOD123F, {});
|
|
3113
3181
|
case "sod123fl":
|
|
3114
|
-
return /* @__PURE__ */
|
|
3182
|
+
return /* @__PURE__ */ jsx46(SOD123FL, {});
|
|
3115
3183
|
case "sod923":
|
|
3116
|
-
return /* @__PURE__ */
|
|
3184
|
+
return /* @__PURE__ */ jsx46(SOD923, {});
|
|
3117
3185
|
case "hc49":
|
|
3118
|
-
return /* @__PURE__ */
|
|
3186
|
+
return /* @__PURE__ */ jsx46(HC49, {});
|
|
3119
3187
|
case "micromelf":
|
|
3120
|
-
return /* @__PURE__ */
|
|
3188
|
+
return /* @__PURE__ */ jsx46(MicroMELF, {});
|
|
3121
3189
|
case "minimelf":
|
|
3122
|
-
return /* @__PURE__ */
|
|
3190
|
+
return /* @__PURE__ */ jsx46(MINIMELF, {});
|
|
3123
3191
|
case "melf":
|
|
3124
|
-
return /* @__PURE__ */
|
|
3192
|
+
return /* @__PURE__ */ jsx46(MELF, {});
|
|
3125
3193
|
case "ms012":
|
|
3126
|
-
return /* @__PURE__ */
|
|
3194
|
+
return /* @__PURE__ */ jsx46(
|
|
3127
3195
|
MS012,
|
|
3128
3196
|
{
|
|
3129
3197
|
pinCount: fpJson.num_pins,
|
|
@@ -3137,29 +3205,29 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
3137
3205
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
3138
3206
|
switch (fpJson.imperial) {
|
|
3139
3207
|
case "0402":
|
|
3140
|
-
return /* @__PURE__ */
|
|
3208
|
+
return /* @__PURE__ */ jsx46(A0402, { color });
|
|
3141
3209
|
case "0603":
|
|
3142
|
-
return /* @__PURE__ */
|
|
3210
|
+
return /* @__PURE__ */ jsx46(A0603, { color });
|
|
3143
3211
|
case "0805":
|
|
3144
|
-
return /* @__PURE__ */
|
|
3212
|
+
return /* @__PURE__ */ jsx46(A0805, { color });
|
|
3145
3213
|
case "0201":
|
|
3146
|
-
return /* @__PURE__ */
|
|
3214
|
+
return /* @__PURE__ */ jsx46(A0201, { color });
|
|
3147
3215
|
case "01005":
|
|
3148
|
-
return /* @__PURE__ */
|
|
3216
|
+
return /* @__PURE__ */ jsx46(A01005, { color });
|
|
3149
3217
|
case "1206":
|
|
3150
|
-
return /* @__PURE__ */
|
|
3218
|
+
return /* @__PURE__ */ jsx46(A1206, { color });
|
|
3151
3219
|
case "1210":
|
|
3152
|
-
return /* @__PURE__ */
|
|
3220
|
+
return /* @__PURE__ */ jsx46(A1210, { color });
|
|
3153
3221
|
case "2010":
|
|
3154
|
-
return /* @__PURE__ */
|
|
3222
|
+
return /* @__PURE__ */ jsx46(A2010, { color });
|
|
3155
3223
|
case "2512":
|
|
3156
|
-
return /* @__PURE__ */
|
|
3224
|
+
return /* @__PURE__ */ jsx46(A2512, { color });
|
|
3157
3225
|
}
|
|
3158
3226
|
return null;
|
|
3159
3227
|
};
|
|
3160
3228
|
|
|
3161
3229
|
// lib/SOT-23-3P.tsx
|
|
3162
|
-
import { Fragment as
|
|
3230
|
+
import { Fragment as Fragment42, jsx as jsx47, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3163
3231
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
3164
3232
|
const bodyWidth = 1.3;
|
|
3165
3233
|
const bodyLength10 = 2.9;
|
|
@@ -3170,8 +3238,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3170
3238
|
const padContactLength = 0.4;
|
|
3171
3239
|
const padThickness = leadThickness / 2;
|
|
3172
3240
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
3173
|
-
return /* @__PURE__ */
|
|
3174
|
-
/* @__PURE__ */
|
|
3241
|
+
return /* @__PURE__ */ jsxs44(Fragment42, { children: [
|
|
3242
|
+
/* @__PURE__ */ jsx47(
|
|
3175
3243
|
SmdChipLead,
|
|
3176
3244
|
{
|
|
3177
3245
|
rotation: Math.PI,
|
|
@@ -3188,7 +3256,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3188
3256
|
},
|
|
3189
3257
|
1
|
|
3190
3258
|
),
|
|
3191
|
-
/* @__PURE__ */
|
|
3259
|
+
/* @__PURE__ */ jsx47(
|
|
3192
3260
|
SmdChipLead,
|
|
3193
3261
|
{
|
|
3194
3262
|
rotation: Math.PI,
|
|
@@ -3205,7 +3273,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3205
3273
|
},
|
|
3206
3274
|
2
|
|
3207
3275
|
),
|
|
3208
|
-
/* @__PURE__ */
|
|
3276
|
+
/* @__PURE__ */ jsx47(
|
|
3209
3277
|
SmdChipLead,
|
|
3210
3278
|
{
|
|
3211
3279
|
position: {
|
|
@@ -3221,7 +3289,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3221
3289
|
},
|
|
3222
3290
|
3
|
|
3223
3291
|
),
|
|
3224
|
-
/* @__PURE__ */
|
|
3292
|
+
/* @__PURE__ */ jsx47(
|
|
3225
3293
|
ChipBody,
|
|
3226
3294
|
{
|
|
3227
3295
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3234,8 +3302,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
3234
3302
|
};
|
|
3235
3303
|
|
|
3236
3304
|
// lib/SOT-563.tsx
|
|
3237
|
-
import { Cuboid as
|
|
3238
|
-
import { Fragment as
|
|
3305
|
+
import { Cuboid as Cuboid30, Translate as Translate18, Rotate as Rotate9, Colorize as Colorize23 } from "jscad-fiber";
|
|
3306
|
+
import { Fragment as Fragment43, jsx as jsx48, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3239
3307
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
3240
3308
|
const bodyWidth = 1.2;
|
|
3241
3309
|
const bodyLength10 = 1.6;
|
|
@@ -3245,28 +3313,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3245
3313
|
const leadHeight = 0.13;
|
|
3246
3314
|
const leadSpacing = 0.5;
|
|
3247
3315
|
const bodyZOffset = -0.4;
|
|
3248
|
-
return /* @__PURE__ */
|
|
3249
|
-
/* @__PURE__ */
|
|
3316
|
+
return /* @__PURE__ */ jsxs45(Fragment43, { children: [
|
|
3317
|
+
/* @__PURE__ */ jsx48(Rotate9, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx48(Translate18, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx48(Colorize23, { color: "grey", children: /* @__PURE__ */ jsx48(Cuboid30, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
3250
3318
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
3251
3319
|
// Left lead
|
|
3252
|
-
/* @__PURE__ */
|
|
3253
|
-
|
|
3320
|
+
/* @__PURE__ */ jsx48(
|
|
3321
|
+
Translate18,
|
|
3254
3322
|
{
|
|
3255
3323
|
center: [
|
|
3256
3324
|
-bodyWidth / 2 - 0.03,
|
|
3257
3325
|
yOffset * leadSpacing,
|
|
3258
3326
|
leadHeight / 2
|
|
3259
3327
|
],
|
|
3260
|
-
children: /* @__PURE__ */
|
|
3328
|
+
children: /* @__PURE__ */ jsx48(Cuboid30, { size: [leadLength, leadWidth, leadHeight] })
|
|
3261
3329
|
},
|
|
3262
3330
|
`left-${index}`
|
|
3263
3331
|
),
|
|
3264
3332
|
// Right lead
|
|
3265
|
-
/* @__PURE__ */
|
|
3266
|
-
|
|
3333
|
+
/* @__PURE__ */ jsx48(
|
|
3334
|
+
Translate18,
|
|
3267
3335
|
{
|
|
3268
3336
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
3269
|
-
children: /* @__PURE__ */
|
|
3337
|
+
children: /* @__PURE__ */ jsx48(Cuboid30, { size: [leadLength, leadWidth, leadHeight] })
|
|
3270
3338
|
},
|
|
3271
3339
|
`right-${index}`
|
|
3272
3340
|
)
|
|
@@ -3275,8 +3343,8 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3275
3343
|
};
|
|
3276
3344
|
|
|
3277
3345
|
// lib/SOT-723.tsx
|
|
3278
|
-
import { Cuboid as
|
|
3279
|
-
import { Fragment as
|
|
3346
|
+
import { Cuboid as Cuboid31, Translate as Translate19, Rotate as Rotate10, Colorize as Colorize24 } from "jscad-fiber";
|
|
3347
|
+
import { Fragment as Fragment44, jsx as jsx49, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3280
3348
|
var getCcwSot723Coords = (pn) => {
|
|
3281
3349
|
if (pn === 1) {
|
|
3282
3350
|
return { x: 0, y: 0 };
|
|
@@ -3294,12 +3362,12 @@ var SOT723 = () => {
|
|
|
3294
3362
|
const leadLength = 0.3;
|
|
3295
3363
|
const leadHeight = 0.1;
|
|
3296
3364
|
const centerLeadWidth = 0.42;
|
|
3297
|
-
return /* @__PURE__ */
|
|
3298
|
-
/* @__PURE__ */
|
|
3365
|
+
return /* @__PURE__ */ jsxs46(Fragment44, { children: [
|
|
3366
|
+
/* @__PURE__ */ jsx49(Rotate10, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx49(Translate19, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ jsx49(Colorize24, { color: "grey", children: /* @__PURE__ */ jsx49(Cuboid31, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
3299
3367
|
[1, 2, 3].map((pn) => {
|
|
3300
3368
|
const { x, y } = getCcwSot723Coords(pn);
|
|
3301
|
-
return /* @__PURE__ */
|
|
3302
|
-
|
|
3369
|
+
return /* @__PURE__ */ jsx49(Translate19, { center: [x, y, 0.05], children: /* @__PURE__ */ jsx49(
|
|
3370
|
+
Cuboid31,
|
|
3303
3371
|
{
|
|
3304
3372
|
size: [
|
|
3305
3373
|
leadLength,
|
|
@@ -3313,7 +3381,7 @@ var SOT723 = () => {
|
|
|
3313
3381
|
};
|
|
3314
3382
|
|
|
3315
3383
|
// lib/sod-123.tsx
|
|
3316
|
-
import { Fragment as
|
|
3384
|
+
import { Fragment as Fragment45, jsx as jsx50, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3317
3385
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
3318
3386
|
const bodyWidth = 2.9;
|
|
3319
3387
|
const bodyLength10 = 1.3;
|
|
@@ -3324,8 +3392,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3324
3392
|
const padContactLength = 0.4;
|
|
3325
3393
|
const padThickness = leadThickness / 2;
|
|
3326
3394
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
3327
|
-
return /* @__PURE__ */
|
|
3328
|
-
/* @__PURE__ */
|
|
3395
|
+
return /* @__PURE__ */ jsxs47(Fragment45, { children: [
|
|
3396
|
+
/* @__PURE__ */ jsx50(
|
|
3329
3397
|
SmdChipLead,
|
|
3330
3398
|
{
|
|
3331
3399
|
position: {
|
|
@@ -3341,7 +3409,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3341
3409
|
},
|
|
3342
3410
|
1
|
|
3343
3411
|
),
|
|
3344
|
-
/* @__PURE__ */
|
|
3412
|
+
/* @__PURE__ */ jsx50(
|
|
3345
3413
|
SmdChipLead,
|
|
3346
3414
|
{
|
|
3347
3415
|
rotation: Math.PI,
|
|
@@ -3358,7 +3426,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
3358
3426
|
},
|
|
3359
3427
|
2
|
|
3360
3428
|
),
|
|
3361
|
-
/* @__PURE__ */
|
|
3429
|
+
/* @__PURE__ */ jsx50(
|
|
3362
3430
|
ChipBody,
|
|
3363
3431
|
{
|
|
3364
3432
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -3404,6 +3472,7 @@ export {
|
|
|
3404
3472
|
SOD123F,
|
|
3405
3473
|
SOD123FL,
|
|
3406
3474
|
SOD523,
|
|
3475
|
+
SOD882,
|
|
3407
3476
|
SOD923,
|
|
3408
3477
|
SOT223,
|
|
3409
3478
|
SOT233P,
|