jscad-electronics 0.0.57 → 0.0.59

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 CHANGED
@@ -171,4 +171,8 @@ declare const SOD523: () => react_jsx_runtime.JSX.Element;
171
171
 
172
172
  declare const SMA: () => react_jsx_runtime.JSX.Element;
173
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 };
174
+ declare const SMB: () => react_jsx_runtime.JSX.Element;
175
+
176
+ declare const SMC: () => react_jsx_runtime.JSX.Element;
177
+
178
+ export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, PinRow, QFN, QFP, SMA, SMB, SMC, SOD123, SOD523, SOT233P, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop, VSSOP };
package/dist/index.js CHANGED
@@ -1751,15 +1751,159 @@ 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
+
1826
+ // lib/SMC.tsx
1827
+ import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union8, Hull as Hull7, Translate as Translate12 } from "jscad-fiber";
1828
+ import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs27 } from "react/jsx-runtime";
1829
+ var SMC = () => {
1830
+ const bodyWidth = 6.8;
1831
+ const bodyLength10 = 6;
1832
+ const bodyHeight = 2.3;
1833
+ const padWidth = 2.95;
1834
+ const padThickness = 0.2;
1835
+ const leadThickness = 0.2;
1836
+ const leadHeight = 1.14;
1837
+ const taperOffset = 0.4;
1838
+ const straightHeight = bodyHeight * 0.5;
1839
+ const Body = /* @__PURE__ */ jsx29(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs27(Union8, { children: [
1840
+ /* @__PURE__ */ jsxs27(Hull7, { children: [
1841
+ /* @__PURE__ */ jsx29(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx29(
1842
+ Cuboid21,
1843
+ {
1844
+ size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
1845
+ }
1846
+ ) }),
1847
+ /* @__PURE__ */ jsx29(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx29(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
1848
+ ] }),
1849
+ /* @__PURE__ */ jsxs27(Hull7, { children: [
1850
+ /* @__PURE__ */ jsx29(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx29(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
1851
+ /* @__PURE__ */ jsx29(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx29(
1852
+ Cuboid21,
1853
+ {
1854
+ size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
1855
+ }
1856
+ ) })
1857
+ ] })
1858
+ ] }) });
1859
+ const Lead = ({ xDir }) => {
1860
+ const verticalGap = 1;
1861
+ const lowerPadGap = 1;
1862
+ const lowerPadX = xDir * (bodyLength10 / 2 - bodyHeight * 0.8 / 2 + lowerPadGap);
1863
+ const verticalLeadX = xDir * (bodyLength10 / 2 - leadThickness / 2 + verticalGap);
1864
+ const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
1865
+ const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
1866
+ const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
1867
+ return /* @__PURE__ */ jsx29(Colorize13, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs27(Union8, { children: [
1868
+ /* @__PURE__ */ jsx29(
1869
+ Cuboid21,
1870
+ {
1871
+ size: [bodyHeight * 0.8, padWidth, leadThickness],
1872
+ center: [lowerPadX, 0, leadThickness / 2]
1873
+ }
1874
+ ),
1875
+ /* @__PURE__ */ jsx29(
1876
+ Cuboid21,
1877
+ {
1878
+ size: [leadThickness, padWidth, leadHeight],
1879
+ center: [verticalLeadX, 0, leadHeight / 2 + leadThickness]
1880
+ }
1881
+ ),
1882
+ /* @__PURE__ */ jsx29(
1883
+ Cuboid21,
1884
+ {
1885
+ size: [bridgeLength, padWidth, leadThickness],
1886
+ center: [bridgeCenterX, 0, leadThickness / 2 + leadHeight]
1887
+ }
1888
+ )
1889
+ ] }) });
1890
+ };
1891
+ return /* @__PURE__ */ jsxs27(Fragment25, { children: [
1892
+ /* @__PURE__ */ jsx29(Lead, { xDir: 1 }),
1893
+ /* @__PURE__ */ jsx29(Lead, { xDir: -1 }),
1894
+ Body
1895
+ ] });
1896
+ };
1897
+
1754
1898
  // lib/Footprinter3d.tsx
1755
- import { jsx as jsx28 } from "react/jsx-runtime";
1899
+ import { jsx as jsx30 } from "react/jsx-runtime";
1756
1900
  var Footprinter3d = ({ footprint }) => {
1757
1901
  const fpJson = fp3.string(footprint).json();
1758
1902
  switch (fpJson.fn) {
1759
1903
  case "dip":
1760
- return /* @__PURE__ */ jsx28(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
1904
+ return /* @__PURE__ */ jsx30(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
1761
1905
  case "tssop":
1762
- return /* @__PURE__ */ jsx28(
1906
+ return /* @__PURE__ */ jsx30(
1763
1907
  Tssop,
1764
1908
  {
1765
1909
  pinCount: fpJson.num_pins,
@@ -1770,7 +1914,7 @@ var Footprinter3d = ({ footprint }) => {
1770
1914
  }
1771
1915
  );
1772
1916
  case "vssop":
1773
- return /* @__PURE__ */ jsx28(
1917
+ return /* @__PURE__ */ jsx30(
1774
1918
  VSSOP,
1775
1919
  {
1776
1920
  pinCount: fpJson.num_pins,
@@ -1782,7 +1926,7 @@ var Footprinter3d = ({ footprint }) => {
1782
1926
  }
1783
1927
  );
1784
1928
  case "qfp":
1785
- return /* @__PURE__ */ jsx28(
1929
+ return /* @__PURE__ */ jsx30(
1786
1930
  QFP,
1787
1931
  {
1788
1932
  pinCount: fpJson.num_pins,
@@ -1794,7 +1938,7 @@ var Footprinter3d = ({ footprint }) => {
1794
1938
  );
1795
1939
  case "qfn":
1796
1940
  const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
1797
- return /* @__PURE__ */ jsx28(
1941
+ return /* @__PURE__ */ jsx30(
1798
1942
  qfn_default,
1799
1943
  {
1800
1944
  num_pins: fpJson.num_pins,
@@ -1811,35 +1955,35 @@ var Footprinter3d = ({ footprint }) => {
1811
1955
  );
1812
1956
  case "pinrow":
1813
1957
  if (fpJson.male)
1814
- return /* @__PURE__ */ jsx28(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
1958
+ return /* @__PURE__ */ jsx30(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
1815
1959
  if (fpJson.female)
1816
- return /* @__PURE__ */ jsx28(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
1960
+ return /* @__PURE__ */ jsx30(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
1817
1961
  case "cap": {
1818
1962
  switch (fpJson.imperial) {
1819
1963
  case "0402":
1820
- return /* @__PURE__ */ jsx28(A0402, { color: "#856c4d" });
1964
+ return /* @__PURE__ */ jsx30(A0402, { color: "#856c4d" });
1821
1965
  case "0603":
1822
- return /* @__PURE__ */ jsx28(A0603, { color: "#856c4d" });
1966
+ return /* @__PURE__ */ jsx30(A0603, { color: "#856c4d" });
1823
1967
  case "0805":
1824
- return /* @__PURE__ */ jsx28(A0805, { color: "#856c4d" });
1968
+ return /* @__PURE__ */ jsx30(A0805, { color: "#856c4d" });
1825
1969
  case "0201":
1826
- return /* @__PURE__ */ jsx28(A0201, { color: "#856c4d" });
1970
+ return /* @__PURE__ */ jsx30(A0201, { color: "#856c4d" });
1827
1971
  case "01005":
1828
- return /* @__PURE__ */ jsx28(A01005, { color: "#856c4d" });
1972
+ return /* @__PURE__ */ jsx30(A01005, { color: "#856c4d" });
1829
1973
  case "1206":
1830
- return /* @__PURE__ */ jsx28(A1206, { color: "#856c4d" });
1974
+ return /* @__PURE__ */ jsx30(A1206, { color: "#856c4d" });
1831
1975
  case "1210":
1832
- return /* @__PURE__ */ jsx28(A1210, { color: "#856c4d" });
1976
+ return /* @__PURE__ */ jsx30(A1210, { color: "#856c4d" });
1833
1977
  case "2010":
1834
- return /* @__PURE__ */ jsx28(A2010, { color: "#856c4d" });
1978
+ return /* @__PURE__ */ jsx30(A2010, { color: "#856c4d" });
1835
1979
  case "2512":
1836
- return /* @__PURE__ */ jsx28(A2512, { color: "#856c4d" });
1980
+ return /* @__PURE__ */ jsx30(A2512, { color: "#856c4d" });
1837
1981
  }
1838
1982
  }
1839
1983
  case "sot235":
1840
- return /* @__PURE__ */ jsx28(SOT_235_default, {});
1984
+ return /* @__PURE__ */ jsx30(SOT_235_default, {});
1841
1985
  case "pushbutton":
1842
- return /* @__PURE__ */ jsx28(
1986
+ return /* @__PURE__ */ jsx30(
1843
1987
  PushButton,
1844
1988
  {
1845
1989
  width: fpJson.w,
@@ -1848,7 +1992,7 @@ var Footprinter3d = ({ footprint }) => {
1848
1992
  }
1849
1993
  );
1850
1994
  case "soic":
1851
- return /* @__PURE__ */ jsx28(
1995
+ return /* @__PURE__ */ jsx30(
1852
1996
  SOIC,
1853
1997
  {
1854
1998
  pinCount: fpJson.num_pins,
@@ -1859,37 +2003,41 @@ var Footprinter3d = ({ footprint }) => {
1859
2003
  }
1860
2004
  );
1861
2005
  case "sod523":
1862
- return /* @__PURE__ */ jsx28(SOD523, {});
2006
+ return /* @__PURE__ */ jsx30(SOD523, {});
1863
2007
  case "sma":
1864
- return /* @__PURE__ */ jsx28(SMA, {});
2008
+ return /* @__PURE__ */ jsx30(SMA, {});
2009
+ case "smb":
2010
+ return /* @__PURE__ */ jsx30(SMB, {});
2011
+ case "smc":
2012
+ return /* @__PURE__ */ jsx30(SMC, {});
1865
2013
  }
1866
2014
  const colorMatch = footprint.match(/_color\(([^)]+)\)/);
1867
2015
  const color = colorMatch ? colorMatch[1] : void 0;
1868
2016
  switch (fpJson.imperial) {
1869
2017
  case "0402":
1870
- return /* @__PURE__ */ jsx28(A0402, { color });
2018
+ return /* @__PURE__ */ jsx30(A0402, { color });
1871
2019
  case "0603":
1872
- return /* @__PURE__ */ jsx28(A0603, { color });
2020
+ return /* @__PURE__ */ jsx30(A0603, { color });
1873
2021
  case "0805":
1874
- return /* @__PURE__ */ jsx28(A0805, { color });
2022
+ return /* @__PURE__ */ jsx30(A0805, { color });
1875
2023
  case "0201":
1876
- return /* @__PURE__ */ jsx28(A0201, { color });
2024
+ return /* @__PURE__ */ jsx30(A0201, { color });
1877
2025
  case "01005":
1878
- return /* @__PURE__ */ jsx28(A01005, { color });
2026
+ return /* @__PURE__ */ jsx30(A01005, { color });
1879
2027
  case "1206":
1880
- return /* @__PURE__ */ jsx28(A1206, { color });
2028
+ return /* @__PURE__ */ jsx30(A1206, { color });
1881
2029
  case "1210":
1882
- return /* @__PURE__ */ jsx28(A1210, { color });
2030
+ return /* @__PURE__ */ jsx30(A1210, { color });
1883
2031
  case "2010":
1884
- return /* @__PURE__ */ jsx28(A2010, { color });
2032
+ return /* @__PURE__ */ jsx30(A2010, { color });
1885
2033
  case "2512":
1886
- return /* @__PURE__ */ jsx28(A2512, { color });
2034
+ return /* @__PURE__ */ jsx30(A2512, { color });
1887
2035
  }
1888
2036
  return null;
1889
2037
  };
1890
2038
 
1891
2039
  // lib/SOT-23-3P.tsx
1892
- import { Fragment as Fragment24, jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
2040
+ import { Fragment as Fragment26, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
1893
2041
  var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
1894
2042
  const bodyWidth = 1.3;
1895
2043
  const bodyLength10 = 2.9;
@@ -1900,8 +2048,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
1900
2048
  const padContactLength = 0.4;
1901
2049
  const padThickness = leadThickness / 2;
1902
2050
  const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
1903
- return /* @__PURE__ */ jsxs26(Fragment24, { children: [
1904
- /* @__PURE__ */ jsx29(
2051
+ return /* @__PURE__ */ jsxs28(Fragment26, { children: [
2052
+ /* @__PURE__ */ jsx31(
1905
2053
  SmdChipLead,
1906
2054
  {
1907
2055
  rotation: Math.PI,
@@ -1918,7 +2066,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
1918
2066
  },
1919
2067
  1
1920
2068
  ),
1921
- /* @__PURE__ */ jsx29(
2069
+ /* @__PURE__ */ jsx31(
1922
2070
  SmdChipLead,
1923
2071
  {
1924
2072
  rotation: Math.PI,
@@ -1935,7 +2083,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
1935
2083
  },
1936
2084
  2
1937
2085
  ),
1938
- /* @__PURE__ */ jsx29(
2086
+ /* @__PURE__ */ jsx31(
1939
2087
  SmdChipLead,
1940
2088
  {
1941
2089
  position: {
@@ -1951,7 +2099,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
1951
2099
  },
1952
2100
  3
1953
2101
  ),
1954
- /* @__PURE__ */ jsx29(
2102
+ /* @__PURE__ */ jsx31(
1955
2103
  ChipBody,
1956
2104
  {
1957
2105
  center: { x: 0, y: 0, z: 0 },
@@ -1964,8 +2112,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
1964
2112
  };
1965
2113
 
1966
2114
  // lib/SOT-563.tsx
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";
2115
+ import { Cuboid as Cuboid22, Translate as Translate13, Rotate as Rotate6, Colorize as Colorize14 } from "jscad-fiber";
2116
+ import { Fragment as Fragment27, jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
1969
2117
  var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
1970
2118
  const bodyWidth = 1.2;
1971
2119
  const bodyLength10 = 1.6;
@@ -1975,28 +2123,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
1975
2123
  const leadHeight = 0.13;
1976
2124
  const leadSpacing = 0.5;
1977
2125
  const bodyZOffset = -0.4;
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] }) }) }) }),
2126
+ return /* @__PURE__ */ jsxs29(Fragment27, { children: [
2127
+ /* @__PURE__ */ jsx32(Rotate6, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx32(Translate13, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx32(Colorize14, { color: "grey", children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
1980
2128
  [-1, 0, 1].flatMap((yOffset, index) => [
1981
2129
  // Left lead
1982
- /* @__PURE__ */ jsx30(
1983
- Translate11,
2130
+ /* @__PURE__ */ jsx32(
2131
+ Translate13,
1984
2132
  {
1985
2133
  center: [
1986
2134
  -bodyWidth / 2 - 0.03,
1987
2135
  yOffset * leadSpacing,
1988
2136
  leadHeight / 2
1989
2137
  ],
1990
- children: /* @__PURE__ */ jsx30(Cuboid20, { size: [leadLength, leadWidth, leadHeight] })
2138
+ children: /* @__PURE__ */ jsx32(Cuboid22, { size: [leadLength, leadWidth, leadHeight] })
1991
2139
  },
1992
2140
  `left-${index}`
1993
2141
  ),
1994
2142
  // Right lead
1995
- /* @__PURE__ */ jsx30(
1996
- Translate11,
2143
+ /* @__PURE__ */ jsx32(
2144
+ Translate13,
1997
2145
  {
1998
2146
  center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
1999
- children: /* @__PURE__ */ jsx30(Cuboid20, { size: [leadLength, leadWidth, leadHeight] })
2147
+ children: /* @__PURE__ */ jsx32(Cuboid22, { size: [leadLength, leadWidth, leadHeight] })
2000
2148
  },
2001
2149
  `right-${index}`
2002
2150
  )
@@ -2005,8 +2153,8 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
2005
2153
  };
2006
2154
 
2007
2155
  // lib/SOT-723.tsx
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";
2156
+ import { Cuboid as Cuboid23, Translate as Translate14, Rotate as Rotate7, Colorize as Colorize15 } from "jscad-fiber";
2157
+ import { Fragment as Fragment28, jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
2010
2158
  var getCcwSot723Coords = (pn) => {
2011
2159
  if (pn === 1) {
2012
2160
  return { x: 0, y: 0 };
@@ -2024,12 +2172,12 @@ var SOT723 = () => {
2024
2172
  const leadLength = 0.3;
2025
2173
  const leadHeight = 0.1;
2026
2174
  const centerLeadWidth = 0.42;
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] }) }) }) }),
2175
+ return /* @__PURE__ */ jsxs30(Fragment28, { children: [
2176
+ /* @__PURE__ */ jsx33(Rotate7, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx33(Translate14, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ jsx33(Colorize15, { color: "grey", children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
2029
2177
  [1, 2, 3].map((pn) => {
2030
2178
  const { x, y } = getCcwSot723Coords(pn);
2031
- return /* @__PURE__ */ jsx31(Translate12, { center: [x, y, 0], children: /* @__PURE__ */ jsx31(
2032
- Cuboid21,
2179
+ return /* @__PURE__ */ jsx33(Translate14, { center: [x, y, 0], children: /* @__PURE__ */ jsx33(
2180
+ Cuboid23,
2033
2181
  {
2034
2182
  size: [
2035
2183
  leadLength,
@@ -2043,7 +2191,7 @@ var SOT723 = () => {
2043
2191
  };
2044
2192
 
2045
2193
  // lib/sod-123.tsx
2046
- import { Fragment as Fragment27, jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
2194
+ import { Fragment as Fragment29, jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
2047
2195
  var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
2048
2196
  const bodyWidth = 2.9;
2049
2197
  const bodyLength10 = 1.3;
@@ -2054,8 +2202,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
2054
2202
  const padContactLength = 0.4;
2055
2203
  const padThickness = leadThickness / 2;
2056
2204
  const bodyDistance = (fullWidth - bodyWidth) / 2;
2057
- return /* @__PURE__ */ jsxs29(Fragment27, { children: [
2058
- /* @__PURE__ */ jsx32(
2205
+ return /* @__PURE__ */ jsxs31(Fragment29, { children: [
2206
+ /* @__PURE__ */ jsx34(
2059
2207
  SmdChipLead,
2060
2208
  {
2061
2209
  position: {
@@ -2071,7 +2219,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
2071
2219
  },
2072
2220
  1
2073
2221
  ),
2074
- /* @__PURE__ */ jsx32(
2222
+ /* @__PURE__ */ jsx34(
2075
2223
  SmdChipLead,
2076
2224
  {
2077
2225
  rotation: Math.PI,
@@ -2088,7 +2236,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
2088
2236
  },
2089
2237
  2
2090
2238
  ),
2091
- /* @__PURE__ */ jsx32(
2239
+ /* @__PURE__ */ jsx34(
2092
2240
  ChipBody,
2093
2241
  {
2094
2242
  center: { x: 0, y: 0, z: 0 },
@@ -2119,6 +2267,8 @@ export {
2119
2267
  QFN,
2120
2268
  QFP,
2121
2269
  SMA,
2270
+ SMB,
2271
+ SMC,
2122
2272
  SOD123,
2123
2273
  SOD523,
2124
2274
  SOT233P,