jscad-electronics 0.0.110 → 0.0.112

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.js CHANGED
@@ -1010,7 +1010,7 @@ var getLeadWidth = (pinCount, width10) => {
1010
1010
  };
1011
1011
 
1012
1012
  // lib/PinRow.tsx
1013
- import { Cuboid as Cuboid14, Colorize as Colorize6, Hull as Hull2 } from "jscad-fiber";
1013
+ import { Cuboid as Cuboid14, Colorize as Colorize6, Hull as Hull2, Rotate as Rotate5, Translate as Translate8 } from "jscad-fiber";
1014
1014
  import { Fragment as Fragment16, jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
1015
1015
  var PinRow = ({
1016
1016
  numberOfPins,
@@ -1018,7 +1018,9 @@ var PinRow = ({
1018
1018
  longSidePinLength = 6,
1019
1019
  invert,
1020
1020
  faceup,
1021
- rows = 1
1021
+ rows = 1,
1022
+ smd,
1023
+ rightangle
1022
1024
  }) => {
1023
1025
  const pinThickness = 0.63;
1024
1026
  const bodyHeight = 2;
@@ -1031,21 +1033,37 @@ var PinRow = ({
1031
1033
  const bodyCenterY = rows > 1 ? -((rows - 1) * rowSpacing) / 2 : 0;
1032
1034
  const flipZ = (z) => invert || faceup ? -z + bodyHeight : z;
1033
1035
  return /* @__PURE__ */ jsxs18(Fragment16, { children: [
1034
- /* @__PURE__ */ jsx20(
1036
+ /* @__PURE__ */ jsx20(Translate8, { y: rightangle ? -3 : 0, children: /* @__PURE__ */ jsx20(
1035
1037
  Cuboid14,
1036
1038
  {
1037
1039
  color: "#222",
1038
1040
  size: [bodyWidth, bodyDepth, bodyHeight],
1039
1041
  center: [0, bodyCenterY, flipZ(bodyHeight / 2)]
1040
1042
  }
1041
- ),
1043
+ ) }),
1042
1044
  Array.from({ length: numberOfPins }, (_, i) => {
1043
1045
  const row = Math.floor(i / pinsPerRow);
1044
1046
  const col = i % pinsPerRow;
1045
1047
  const x = xoff + col * pitch;
1046
1048
  const y = -row * rowSpacing;
1047
1049
  return /* @__PURE__ */ jsxs18(Fragment16, { children: [
1048
- !faceup && /* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: /* @__PURE__ */ jsxs18(Hull2, { children: [
1050
+ !faceup && /* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: smd ? /* @__PURE__ */ jsx20(
1051
+ SmdChipLead,
1052
+ {
1053
+ rotation: -Math.PI / 2,
1054
+ position: {
1055
+ x,
1056
+ y: y + 1,
1057
+ z: pinThickness / 2
1058
+ },
1059
+ thickness: pinThickness,
1060
+ width: pinThickness,
1061
+ height: pinThickness,
1062
+ padContactLength: 2,
1063
+ bodyDistance: 3
1064
+ },
1065
+ `short-smd-${i}`
1066
+ ) : /* @__PURE__ */ jsxs18(Hull2, { children: [
1049
1067
  /* @__PURE__ */ jsx20(
1050
1068
  Cuboid14,
1051
1069
  {
@@ -1071,28 +1089,39 @@ var PinRow = ({
1071
1089
  }
1072
1090
  )
1073
1091
  ] }) }, `short-${i}`),
1074
- /* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: /* @__PURE__ */ jsxs18(Hull2, { children: [
1075
- /* @__PURE__ */ jsx20(
1076
- Cuboid14,
1077
- {
1078
- color: "gold",
1079
- size: [pinThickness, pinThickness, longSidePinLength * 0.9],
1080
- center: [x, y, flipZ(-longSidePinLength / 2 * 0.9)]
1081
- }
1082
- ),
1083
- /* @__PURE__ */ jsx20(
1084
- Cuboid14,
1085
- {
1086
- color: "gold",
1087
- size: [
1088
- pinThickness / 1.8,
1089
- pinThickness / 1.8,
1090
- longSidePinLength
1091
- ],
1092
- center: [x, y, flipZ(-longSidePinLength / 2)]
1093
- }
1094
- )
1095
- ] }) }, `long-${i}`)
1092
+ /* @__PURE__ */ jsx20(Colorize6, { color: "gold", children: /* @__PURE__ */ jsx20(Translate8, { y: rightangle ? -3.9 : 0, z: rightangle ? 1 : 0, children: /* @__PURE__ */ jsx20(
1093
+ Rotate5,
1094
+ {
1095
+ rotation: rightangle ? [-Math.PI / 2, 0, 0] : [0, 0, 0],
1096
+ children: /* @__PURE__ */ jsxs18(Hull2, { children: [
1097
+ /* @__PURE__ */ jsx20(
1098
+ Cuboid14,
1099
+ {
1100
+ color: "gold",
1101
+ size: [
1102
+ pinThickness,
1103
+ pinThickness,
1104
+ longSidePinLength * 0.9
1105
+ ],
1106
+ center: [x, y, flipZ(-longSidePinLength / 2 * 0.9)]
1107
+ }
1108
+ ),
1109
+ /* @__PURE__ */ jsx20(
1110
+ Cuboid14,
1111
+ {
1112
+ color: "gold",
1113
+ size: [
1114
+ pinThickness / 1.8,
1115
+ pinThickness / 1.8,
1116
+ longSidePinLength
1117
+ ],
1118
+ center: [x, y, flipZ(-longSidePinLength / 2)]
1119
+ }
1120
+ )
1121
+ ] })
1122
+ },
1123
+ `rotate-${i}`
1124
+ ) }) }, `long-${i}`)
1096
1125
  ] });
1097
1126
  })
1098
1127
  ] });
@@ -1546,9 +1575,9 @@ import {
1546
1575
  Cylinder as Cylinder4,
1547
1576
  ExtrudeLinear as ExtrudeLinear3,
1548
1577
  Polygon as Polygon3,
1549
- Rotate as Rotate5,
1578
+ Rotate as Rotate6,
1550
1579
  RoundedCuboid,
1551
- Translate as Translate8
1580
+ Translate as Translate9
1552
1581
  } from "jscad-fiber";
1553
1582
  import { Fragment as Fragment21, jsx as jsx25, jsxs as jsxs23 } from "react/jsx-runtime";
1554
1583
  var PushButton = ({
@@ -1713,14 +1742,14 @@ var PushButtonLeg = (props) => {
1713
1742
  ];
1714
1743
  const polygon = getExpandedStroke(points, thickness);
1715
1744
  return /* @__PURE__ */ jsx25(Colorize9, { color: "#f2f2f2", children: /* @__PURE__ */ jsx25(
1716
- Translate8,
1745
+ Translate9,
1717
1746
  {
1718
1747
  offset: {
1719
1748
  x: position?.x || 0,
1720
1749
  y: position?.y || 0,
1721
1750
  z: position?.z || 0
1722
1751
  },
1723
- children: /* @__PURE__ */ jsx25(Rotate5, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx25(ExtrudeLinear3, { height: width10, children: /* @__PURE__ */ jsx25(Polygon3, { points: polygon.map((p) => [p.y, p.x]) }) }) })
1752
+ children: /* @__PURE__ */ jsx25(Rotate6, { rotation: [0, 55, rotation], children: /* @__PURE__ */ jsx25(ExtrudeLinear3, { height: width10, children: /* @__PURE__ */ jsx25(Polygon3, { points: polygon.map((p) => [p.y, p.x]) }) }) })
1724
1753
  }
1725
1754
  ) });
1726
1755
  };
@@ -1866,7 +1895,7 @@ var VSSOP = ({
1866
1895
  };
1867
1896
 
1868
1897
  // lib/SOD523.tsx
1869
- import { Colorize as Colorize10, Cuboid as Cuboid18, Hull as Hull4, Translate as Translate9, Union as Union4 } from "jscad-fiber";
1898
+ import { Colorize as Colorize10, Cuboid as Cuboid18, Hull as Hull4, Translate as Translate10, Union as Union4 } from "jscad-fiber";
1870
1899
  import { Fragment as Fragment24, jsx as jsx28, jsxs as jsxs26 } from "react/jsx-runtime";
1871
1900
  var SOD523 = () => {
1872
1901
  const fullWidth = 2.15;
@@ -1898,10 +1927,10 @@ var SOD523 = () => {
1898
1927
  }
1899
1928
  ),
1900
1929
  /* @__PURE__ */ jsx28(Colorize10, { color: "#222", children: /* @__PURE__ */ jsxs26(Union4, { children: [
1901
- /* @__PURE__ */ jsx28(Translate9, { z: straightHeight / 2, children: /* @__PURE__ */ jsx28(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
1930
+ /* @__PURE__ */ jsx28(Translate10, { z: straightHeight / 2, children: /* @__PURE__ */ jsx28(Cuboid18, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
1902
1931
  /* @__PURE__ */ jsxs26(Hull4, { children: [
1903
- /* @__PURE__ */ jsx28(Translate9, { z: straightHeight, children: /* @__PURE__ */ jsx28(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
1904
- /* @__PURE__ */ jsx28(Translate9, { z: bodyHeight, children: /* @__PURE__ */ jsx28(
1932
+ /* @__PURE__ */ jsx28(Translate10, { z: straightHeight, children: /* @__PURE__ */ jsx28(Cuboid18, { size: [bodyWidth, bodyLength10, 0.01] }) }),
1933
+ /* @__PURE__ */ jsx28(Translate10, { z: bodyHeight, children: /* @__PURE__ */ jsx28(
1905
1934
  Cuboid18,
1906
1935
  {
1907
1936
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -1913,7 +1942,7 @@ var SOD523 = () => {
1913
1942
  };
1914
1943
 
1915
1944
  // lib/SOD882.tsx
1916
- import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate10 } from "jscad-fiber";
1945
+ import { Colorize as Colorize11, Cuboid as Cuboid19, Translate as Translate11 } from "jscad-fiber";
1917
1946
  import { Fragment as Fragment25, jsx as jsx29, jsxs as jsxs27 } from "react/jsx-runtime";
1918
1947
  var SOD882 = () => {
1919
1948
  const bodyLength10 = 0.98;
@@ -1942,7 +1971,7 @@ var SOD882 = () => {
1942
1971
  center: [rightPadCenterX, 0, padThickness / 2]
1943
1972
  }
1944
1973
  ),
1945
- /* @__PURE__ */ jsx29(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx29(Translate10, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx29(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
1974
+ /* @__PURE__ */ jsx29(Colorize11, { color: "#222", children: /* @__PURE__ */ jsx29(Translate11, { z: bodyHeight / 2 + 0.02, children: /* @__PURE__ */ jsx29(Cuboid19, { size: [bodyLength10, bodyWidth, bodyHeight] }) }) }),
1946
1975
  /* @__PURE__ */ jsx29(
1947
1976
  Cuboid19,
1948
1977
  {
@@ -1979,7 +2008,7 @@ var SOD882 = () => {
1979
2008
  };
1980
2009
 
1981
2010
  // lib/SMA.tsx
1982
- import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union6, Hull as Hull6, Translate as Translate11 } from "jscad-fiber";
2011
+ import { Cuboid as Cuboid20, Colorize as Colorize12, Union as Union6, Hull as Hull6, Translate as Translate12 } from "jscad-fiber";
1983
2012
  import { Fragment as Fragment26, jsx as jsx30, jsxs as jsxs28 } from "react/jsx-runtime";
1984
2013
  var SMA = () => {
1985
2014
  const bodyWidth = 4.4;
@@ -1993,17 +2022,17 @@ var SMA = () => {
1993
2022
  const straightHeight = bodyHeight * 0.5;
1994
2023
  const Body = /* @__PURE__ */ jsx30(Colorize12, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Union6, { children: [
1995
2024
  /* @__PURE__ */ jsxs28(Hull6, { children: [
1996
- /* @__PURE__ */ jsx30(Translate11, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx30(
2025
+ /* @__PURE__ */ jsx30(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx30(
1997
2026
  Cuboid20,
1998
2027
  {
1999
2028
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
2000
2029
  }
2001
2030
  ) }),
2002
- /* @__PURE__ */ jsx30(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
2031
+ /* @__PURE__ */ jsx30(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) })
2003
2032
  ] }),
2004
2033
  /* @__PURE__ */ jsxs28(Hull6, { children: [
2005
- /* @__PURE__ */ jsx30(Translate11, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2006
- /* @__PURE__ */ jsx30(Translate11, { z: bodyHeight, children: /* @__PURE__ */ jsx30(
2034
+ /* @__PURE__ */ jsx30(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx30(Cuboid20, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2035
+ /* @__PURE__ */ jsx30(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx30(
2007
2036
  Cuboid20,
2008
2037
  {
2009
2038
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2051,7 +2080,7 @@ var SMA = () => {
2051
2080
  };
2052
2081
 
2053
2082
  // lib/SMB.tsx
2054
- import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union7, Hull as Hull7, Translate as Translate12 } from "jscad-fiber";
2083
+ import { Cuboid as Cuboid21, Colorize as Colorize13, Union as Union7, Hull as Hull7, Translate as Translate13 } from "jscad-fiber";
2055
2084
  import { Fragment as Fragment27, jsx as jsx31, jsxs as jsxs29 } from "react/jsx-runtime";
2056
2085
  var SMB = () => {
2057
2086
  const bodyWidth = 4.4;
@@ -2065,17 +2094,17 @@ var SMB = () => {
2065
2094
  const straightHeight = bodyHeight * 0.5;
2066
2095
  const Body = /* @__PURE__ */ jsx31(Colorize13, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Union7, { children: [
2067
2096
  /* @__PURE__ */ jsxs29(Hull7, { children: [
2068
- /* @__PURE__ */ jsx31(Translate12, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx31(
2097
+ /* @__PURE__ */ jsx31(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx31(
2069
2098
  Cuboid21,
2070
2099
  {
2071
2100
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
2072
2101
  }
2073
2102
  ) }),
2074
- /* @__PURE__ */ jsx31(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
2103
+ /* @__PURE__ */ jsx31(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) })
2075
2104
  ] }),
2076
2105
  /* @__PURE__ */ jsxs29(Hull7, { children: [
2077
- /* @__PURE__ */ jsx31(Translate12, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2078
- /* @__PURE__ */ jsx31(Translate12, { z: bodyHeight, children: /* @__PURE__ */ jsx31(
2106
+ /* @__PURE__ */ jsx31(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx31(Cuboid21, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2107
+ /* @__PURE__ */ jsx31(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx31(
2079
2108
  Cuboid21,
2080
2109
  {
2081
2110
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2123,7 +2152,7 @@ var SMB = () => {
2123
2152
  };
2124
2153
 
2125
2154
  // lib/SMC.tsx
2126
- import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union8, Hull as Hull8, Translate as Translate13 } from "jscad-fiber";
2155
+ import { Cuboid as Cuboid22, Colorize as Colorize14, Union as Union8, Hull as Hull8, Translate as Translate14 } from "jscad-fiber";
2127
2156
  import { Fragment as Fragment28, jsx as jsx32, jsxs as jsxs30 } from "react/jsx-runtime";
2128
2157
  var SMC = () => {
2129
2158
  const bodyWidth = 6.8;
@@ -2137,17 +2166,17 @@ var SMC = () => {
2137
2166
  const straightHeight = bodyHeight * 0.5;
2138
2167
  const Body = /* @__PURE__ */ jsx32(Colorize14, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs30(Union8, { children: [
2139
2168
  /* @__PURE__ */ jsxs30(Hull8, { children: [
2140
- /* @__PURE__ */ jsx32(Translate13, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx32(
2169
+ /* @__PURE__ */ jsx32(Translate14, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx32(
2141
2170
  Cuboid22,
2142
2171
  {
2143
2172
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.03]
2144
2173
  }
2145
2174
  ) }),
2146
- /* @__PURE__ */ jsx32(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
2175
+ /* @__PURE__ */ jsx32(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) })
2147
2176
  ] }),
2148
2177
  /* @__PURE__ */ jsxs30(Hull8, { children: [
2149
- /* @__PURE__ */ jsx32(Translate13, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2150
- /* @__PURE__ */ jsx32(Translate13, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
2178
+ /* @__PURE__ */ jsx32(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx32(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2179
+ /* @__PURE__ */ jsx32(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx32(
2151
2180
  Cuboid22,
2152
2181
  {
2153
2182
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2195,7 +2224,7 @@ var SMC = () => {
2195
2224
  };
2196
2225
 
2197
2226
  // lib/SMF.tsx
2198
- import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate14, Union as Union9 } from "jscad-fiber";
2227
+ import { Colorize as Colorize15, Cuboid as Cuboid23, Hull as Hull9, Translate as Translate15, Union as Union9 } from "jscad-fiber";
2199
2228
  import { Fragment as Fragment29, jsx as jsx33, jsxs as jsxs31 } from "react/jsx-runtime";
2200
2229
  var SMF = () => {
2201
2230
  const fullWidth = 2.9;
@@ -2210,10 +2239,10 @@ var SMF = () => {
2210
2239
  const taperOffset = 0.2;
2211
2240
  const straightHeight = bodyHeight * 0.5;
2212
2241
  const Body = /* @__PURE__ */ jsx33(Colorize15, { color: "#222", children: /* @__PURE__ */ jsxs31(Union9, { children: [
2213
- /* @__PURE__ */ jsx33(Translate14, { z: straightHeight / 2, children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
2242
+ /* @__PURE__ */ jsx33(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
2214
2243
  /* @__PURE__ */ jsxs31(Hull9, { children: [
2215
- /* @__PURE__ */ jsx33(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2216
- /* @__PURE__ */ jsx33(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
2244
+ /* @__PURE__ */ jsx33(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx33(Cuboid23, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2245
+ /* @__PURE__ */ jsx33(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx33(
2217
2246
  Cuboid23,
2218
2247
  {
2219
2248
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2243,7 +2272,7 @@ var SMF = () => {
2243
2272
  };
2244
2273
 
2245
2274
  // lib/sod-123F.tsx
2246
- import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate15, Union as Union10 } from "jscad-fiber";
2275
+ import { Colorize as Colorize16, Cuboid as Cuboid24, Hull as Hull10, Translate as Translate16, Union as Union10 } from "jscad-fiber";
2247
2276
  import { Fragment as Fragment30, jsx as jsx34, jsxs as jsxs32 } from "react/jsx-runtime";
2248
2277
  var SOD123F = () => {
2249
2278
  const fullWidth = 2.7;
@@ -2274,10 +2303,10 @@ var SOD123F = () => {
2274
2303
  }
2275
2304
  ),
2276
2305
  /* @__PURE__ */ jsx34(Colorize16, { color: "#222", children: /* @__PURE__ */ jsxs32(Union10, { children: [
2277
- /* @__PURE__ */ jsx34(Translate15, { z: straightHeight / 2, children: /* @__PURE__ */ jsx34(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
2306
+ /* @__PURE__ */ jsx34(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx34(Cuboid24, { size: [fullWidth, bodyLength10, straightHeight] }) }),
2278
2307
  /* @__PURE__ */ jsxs32(Hull10, { children: [
2279
- /* @__PURE__ */ jsx34(Translate15, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
2280
- /* @__PURE__ */ jsx34(Translate15, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
2308
+ /* @__PURE__ */ jsx34(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx34(Cuboid24, { size: [fullWidth, bodyLength10, 0.01] }) }),
2309
+ /* @__PURE__ */ jsx34(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx34(
2281
2310
  Cuboid24,
2282
2311
  {
2283
2312
  size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2289,7 +2318,7 @@ var SOD123F = () => {
2289
2318
  };
2290
2319
 
2291
2320
  // lib/sod-123FL.tsx
2292
- import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate16, Union as Union11 } from "jscad-fiber";
2321
+ import { Colorize as Colorize17, Cuboid as Cuboid25, Hull as Hull11, Translate as Translate17, Union as Union11 } from "jscad-fiber";
2293
2322
  import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs33 } from "react/jsx-runtime";
2294
2323
  var SOD123FL = () => {
2295
2324
  const fullWidth = 2.75;
@@ -2320,10 +2349,10 @@ var SOD123FL = () => {
2320
2349
  }
2321
2350
  ),
2322
2351
  /* @__PURE__ */ jsx35(Colorize17, { color: "#222", children: /* @__PURE__ */ jsxs33(Union11, { children: [
2323
- /* @__PURE__ */ jsx35(Translate16, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
2352
+ /* @__PURE__ */ jsx35(Translate17, { z: straightHeight / 2, children: /* @__PURE__ */ jsx35(Cuboid25, { size: [fullWidth, bodyLength10, straightHeight] }) }),
2324
2353
  /* @__PURE__ */ jsxs33(Hull11, { children: [
2325
- /* @__PURE__ */ jsx35(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
2326
- /* @__PURE__ */ jsx35(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
2354
+ /* @__PURE__ */ jsx35(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx35(Cuboid25, { size: [fullWidth, bodyLength10, 0.01] }) }),
2355
+ /* @__PURE__ */ jsx35(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx35(
2327
2356
  Cuboid25,
2328
2357
  {
2329
2358
  size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2343,7 +2372,7 @@ var SOD123FL = () => {
2343
2372
  };
2344
2373
 
2345
2374
  // lib/sod-123W.tsx
2346
- import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate17, Union as Union12 } from "jscad-fiber";
2375
+ import { Colorize as Colorize18, Cuboid as Cuboid26, Hull as Hull12, Translate as Translate18, Union as Union12 } from "jscad-fiber";
2347
2376
  import { Fragment as Fragment32, jsx as jsx36, jsxs as jsxs34 } from "react/jsx-runtime";
2348
2377
  var SOD123W = () => {
2349
2378
  const fullWidth = 2.6;
@@ -2376,7 +2405,7 @@ var SOD123W = () => {
2376
2405
  ),
2377
2406
  /* @__PURE__ */ jsx36(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs34(Union12, { children: [
2378
2407
  /* @__PURE__ */ jsxs34(Hull12, { children: [
2379
- /* @__PURE__ */ jsx36(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx36(
2408
+ /* @__PURE__ */ jsx36(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx36(
2380
2409
  Cuboid26,
2381
2410
  {
2382
2411
  size: [
@@ -2386,7 +2415,7 @@ var SOD123W = () => {
2386
2415
  ]
2387
2416
  }
2388
2417
  ) }),
2389
- /* @__PURE__ */ jsx36(Translate17, { z: 0.01, children: /* @__PURE__ */ jsx36(
2418
+ /* @__PURE__ */ jsx36(Translate18, { z: 0.01, children: /* @__PURE__ */ jsx36(
2390
2419
  Cuboid26,
2391
2420
  {
2392
2421
  size: [
@@ -2398,8 +2427,8 @@ var SOD123W = () => {
2398
2427
  ) })
2399
2428
  ] }),
2400
2429
  /* @__PURE__ */ jsxs34(Hull12, { children: [
2401
- /* @__PURE__ */ jsx36(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
2402
- /* @__PURE__ */ jsx36(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
2430
+ /* @__PURE__ */ jsx36(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx36(Cuboid26, { size: [fullWidth, bodyLength10, 0.01] }) }),
2431
+ /* @__PURE__ */ jsx36(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx36(
2403
2432
  Cuboid26,
2404
2433
  {
2405
2434
  size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2419,7 +2448,7 @@ var SOD123W = () => {
2419
2448
  };
2420
2449
 
2421
2450
  // lib/sod-128.tsx
2422
- import { Colorize as Colorize19, Cuboid as Cuboid27, Hull as Hull13, Translate as Translate18, Union as Union13 } from "jscad-fiber";
2451
+ import { Colorize as Colorize19, Cuboid as Cuboid27, Hull as Hull13, Translate as Translate19, Union as Union13 } from "jscad-fiber";
2423
2452
  import { Fragment as Fragment33, jsx as jsx37, jsxs as jsxs35 } from "react/jsx-runtime";
2424
2453
  var SOD128 = () => {
2425
2454
  const fullWidth = 3.8;
@@ -2452,7 +2481,7 @@ var SOD128 = () => {
2452
2481
  ),
2453
2482
  /* @__PURE__ */ jsx37(Colorize19, { color: "#222", children: /* @__PURE__ */ jsxs35(Union13, { children: [
2454
2483
  /* @__PURE__ */ jsxs35(Hull13, { children: [
2455
- /* @__PURE__ */ jsx37(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx37(
2484
+ /* @__PURE__ */ jsx37(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx37(
2456
2485
  Cuboid27,
2457
2486
  {
2458
2487
  size: [
@@ -2462,7 +2491,7 @@ var SOD128 = () => {
2462
2491
  ]
2463
2492
  }
2464
2493
  ) }),
2465
- /* @__PURE__ */ jsx37(Translate18, { z: 0.01, children: /* @__PURE__ */ jsx37(
2494
+ /* @__PURE__ */ jsx37(Translate19, { z: 0.01, children: /* @__PURE__ */ jsx37(
2466
2495
  Cuboid27,
2467
2496
  {
2468
2497
  size: [
@@ -2474,8 +2503,8 @@ var SOD128 = () => {
2474
2503
  ) })
2475
2504
  ] }),
2476
2505
  /* @__PURE__ */ jsxs35(Hull13, { children: [
2477
- /* @__PURE__ */ jsx37(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx37(Cuboid27, { size: [fullWidth, bodyLength10, 0.01] }) }),
2478
- /* @__PURE__ */ jsx37(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx37(
2506
+ /* @__PURE__ */ jsx37(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx37(Cuboid27, { size: [fullWidth, bodyLength10, 0.01] }) }),
2507
+ /* @__PURE__ */ jsx37(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx37(
2479
2508
  Cuboid27,
2480
2509
  {
2481
2510
  size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2495,7 +2524,7 @@ var SOD128 = () => {
2495
2524
  };
2496
2525
 
2497
2526
  // lib/SOD-923.tsx
2498
- import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull14, Translate as Translate19, Union as Union14 } from "jscad-fiber";
2527
+ import { Colorize as Colorize20, Cuboid as Cuboid28, Hull as Hull14, Translate as Translate20, Union as Union14 } from "jscad-fiber";
2499
2528
  import { Fragment as Fragment34, jsx as jsx38, jsxs as jsxs36 } from "react/jsx-runtime";
2500
2529
  var SOD923 = () => {
2501
2530
  const fullWidth = 0.8;
@@ -2526,10 +2555,10 @@ var SOD923 = () => {
2526
2555
  }
2527
2556
  ),
2528
2557
  /* @__PURE__ */ jsx38(Colorize20, { color: "#222", children: /* @__PURE__ */ jsxs36(Union14, { children: [
2529
- /* @__PURE__ */ jsx38(Translate19, { z: straightHeight / 2, children: /* @__PURE__ */ jsx38(Cuboid28, { size: [fullWidth, bodyLength10, straightHeight] }) }),
2558
+ /* @__PURE__ */ jsx38(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx38(Cuboid28, { size: [fullWidth, bodyLength10, straightHeight] }) }),
2530
2559
  /* @__PURE__ */ jsxs36(Hull14, { children: [
2531
- /* @__PURE__ */ jsx38(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx38(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
2532
- /* @__PURE__ */ jsx38(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx38(
2560
+ /* @__PURE__ */ jsx38(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx38(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
2561
+ /* @__PURE__ */ jsx38(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx38(
2533
2562
  Cuboid28,
2534
2563
  {
2535
2564
  size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -2929,7 +2958,7 @@ var LQFP = ({
2929
2958
  };
2930
2959
 
2931
2960
  // lib/SOT-723.tsx
2932
- import { Cuboid as Cuboid29, Translate as Translate20, Colorize as Colorize21, Hull as Hull15, Union as Union15 } from "jscad-fiber";
2961
+ import { Cuboid as Cuboid29, Translate as Translate21, Colorize as Colorize21, Hull as Hull15, Union as Union15 } from "jscad-fiber";
2933
2962
  import { Fragment as Fragment39, jsx as jsx43, jsxs as jsxs41 } from "react/jsx-runtime";
2934
2963
  var SOT723 = () => {
2935
2964
  const bodyWidth = 0.85;
@@ -2957,8 +2986,8 @@ var SOT723 = () => {
2957
2986
  }
2958
2987
  ),
2959
2988
  /* @__PURE__ */ jsxs41(Hull15, { children: [
2960
- /* @__PURE__ */ jsx43(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx43(Cuboid29, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2961
- /* @__PURE__ */ jsx43(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx43(
2989
+ /* @__PURE__ */ jsx43(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx43(Cuboid29, { size: [bodyWidth, bodyLength10, 0.01] }) }),
2990
+ /* @__PURE__ */ jsx43(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx43(
2962
2991
  Cuboid29,
2963
2992
  {
2964
2993
  size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -3150,7 +3179,7 @@ import {
3150
3179
  Colorize as Colorize23,
3151
3180
  Cylinder as Cylinder6,
3152
3181
  RoundedCylinder as RoundedCylinder2,
3153
- Rotate as Rotate6,
3182
+ Rotate as Rotate7,
3154
3183
  RoundedCuboid as RoundedCuboid2
3155
3184
  } from "jscad-fiber";
3156
3185
  import { Fragment as Fragment42, jsx as jsx46, jsxs as jsxs44 } from "react/jsx-runtime";
@@ -3163,7 +3192,7 @@ var MicroMELF = ({
3163
3192
  }) => {
3164
3193
  const padLength = 0.2;
3165
3194
  return /* @__PURE__ */ jsxs44(Fragment42, { children: [
3166
- /* @__PURE__ */ jsx46(Colorize23, { color, children: /* @__PURE__ */ jsxs44(Rotate6, { rotation: [0, "90deg", 0], children: [
3195
+ /* @__PURE__ */ jsx46(Colorize23, { color, children: /* @__PURE__ */ jsxs44(Rotate7, { rotation: [0, "90deg", 0], children: [
3167
3196
  /* @__PURE__ */ jsx46(
3168
3197
  RoundedCuboid2,
3169
3198
  {
@@ -3181,7 +3210,7 @@ var MicroMELF = ({
3181
3210
  }
3182
3211
  )
3183
3212
  ] }) }),
3184
- /* @__PURE__ */ jsx46(Colorize23, { color: cathodeIdentification, children: /* @__PURE__ */ jsx46(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
3213
+ /* @__PURE__ */ jsx46(Colorize23, { color: cathodeIdentification, children: /* @__PURE__ */ jsx46(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
3185
3214
  RoundedCuboid2,
3186
3215
  {
3187
3216
  size: [bodyDiameter * 1.01, bodyDiameter * 1.01, bodyLength10 / 3],
@@ -3189,7 +3218,7 @@ var MicroMELF = ({
3189
3218
  center: [-bodyDiameter / 2, 0, -bodyLength10 / 4 + 0.1]
3190
3219
  }
3191
3220
  ) }) }),
3192
- /* @__PURE__ */ jsx46(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx46(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
3221
+ /* @__PURE__ */ jsx46(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx46(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
3193
3222
  RoundedCylinder2,
3194
3223
  {
3195
3224
  height: padLength,
@@ -3198,7 +3227,7 @@ var MicroMELF = ({
3198
3227
  center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
3199
3228
  }
3200
3229
  ) }) }),
3201
- /* @__PURE__ */ jsx46(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx46(Rotate6, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
3230
+ /* @__PURE__ */ jsx46(Colorize23, { color: contactColor, children: /* @__PURE__ */ jsx46(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx46(
3202
3231
  RoundedCylinder2,
3203
3232
  {
3204
3233
  height: padLength,
@@ -3211,7 +3240,7 @@ var MicroMELF = ({
3211
3240
  };
3212
3241
 
3213
3242
  // lib/MINIMELF.tsx
3214
- import { Colorize as Colorize24, RoundedCylinder as RoundedCylinder3, Rotate as Rotate7 } from "jscad-fiber";
3243
+ import { Colorize as Colorize24, RoundedCylinder as RoundedCylinder3, Rotate as Rotate8 } from "jscad-fiber";
3215
3244
  import { Fragment as Fragment43, jsx as jsx47, jsxs as jsxs45 } from "react/jsx-runtime";
3216
3245
  var MINIMELF = ({
3217
3246
  bodyLength: bodyLength10 = 3.5,
@@ -3221,7 +3250,7 @@ var MINIMELF = ({
3221
3250
  }) => {
3222
3251
  const padLength = 0.5;
3223
3252
  return /* @__PURE__ */ jsxs45(Fragment43, { children: [
3224
- /* @__PURE__ */ jsx47(Colorize24, { color, children: /* @__PURE__ */ jsx47(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
3253
+ /* @__PURE__ */ jsx47(Colorize24, { color, children: /* @__PURE__ */ jsx47(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
3225
3254
  RoundedCylinder3,
3226
3255
  {
3227
3256
  height: bodyLength10,
@@ -3230,7 +3259,7 @@ var MINIMELF = ({
3230
3259
  center: [-bodyDiameter / 2, 0, 0]
3231
3260
  }
3232
3261
  ) }) }),
3233
- /* @__PURE__ */ jsx47(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx47(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
3262
+ /* @__PURE__ */ jsx47(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx47(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
3234
3263
  RoundedCylinder3,
3235
3264
  {
3236
3265
  height: padLength,
@@ -3239,7 +3268,7 @@ var MINIMELF = ({
3239
3268
  center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
3240
3269
  }
3241
3270
  ) }) }),
3242
- /* @__PURE__ */ jsx47(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx47(Rotate7, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
3271
+ /* @__PURE__ */ jsx47(Colorize24, { color: contactColor, children: /* @__PURE__ */ jsx47(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx47(
3243
3272
  RoundedCylinder3,
3244
3273
  {
3245
3274
  height: padLength,
@@ -3252,7 +3281,7 @@ var MINIMELF = ({
3252
3281
  };
3253
3282
 
3254
3283
  // lib/MELF.tsx
3255
- import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder4, Rotate as Rotate8 } from "jscad-fiber";
3284
+ import { Colorize as Colorize25, RoundedCylinder as RoundedCylinder4, Rotate as Rotate9 } from "jscad-fiber";
3256
3285
  import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs46 } from "react/jsx-runtime";
3257
3286
  var MELF = ({
3258
3287
  bodyLength: bodyLength10 = 3.9,
@@ -3262,7 +3291,7 @@ var MELF = ({
3262
3291
  }) => {
3263
3292
  const padLength = 0.55;
3264
3293
  return /* @__PURE__ */ jsxs46(Fragment44, { children: [
3265
- /* @__PURE__ */ jsx48(Colorize25, { color, children: /* @__PURE__ */ jsx48(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
3294
+ /* @__PURE__ */ jsx48(Colorize25, { color, children: /* @__PURE__ */ jsx48(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
3266
3295
  RoundedCylinder4,
3267
3296
  {
3268
3297
  height: bodyLength10,
@@ -3271,7 +3300,7 @@ var MELF = ({
3271
3300
  center: [-bodyDiameter / 2, 0, 0]
3272
3301
  }
3273
3302
  ) }) }),
3274
- /* @__PURE__ */ jsx48(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
3303
+ /* @__PURE__ */ jsx48(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
3275
3304
  RoundedCylinder4,
3276
3305
  {
3277
3306
  height: padLength,
@@ -3280,7 +3309,7 @@ var MELF = ({
3280
3309
  center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
3281
3310
  }
3282
3311
  ) }) }),
3283
- /* @__PURE__ */ jsx48(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate8, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
3312
+ /* @__PURE__ */ jsx48(Colorize25, { color: contactColor, children: /* @__PURE__ */ jsx48(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx48(
3284
3313
  RoundedCylinder4,
3285
3314
  {
3286
3315
  height: padLength,
@@ -3435,8 +3464,8 @@ import {
3435
3464
  Colorize as Colorize26,
3436
3465
  Cuboid as Cuboid33,
3437
3466
  Hull as Hull17,
3438
- Rotate as Rotate9,
3439
- Translate as Translate21,
3467
+ Rotate as Rotate10,
3468
+ Translate as Translate22,
3440
3469
  Cylinder as Cylinder7,
3441
3470
  Subtract as Subtract4
3442
3471
  } from "jscad-fiber";
@@ -3459,8 +3488,8 @@ var TO220 = () => {
3459
3488
  const bodyBackX = fullLength10 + bodyLength10 / 2;
3460
3489
  const prongCenterX = bodyFrontX - prongLength / 2;
3461
3490
  const padCenterX = bodyBackX + padLength / 2;
3462
- return /* @__PURE__ */ jsx51(Translate21, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs49(Fragment47, { children: [
3463
- /* @__PURE__ */ jsxs49(Rotate9, { rotation: [0, 55, -55], children: [
3491
+ return /* @__PURE__ */ jsx51(Translate22, { center: [0, 0, zOffset], children: /* @__PURE__ */ jsxs49(Fragment47, { children: [
3492
+ /* @__PURE__ */ jsxs49(Rotate10, { rotation: [0, 55, -55], children: [
3464
3493
  /* @__PURE__ */ jsxs49(Subtract4, { children: [
3465
3494
  /* @__PURE__ */ jsx51(
3466
3495
  Cuboid33,
@@ -3494,22 +3523,22 @@ var TO220 = () => {
3494
3523
  }
3495
3524
  ) })
3496
3525
  ] }),
3497
- /* @__PURE__ */ jsx51(Rotate9, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
3526
+ /* @__PURE__ */ jsx51(Rotate10, { rotation: [0, 55, 55], children: Array.from({ length: 3 }).map((_, i) => {
3498
3527
  const x = prongCenterX;
3499
3528
  const y = (i - 1) * prongPitch;
3500
3529
  const z = -prongHeight - 0.6;
3501
3530
  return /* @__PURE__ */ jsxs49(Colorize26, { color: "gold", children: [
3502
3531
  /* @__PURE__ */ jsxs49(Hull17, { children: [
3503
- /* @__PURE__ */ jsx51(Translate21, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx51(Cuboid33, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
3532
+ /* @__PURE__ */ jsx51(Translate22, { center: [bodyFrontX - bodyHeight / 2 + 0.1, y, z], children: /* @__PURE__ */ jsx51(Cuboid33, { size: [bodyHeight, prongWidth + 1, prongHeight] }) }),
3504
3533
  /* @__PURE__ */ jsx51(
3505
- Translate21,
3534
+ Translate22,
3506
3535
  {
3507
3536
  center: [bodyFrontX - bodyHeight / 2 - 1 + 0.1, y, z],
3508
3537
  children: /* @__PURE__ */ jsx51(Cuboid33, { size: [bodyHeight, prongWidth, prongHeight] })
3509
3538
  }
3510
3539
  )
3511
3540
  ] }),
3512
- /* @__PURE__ */ jsx51(Translate21, { center: [x, y, z], children: /* @__PURE__ */ jsx51(Cuboid33, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
3541
+ /* @__PURE__ */ jsx51(Translate22, { center: [x, y, z], children: /* @__PURE__ */ jsx51(Cuboid33, { size: [prongLength + 0.1, prongWidth, prongHeight] }) })
3513
3542
  ] }, `prong-${i}`);
3514
3543
  }) })
3515
3544
  ] }) });
@@ -3717,7 +3746,7 @@ import {
3717
3746
  Colorize as Colorize27,
3718
3747
  Cuboid as Cuboid35,
3719
3748
  Hull as Hull18,
3720
- Translate as Translate22,
3749
+ Translate as Translate23,
3721
3750
  Cylinder as Cylinder8,
3722
3751
  Subtract as Subtract5
3723
3752
  } from "jscad-fiber";
@@ -3742,19 +3771,19 @@ var TO92 = () => {
3742
3771
  const leadMidPosB = [0, 1.28, -2.72];
3743
3772
  const leadTipPos2 = [0, 1.28, -8.9];
3744
3773
  const sideLeadZ = -7.5;
3745
- return /* @__PURE__ */ jsxs52(Translate22, { center: [0, 1, 10.5], children: [
3774
+ return /* @__PURE__ */ jsxs52(Translate23, { center: [0, 1, 10.5], children: [
3746
3775
  /* @__PURE__ */ jsx54(Colorize27, { color: bodyColor, children: /* @__PURE__ */ jsxs52(Subtract5, { children: [
3747
- /* @__PURE__ */ jsx54(Translate22, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx54(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
3748
- /* @__PURE__ */ jsx54(Translate22, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx54(Cuboid35, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
3776
+ /* @__PURE__ */ jsx54(Translate23, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx54(Cylinder8, { radius: bodyRadius, height: bodyHeight }) }),
3777
+ /* @__PURE__ */ jsx54(Translate23, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx54(Cuboid35, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
3749
3778
  ] }) }),
3750
- /* @__PURE__ */ jsx54(Translate22, { center: leadTipPos1, children: /* @__PURE__ */ jsx54(Cuboid35, { size: leadTipSize }) }),
3779
+ /* @__PURE__ */ jsx54(Translate23, { center: leadTipPos1, children: /* @__PURE__ */ jsx54(Cuboid35, { size: leadTipSize }) }),
3751
3780
  /* @__PURE__ */ jsxs52(Hull18, { children: [
3752
- /* @__PURE__ */ jsx54(Translate22, { center: leadMidPosA, children: /* @__PURE__ */ jsx54(Cuboid35, { size: leadSmallSize }) }),
3753
- /* @__PURE__ */ jsx54(Translate22, { center: leadMidPosB, children: /* @__PURE__ */ jsx54(Cuboid35, { size: leadSmallSize }) })
3781
+ /* @__PURE__ */ jsx54(Translate23, { center: leadMidPosA, children: /* @__PURE__ */ jsx54(Cuboid35, { size: leadSmallSize }) }),
3782
+ /* @__PURE__ */ jsx54(Translate23, { center: leadMidPosB, children: /* @__PURE__ */ jsx54(Cuboid35, { size: leadSmallSize }) })
3754
3783
  ] }),
3755
- /* @__PURE__ */ jsx54(Translate22, { center: leadTipPos2, children: /* @__PURE__ */ jsx54(Cuboid35, { size: [leadLength, legWidth, 12.2] }) }),
3756
- /* @__PURE__ */ jsx54(Translate22, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx54(Cuboid35, { size: [leadLength, legWidth, 15] }) }),
3757
- /* @__PURE__ */ jsx54(Translate22, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx54(Cuboid35, { size: [leadLength, legWidth, 15] }) })
3784
+ /* @__PURE__ */ jsx54(Translate23, { center: leadTipPos2, children: /* @__PURE__ */ jsx54(Cuboid35, { size: [leadLength, legWidth, 12.2] }) }),
3785
+ /* @__PURE__ */ jsx54(Translate23, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx54(Cuboid35, { size: [leadLength, legWidth, 15] }) }),
3786
+ /* @__PURE__ */ jsx54(Translate23, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx54(Cuboid35, { size: [leadLength, legWidth, 15] }) })
3758
3787
  ] });
3759
3788
  };
3760
3789
 
@@ -4023,7 +4052,7 @@ var SOD323 = () => {
4023
4052
  };
4024
4053
 
4025
4054
  // lib/sod-323F.tsx
4026
- import { Colorize as Colorize29, Cuboid as Cuboid38, Hull as Hull20, Translate as Translate24, Union as Union17 } from "jscad-fiber";
4055
+ import { Colorize as Colorize29, Cuboid as Cuboid38, Hull as Hull20, Translate as Translate25, Union as Union17 } from "jscad-fiber";
4027
4056
  import { Fragment as Fragment53, jsx as jsx58, jsxs as jsxs56 } from "react/jsx-runtime";
4028
4057
  var SOD323F = () => {
4029
4058
  const fullWidth = 1.7;
@@ -4054,10 +4083,10 @@ var SOD323F = () => {
4054
4083
  }
4055
4084
  ),
4056
4085
  /* @__PURE__ */ jsx58(Colorize29, { color: "#222", children: /* @__PURE__ */ jsxs56(Union17, { children: [
4057
- /* @__PURE__ */ jsx58(Translate24, { z: straightHeight / 2, children: /* @__PURE__ */ jsx58(Cuboid38, { size: [fullWidth, bodyLength10, straightHeight] }) }),
4086
+ /* @__PURE__ */ jsx58(Translate25, { z: straightHeight / 2, children: /* @__PURE__ */ jsx58(Cuboid38, { size: [fullWidth, bodyLength10, straightHeight] }) }),
4058
4087
  /* @__PURE__ */ jsxs56(Hull20, { children: [
4059
- /* @__PURE__ */ jsx58(Translate24, { z: straightHeight, children: /* @__PURE__ */ jsx58(Cuboid38, { size: [fullWidth, bodyLength10, 0.01] }) }),
4060
- /* @__PURE__ */ jsx58(Translate24, { z: bodyHeight, children: /* @__PURE__ */ jsx58(
4088
+ /* @__PURE__ */ jsx58(Translate25, { z: straightHeight, children: /* @__PURE__ */ jsx58(Cuboid38, { size: [fullWidth, bodyLength10, 0.01] }) }),
4089
+ /* @__PURE__ */ jsx58(Translate25, { z: bodyHeight, children: /* @__PURE__ */ jsx58(
4061
4090
  Cuboid38,
4062
4091
  {
4063
4092
  size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
@@ -4130,15 +4159,54 @@ var SOD323FL = () => {
4130
4159
  ] });
4131
4160
  };
4132
4161
 
4162
+ // lib/AxialCapacitor.tsx
4163
+ import { Colorize as Colorize31, Cylinder as Cylinder9, Rotate as Rotate11, Sphere as Sphere2, Translate as Translate27 } from "jscad-fiber";
4164
+ import { Fragment as Fragment55, jsx as jsx60, jsxs as jsxs58 } from "react/jsx-runtime";
4165
+ var AxialCapacitor = ({ pitch = 10 }) => {
4166
+ const heightToCenterOfCapacitor = 0.5 + 4 / 2;
4167
+ return /* @__PURE__ */ jsxs58(Fragment55, { children: [
4168
+ /* @__PURE__ */ jsx60(Cylinder9, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
4169
+ /* @__PURE__ */ jsx60(
4170
+ Sphere2,
4171
+ {
4172
+ radius: 0.5,
4173
+ center: [-pitch / 2, 0, heightToCenterOfCapacitor]
4174
+ }
4175
+ ),
4176
+ /* @__PURE__ */ jsx60(Translate27, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs58(Rotate11, { rotation: [0, Math.PI / 2, 0], children: [
4177
+ /* @__PURE__ */ jsx60(
4178
+ Cylinder9,
4179
+ {
4180
+ height: pitch,
4181
+ radius: 0.5,
4182
+ center: [0, 0, heightToCenterOfCapacitor]
4183
+ }
4184
+ ),
4185
+ /* @__PURE__ */ jsx60(Colorize31, { color: "#d2b48c", children: /* @__PURE__ */ jsx60(
4186
+ Cylinder9,
4187
+ {
4188
+ height: 5,
4189
+ radius: 1.3,
4190
+ center: [0, 0, heightToCenterOfCapacitor]
4191
+ }
4192
+ ) })
4193
+ ] }) }),
4194
+ /* @__PURE__ */ jsx60(Cylinder9, { height: 4, radius: 0.5, center: [pitch / 2, 0, 0.5] }),
4195
+ /* @__PURE__ */ jsx60(Sphere2, { radius: 0.5, center: [pitch / 2, 0, heightToCenterOfCapacitor] })
4196
+ ] });
4197
+ };
4198
+
4133
4199
  // lib/Footprinter3d.tsx
4134
- import { jsx as jsx60 } from "react/jsx-runtime";
4200
+ import { jsx as jsx61 } from "react/jsx-runtime";
4135
4201
  var Footprinter3d = ({ footprint }) => {
4136
4202
  const fpJson = fp3.string(footprint).json();
4137
4203
  switch (fpJson.fn) {
4138
4204
  case "dip":
4139
- return /* @__PURE__ */ jsx60(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
4205
+ return /* @__PURE__ */ jsx61(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
4206
+ case "axial":
4207
+ return /* @__PURE__ */ jsx61(AxialCapacitor, { pitch: fpJson.p });
4140
4208
  case "tssop":
4141
- return /* @__PURE__ */ jsx60(
4209
+ return /* @__PURE__ */ jsx61(
4142
4210
  Tssop,
4143
4211
  {
4144
4212
  pinCount: fpJson.num_pins,
@@ -4149,7 +4217,7 @@ var Footprinter3d = ({ footprint }) => {
4149
4217
  }
4150
4218
  );
4151
4219
  case "msop":
4152
- return /* @__PURE__ */ jsx60(
4220
+ return /* @__PURE__ */ jsx61(
4153
4221
  MSOP,
4154
4222
  {
4155
4223
  pinCount: fpJson.num_pins,
@@ -4160,7 +4228,7 @@ var Footprinter3d = ({ footprint }) => {
4160
4228
  }
4161
4229
  );
4162
4230
  case "vssop":
4163
- return /* @__PURE__ */ jsx60(
4231
+ return /* @__PURE__ */ jsx61(
4164
4232
  VSSOP,
4165
4233
  {
4166
4234
  pinCount: fpJson.num_pins,
@@ -4172,7 +4240,7 @@ var Footprinter3d = ({ footprint }) => {
4172
4240
  }
4173
4241
  );
4174
4242
  case "qfp":
4175
- return /* @__PURE__ */ jsx60(
4243
+ return /* @__PURE__ */ jsx61(
4176
4244
  QFP,
4177
4245
  {
4178
4246
  pinCount: fpJson.num_pins,
@@ -4183,12 +4251,12 @@ var Footprinter3d = ({ footprint }) => {
4183
4251
  }
4184
4252
  );
4185
4253
  case "tqfp":
4186
- return /* @__PURE__ */ jsx60(tqfp_default, {});
4254
+ return /* @__PURE__ */ jsx61(tqfp_default, {});
4187
4255
  case "lqfp":
4188
- return /* @__PURE__ */ jsx60(LQFP, { pinCount: fpJson.num_pins });
4256
+ return /* @__PURE__ */ jsx61(LQFP, { pinCount: fpJson.num_pins });
4189
4257
  case "qfn": {
4190
4258
  const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
4191
- return /* @__PURE__ */ jsx60(
4259
+ return /* @__PURE__ */ jsx61(
4192
4260
  qfn_default,
4193
4261
  {
4194
4262
  num_pins: fpJson.num_pins,
@@ -4206,7 +4274,7 @@ var Footprinter3d = ({ footprint }) => {
4206
4274
  }
4207
4275
  case "dfn": {
4208
4276
  const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
4209
- return /* @__PURE__ */ jsx60(
4277
+ return /* @__PURE__ */ jsx61(
4210
4278
  DFN,
4211
4279
  {
4212
4280
  num_pins: fpJson.num_pins,
@@ -4226,18 +4294,20 @@ var Footprinter3d = ({ footprint }) => {
4226
4294
  const rowsMatch = footprint.match(/_rows(\d+)/);
4227
4295
  const rows = rowsMatch && rowsMatch[1] ? parseInt(rowsMatch[1], 10) : 1;
4228
4296
  if (fpJson.male)
4229
- return /* @__PURE__ */ jsx60(
4297
+ return /* @__PURE__ */ jsx61(
4230
4298
  PinRow,
4231
4299
  {
4232
4300
  numberOfPins: fpJson.num_pins,
4233
4301
  pitch: fpJson.p,
4234
4302
  invert: fpJson.invert,
4235
4303
  faceup: fpJson.faceup,
4236
- rows
4304
+ rows,
4305
+ smd: fpJson.smd || fpJson.surface_mount,
4306
+ rightangle: fpJson.rightangle
4237
4307
  }
4238
4308
  );
4239
4309
  if (fpJson.female)
4240
- return /* @__PURE__ */ jsx60(
4310
+ return /* @__PURE__ */ jsx61(
4241
4311
  FemaleHeader,
4242
4312
  {
4243
4313
  numberOfPins: fpJson.num_pins,
@@ -4249,47 +4319,47 @@ var Footprinter3d = ({ footprint }) => {
4249
4319
  case "cap": {
4250
4320
  switch (fpJson.imperial) {
4251
4321
  case "0402":
4252
- return /* @__PURE__ */ jsx60(A0402, { color: "#856c4d" });
4322
+ return /* @__PURE__ */ jsx61(A0402, { color: "#856c4d" });
4253
4323
  case "0603":
4254
- return /* @__PURE__ */ jsx60(A0603, { color: "#856c4d" });
4324
+ return /* @__PURE__ */ jsx61(A0603, { color: "#856c4d" });
4255
4325
  case "0805":
4256
- return /* @__PURE__ */ jsx60(A0805, { color: "#856c4d" });
4326
+ return /* @__PURE__ */ jsx61(A0805, { color: "#856c4d" });
4257
4327
  case "0201":
4258
- return /* @__PURE__ */ jsx60(A0201, { color: "#856c4d" });
4328
+ return /* @__PURE__ */ jsx61(A0201, { color: "#856c4d" });
4259
4329
  case "01005":
4260
- return /* @__PURE__ */ jsx60(A01005, { color: "#856c4d" });
4330
+ return /* @__PURE__ */ jsx61(A01005, { color: "#856c4d" });
4261
4331
  case "1206":
4262
- return /* @__PURE__ */ jsx60(A1206, { color: "#856c4d" });
4332
+ return /* @__PURE__ */ jsx61(A1206, { color: "#856c4d" });
4263
4333
  case "1210":
4264
- return /* @__PURE__ */ jsx60(A1210, { color: "#856c4d" });
4334
+ return /* @__PURE__ */ jsx61(A1210, { color: "#856c4d" });
4265
4335
  case "2010":
4266
- return /* @__PURE__ */ jsx60(A2010, { color: "#856c4d" });
4336
+ return /* @__PURE__ */ jsx61(A2010, { color: "#856c4d" });
4267
4337
  case "2512":
4268
- return /* @__PURE__ */ jsx60(A2512, { color: "#856c4d" });
4338
+ return /* @__PURE__ */ jsx61(A2512, { color: "#856c4d" });
4269
4339
  }
4270
4340
  }
4271
4341
  case "sot235":
4272
- return /* @__PURE__ */ jsx60(SOT_235_default, {});
4342
+ return /* @__PURE__ */ jsx61(SOT_235_default, {});
4273
4343
  case "sot457":
4274
- return /* @__PURE__ */ jsx60(SOT457, {});
4344
+ return /* @__PURE__ */ jsx61(SOT457, {});
4275
4345
  case "sot223":
4276
- return /* @__PURE__ */ jsx60(SOT223, {});
4346
+ return /* @__PURE__ */ jsx61(SOT223, {});
4277
4347
  case "sot23w":
4278
- return /* @__PURE__ */ jsx60(SOT23W, {});
4348
+ return /* @__PURE__ */ jsx61(SOT23W, {});
4279
4349
  case "sot323":
4280
- return /* @__PURE__ */ jsx60(SOT323, {});
4350
+ return /* @__PURE__ */ jsx61(SOT323, {});
4281
4351
  case "sod323f":
4282
- return /* @__PURE__ */ jsx60(SOD323F, {});
4352
+ return /* @__PURE__ */ jsx61(SOD323F, {});
4283
4353
  case "sod323fl":
4284
- return /* @__PURE__ */ jsx60(SOD323FL, {});
4354
+ return /* @__PURE__ */ jsx61(SOD323FL, {});
4285
4355
  case "sot363":
4286
- return /* @__PURE__ */ jsx60(SOT_363_default, {});
4356
+ return /* @__PURE__ */ jsx61(SOT_363_default, {});
4287
4357
  case "sot886":
4288
- return /* @__PURE__ */ jsx60(SOT886, {});
4358
+ return /* @__PURE__ */ jsx61(SOT886, {});
4289
4359
  case "sot963":
4290
- return /* @__PURE__ */ jsx60(SOT963, {});
4360
+ return /* @__PURE__ */ jsx61(SOT963, {});
4291
4361
  case "pushbutton":
4292
- return /* @__PURE__ */ jsx60(
4362
+ return /* @__PURE__ */ jsx61(
4293
4363
  PushButton,
4294
4364
  {
4295
4365
  width: fpJson.w,
@@ -4298,7 +4368,7 @@ var Footprinter3d = ({ footprint }) => {
4298
4368
  }
4299
4369
  );
4300
4370
  case "soic":
4301
- return /* @__PURE__ */ jsx60(
4371
+ return /* @__PURE__ */ jsx61(
4302
4372
  SOIC,
4303
4373
  {
4304
4374
  pinCount: fpJson.num_pins,
@@ -4309,39 +4379,39 @@ var Footprinter3d = ({ footprint }) => {
4309
4379
  }
4310
4380
  );
4311
4381
  case "sod523":
4312
- return /* @__PURE__ */ jsx60(SOD523, {});
4382
+ return /* @__PURE__ */ jsx61(SOD523, {});
4313
4383
  case "sod882":
4314
- return /* @__PURE__ */ jsx60(SOD882, {});
4384
+ return /* @__PURE__ */ jsx61(SOD882, {});
4315
4385
  case "sma":
4316
- return /* @__PURE__ */ jsx60(SMA, {});
4386
+ return /* @__PURE__ */ jsx61(SMA, {});
4317
4387
  case "smb":
4318
- return /* @__PURE__ */ jsx60(SMB, {});
4388
+ return /* @__PURE__ */ jsx61(SMB, {});
4319
4389
  case "smc":
4320
- return /* @__PURE__ */ jsx60(SMC, {});
4390
+ return /* @__PURE__ */ jsx61(SMC, {});
4321
4391
  case "smf":
4322
- return /* @__PURE__ */ jsx60(SMF, {});
4392
+ return /* @__PURE__ */ jsx61(SMF, {});
4323
4393
  case "sod123f":
4324
- return /* @__PURE__ */ jsx60(SOD123F, {});
4394
+ return /* @__PURE__ */ jsx61(SOD123F, {});
4325
4395
  case "sod123fl":
4326
- return /* @__PURE__ */ jsx60(SOD123FL, {});
4396
+ return /* @__PURE__ */ jsx61(SOD123FL, {});
4327
4397
  case "sod123w":
4328
- return /* @__PURE__ */ jsx60(SOD123W, {});
4398
+ return /* @__PURE__ */ jsx61(SOD123W, {});
4329
4399
  case "sod128":
4330
- return /* @__PURE__ */ jsx60(SOD128, {});
4400
+ return /* @__PURE__ */ jsx61(SOD128, {});
4331
4401
  case "sod323":
4332
- return /* @__PURE__ */ jsx60(SOD323, {});
4402
+ return /* @__PURE__ */ jsx61(SOD323, {});
4333
4403
  case "sod923":
4334
- return /* @__PURE__ */ jsx60(SOD923, {});
4404
+ return /* @__PURE__ */ jsx61(SOD923, {});
4335
4405
  case "hc49":
4336
- return /* @__PURE__ */ jsx60(HC49, {});
4406
+ return /* @__PURE__ */ jsx61(HC49, {});
4337
4407
  case "micromelf":
4338
- return /* @__PURE__ */ jsx60(MicroMELF, {});
4408
+ return /* @__PURE__ */ jsx61(MicroMELF, {});
4339
4409
  case "minimelf":
4340
- return /* @__PURE__ */ jsx60(MINIMELF, {});
4410
+ return /* @__PURE__ */ jsx61(MINIMELF, {});
4341
4411
  case "melf":
4342
- return /* @__PURE__ */ jsx60(MELF, {});
4412
+ return /* @__PURE__ */ jsx61(MELF, {});
4343
4413
  case "ms012":
4344
- return /* @__PURE__ */ jsx60(
4414
+ return /* @__PURE__ */ jsx61(
4345
4415
  MS012,
4346
4416
  {
4347
4417
  pinCount: fpJson.num_pins,
@@ -4351,7 +4421,7 @@ var Footprinter3d = ({ footprint }) => {
4351
4421
  }
4352
4422
  );
4353
4423
  case "ms013":
4354
- return /* @__PURE__ */ jsx60(
4424
+ return /* @__PURE__ */ jsx61(
4355
4425
  MS013,
4356
4426
  {
4357
4427
  pinCount: fpJson.num_pins,
@@ -4361,39 +4431,39 @@ var Footprinter3d = ({ footprint }) => {
4361
4431
  }
4362
4432
  );
4363
4433
  case "sot723":
4364
- return /* @__PURE__ */ jsx60(SOT723, {});
4434
+ return /* @__PURE__ */ jsx61(SOT723, {});
4365
4435
  case "to220":
4366
- return /* @__PURE__ */ jsx60(TO220, {});
4436
+ return /* @__PURE__ */ jsx61(TO220, {});
4367
4437
  case "to92":
4368
- return /* @__PURE__ */ jsx60(TO92, {});
4438
+ return /* @__PURE__ */ jsx61(TO92, {});
4369
4439
  }
4370
4440
  const colorMatch = footprint.match(/_color\(([^)]+)\)/);
4371
4441
  const color = colorMatch ? colorMatch[1] : void 0;
4372
4442
  switch (fpJson.imperial) {
4373
4443
  case "0402":
4374
- return /* @__PURE__ */ jsx60(A0402, { color });
4444
+ return /* @__PURE__ */ jsx61(A0402, { color });
4375
4445
  case "0603":
4376
- return /* @__PURE__ */ jsx60(A0603, { color });
4446
+ return /* @__PURE__ */ jsx61(A0603, { color });
4377
4447
  case "0805":
4378
- return /* @__PURE__ */ jsx60(A0805, { color });
4448
+ return /* @__PURE__ */ jsx61(A0805, { color });
4379
4449
  case "0201":
4380
- return /* @__PURE__ */ jsx60(A0201, { color });
4450
+ return /* @__PURE__ */ jsx61(A0201, { color });
4381
4451
  case "01005":
4382
- return /* @__PURE__ */ jsx60(A01005, { color });
4452
+ return /* @__PURE__ */ jsx61(A01005, { color });
4383
4453
  case "1206":
4384
- return /* @__PURE__ */ jsx60(A1206, { color });
4454
+ return /* @__PURE__ */ jsx61(A1206, { color });
4385
4455
  case "1210":
4386
- return /* @__PURE__ */ jsx60(A1210, { color });
4456
+ return /* @__PURE__ */ jsx61(A1210, { color });
4387
4457
  case "2010":
4388
- return /* @__PURE__ */ jsx60(A2010, { color });
4458
+ return /* @__PURE__ */ jsx61(A2010, { color });
4389
4459
  case "2512":
4390
- return /* @__PURE__ */ jsx60(A2512, { color });
4460
+ return /* @__PURE__ */ jsx61(A2512, { color });
4391
4461
  }
4392
4462
  return null;
4393
4463
  };
4394
4464
 
4395
4465
  // lib/SOT-23-3P.tsx
4396
- import { Fragment as Fragment55, jsx as jsx61, jsxs as jsxs58 } from "react/jsx-runtime";
4466
+ import { Fragment as Fragment56, jsx as jsx62, jsxs as jsxs59 } from "react/jsx-runtime";
4397
4467
  var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
4398
4468
  const bodyWidth = 1.3;
4399
4469
  const bodyLength10 = 2.9;
@@ -4404,8 +4474,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
4404
4474
  const padContactLength = 0.4;
4405
4475
  const padThickness = leadThickness / 2;
4406
4476
  const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
4407
- return /* @__PURE__ */ jsxs58(Fragment55, { children: [
4408
- /* @__PURE__ */ jsx61(
4477
+ return /* @__PURE__ */ jsxs59(Fragment56, { children: [
4478
+ /* @__PURE__ */ jsx62(
4409
4479
  SmdChipLead,
4410
4480
  {
4411
4481
  rotation: Math.PI,
@@ -4422,7 +4492,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
4422
4492
  },
4423
4493
  1
4424
4494
  ),
4425
- /* @__PURE__ */ jsx61(
4495
+ /* @__PURE__ */ jsx62(
4426
4496
  SmdChipLead,
4427
4497
  {
4428
4498
  rotation: Math.PI,
@@ -4439,7 +4509,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
4439
4509
  },
4440
4510
  2
4441
4511
  ),
4442
- /* @__PURE__ */ jsx61(
4512
+ /* @__PURE__ */ jsx62(
4443
4513
  SmdChipLead,
4444
4514
  {
4445
4515
  position: {
@@ -4455,7 +4525,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
4455
4525
  },
4456
4526
  3
4457
4527
  ),
4458
- /* @__PURE__ */ jsx61(
4528
+ /* @__PURE__ */ jsx62(
4459
4529
  ChipBody,
4460
4530
  {
4461
4531
  center: { x: 0, y: 0, z: 0 },
@@ -4468,8 +4538,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
4468
4538
  };
4469
4539
 
4470
4540
  // lib/SOT-563.tsx
4471
- import { Cuboid as Cuboid40, Translate as Translate26, Rotate as Rotate10, Colorize as Colorize31 } from "jscad-fiber";
4472
- import { Fragment as Fragment56, jsx as jsx62, jsxs as jsxs59 } from "react/jsx-runtime";
4541
+ import { Cuboid as Cuboid40, Translate as Translate28, Rotate as Rotate12, Colorize as Colorize32 } from "jscad-fiber";
4542
+ import { Fragment as Fragment57, jsx as jsx63, jsxs as jsxs60 } from "react/jsx-runtime";
4473
4543
  var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
4474
4544
  const bodyWidth = 1.2;
4475
4545
  const bodyLength10 = 1.6;
@@ -4479,28 +4549,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
4479
4549
  const leadHeight = 0.13;
4480
4550
  const leadSpacing = 0.5;
4481
4551
  const bodyZOffset = -0.4;
4482
- return /* @__PURE__ */ jsxs59(Fragment56, { children: [
4483
- /* @__PURE__ */ jsx62(Rotate10, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx62(Translate26, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx62(Colorize31, { color: "grey", children: /* @__PURE__ */ jsx62(Cuboid40, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
4552
+ return /* @__PURE__ */ jsxs60(Fragment57, { children: [
4553
+ /* @__PURE__ */ jsx63(Rotate12, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx63(Translate28, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx63(Colorize32, { color: "grey", children: /* @__PURE__ */ jsx63(Cuboid40, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
4484
4554
  [-1, 0, 1].flatMap((yOffset, index) => [
4485
4555
  // Left lead
4486
- /* @__PURE__ */ jsx62(
4487
- Translate26,
4556
+ /* @__PURE__ */ jsx63(
4557
+ Translate28,
4488
4558
  {
4489
4559
  center: [
4490
4560
  -bodyWidth / 2 - 0.03,
4491
4561
  yOffset * leadSpacing,
4492
4562
  leadHeight / 2
4493
4563
  ],
4494
- children: /* @__PURE__ */ jsx62(Cuboid40, { size: [leadLength, leadWidth, leadHeight] })
4564
+ children: /* @__PURE__ */ jsx63(Cuboid40, { size: [leadLength, leadWidth, leadHeight] })
4495
4565
  },
4496
4566
  `left-${index}`
4497
4567
  ),
4498
4568
  // Right lead
4499
- /* @__PURE__ */ jsx62(
4500
- Translate26,
4569
+ /* @__PURE__ */ jsx63(
4570
+ Translate28,
4501
4571
  {
4502
4572
  center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
4503
- children: /* @__PURE__ */ jsx62(Cuboid40, { size: [leadLength, leadWidth, leadHeight] })
4573
+ children: /* @__PURE__ */ jsx63(Cuboid40, { size: [leadLength, leadWidth, leadHeight] })
4504
4574
  },
4505
4575
  `right-${index}`
4506
4576
  )
@@ -4509,7 +4579,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
4509
4579
  };
4510
4580
 
4511
4581
  // lib/sod-123.tsx
4512
- import { Fragment as Fragment57, jsx as jsx63, jsxs as jsxs60 } from "react/jsx-runtime";
4582
+ import { Fragment as Fragment58, jsx as jsx64, jsxs as jsxs61 } from "react/jsx-runtime";
4513
4583
  var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
4514
4584
  const bodyWidth = 2.9;
4515
4585
  const bodyLength10 = 1.3;
@@ -4520,8 +4590,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
4520
4590
  const padContactLength = 0.4;
4521
4591
  const padThickness = leadThickness / 2;
4522
4592
  const bodyDistance = (fullWidth - bodyWidth) / 2;
4523
- return /* @__PURE__ */ jsxs60(Fragment57, { children: [
4524
- /* @__PURE__ */ jsx63(
4593
+ return /* @__PURE__ */ jsxs61(Fragment58, { children: [
4594
+ /* @__PURE__ */ jsx64(
4525
4595
  SmdChipLead,
4526
4596
  {
4527
4597
  position: {
@@ -4537,7 +4607,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
4537
4607
  },
4538
4608
  1
4539
4609
  ),
4540
- /* @__PURE__ */ jsx63(
4610
+ /* @__PURE__ */ jsx64(
4541
4611
  SmdChipLead,
4542
4612
  {
4543
4613
  rotation: Math.PI,
@@ -4554,7 +4624,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
4554
4624
  },
4555
4625
  2
4556
4626
  ),
4557
- /* @__PURE__ */ jsx63(
4627
+ /* @__PURE__ */ jsx64(
4558
4628
  ChipBody,
4559
4629
  {
4560
4630
  center: { x: 0, y: 0, z: 0 },
@@ -4575,6 +4645,7 @@ export {
4575
4645
  A1210,
4576
4646
  A2010,
4577
4647
  A2512,
4648
+ AxialCapacitor,
4578
4649
  BGA,
4579
4650
  ChipBody,
4580
4651
  DFN,