jscad-electronics 0.0.182 → 0.0.183

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
@@ -1210,12 +1210,34 @@ function createNemaMotorSections(input) {
1210
1210
  add("frontCap", front, -holeDepth, 0, holes);
1211
1211
  add("frontCap", front, -p.frontCapLength, -holeDepth);
1212
1212
  add("body", core, -p.bodyLength + p.rearCapLength, -p.frontCapLength);
1213
- add(
1214
- "rearCap",
1215
- p.mountingHoleThrough ? core : front,
1216
- -p.bodyLength,
1217
- -p.bodyLength + p.rearCapLength
1218
- );
1213
+ if (p.backFace === "plain") {
1214
+ add(
1215
+ "rearCap",
1216
+ p.mountingHoleThrough ? core : front,
1217
+ -p.bodyLength,
1218
+ -p.bodyLength + p.rearCapLength
1219
+ );
1220
+ } else {
1221
+ const halfPitch = p.backFaceHoleSpacing / 2;
1222
+ const rearHoles = [-halfPitch, halfPitch].flatMap(
1223
+ (x) => [-halfPitch, halfPitch].map(
1224
+ (y) => circle(p.backFaceHoleDiameter / 2, x, y)
1225
+ )
1226
+ );
1227
+ add(
1228
+ "rearCap",
1229
+ front,
1230
+ -p.bodyLength,
1231
+ -p.bodyLength + p.backFaceHoleDepth,
1232
+ rearHoles
1233
+ );
1234
+ add(
1235
+ "rearCap",
1236
+ front,
1237
+ -p.bodyLength + p.backFaceHoleDepth,
1238
+ -p.bodyLength + p.rearCapLength
1239
+ );
1240
+ }
1219
1241
  add("pilot", circle(p.pilotDiameter / 2), 0, p.pilotLength);
1220
1242
  const r = p.shaftDiameter / 2;
1221
1243
  const round = circle(r);
@@ -1241,35 +1263,59 @@ function createNemaMotorSections(input) {
1241
1263
 
1242
1264
  // lib/NemaMotor.tsx
1243
1265
  import { Colorize as Colorize9, Custom as Custom3 } from "jscad-fiber";
1244
- import { Fragment as Fragment14, jsx as jsx19 } from "react/jsx-runtime";
1266
+ import { Fragment as Fragment14, jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
1245
1267
  function NemaMotor({
1246
1268
  bodyColor = "#242830",
1247
1269
  capColor = "#aeb5bd",
1248
1270
  shaftColor = "#b8bec6",
1271
+ screwColor = "#626b78",
1249
1272
  ...props
1250
1273
  }) {
1251
- return /* @__PURE__ */ jsx19(Fragment14, { children: createNemaMotorSections(props).map((section, index) => {
1252
- const outline = jscad2.geometries.geom2.fromPoints(section.outline);
1253
- const profile = section.holes.length ? jscad2.booleans.subtract(
1254
- outline,
1255
- ...section.holes.map((h) => jscad2.geometries.geom2.fromPoints(h))
1256
- ) : outline;
1257
- const geometry = jscad2.transforms.translate(
1258
- [0, 0, section.zMin],
1259
- jscad2.extrusions.extrudeLinear(
1260
- { height: section.zMax - section.zMin },
1261
- profile
1262
- )
1263
- );
1264
- return /* @__PURE__ */ jsx19(
1265
- Colorize9,
1266
- {
1267
- color: section.name === "body" ? bodyColor : section.name === "shaft" ? shaftColor : capColor,
1268
- children: /* @__PURE__ */ jsx19(Custom3, { geometry })
1269
- },
1270
- `${section.name}-${index}`
1271
- );
1272
- }) });
1274
+ const p = resolveNemaMotorProps(props);
1275
+ const screw = p.backFace === "screws" ? jscad2.transforms.rotateX(
1276
+ Math.PI,
1277
+ createHexSocketBoltGeom({
1278
+ metricSize: p.backFaceScrewSize,
1279
+ length: p.backFaceHoleDepth,
1280
+ showThreads: false
1281
+ })
1282
+ ) : void 0;
1283
+ const halfPitch = p.backFaceHoleSpacing / 2;
1284
+ return /* @__PURE__ */ jsxs16(Fragment14, { children: [
1285
+ createNemaMotorSections(p).map((section, index) => {
1286
+ const outline = jscad2.geometries.geom2.fromPoints(section.outline);
1287
+ const profile = section.holes.length ? jscad2.booleans.subtract(
1288
+ outline,
1289
+ ...section.holes.map((h) => jscad2.geometries.geom2.fromPoints(h))
1290
+ ) : outline;
1291
+ const geometry = jscad2.transforms.translate(
1292
+ [0, 0, section.zMin],
1293
+ jscad2.extrusions.extrudeLinear(
1294
+ { height: section.zMax - section.zMin },
1295
+ profile
1296
+ )
1297
+ );
1298
+ return /* @__PURE__ */ jsx19(
1299
+ Colorize9,
1300
+ {
1301
+ color: section.name === "body" ? bodyColor : section.name === "shaft" ? shaftColor : capColor,
1302
+ children: /* @__PURE__ */ jsx19(Custom3, { geometry })
1303
+ },
1304
+ `${section.name}-${index}`
1305
+ );
1306
+ }),
1307
+ screw && [-halfPitch, halfPitch].flatMap(
1308
+ (x) => [-halfPitch, halfPitch].map((y) => /* @__PURE__ */ jsx19(Colorize9, { color: screwColor, children: /* @__PURE__ */ jsx19(
1309
+ Custom3,
1310
+ {
1311
+ geometry: jscad2.transforms.translate(
1312
+ [x, y, -p.bodyLength],
1313
+ screw
1314
+ )
1315
+ }
1316
+ ) }, `rear-screw-${x}-${y}`))
1317
+ )
1318
+ ] });
1273
1319
  }
1274
1320
  var NEMA8 = (props) => /* @__PURE__ */ jsx19(NemaMotor, { ...props, nemaSize: 8 });
1275
1321
  var NEMA17 = (props) => /* @__PURE__ */ jsx19(NemaMotor, { ...props, nemaSize: 17 });
@@ -1285,7 +1331,7 @@ import {
1285
1331
  Translate as Translate7,
1286
1332
  Union as Union3
1287
1333
  } from "jscad-fiber";
1288
- import { Fragment as Fragment15, jsx as jsx20, jsxs as jsxs16 } from "react/jsx-runtime";
1334
+ import { Fragment as Fragment15, jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
1289
1335
  function createDualRowGullWing(p) {
1290
1336
  const {
1291
1337
  pinCount,
@@ -1333,7 +1379,7 @@ function createDualRowGullWing(p) {
1333
1379
  throw new Error("Exposed pad must fit inside the bottom mold face");
1334
1380
  const midZ = standoff + moldHeight / 2;
1335
1381
  const slice = Math.min(2e-3, moldHeight / 100);
1336
- const body = /* @__PURE__ */ jsxs16(Hull4, { children: [
1382
+ const body = /* @__PURE__ */ jsxs17(Hull4, { children: [
1337
1383
  /* @__PURE__ */ jsx20(Translate7, { z: standoff + slice / 2, children: /* @__PURE__ */ jsx20(
1338
1384
  Cuboid15,
1339
1385
  {
@@ -1376,13 +1422,13 @@ function createDualRowGullWing(p) {
1376
1422
  }
1377
1423
  points.push([root, midZ]);
1378
1424
  const section = ([x, z]) => /* @__PURE__ */ jsx20(Translate7, { offset: { x: side * x, y, z }, children: /* @__PURE__ */ jsx20(Cuboid15, { size: [slice, leadWidth, leadThickness] }) });
1379
- return /* @__PURE__ */ jsx20(Union3, { children: points.slice(1).map((point, i) => /* @__PURE__ */ jsxs16(Hull4, { children: [
1425
+ return /* @__PURE__ */ jsx20(Union3, { children: points.slice(1).map((point, i) => /* @__PURE__ */ jsxs17(Hull4, { children: [
1380
1426
  section(points[i]),
1381
1427
  section(point)
1382
1428
  ] }, i)) });
1383
1429
  };
1384
- return /* @__PURE__ */ jsxs16(Fragment15, { children: [
1385
- /* @__PURE__ */ jsx20(Colorize10, { color: "#353535", children: /* @__PURE__ */ jsxs16(Subtract4, { children: [
1430
+ return /* @__PURE__ */ jsxs17(Fragment15, { children: [
1431
+ /* @__PURE__ */ jsx20(Colorize10, { color: "#353535", children: /* @__PURE__ */ jsxs17(Subtract4, { children: [
1386
1432
  body,
1387
1433
  /* @__PURE__ */ jsx20(
1388
1434
  Translate7,
@@ -1556,7 +1602,7 @@ function getExpandedStroke(strokeInput, width10) {
1556
1602
  }
1557
1603
 
1558
1604
  // lib/DualInlinePackage.tsx
1559
- import { Fragment as Fragment16, jsx as jsx22, jsxs as jsxs17 } from "react/jsx-runtime";
1605
+ import { Fragment as Fragment16, jsx as jsx22, jsxs as jsxs18 } from "react/jsx-runtime";
1560
1606
  var normalizeOnY = (points) => {
1561
1607
  const minX = Math.min(...points.map((p) => p.x));
1562
1608
  const maxX = Math.max(...points.map((p) => p.x));
@@ -1585,7 +1631,7 @@ var DIP_PIN_HEIGHT = 5.47;
1585
1631
  var heightAboveSurface = 0.5;
1586
1632
  var DipPinLeg = ({ x, y, z }) => {
1587
1633
  const isRotated = x > 0;
1588
- return /* @__PURE__ */ jsxs17(Fragment16, { children: [
1634
+ return /* @__PURE__ */ jsxs18(Fragment16, { children: [
1589
1635
  /* @__PURE__ */ jsx22(Translate8, { offset: { x: x + 0.25 / 2, y, z }, children: /* @__PURE__ */ jsx22(Rotate4, { rotation: ["-90deg", 0, "90deg"], children: /* @__PURE__ */ jsx22(ExtrudeLinear3, { height: 0.25, children: /* @__PURE__ */ jsx22(
1590
1636
  Polygon3,
1591
1637
  {
@@ -1626,7 +1672,7 @@ var Dip = ({
1626
1672
  const numPinsOnEachSide = Math.floor(numPins / 2);
1627
1673
  const pinRowSpacing = rowSpacing ?? (bodyWidth >= 7 ? bodyWidth : bodyWidth + 1.22);
1628
1674
  const chipBodyWidth = bodyWidth >= 7 ? pinRowSpacing - 1.22 : bodyWidth;
1629
- return /* @__PURE__ */ jsxs17(Fragment16, { children: [
1675
+ return /* @__PURE__ */ jsxs18(Fragment16, { children: [
1630
1676
  range(numPins).map((i) => {
1631
1677
  const yRow = i % numPinsOnEachSide;
1632
1678
  const xRow = (Math.floor(i / numPinsOnEachSide) - 0.5) * 2;
@@ -1691,7 +1737,7 @@ var SmdChipLead = (props) => {
1691
1737
  };
1692
1738
 
1693
1739
  // lib/Tssop.tsx
1694
- import { Fragment as Fragment17, jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
1740
+ import { Fragment as Fragment17, jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
1695
1741
  var LegacyTssop = ({
1696
1742
  pinCount,
1697
1743
  leadLength,
@@ -1717,7 +1763,7 @@ var LegacyTssop = ({
1717
1763
  Math.min(bodyVisualWidth, bodyLength10) * 0.12,
1718
1764
  0.45
1719
1765
  );
1720
- return /* @__PURE__ */ jsxs18(Fragment17, { children: [
1766
+ return /* @__PURE__ */ jsxs19(Fragment17, { children: [
1721
1767
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx24(
1722
1768
  SmdChipLead,
1723
1769
  {
@@ -1773,7 +1819,7 @@ var LegacyTssop = ({
1773
1819
  var Tssop = (props) => "leadSpan" in props ? createDualRowGullWing(props) : LegacyTssop(props);
1774
1820
 
1775
1821
  // lib/MSOP.tsx
1776
- import { Fragment as Fragment18, jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
1822
+ import { Fragment as Fragment18, jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
1777
1823
  var LegacyMSOP = ({
1778
1824
  pinCount,
1779
1825
  padContactLength = 0.4,
@@ -1784,7 +1830,7 @@ var LegacyMSOP = ({
1784
1830
  const sidePinCount = Math.ceil(pinCount / 2);
1785
1831
  const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
1786
1832
  const leadThickness = 0.2;
1787
- return /* @__PURE__ */ jsxs19(Fragment18, { children: [
1833
+ return /* @__PURE__ */ jsxs20(Fragment18, { children: [
1788
1834
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx25(
1789
1835
  SmdChipLead,
1790
1836
  {
@@ -1836,7 +1882,7 @@ var MSOP = (props) => "leadSpan" in props ? createDualRowGullWing(props) : Legac
1836
1882
 
1837
1883
  // lib/SmdLED.tsx
1838
1884
  import { Colorize as Colorize12, Cuboid as Cuboid16, RoundedCuboid, Translate as Translate10 } from "jscad-fiber";
1839
- import { Fragment as Fragment19, jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
1885
+ import { Fragment as Fragment19, jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
1840
1886
  var smdLedDimensions = {
1841
1887
  "0402": { length: 1, width: 0.5, height: 0.5, terminalLength: 0.2 },
1842
1888
  "0603": { length: 1.62, width: 0.8, height: 0.615, terminalLength: 0.21 },
@@ -1848,7 +1894,7 @@ function SmdLED({
1848
1894
  }) {
1849
1895
  const p = smdLedDimensions[footprint];
1850
1896
  if (footprint === "0603")
1851
- return /* @__PURE__ */ jsxs20(Fragment19, { children: [
1897
+ return /* @__PURE__ */ jsxs21(Fragment19, { children: [
1852
1898
  /* @__PURE__ */ jsx26(Colorize12, { color: "#f0eee7", children: /* @__PURE__ */ jsx26(
1853
1899
  RoundedCuboid,
1854
1900
  {
@@ -1869,7 +1915,7 @@ function SmdLED({
1869
1915
  ] });
1870
1916
  const terminalThickness = Math.min(0.1, p.height / 4);
1871
1917
  const apertureHeight = 0.02;
1872
- return /* @__PURE__ */ jsxs20(Fragment19, { children: [
1918
+ return /* @__PURE__ */ jsxs21(Fragment19, { children: [
1873
1919
  /* @__PURE__ */ jsx26(Colorize12, { color: "#f0eee7", children: /* @__PURE__ */ jsx26(Translate10, { z: (p.height + terminalThickness - apertureHeight) / 2, children: /* @__PURE__ */ jsx26(
1874
1920
  Cuboid16,
1875
1921
  {
@@ -1897,7 +1943,7 @@ function SmdLED({
1897
1943
  }
1898
1944
 
1899
1945
  // lib/qfp.tsx
1900
- import { Fragment as Fragment20, jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
1946
+ import { Fragment as Fragment20, jsx as jsx27, jsxs as jsxs22 } from "react/jsx-runtime";
1901
1947
  var QFP = ({
1902
1948
  pinCount,
1903
1949
  pitch,
@@ -1921,7 +1967,7 @@ var QFP = ({
1921
1967
  const bodyDistance = leadReach;
1922
1968
  const fullPadContactLength = leadReach * 0.5;
1923
1969
  const curveLength = leadReach * 0.18;
1924
- return /* @__PURE__ */ jsxs21(Fragment20, { children: [
1970
+ return /* @__PURE__ */ jsxs22(Fragment20, { children: [
1925
1971
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx27(
1926
1972
  SmdChipLead,
1927
1973
  {
@@ -2056,7 +2102,7 @@ var getLeadWidth = (pinCount, width10) => {
2056
2102
 
2057
2103
  // lib/PinHeader.tsx
2058
2104
  import { Colorize as Colorize13, Cuboid as Cuboid17, Hull as Hull5, Rotate as Rotate6, Translate as Translate11 } from "jscad-fiber";
2059
- import { Fragment as Fragment21, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
2105
+ import { Fragment as Fragment21, jsx as jsx28, jsxs as jsxs23 } from "react/jsx-runtime";
2060
2106
  var PIN_METAL_COLOR = "#c0c0c0";
2061
2107
  var PinHeader = ({
2062
2108
  x,
@@ -2071,7 +2117,7 @@ var PinHeader = ({
2071
2117
  smd,
2072
2118
  rightangle
2073
2119
  }) => {
2074
- return /* @__PURE__ */ jsxs22(Fragment21, { children: [
2120
+ return /* @__PURE__ */ jsxs23(Fragment21, { children: [
2075
2121
  /* @__PURE__ */ jsx28(Translate11, { y: rightangle ? -3 : 0, children: /* @__PURE__ */ jsx28(
2076
2122
  Cuboid17,
2077
2123
  {
@@ -2095,7 +2141,7 @@ var PinHeader = ({
2095
2141
  padContactLength: 2,
2096
2142
  bodyDistance: 3
2097
2143
  }
2098
- ) : /* @__PURE__ */ jsxs22(Hull5, { children: [
2144
+ ) : /* @__PURE__ */ jsxs23(Hull5, { children: [
2099
2145
  /* @__PURE__ */ jsx28(
2100
2146
  Cuboid17,
2101
2147
  {
@@ -2117,7 +2163,7 @@ var PinHeader = ({
2117
2163
  }
2118
2164
  )
2119
2165
  ] }) }),
2120
- /* @__PURE__ */ jsx28(Colorize13, { color: PIN_METAL_COLOR, children: /* @__PURE__ */ jsx28(Translate11, { y: rightangle ? -3.9 : 0, z: rightangle ? 1 : 0, children: /* @__PURE__ */ jsx28(Rotate6, { rotation: rightangle ? [-Math.PI / 2, 0, 0] : [0, 0, 0], children: /* @__PURE__ */ jsxs22(Hull5, { children: [
2166
+ /* @__PURE__ */ jsx28(Colorize13, { color: PIN_METAL_COLOR, children: /* @__PURE__ */ jsx28(Translate11, { y: rightangle ? -3.9 : 0, z: rightangle ? 1 : 0, children: /* @__PURE__ */ jsx28(Rotate6, { rotation: rightangle ? [-Math.PI / 2, 0, 0] : [0, 0, 0], children: /* @__PURE__ */ jsxs23(Hull5, { children: [
2121
2167
  /* @__PURE__ */ jsx28(
2122
2168
  Cuboid17,
2123
2169
  {
@@ -2187,7 +2233,7 @@ var PinRow = ({
2187
2233
 
2188
2234
  // lib/utils/PhysicalQfn.tsx
2189
2235
  import { Colorize as Colorize14, Cuboid as Cuboid18, Cylinder as Cylinder7, Subtract as Subtract5, Translate as Translate12 } from "jscad-fiber";
2190
- import { Fragment as Fragment23, jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
2236
+ import { Fragment as Fragment23, jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
2191
2237
  function createPhysicalQfn(p) {
2192
2238
  const {
2193
2239
  num_pins,
@@ -2232,8 +2278,8 @@ function createPhysicalQfn(p) {
2232
2278
  );
2233
2279
  const body = /* @__PURE__ */ jsx30(Translate12, { z: (bodyHeight + standoff) / 2, children: /* @__PURE__ */ jsx30(Cuboid18, { size: [bodyWidth, bodyLength10, bodyHeight - standoff] }) });
2234
2280
  const radius = Math.min(bodyWidth, bodyLength10) * 0.035;
2235
- return /* @__PURE__ */ jsxs23(Fragment23, { children: [
2236
- /* @__PURE__ */ jsx30(Colorize14, { color: "#353535", children: /* @__PURE__ */ jsxs23(Subtract5, { children: [
2281
+ return /* @__PURE__ */ jsxs24(Fragment23, { children: [
2282
+ /* @__PURE__ */ jsx30(Colorize14, { color: "#353535", children: /* @__PURE__ */ jsxs24(Subtract5, { children: [
2237
2283
  body,
2238
2284
  /* @__PURE__ */ jsx30(
2239
2285
  Translate12,
@@ -2377,7 +2423,7 @@ var getQuadPinMap = ({
2377
2423
  };
2378
2424
 
2379
2425
  // lib/qfn.tsx
2380
- import { Fragment as Fragment24, jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
2426
+ import { Fragment as Fragment24, jsx as jsx31, jsxs as jsxs25 } from "react/jsx-runtime";
2381
2427
  var LegacyQFN = ({
2382
2428
  num_pins = 16,
2383
2429
  bodyWidth = 9,
@@ -2419,7 +2465,7 @@ var LegacyQFN = ({
2419
2465
  const pn = pin_map[i + 1];
2420
2466
  pinPositions.push({ pn, x, y, pw, pl });
2421
2467
  }
2422
- return /* @__PURE__ */ jsxs24(Fragment24, { children: [
2468
+ return /* @__PURE__ */ jsxs25(Fragment24, { children: [
2423
2469
  /* @__PURE__ */ jsx31(Colorize15, { color: "grey", children: /* @__PURE__ */ jsx31(
2424
2470
  Cuboid19,
2425
2471
  {
@@ -2452,7 +2498,7 @@ var QFN = (props) => "bodyHeight" in props ? createPhysicalQfn(props) : LegacyQF
2452
2498
  var qfn_default = QFN;
2453
2499
 
2454
2500
  // lib/SOT-235.tsx
2455
- import { Fragment as Fragment25, jsx as jsx32, jsxs as jsxs25 } from "react/jsx-runtime";
2501
+ import { Fragment as Fragment25, jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
2456
2502
  var SOT235 = () => {
2457
2503
  const fullWidth = 2.8;
2458
2504
  const bodyWidth = 1.6;
@@ -2464,7 +2510,7 @@ var SOT235 = () => {
2464
2510
  const padContactLength = 0.5;
2465
2511
  const padPitch = 0.95;
2466
2512
  const extendedBodyDistance = fullWidth - bodyWidth;
2467
- return /* @__PURE__ */ jsxs25(Fragment25, { children: [
2513
+ return /* @__PURE__ */ jsxs26(Fragment25, { children: [
2468
2514
  /* @__PURE__ */ jsx32(
2469
2515
  SmdChipLead,
2470
2516
  {
@@ -2561,7 +2607,7 @@ var SOT235 = () => {
2561
2607
  var SOT_235_default = SOT235;
2562
2608
 
2563
2609
  // lib/SOT-23-3P.tsx
2564
- import { Fragment as Fragment26, jsx as jsx33, jsxs as jsxs26 } from "react/jsx-runtime";
2610
+ import { Fragment as Fragment26, jsx as jsx33, jsxs as jsxs27 } from "react/jsx-runtime";
2565
2611
  var SOT233P = ({
2566
2612
  fullWidth = 2.9,
2567
2613
  fullLength: fullLength10 = 2.8,
@@ -2576,7 +2622,7 @@ var SOT233P = ({
2576
2622
  const padContactLength = 0.4;
2577
2623
  const padThickness = leadThickness / 2;
2578
2624
  const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
2579
- return /* @__PURE__ */ jsxs26(Fragment26, { children: [
2625
+ return /* @__PURE__ */ jsxs27(Fragment26, { children: [
2580
2626
  /* @__PURE__ */ jsx33(
2581
2627
  SmdChipLead,
2582
2628
  {
@@ -2640,7 +2686,7 @@ var SOT233P = ({
2640
2686
  };
2641
2687
 
2642
2688
  // lib/SOT-23W.tsx
2643
- import { Fragment as Fragment27, jsx as jsx34, jsxs as jsxs27 } from "react/jsx-runtime";
2689
+ import { Fragment as Fragment27, jsx as jsx34, jsxs as jsxs28 } from "react/jsx-runtime";
2644
2690
  var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
2645
2691
  const bodyWidth = 1.92;
2646
2692
  const bodyLength10 = 2.9;
@@ -2651,7 +2697,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
2651
2697
  const padContactLength = 0.25;
2652
2698
  const padThickness = leadThickness / 2;
2653
2699
  const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
2654
- return /* @__PURE__ */ jsxs27(Fragment27, { children: [
2700
+ return /* @__PURE__ */ jsxs28(Fragment27, { children: [
2655
2701
  /* @__PURE__ */ jsx34(
2656
2702
  SmdChipLead,
2657
2703
  {
@@ -2717,7 +2763,7 @@ var SOT23W = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
2717
2763
 
2718
2764
  // lib/FemaleHeader.tsx
2719
2765
  import { Colorize as Colorize16, Cuboid as Cuboid20, Hull as Hull6, Subtract as Subtract6 } from "jscad-fiber";
2720
- import { Fragment as Fragment28, jsx as jsx35, jsxs as jsxs28 } from "react/jsx-runtime";
2766
+ import { Fragment as Fragment28, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
2721
2767
  var FemaleHeader = ({
2722
2768
  x,
2723
2769
  y,
@@ -2739,8 +2785,8 @@ var FemaleHeader = ({
2739
2785
  const socketCenterZ = flipZ(z + socketDepth / 2);
2740
2786
  const socketEntryBaseZ = z + bodyHeight - socketEntryHeight;
2741
2787
  const gapWidth = pinThickness * 1.6;
2742
- return /* @__PURE__ */ jsxs28(Fragment28, { children: [
2743
- /* @__PURE__ */ jsx35(Colorize16, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs28(Subtract6, { children: [
2788
+ return /* @__PURE__ */ jsxs29(Fragment28, { children: [
2789
+ /* @__PURE__ */ jsx35(Colorize16, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs29(Subtract6, { children: [
2744
2790
  /* @__PURE__ */ jsx35(
2745
2791
  Cuboid20,
2746
2792
  {
@@ -2756,7 +2802,7 @@ var FemaleHeader = ({
2756
2802
  center: [x, y, socketCenterZ]
2757
2803
  }
2758
2804
  ),
2759
- /* @__PURE__ */ jsxs28(Hull6, { children: [
2805
+ /* @__PURE__ */ jsxs29(Hull6, { children: [
2760
2806
  /* @__PURE__ */ jsx35(
2761
2807
  Cuboid20,
2762
2808
  {
@@ -2773,8 +2819,8 @@ var FemaleHeader = ({
2773
2819
  )
2774
2820
  ] })
2775
2821
  ] }) }),
2776
- /* @__PURE__ */ jsxs28(Colorize16, { color: "silver", children: [
2777
- /* @__PURE__ */ jsxs28(Hull6, { children: [
2822
+ /* @__PURE__ */ jsxs29(Colorize16, { color: "silver", children: [
2823
+ /* @__PURE__ */ jsxs29(Hull6, { children: [
2778
2824
  /* @__PURE__ */ jsx35(
2779
2825
  Cuboid20,
2780
2826
  {
@@ -2849,7 +2895,7 @@ import {
2849
2895
  RoundedCuboid as RoundedCuboid2,
2850
2896
  Translate as Translate13
2851
2897
  } from "jscad-fiber";
2852
- import { Fragment as Fragment30, jsx as jsx37, jsxs as jsxs29 } from "react/jsx-runtime";
2898
+ import { Fragment as Fragment30, jsx as jsx37, jsxs as jsxs30 } from "react/jsx-runtime";
2853
2899
  var PushButton = ({
2854
2900
  width: width10,
2855
2901
  length,
@@ -2859,7 +2905,7 @@ var PushButton = ({
2859
2905
  const bodyLength10 = length;
2860
2906
  const bodyHeight = width10 * 0.7;
2861
2907
  const legWidth = innerDiameter / 2.5;
2862
- return /* @__PURE__ */ jsxs29(Fragment30, { children: [
2908
+ return /* @__PURE__ */ jsxs30(Fragment30, { children: [
2863
2909
  /* @__PURE__ */ jsx37(
2864
2910
  RoundedCuboid2,
2865
2911
  {
@@ -3025,7 +3071,7 @@ var PushButtonLeg = (props) => {
3025
3071
  };
3026
3072
 
3027
3073
  // lib/SOIC.tsx
3028
- import { Fragment as Fragment31, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
3074
+ import { Fragment as Fragment31, jsx as jsx38, jsxs as jsxs31 } from "react/jsx-runtime";
3029
3075
  var LegacySOIC = ({
3030
3076
  pinCount,
3031
3077
  leadLength,
@@ -3041,7 +3087,7 @@ var LegacySOIC = ({
3041
3087
  const leadBodyOffset = leadLength * 0;
3042
3088
  const fullLength10 = pitch * (sidePinCount - 1) + leadWidth + 0.2;
3043
3089
  const bodyWidthAdjusted = bodyWidth * 0.55;
3044
- return /* @__PURE__ */ jsxs30(Fragment31, { children: [
3090
+ return /* @__PURE__ */ jsxs31(Fragment31, { children: [
3045
3091
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx38(
3046
3092
  SmdChipLead,
3047
3093
  {
@@ -3089,7 +3135,7 @@ var LegacySOIC = ({
3089
3135
  var SOIC = (props) => "leadSpan" in props ? createDualRowGullWing(props) : LegacySOIC(props);
3090
3136
 
3091
3137
  // lib/VSSOP.tsx
3092
- import { Fragment as Fragment32, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
3138
+ import { Fragment as Fragment32, jsx as jsx39, jsxs as jsxs32 } from "react/jsx-runtime";
3093
3139
  var VSSOP = ({
3094
3140
  pinCount,
3095
3141
  pitch,
@@ -3119,7 +3165,7 @@ var VSSOP = ({
3119
3165
  const componentFullWidth = 4.5;
3120
3166
  const leadBodyDistance = (componentFullWidth - _bodyWidth) / 2;
3121
3167
  const padContactLength = leadBodyDistance * 0.5;
3122
- return /* @__PURE__ */ jsxs31(Fragment32, { children: [
3168
+ return /* @__PURE__ */ jsxs32(Fragment32, { children: [
3123
3169
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx39(
3124
3170
  SmdChipLead,
3125
3171
  {
@@ -3167,7 +3213,7 @@ var VSSOP = ({
3167
3213
 
3168
3214
  // lib/SOD523.tsx
3169
3215
  import { Colorize as Colorize18, Cuboid as Cuboid22, Hull as Hull7, Translate as Translate14, Union as Union5 } from "jscad-fiber";
3170
- import { Fragment as Fragment33, jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
3216
+ import { Fragment as Fragment33, jsx as jsx40, jsxs as jsxs33 } from "react/jsx-runtime";
3171
3217
  var SOD523 = () => {
3172
3218
  const fullWidth = 2.15;
3173
3219
  const bodyLength10 = 0.8;
@@ -3180,7 +3226,7 @@ var SOD523 = () => {
3180
3226
  const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
3181
3227
  const taperOffset = 0.2;
3182
3228
  const straightHeight = bodyHeight * 0.5;
3183
- return /* @__PURE__ */ jsxs32(Fragment33, { children: [
3229
+ return /* @__PURE__ */ jsxs33(Fragment33, { children: [
3184
3230
  /* @__PURE__ */ jsx40(
3185
3231
  Cuboid22,
3186
3232
  {
@@ -3197,9 +3243,9 @@ var SOD523 = () => {
3197
3243
  center: [rightPadCenterX, 0, padThickness / 2]
3198
3244
  }
3199
3245
  ),
3200
- /* @__PURE__ */ jsx40(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs32(Union5, { children: [
3246
+ /* @__PURE__ */ jsx40(Colorize18, { color: "#222", children: /* @__PURE__ */ jsxs33(Union5, { children: [
3201
3247
  /* @__PURE__ */ jsx40(Translate14, { z: straightHeight / 2, children: /* @__PURE__ */ jsx40(Cuboid22, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
3202
- /* @__PURE__ */ jsxs32(Hull7, { children: [
3248
+ /* @__PURE__ */ jsxs33(Hull7, { children: [
3203
3249
  /* @__PURE__ */ jsx40(Translate14, { z: straightHeight, children: /* @__PURE__ */ jsx40(Cuboid22, { size: [bodyWidth, bodyLength10, 0.01] }) }),
3204
3250
  /* @__PURE__ */ jsx40(Translate14, { z: bodyHeight, children: /* @__PURE__ */ jsx40(
3205
3251
  Cuboid22,
@@ -3214,7 +3260,7 @@ var SOD523 = () => {
3214
3260
 
3215
3261
  // lib/SOD882.tsx
3216
3262
  import { Colorize as Colorize19, Cuboid as Cuboid23, Translate as Translate15 } from "jscad-fiber";
3217
- import { Fragment as Fragment34, jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
3263
+ import { Fragment as Fragment34, jsx as jsx41, jsxs as jsxs34 } from "react/jsx-runtime";
3218
3264
  var SOD882 = () => {
3219
3265
  const bodyLength10 = 0.98;
3220
3266
  const bodyHeight = 0.47;
@@ -3225,7 +3271,7 @@ var SOD882 = () => {
3225
3271
  const bodyWidth = 0.58;
3226
3272
  const leftPadCenterX = -pitch / 2;
3227
3273
  const rightPadCenterX = pitch / 2;
3228
- return /* @__PURE__ */ jsxs33(Fragment34, { children: [
3274
+ return /* @__PURE__ */ jsxs34(Fragment34, { children: [
3229
3275
  /* @__PURE__ */ jsx41(
3230
3276
  Cuboid23,
3231
3277
  {
@@ -3280,7 +3326,7 @@ var SOD882 = () => {
3280
3326
 
3281
3327
  // lib/SMA.tsx
3282
3328
  import { Cuboid as Cuboid24, Colorize as Colorize20, Union as Union7, Hull as Hull9, Translate as Translate16 } from "jscad-fiber";
3283
- import { Fragment as Fragment35, jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
3329
+ import { Fragment as Fragment35, jsx as jsx42, jsxs as jsxs35 } from "react/jsx-runtime";
3284
3330
  var SMA = () => {
3285
3331
  const bodyWidth = 4.4;
3286
3332
  const bodyLength10 = 3.4;
@@ -3291,8 +3337,8 @@ var SMA = () => {
3291
3337
  const leadHeight = 1.14;
3292
3338
  const taperOffset = 0.4;
3293
3339
  const straightHeight = bodyHeight * 0.5;
3294
- const Body = /* @__PURE__ */ jsx42(Colorize20, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs34(Union7, { children: [
3295
- /* @__PURE__ */ jsxs34(Hull9, { children: [
3340
+ const Body = /* @__PURE__ */ jsx42(Colorize20, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs35(Union7, { children: [
3341
+ /* @__PURE__ */ jsxs35(Hull9, { children: [
3296
3342
  /* @__PURE__ */ jsx42(Translate16, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx42(
3297
3343
  Cuboid24,
3298
3344
  {
@@ -3301,7 +3347,7 @@ var SMA = () => {
3301
3347
  ) }),
3302
3348
  /* @__PURE__ */ jsx42(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx42(Cuboid24, { size: [bodyWidth, bodyLength10, 0.01] }) })
3303
3349
  ] }),
3304
- /* @__PURE__ */ jsxs34(Hull9, { children: [
3350
+ /* @__PURE__ */ jsxs35(Hull9, { children: [
3305
3351
  /* @__PURE__ */ jsx42(Translate16, { z: straightHeight, children: /* @__PURE__ */ jsx42(Cuboid24, { size: [bodyWidth, bodyLength10, 0.01] }) }),
3306
3352
  /* @__PURE__ */ jsx42(Translate16, { z: bodyHeight, children: /* @__PURE__ */ jsx42(
3307
3353
  Cuboid24,
@@ -3319,7 +3365,7 @@ var SMA = () => {
3319
3365
  const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
3320
3366
  const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
3321
3367
  const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
3322
- return /* @__PURE__ */ jsx42(Colorize20, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs34(Union7, { children: [
3368
+ return /* @__PURE__ */ jsx42(Colorize20, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs35(Union7, { children: [
3323
3369
  /* @__PURE__ */ jsx42(
3324
3370
  Cuboid24,
3325
3371
  {
@@ -3343,7 +3389,7 @@ var SMA = () => {
3343
3389
  )
3344
3390
  ] }) });
3345
3391
  };
3346
- return /* @__PURE__ */ jsxs34(Fragment35, { children: [
3392
+ return /* @__PURE__ */ jsxs35(Fragment35, { children: [
3347
3393
  /* @__PURE__ */ jsx42(Lead, { xDir: 1 }),
3348
3394
  /* @__PURE__ */ jsx42(Lead, { xDir: -1 }),
3349
3395
  Body
@@ -3352,7 +3398,7 @@ var SMA = () => {
3352
3398
 
3353
3399
  // lib/SMB.tsx
3354
3400
  import { Cuboid as Cuboid25, Colorize as Colorize21, Union as Union8, Hull as Hull10, Translate as Translate17 } from "jscad-fiber";
3355
- import { Fragment as Fragment36, jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
3401
+ import { Fragment as Fragment36, jsx as jsx43, jsxs as jsxs36 } from "react/jsx-runtime";
3356
3402
  var SMB = () => {
3357
3403
  const bodyWidth = 4.6;
3358
3404
  const bodyLength10 = 4;
@@ -3363,8 +3409,8 @@ var SMB = () => {
3363
3409
  const leadHeight = 1.14;
3364
3410
  const taperOffset = 0.4;
3365
3411
  const straightHeight = bodyHeight * 0.5;
3366
- const Body = /* @__PURE__ */ jsx43(Colorize21, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs35(Union8, { children: [
3367
- /* @__PURE__ */ jsxs35(Hull10, { children: [
3412
+ const Body = /* @__PURE__ */ jsx43(Colorize21, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs36(Union8, { children: [
3413
+ /* @__PURE__ */ jsxs36(Hull10, { children: [
3368
3414
  /* @__PURE__ */ jsx43(Translate17, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx43(
3369
3415
  Cuboid25,
3370
3416
  {
@@ -3373,7 +3419,7 @@ var SMB = () => {
3373
3419
  ) }),
3374
3420
  /* @__PURE__ */ jsx43(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx43(Cuboid25, { size: [bodyWidth, bodyLength10, 0.01] }) })
3375
3421
  ] }),
3376
- /* @__PURE__ */ jsxs35(Hull10, { children: [
3422
+ /* @__PURE__ */ jsxs36(Hull10, { children: [
3377
3423
  /* @__PURE__ */ jsx43(Translate17, { z: straightHeight, children: /* @__PURE__ */ jsx43(Cuboid25, { size: [bodyWidth, bodyLength10, 0.01] }) }),
3378
3424
  /* @__PURE__ */ jsx43(Translate17, { z: bodyHeight, children: /* @__PURE__ */ jsx43(
3379
3425
  Cuboid25,
@@ -3391,7 +3437,7 @@ var SMB = () => {
3391
3437
  const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
3392
3438
  const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
3393
3439
  const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
3394
- return /* @__PURE__ */ jsx43(Colorize21, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs35(Union8, { children: [
3440
+ return /* @__PURE__ */ jsx43(Colorize21, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs36(Union8, { children: [
3395
3441
  /* @__PURE__ */ jsx43(
3396
3442
  Cuboid25,
3397
3443
  {
@@ -3415,7 +3461,7 @@ var SMB = () => {
3415
3461
  )
3416
3462
  ] }) });
3417
3463
  };
3418
- return /* @__PURE__ */ jsxs35(Fragment36, { children: [
3464
+ return /* @__PURE__ */ jsxs36(Fragment36, { children: [
3419
3465
  /* @__PURE__ */ jsx43(Lead, { xDir: 1 }),
3420
3466
  /* @__PURE__ */ jsx43(Lead, { xDir: -1 }),
3421
3467
  Body
@@ -3424,7 +3470,7 @@ var SMB = () => {
3424
3470
 
3425
3471
  // lib/SMC.tsx
3426
3472
  import { Cuboid as Cuboid26, Colorize as Colorize22, Union as Union9, Hull as Hull11, Translate as Translate18 } from "jscad-fiber";
3427
- import { Fragment as Fragment37, jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
3473
+ import { Fragment as Fragment37, jsx as jsx44, jsxs as jsxs37 } from "react/jsx-runtime";
3428
3474
  var SMC = () => {
3429
3475
  const bodyWidth = 6.8;
3430
3476
  const bodyLength10 = 6;
@@ -3435,8 +3481,8 @@ var SMC = () => {
3435
3481
  const leadHeight = 1.14;
3436
3482
  const taperOffset = 0.4;
3437
3483
  const straightHeight = bodyHeight * 0.5;
3438
- const Body = /* @__PURE__ */ jsx44(Colorize22, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs36(Union9, { children: [
3439
- /* @__PURE__ */ jsxs36(Hull11, { children: [
3484
+ const Body = /* @__PURE__ */ jsx44(Colorize22, { color: "#1a1a1a", children: /* @__PURE__ */ jsxs37(Union9, { children: [
3485
+ /* @__PURE__ */ jsxs37(Hull11, { children: [
3440
3486
  /* @__PURE__ */ jsx44(Translate18, { z: padThickness + 0.01, children: /* @__PURE__ */ jsx44(
3441
3487
  Cuboid26,
3442
3488
  {
@@ -3445,7 +3491,7 @@ var SMC = () => {
3445
3491
  ) }),
3446
3492
  /* @__PURE__ */ jsx44(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx44(Cuboid26, { size: [bodyWidth, bodyLength10, 0.01] }) })
3447
3493
  ] }),
3448
- /* @__PURE__ */ jsxs36(Hull11, { children: [
3494
+ /* @__PURE__ */ jsxs37(Hull11, { children: [
3449
3495
  /* @__PURE__ */ jsx44(Translate18, { z: straightHeight, children: /* @__PURE__ */ jsx44(Cuboid26, { size: [bodyWidth, bodyLength10, 0.01] }) }),
3450
3496
  /* @__PURE__ */ jsx44(Translate18, { z: bodyHeight, children: /* @__PURE__ */ jsx44(
3451
3497
  Cuboid26,
@@ -3463,7 +3509,7 @@ var SMC = () => {
3463
3509
  const bodyEdgeX = xDir * (bodyLength10 / 2 - leadThickness / 2);
3464
3510
  const bridgeLength = Math.abs(bodyEdgeX - verticalLeadX);
3465
3511
  const bridgeCenterX = (verticalLeadX + bodyEdgeX) / 2;
3466
- return /* @__PURE__ */ jsx44(Colorize22, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs36(Union9, { children: [
3512
+ return /* @__PURE__ */ jsx44(Colorize22, { color: "#c0c0c0", children: /* @__PURE__ */ jsxs37(Union9, { children: [
3467
3513
  /* @__PURE__ */ jsx44(
3468
3514
  Cuboid26,
3469
3515
  {
@@ -3487,7 +3533,7 @@ var SMC = () => {
3487
3533
  )
3488
3534
  ] }) });
3489
3535
  };
3490
- return /* @__PURE__ */ jsxs36(Fragment37, { children: [
3536
+ return /* @__PURE__ */ jsxs37(Fragment37, { children: [
3491
3537
  /* @__PURE__ */ jsx44(Lead, { xDir: 1 }),
3492
3538
  /* @__PURE__ */ jsx44(Lead, { xDir: -1 }),
3493
3539
  Body
@@ -3496,7 +3542,7 @@ var SMC = () => {
3496
3542
 
3497
3543
  // lib/SMF.tsx
3498
3544
  import { Colorize as Colorize23, Cuboid as Cuboid27, Hull as Hull12, Translate as Translate19, Union as Union10 } from "jscad-fiber";
3499
- import { Fragment as Fragment38, jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
3545
+ import { Fragment as Fragment38, jsx as jsx45, jsxs as jsxs38 } from "react/jsx-runtime";
3500
3546
  var SMF = () => {
3501
3547
  const fullWidth = 2.9;
3502
3548
  const bodyLength10 = 1.9;
@@ -3509,9 +3555,9 @@ var SMF = () => {
3509
3555
  const rightPadCenterX = 1.3;
3510
3556
  const taperOffset = 0.2;
3511
3557
  const straightHeight = bodyHeight * 0.5;
3512
- const Body = /* @__PURE__ */ jsx45(Colorize23, { color: "#222", children: /* @__PURE__ */ jsxs37(Union10, { children: [
3558
+ const Body = /* @__PURE__ */ jsx45(Colorize23, { color: "#222", children: /* @__PURE__ */ jsxs38(Union10, { children: [
3513
3559
  /* @__PURE__ */ jsx45(Translate19, { z: straightHeight / 2, children: /* @__PURE__ */ jsx45(Cuboid27, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
3514
- /* @__PURE__ */ jsxs37(Hull12, { children: [
3560
+ /* @__PURE__ */ jsxs38(Hull12, { children: [
3515
3561
  /* @__PURE__ */ jsx45(Translate19, { z: straightHeight, children: /* @__PURE__ */ jsx45(Cuboid27, { size: [bodyWidth, bodyLength10, 0.01] }) }),
3516
3562
  /* @__PURE__ */ jsx45(Translate19, { z: bodyHeight, children: /* @__PURE__ */ jsx45(
3517
3563
  Cuboid27,
@@ -3521,7 +3567,7 @@ var SMF = () => {
3521
3567
  ) })
3522
3568
  ] })
3523
3569
  ] }) });
3524
- return /* @__PURE__ */ jsxs37(Fragment38, { children: [
3570
+ return /* @__PURE__ */ jsxs38(Fragment38, { children: [
3525
3571
  /* @__PURE__ */ jsx45(
3526
3572
  Cuboid27,
3527
3573
  {
@@ -3544,7 +3590,7 @@ var SMF = () => {
3544
3590
 
3545
3591
  // lib/sod-123F.tsx
3546
3592
  import { Colorize as Colorize24, Cuboid as Cuboid28, Hull as Hull13, Translate as Translate20, Union as Union11 } from "jscad-fiber";
3547
- import { Fragment as Fragment39, jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
3593
+ import { Fragment as Fragment39, jsx as jsx46, jsxs as jsxs39 } from "react/jsx-runtime";
3548
3594
  var SOD123F = () => {
3549
3595
  const fullWidth = 2.7;
3550
3596
  const bodyLength10 = 1.6;
@@ -3556,7 +3602,7 @@ var SOD123F = () => {
3556
3602
  const rightPadCenterX = 1.3;
3557
3603
  const taperOffset = 0.2;
3558
3604
  const straightHeight = bodyHeight * 0.5;
3559
- return /* @__PURE__ */ jsxs38(Fragment39, { children: [
3605
+ return /* @__PURE__ */ jsxs39(Fragment39, { children: [
3560
3606
  /* @__PURE__ */ jsx46(
3561
3607
  Cuboid28,
3562
3608
  {
@@ -3573,9 +3619,9 @@ var SOD123F = () => {
3573
3619
  center: [rightPadCenterX, 0, padThickness / 2]
3574
3620
  }
3575
3621
  ),
3576
- /* @__PURE__ */ jsx46(Colorize24, { color: "#222", children: /* @__PURE__ */ jsxs38(Union11, { children: [
3622
+ /* @__PURE__ */ jsx46(Colorize24, { color: "#222", children: /* @__PURE__ */ jsxs39(Union11, { children: [
3577
3623
  /* @__PURE__ */ jsx46(Translate20, { z: straightHeight / 2, children: /* @__PURE__ */ jsx46(Cuboid28, { size: [fullWidth, bodyLength10, straightHeight] }) }),
3578
- /* @__PURE__ */ jsxs38(Hull13, { children: [
3624
+ /* @__PURE__ */ jsxs39(Hull13, { children: [
3579
3625
  /* @__PURE__ */ jsx46(Translate20, { z: straightHeight, children: /* @__PURE__ */ jsx46(Cuboid28, { size: [fullWidth, bodyLength10, 0.01] }) }),
3580
3626
  /* @__PURE__ */ jsx46(Translate20, { z: bodyHeight, children: /* @__PURE__ */ jsx46(
3581
3627
  Cuboid28,
@@ -3590,7 +3636,7 @@ var SOD123F = () => {
3590
3636
 
3591
3637
  // lib/sod-123FL.tsx
3592
3638
  import { Colorize as Colorize25, Cuboid as Cuboid29, Hull as Hull14, Translate as Translate21, Union as Union12 } from "jscad-fiber";
3593
- import { Fragment as Fragment40, jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
3639
+ import { Fragment as Fragment40, jsx as jsx47, jsxs as jsxs40 } from "react/jsx-runtime";
3594
3640
  var SOD123FL = () => {
3595
3641
  const fullWidth = 2.75;
3596
3642
  const bodyLength10 = 1.8;
@@ -3602,7 +3648,7 @@ var SOD123FL = () => {
3602
3648
  const rightPadCenterX = fullWidth / 2 - 0.075;
3603
3649
  const taperOffset = 0.4;
3604
3650
  const straightHeight = bodyHeight * 0.2;
3605
- return /* @__PURE__ */ jsxs39(Fragment40, { children: [
3651
+ return /* @__PURE__ */ jsxs40(Fragment40, { children: [
3606
3652
  /* @__PURE__ */ jsx47(
3607
3653
  Cuboid29,
3608
3654
  {
@@ -3619,9 +3665,9 @@ var SOD123FL = () => {
3619
3665
  center: [rightPadCenterX, 0, padThickness / 2]
3620
3666
  }
3621
3667
  ),
3622
- /* @__PURE__ */ jsx47(Colorize25, { color: "#222", children: /* @__PURE__ */ jsxs39(Union12, { children: [
3668
+ /* @__PURE__ */ jsx47(Colorize25, { color: "#222", children: /* @__PURE__ */ jsxs40(Union12, { children: [
3623
3669
  /* @__PURE__ */ jsx47(Translate21, { z: straightHeight / 2, children: /* @__PURE__ */ jsx47(Cuboid29, { size: [fullWidth, bodyLength10, straightHeight] }) }),
3624
- /* @__PURE__ */ jsxs39(Hull14, { children: [
3670
+ /* @__PURE__ */ jsxs40(Hull14, { children: [
3625
3671
  /* @__PURE__ */ jsx47(Translate21, { z: straightHeight, children: /* @__PURE__ */ jsx47(Cuboid29, { size: [fullWidth, bodyLength10, 0.01] }) }),
3626
3672
  /* @__PURE__ */ jsx47(Translate21, { z: bodyHeight, children: /* @__PURE__ */ jsx47(
3627
3673
  Cuboid29,
@@ -3644,7 +3690,7 @@ var SOD123FL = () => {
3644
3690
 
3645
3691
  // lib/sod-123W.tsx
3646
3692
  import { Colorize as Colorize26, Cuboid as Cuboid30, Hull as Hull15, Translate as Translate22, Union as Union13 } from "jscad-fiber";
3647
- import { Fragment as Fragment41, jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
3693
+ import { Fragment as Fragment41, jsx as jsx48, jsxs as jsxs41 } from "react/jsx-runtime";
3648
3694
  var SOD123W = ({
3649
3695
  bodyWidth = 2.6,
3650
3696
  bodyLength: bodyLength10 = 1.7,
@@ -3659,7 +3705,7 @@ var SOD123W = ({
3659
3705
  const taperOffset = 0.4;
3660
3706
  const lowerTaperOffset = 0.1;
3661
3707
  const straightHeight = bodyHeight * 0.2;
3662
- return /* @__PURE__ */ jsxs40(Fragment41, { children: [
3708
+ return /* @__PURE__ */ jsxs41(Fragment41, { children: [
3663
3709
  /* @__PURE__ */ jsx48(
3664
3710
  Cuboid30,
3665
3711
  {
@@ -3676,8 +3722,8 @@ var SOD123W = ({
3676
3722
  center: [rightPadCenterX, 0, padThickness / 2]
3677
3723
  }
3678
3724
  ),
3679
- /* @__PURE__ */ jsx48(Colorize26, { color: "#222", children: /* @__PURE__ */ jsxs40(Union13, { children: [
3680
- /* @__PURE__ */ jsxs40(Hull15, { children: [
3725
+ /* @__PURE__ */ jsx48(Colorize26, { color: "#222", children: /* @__PURE__ */ jsxs41(Union13, { children: [
3726
+ /* @__PURE__ */ jsxs41(Hull15, { children: [
3681
3727
  /* @__PURE__ */ jsx48(Translate22, { z: straightHeight, children: /* @__PURE__ */ jsx48(
3682
3728
  Cuboid30,
3683
3729
  {
@@ -3699,7 +3745,7 @@ var SOD123W = ({
3699
3745
  }
3700
3746
  ) })
3701
3747
  ] }),
3702
- /* @__PURE__ */ jsxs40(Hull15, { children: [
3748
+ /* @__PURE__ */ jsxs41(Hull15, { children: [
3703
3749
  /* @__PURE__ */ jsx48(Translate22, { z: straightHeight, children: /* @__PURE__ */ jsx48(Cuboid30, { size: [fullWidth, bodyLength10, 0.01] }) }),
3704
3750
  /* @__PURE__ */ jsx48(Translate22, { z: bodyHeight, children: /* @__PURE__ */ jsx48(
3705
3751
  Cuboid30,
@@ -3722,7 +3768,7 @@ var SOD123W = ({
3722
3768
 
3723
3769
  // lib/sod-123.tsx
3724
3770
  import { Cuboid as Cuboid31 } from "jscad-fiber";
3725
- import { Fragment as Fragment42, jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
3771
+ import { Fragment as Fragment42, jsx as jsx49, jsxs as jsxs42 } from "react/jsx-runtime";
3726
3772
  var SOD123 = ({
3727
3773
  fullWidth = 3.7,
3728
3774
  fullLength: fullLength10 = 1.55
@@ -3738,7 +3784,7 @@ var SOD123 = ({
3738
3784
  const bodyDistance = (fullWidth - bodyWidth) / 2;
3739
3785
  const padContactLength = 0.25;
3740
3786
  const leadCurveLength = 0.2;
3741
- return /* @__PURE__ */ jsxs41(Fragment42, { children: [
3787
+ return /* @__PURE__ */ jsxs42(Fragment42, { children: [
3742
3788
  /* @__PURE__ */ jsx49(
3743
3789
  SmdChipLead,
3744
3790
  {
@@ -3799,7 +3845,7 @@ var SOD123 = ({
3799
3845
 
3800
3846
  // lib/sod-128.tsx
3801
3847
  import { Colorize as Colorize27, Cuboid as Cuboid32, Hull as Hull16, Translate as Translate23, Union as Union14 } from "jscad-fiber";
3802
- import { Fragment as Fragment43, jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
3848
+ import { Fragment as Fragment43, jsx as jsx50, jsxs as jsxs43 } from "react/jsx-runtime";
3803
3849
  var SOD128 = () => {
3804
3850
  const fullWidth = 3.8;
3805
3851
  const bodyLength10 = 2.5;
@@ -3812,7 +3858,7 @@ var SOD128 = () => {
3812
3858
  const taperOffset = 0.4;
3813
3859
  const lowerTaperOffset = 0.05;
3814
3860
  const straightHeight = bodyHeight * 0.2;
3815
- return /* @__PURE__ */ jsxs42(Fragment43, { children: [
3861
+ return /* @__PURE__ */ jsxs43(Fragment43, { children: [
3816
3862
  /* @__PURE__ */ jsx50(
3817
3863
  Cuboid32,
3818
3864
  {
@@ -3829,8 +3875,8 @@ var SOD128 = () => {
3829
3875
  center: [rightPadCenterX, 0, padThickness / 2]
3830
3876
  }
3831
3877
  ),
3832
- /* @__PURE__ */ jsx50(Colorize27, { color: "#222", children: /* @__PURE__ */ jsxs42(Union14, { children: [
3833
- /* @__PURE__ */ jsxs42(Hull16, { children: [
3878
+ /* @__PURE__ */ jsx50(Colorize27, { color: "#222", children: /* @__PURE__ */ jsxs43(Union14, { children: [
3879
+ /* @__PURE__ */ jsxs43(Hull16, { children: [
3834
3880
  /* @__PURE__ */ jsx50(Translate23, { z: straightHeight, children: /* @__PURE__ */ jsx50(
3835
3881
  Cuboid32,
3836
3882
  {
@@ -3852,7 +3898,7 @@ var SOD128 = () => {
3852
3898
  }
3853
3899
  ) })
3854
3900
  ] }),
3855
- /* @__PURE__ */ jsxs42(Hull16, { children: [
3901
+ /* @__PURE__ */ jsxs43(Hull16, { children: [
3856
3902
  /* @__PURE__ */ jsx50(Translate23, { z: straightHeight, children: /* @__PURE__ */ jsx50(Cuboid32, { size: [fullWidth, bodyLength10, 0.01] }) }),
3857
3903
  /* @__PURE__ */ jsx50(Translate23, { z: bodyHeight, children: /* @__PURE__ */ jsx50(
3858
3904
  Cuboid32,
@@ -3875,7 +3921,7 @@ var SOD128 = () => {
3875
3921
 
3876
3922
  // lib/SOD-923.tsx
3877
3923
  import { Colorize as Colorize28, Cuboid as Cuboid33, Hull as Hull17, Translate as Translate24, Union as Union15 } from "jscad-fiber";
3878
- import { Fragment as Fragment44, jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
3924
+ import { Fragment as Fragment44, jsx as jsx51, jsxs as jsxs44 } from "react/jsx-runtime";
3879
3925
  var SOD923 = () => {
3880
3926
  const fullWidth = 0.8;
3881
3927
  const bodyLength10 = 0.6;
@@ -3887,7 +3933,7 @@ var SOD923 = () => {
3887
3933
  const rightPadCenterX = fullWidth / 2;
3888
3934
  const taperOffset = 0.1;
3889
3935
  const straightHeight = padThickness;
3890
- return /* @__PURE__ */ jsxs43(Fragment44, { children: [
3936
+ return /* @__PURE__ */ jsxs44(Fragment44, { children: [
3891
3937
  /* @__PURE__ */ jsx51(
3892
3938
  Cuboid33,
3893
3939
  {
@@ -3904,9 +3950,9 @@ var SOD923 = () => {
3904
3950
  center: [rightPadCenterX, 0, padThickness / 2]
3905
3951
  }
3906
3952
  ),
3907
- /* @__PURE__ */ jsx51(Colorize28, { color: "#222", children: /* @__PURE__ */ jsxs43(Union15, { children: [
3953
+ /* @__PURE__ */ jsx51(Colorize28, { color: "#222", children: /* @__PURE__ */ jsxs44(Union15, { children: [
3908
3954
  /* @__PURE__ */ jsx51(Translate24, { z: straightHeight / 2, children: /* @__PURE__ */ jsx51(Cuboid33, { size: [fullWidth, bodyLength10, straightHeight] }) }),
3909
- /* @__PURE__ */ jsxs43(Hull17, { children: [
3955
+ /* @__PURE__ */ jsxs44(Hull17, { children: [
3910
3956
  /* @__PURE__ */ jsx51(Translate24, { z: straightHeight, children: /* @__PURE__ */ jsx51(Cuboid33, { size: [fullWidth, bodyLength10, 0.01] }) }),
3911
3957
  /* @__PURE__ */ jsx51(Translate24, { z: bodyHeight, children: /* @__PURE__ */ jsx51(
3912
3958
  Cuboid33,
@@ -3920,7 +3966,7 @@ var SOD923 = () => {
3920
3966
  };
3921
3967
 
3922
3968
  // lib/SOT-223.tsx
3923
- import { Fragment as Fragment45, jsx as jsx52, jsxs as jsxs44 } from "react/jsx-runtime";
3969
+ import { Fragment as Fragment45, jsx as jsx52, jsxs as jsxs45 } from "react/jsx-runtime";
3924
3970
  var SOT223 = ({
3925
3971
  fullWidth = 6.6,
3926
3972
  bodyWidth = 3.5,
@@ -3935,7 +3981,7 @@ var SOT223 = ({
3935
3981
  const leadThickness = 0.25;
3936
3982
  const padContactLength = 0.5;
3937
3983
  const extendedBodyDistance = fullWidth - bodyWidth;
3938
- return /* @__PURE__ */ jsxs44(Fragment45, { children: [
3984
+ return /* @__PURE__ */ jsxs45(Fragment45, { children: [
3939
3985
  /* @__PURE__ */ jsx52(
3940
3986
  SmdChipLead,
3941
3987
  {
@@ -4017,7 +4063,7 @@ var SOT223 = ({
4017
4063
  };
4018
4064
 
4019
4065
  // lib/tqfp.tsx
4020
- import { Fragment as Fragment46, jsx as jsx53, jsxs as jsxs45 } from "react/jsx-runtime";
4066
+ import { Fragment as Fragment46, jsx as jsx53, jsxs as jsxs46 } from "react/jsx-runtime";
4021
4067
  var TQFP = () => {
4022
4068
  const pinCount = 64;
4023
4069
  const pitch = 0.5;
@@ -4032,7 +4078,7 @@ var TQFP = () => {
4032
4078
  const leadHeight = 0.65;
4033
4079
  const leadThickness = 0.25;
4034
4080
  const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.2;
4035
- return /* @__PURE__ */ jsxs45(Fragment46, { children: [
4081
+ return /* @__PURE__ */ jsxs46(Fragment46, { children: [
4036
4082
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx53(
4037
4083
  SmdChipLead,
4038
4084
  {
@@ -4118,7 +4164,7 @@ var TQFP = () => {
4118
4164
  var tqfp_default = TQFP;
4119
4165
 
4120
4166
  // lib/SOT-323.tsx
4121
- import { Fragment as Fragment47, jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
4167
+ import { Fragment as Fragment47, jsx as jsx54, jsxs as jsxs47 } from "react/jsx-runtime";
4122
4168
  var SOT323 = () => {
4123
4169
  const fullWidth = 2.05;
4124
4170
  const bodyWidth = 1.25;
@@ -4130,7 +4176,7 @@ var SOT323 = () => {
4130
4176
  const padContactLength = 0.2;
4131
4177
  const padPitch = 0.65;
4132
4178
  const extendedBodyDistance = fullWidth - bodyWidth;
4133
- return /* @__PURE__ */ jsxs46(Fragment47, { children: [
4179
+ return /* @__PURE__ */ jsxs47(Fragment47, { children: [
4134
4180
  /* @__PURE__ */ jsx54(
4135
4181
  SmdChipLead,
4136
4182
  {
@@ -4206,7 +4252,7 @@ import {
4206
4252
  Translate as Translate25,
4207
4253
  Union as Union16
4208
4254
  } from "jscad-fiber";
4209
- import { Fragment as Fragment48, jsx as jsx55, jsxs as jsxs47 } from "react/jsx-runtime";
4255
+ import { Fragment as Fragment48, jsx as jsx55, jsxs as jsxs48 } from "react/jsx-runtime";
4210
4256
  function createPhysicalLqfp(p) {
4211
4257
  const {
4212
4258
  pinCount,
@@ -4250,7 +4296,7 @@ function createPhysicalLqfp(p) {
4250
4296
  throw new Error("Invalid mold, lead spacing, or terminal reach");
4251
4297
  const midZ = standoff + moldHeight / 2;
4252
4298
  const slice = Math.min(2e-3, moldHeight / 100);
4253
- const body = /* @__PURE__ */ jsxs47(Hull18, { children: [
4299
+ const body = /* @__PURE__ */ jsxs48(Hull18, { children: [
4254
4300
  /* @__PURE__ */ jsx55(Translate25, { z: standoff + slice / 2, children: /* @__PURE__ */ jsx55(
4255
4301
  Cuboid34,
4256
4302
  {
@@ -4311,13 +4357,13 @@ function createPhysicalLqfp(p) {
4311
4357
  )
4312
4358
  }
4313
4359
  );
4314
- return /* @__PURE__ */ jsx55(Union16, { children: points.slice(1).map((point, i) => /* @__PURE__ */ jsxs47(Hull18, { children: [
4360
+ return /* @__PURE__ */ jsx55(Union16, { children: points.slice(1).map((point, i) => /* @__PURE__ */ jsxs48(Hull18, { children: [
4315
4361
  section(points[i]),
4316
4362
  section(point)
4317
4363
  ] }, i)) });
4318
4364
  };
4319
- return /* @__PURE__ */ jsxs47(Fragment48, { children: [
4320
- /* @__PURE__ */ jsx55(Colorize29, { color: "#353535", children: /* @__PURE__ */ jsxs47(Subtract7, { children: [
4365
+ return /* @__PURE__ */ jsxs48(Fragment48, { children: [
4366
+ /* @__PURE__ */ jsx55(Colorize29, { color: "#353535", children: /* @__PURE__ */ jsxs48(Subtract7, { children: [
4321
4367
  body,
4322
4368
  /* @__PURE__ */ jsx55(
4323
4369
  Translate25,
@@ -4342,7 +4388,7 @@ function createPhysicalLqfp(p) {
4342
4388
  }
4343
4389
 
4344
4390
  // lib/lqfp.tsx
4345
- import { Fragment as Fragment49, jsx as jsx56, jsxs as jsxs48 } from "react/jsx-runtime";
4391
+ import { Fragment as Fragment49, jsx as jsx56, jsxs as jsxs49 } from "react/jsx-runtime";
4346
4392
  var LegacyLQFP = ({
4347
4393
  pinCount,
4348
4394
  pitch,
@@ -4365,7 +4411,7 @@ var LegacyLQFP = ({
4365
4411
  const leadHeight = 0.8;
4366
4412
  const leadThickness = 0.2;
4367
4413
  const bodyDistance = (fullWidth - bodyWidth) / 2 + 0.4;
4368
- return /* @__PURE__ */ jsxs48(Fragment49, { children: [
4414
+ return /* @__PURE__ */ jsxs49(Fragment49, { children: [
4369
4415
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx56(
4370
4416
  SmdChipLead,
4371
4417
  {
@@ -4457,7 +4503,7 @@ var LQFP = (props) => "leadSpanX" in props ? createPhysicalLqfp(props) : LegacyL
4457
4503
 
4458
4504
  // lib/SOT-723.tsx
4459
4505
  import { Cuboid as Cuboid35, Translate as Translate26, Colorize as Colorize30, Hull as Hull19, Union as Union17 } from "jscad-fiber";
4460
- import { Fragment as Fragment50, jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
4506
+ import { Fragment as Fragment50, jsx as jsx57, jsxs as jsxs50 } from "react/jsx-runtime";
4461
4507
  var SOT723 = () => {
4462
4508
  const bodyWidth = 0.85;
4463
4509
  const bodyLength10 = 1.2;
@@ -4474,8 +4520,8 @@ var SOT723 = () => {
4474
4520
  const leftTopPadCenterY = 0.4;
4475
4521
  const leftBottomPadCenterX = -0.55;
4476
4522
  const leftBottomPadCenterY = -0.4;
4477
- return /* @__PURE__ */ jsxs49(Fragment50, { children: [
4478
- /* @__PURE__ */ jsx57(Colorize30, { color: "#222", children: /* @__PURE__ */ jsxs49(Union17, { children: [
4523
+ return /* @__PURE__ */ jsxs50(Fragment50, { children: [
4524
+ /* @__PURE__ */ jsx57(Colorize30, { color: "#222", children: /* @__PURE__ */ jsxs50(Union17, { children: [
4479
4525
  /* @__PURE__ */ jsx57(
4480
4526
  Cuboid35,
4481
4527
  {
@@ -4483,7 +4529,7 @@ var SOT723 = () => {
4483
4529
  center: [0, 0, straightHeight / 2]
4484
4530
  }
4485
4531
  ),
4486
- /* @__PURE__ */ jsxs49(Hull19, { children: [
4532
+ /* @__PURE__ */ jsxs50(Hull19, { children: [
4487
4533
  /* @__PURE__ */ jsx57(Translate26, { z: straightHeight, children: /* @__PURE__ */ jsx57(Cuboid35, { size: [bodyWidth, bodyLength10, 0.01] }) }),
4488
4534
  /* @__PURE__ */ jsx57(Translate26, { z: bodyHeight, children: /* @__PURE__ */ jsx57(
4489
4535
  Cuboid35,
@@ -4522,7 +4568,7 @@ var SOT723 = () => {
4522
4568
 
4523
4569
  // lib/dfn.tsx
4524
4570
  import { Colorize as Colorize31, Cuboid as Cuboid36, Hull as Hull20, Subtract as Subtract8 } from "jscad-fiber";
4525
- import { Fragment as Fragment51, jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
4571
+ import { Fragment as Fragment51, jsx as jsx58, jsxs as jsxs51 } from "react/jsx-runtime";
4526
4572
  var DFN = ({
4527
4573
  num_pins,
4528
4574
  bodyWidth = 5.3,
@@ -4603,13 +4649,13 @@ var DFN = ({
4603
4649
  center: [0, 0, standoff + bodyThickness / 2]
4604
4650
  }
4605
4651
  );
4606
- return /* @__PURE__ */ jsxs50(Fragment51, { children: [
4607
- /* @__PURE__ */ jsx58(Colorize31, { color: "#25272a", children: pin1MarkWidth > 0 ? /* @__PURE__ */ jsxs50(Subtract8, { children: [
4652
+ return /* @__PURE__ */ jsxs51(Fragment51, { children: [
4653
+ /* @__PURE__ */ jsx58(Colorize31, { color: "#25272a", children: pin1MarkWidth > 0 ? /* @__PURE__ */ jsxs51(Subtract8, { children: [
4608
4654
  body,
4609
4655
  stripe
4610
4656
  ] }) : body }),
4611
4657
  /* @__PURE__ */ jsx58(Colorize31, { color: "#c7c9cd", children: pinPositions.map(
4612
- (p) => p.pinNumber === 1 && pin1TerminalChamfer > 0 ? /* @__PURE__ */ jsxs50(Hull20, { children: [
4658
+ (p) => p.pinNumber === 1 && pin1TerminalChamfer > 0 ? /* @__PURE__ */ jsxs51(Hull20, { children: [
4613
4659
  /* @__PURE__ */ jsx58(
4614
4660
  Cuboid36,
4615
4661
  {
@@ -4660,7 +4706,7 @@ var DFN = ({
4660
4706
  pin1MarkWidth > 0 && /* @__PURE__ */ jsx58(Colorize31, { color: "#969997", children: stripe })
4661
4707
  ] });
4662
4708
  }
4663
- return /* @__PURE__ */ jsxs50(Fragment51, { children: [
4709
+ return /* @__PURE__ */ jsxs51(Fragment51, { children: [
4664
4710
  /* @__PURE__ */ jsx58(
4665
4711
  ChipBody,
4666
4712
  {
@@ -4703,7 +4749,7 @@ var DFN = ({
4703
4749
 
4704
4750
  // lib/hc49.tsx
4705
4751
  import { Colorize as Colorize32, Cylinder as Cylinder10, Hull as Hull21, RoundedCylinder } from "jscad-fiber";
4706
- import { Fragment as Fragment52, jsx as jsx59, jsxs as jsxs51 } from "react/jsx-runtime";
4752
+ import { Fragment as Fragment52, jsx as jsx59, jsxs as jsxs52 } from "react/jsx-runtime";
4707
4753
  var HC49 = ({
4708
4754
  bodyLength: bodyLength10 = 10.2,
4709
4755
  bodyWidth = 4.65,
@@ -4719,9 +4765,9 @@ var HC49 = ({
4719
4765
  const endCenterX = halfLength - endRadius;
4720
4766
  const leadCenterX = leadSpacing / 2;
4721
4767
  const baseHeight = 0.85;
4722
- return /* @__PURE__ */ jsxs51(Fragment52, { children: [
4723
- /* @__PURE__ */ jsxs51(Colorize32, { color, children: [
4724
- /* @__PURE__ */ jsxs51(Hull21, { children: [
4768
+ return /* @__PURE__ */ jsxs52(Fragment52, { children: [
4769
+ /* @__PURE__ */ jsxs52(Colorize32, { color, children: [
4770
+ /* @__PURE__ */ jsxs52(Hull21, { children: [
4725
4771
  /* @__PURE__ */ jsx59(
4726
4772
  RoundedCylinder,
4727
4773
  {
@@ -4741,7 +4787,7 @@ var HC49 = ({
4741
4787
  }
4742
4788
  )
4743
4789
  ] }),
4744
- /* @__PURE__ */ jsxs51(Hull21, { children: [
4790
+ /* @__PURE__ */ jsxs52(Hull21, { children: [
4745
4791
  /* @__PURE__ */ jsx59(
4746
4792
  RoundedCylinder,
4747
4793
  {
@@ -4762,7 +4808,7 @@ var HC49 = ({
4762
4808
  )
4763
4809
  ] })
4764
4810
  ] }),
4765
- /* @__PURE__ */ jsxs51(Colorize32, { color: leadColor, children: [
4811
+ /* @__PURE__ */ jsxs52(Colorize32, { color: leadColor, children: [
4766
4812
  /* @__PURE__ */ jsx59(
4767
4813
  Cylinder10,
4768
4814
  {
@@ -4791,7 +4837,7 @@ import {
4791
4837
  Rotate as Rotate8,
4792
4838
  RoundedCuboid as RoundedCuboid3
4793
4839
  } from "jscad-fiber";
4794
- import { Fragment as Fragment53, jsx as jsx60, jsxs as jsxs52 } from "react/jsx-runtime";
4840
+ import { Fragment as Fragment53, jsx as jsx60, jsxs as jsxs53 } from "react/jsx-runtime";
4795
4841
  var MicroMELF = ({
4796
4842
  bodyLength: bodyLength10 = 1.4,
4797
4843
  bodyDiameter = 1.1,
@@ -4800,8 +4846,8 @@ var MicroMELF = ({
4800
4846
  cathodeIdentification = "#111"
4801
4847
  }) => {
4802
4848
  const padLength = 0.2;
4803
- return /* @__PURE__ */ jsxs52(Fragment53, { children: [
4804
- /* @__PURE__ */ jsx60(Colorize33, { color, children: /* @__PURE__ */ jsxs52(Rotate8, { rotation: [0, "90deg", 0], children: [
4849
+ return /* @__PURE__ */ jsxs53(Fragment53, { children: [
4850
+ /* @__PURE__ */ jsx60(Colorize33, { color, children: /* @__PURE__ */ jsxs53(Rotate8, { rotation: [0, "90deg", 0], children: [
4805
4851
  /* @__PURE__ */ jsx60(
4806
4852
  RoundedCuboid3,
4807
4853
  {
@@ -4850,7 +4896,7 @@ var MicroMELF = ({
4850
4896
 
4851
4897
  // lib/MINIMELF.tsx
4852
4898
  import { Colorize as Colorize34, Cylinder as Cylinder12, RoundedCylinder as RoundedCylinder3, Rotate as Rotate9 } from "jscad-fiber";
4853
- import { Fragment as Fragment54, jsx as jsx61, jsxs as jsxs53 } from "react/jsx-runtime";
4899
+ import { Fragment as Fragment54, jsx as jsx61, jsxs as jsxs54 } from "react/jsx-runtime";
4854
4900
  var MINIMELF = ({
4855
4901
  bodyLength: bodyLength10 = 3.5,
4856
4902
  bodyDiameter = 1.5,
@@ -4864,7 +4910,7 @@ var MINIMELF = ({
4864
4910
  const contactRadius = bodyDiameter / 2 + 0.02;
4865
4911
  const bandLength = 0.14;
4866
4912
  const bandOffset = -bodyLength10 / 2 + contactLength + 0.35;
4867
- return /* @__PURE__ */ jsxs53(Fragment54, { children: [
4913
+ return /* @__PURE__ */ jsxs54(Fragment54, { children: [
4868
4914
  /* @__PURE__ */ jsx61(Colorize34, { color, children: /* @__PURE__ */ jsx61(Rotate9, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx61(
4869
4915
  RoundedCylinder3,
4870
4916
  {
@@ -4905,7 +4951,7 @@ var MINIMELF = ({
4905
4951
 
4906
4952
  // lib/MELF.tsx
4907
4953
  import { Colorize as Colorize35, RoundedCylinder as RoundedCylinder4, Rotate as Rotate10 } from "jscad-fiber";
4908
- import { Fragment as Fragment55, jsx as jsx62, jsxs as jsxs54 } from "react/jsx-runtime";
4954
+ import { Fragment as Fragment55, jsx as jsx62, jsxs as jsxs55 } from "react/jsx-runtime";
4909
4955
  var MELF = ({
4910
4956
  bodyLength: bodyLength10 = 3.9,
4911
4957
  bodyDiameter = 2.5,
@@ -4913,7 +4959,7 @@ var MELF = ({
4913
4959
  contactColor = "#c6c6c6"
4914
4960
  }) => {
4915
4961
  const padLength = 0.55;
4916
- return /* @__PURE__ */ jsxs54(Fragment55, { children: [
4962
+ return /* @__PURE__ */ jsxs55(Fragment55, { children: [
4917
4963
  /* @__PURE__ */ jsx62(Colorize35, { color, children: /* @__PURE__ */ jsx62(Rotate10, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx62(
4918
4964
  RoundedCylinder4,
4919
4965
  {
@@ -4945,7 +4991,7 @@ var MELF = ({
4945
4991
  };
4946
4992
 
4947
4993
  // lib/ms012.tsx
4948
- import { Fragment as Fragment56, jsx as jsx63, jsxs as jsxs55 } from "react/jsx-runtime";
4994
+ import { Fragment as Fragment56, jsx as jsx63, jsxs as jsxs56 } from "react/jsx-runtime";
4949
4995
  var MS012 = ({
4950
4996
  pinCount,
4951
4997
  padContactLength = 0.6,
@@ -4960,7 +5006,7 @@ var MS012 = ({
4960
5006
  const bodyLength10 = 3.9;
4961
5007
  const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
4962
5008
  const leadThickness = 0.2;
4963
- return /* @__PURE__ */ jsxs55(Fragment56, { children: [
5009
+ return /* @__PURE__ */ jsxs56(Fragment56, { children: [
4964
5010
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx63(
4965
5011
  SmdChipLead,
4966
5012
  {
@@ -5014,7 +5060,7 @@ var MS012 = ({
5014
5060
  };
5015
5061
 
5016
5062
  // lib/ms013.tsx
5017
- import { Fragment as Fragment57, jsx as jsx64, jsxs as jsxs56 } from "react/jsx-runtime";
5063
+ import { Fragment as Fragment57, jsx as jsx64, jsxs as jsxs57 } from "react/jsx-runtime";
5018
5064
  var MS013 = ({
5019
5065
  pinCount = 16,
5020
5066
  padContactLength = 0.6,
@@ -5029,7 +5075,7 @@ var MS013 = ({
5029
5075
  const bodyLength10 = 10.3;
5030
5076
  const pinOffsetToCenter = (sidePinCount - 1) * pitch / 2;
5031
5077
  const leadThickness = 0.2;
5032
- return /* @__PURE__ */ jsxs56(Fragment57, { children: [
5078
+ return /* @__PURE__ */ jsxs57(Fragment57, { children: [
5033
5079
  Array.from({ length: sidePinCount }).map((_, i) => /* @__PURE__ */ jsx64(
5034
5080
  SmdChipLead,
5035
5081
  {
@@ -5091,7 +5137,7 @@ import {
5091
5137
  Subtract as Subtract9,
5092
5138
  Translate as Translate27
5093
5139
  } from "jscad-fiber";
5094
- import { Fragment as Fragment58, jsx as jsx65, jsxs as jsxs57 } from "react/jsx-runtime";
5140
+ import { Fragment as Fragment58, jsx as jsx65, jsxs as jsxs58 } from "react/jsx-runtime";
5095
5141
  var TO220_DEFAULT_LEADS = [
5096
5142
  { x: -2.54, y: -1 },
5097
5143
  { x: 0, y: -1 },
@@ -5121,7 +5167,7 @@ var TO220 = ({
5121
5167
  const holeZ = tabTop - Math.max(mountingHoleDiameter * 0.8, 2.6);
5122
5168
  const leadWidth = 0.8;
5123
5169
  const leadThickness = 0.5;
5124
- return /* @__PURE__ */ jsxs57(Fragment58, { children: [
5170
+ return /* @__PURE__ */ jsxs58(Fragment58, { children: [
5125
5171
  /* @__PURE__ */ jsx65(Colorize36, { color: bodyColor, children: /* @__PURE__ */ jsx65(
5126
5172
  Cuboid38,
5127
5173
  {
@@ -5129,7 +5175,7 @@ var TO220 = ({
5129
5175
  center: [centerX, centerY, bodyBottom + bodyHeight / 2]
5130
5176
  }
5131
5177
  ) }),
5132
- /* @__PURE__ */ jsx65(Colorize36, { color: mouldedTab ? bodyColor : tabColor, children: /* @__PURE__ */ jsxs57(Subtract9, { children: [
5178
+ /* @__PURE__ */ jsx65(Colorize36, { color: mouldedTab ? bodyColor : tabColor, children: /* @__PURE__ */ jsxs58(Subtract9, { children: [
5133
5179
  /* @__PURE__ */ jsx65(
5134
5180
  Cuboid38,
5135
5181
  {
@@ -5156,7 +5202,7 @@ var TO220 = ({
5156
5202
  };
5157
5203
 
5158
5204
  // lib/SOT-457.tsx
5159
- import { Fragment as Fragment59, jsx as jsx66, jsxs as jsxs58 } from "react/jsx-runtime";
5205
+ import { Fragment as Fragment59, jsx as jsx66, jsxs as jsxs59 } from "react/jsx-runtime";
5160
5206
  var SOT457 = () => {
5161
5207
  const fullWidth = 2.8;
5162
5208
  const bodyWidth = 1.6;
@@ -5168,7 +5214,7 @@ var SOT457 = () => {
5168
5214
  const padContactLength = 0.5;
5169
5215
  const padPitch = 0.95;
5170
5216
  const extendedBodyDistance = fullWidth - bodyWidth;
5171
- return /* @__PURE__ */ jsxs58(Fragment59, { children: [
5217
+ return /* @__PURE__ */ jsxs59(Fragment59, { children: [
5172
5218
  /* @__PURE__ */ jsx66(
5173
5219
  SmdChipLead,
5174
5220
  {
@@ -5289,7 +5335,7 @@ var SOT457 = () => {
5289
5335
 
5290
5336
  // lib/SOT-963.tsx
5291
5337
  import { Cuboid as Cuboid39 } from "jscad-fiber";
5292
- import { Fragment as Fragment60, jsx as jsx67, jsxs as jsxs59 } from "react/jsx-runtime";
5338
+ import { Fragment as Fragment60, jsx as jsx67, jsxs as jsxs60 } from "react/jsx-runtime";
5293
5339
  var SOT963 = () => {
5294
5340
  const bodyWidth = 0.8;
5295
5341
  const bodyLength10 = 1;
@@ -5300,7 +5346,7 @@ var SOT963 = () => {
5300
5346
  const pitch = 0.35;
5301
5347
  const pinsPerSide = 3;
5302
5348
  const pinSpan = pitch * (pinsPerSide - 1);
5303
- return /* @__PURE__ */ jsxs59(Fragment60, { children: [
5349
+ return /* @__PURE__ */ jsxs60(Fragment60, { children: [
5304
5350
  /* @__PURE__ */ jsx67(
5305
5351
  ChipBody,
5306
5352
  {
@@ -5361,7 +5407,7 @@ import {
5361
5407
  Cylinder as Cylinder14,
5362
5408
  Subtract as Subtract10
5363
5409
  } from "jscad-fiber";
5364
- import { Fragment as Fragment61, jsx as jsx68, jsxs as jsxs60 } from "react/jsx-runtime";
5410
+ import { Fragment as Fragment61, jsx as jsx68, jsxs as jsxs61 } from "react/jsx-runtime";
5365
5411
  var TO92_DEFAULT_LEADS = [
5366
5412
  { x: -1.27, y: 0.98 },
5367
5413
  { x: 0, y: 2.25 },
@@ -5420,8 +5466,8 @@ var TO92 = ({
5420
5466
  legWidth,
5421
5467
  legThickness
5422
5468
  ];
5423
- return /* @__PURE__ */ jsxs60(Fragment61, { children: [
5424
- /* @__PURE__ */ jsx68(Colorize37, { color: bodyColor, children: /* @__PURE__ */ jsxs60(Subtract10, { children: [
5469
+ return /* @__PURE__ */ jsxs61(Fragment61, { children: [
5470
+ /* @__PURE__ */ jsx68(Colorize37, { color: bodyColor, children: /* @__PURE__ */ jsxs61(Subtract10, { children: [
5425
5471
  /* @__PURE__ */ jsx68(
5426
5472
  Translate28,
5427
5473
  {
@@ -5443,8 +5489,8 @@ var TO92 = ({
5443
5489
  ] }) }),
5444
5490
  leads.map((lead, index) => {
5445
5491
  const exit = exitFor(index);
5446
- return /* @__PURE__ */ jsxs60(Translate28, { center: [0, 0, 0], children: [
5447
- /* @__PURE__ */ jsxs60(Hull22, { children: [
5492
+ return /* @__PURE__ */ jsxs61(Translate28, { center: [0, 0, 0], children: [
5493
+ /* @__PURE__ */ jsxs61(Hull22, { children: [
5448
5494
  /* @__PURE__ */ jsx68(Translate28, { center: [lead.x, lead.y, 0], children: /* @__PURE__ */ jsx68(Cuboid40, { size: leadSize }) }),
5449
5495
  /* @__PURE__ */ jsx68(Translate28, { center: [exit.x, exit.y, standoff], children: /* @__PURE__ */ jsx68(Cuboid40, { size: leadSize }) })
5450
5496
  ] }),
@@ -5455,7 +5501,7 @@ var TO92 = ({
5455
5501
  };
5456
5502
 
5457
5503
  // lib/SOT-363.tsx
5458
- import { Fragment as Fragment62, jsx as jsx69, jsxs as jsxs61 } from "react/jsx-runtime";
5504
+ import { Fragment as Fragment62, jsx as jsx69, jsxs as jsxs62 } from "react/jsx-runtime";
5459
5505
  var SOT363 = () => {
5460
5506
  const fullWidth = 2;
5461
5507
  const bodyWidth = 1.25;
@@ -5466,7 +5512,7 @@ var SOT363 = () => {
5466
5512
  const leadHeight = 0.85;
5467
5513
  const padContactLength = 0.3;
5468
5514
  const extendedBodyDistance = fullWidth - bodyWidth;
5469
- return /* @__PURE__ */ jsxs61(Fragment62, { children: [
5515
+ return /* @__PURE__ */ jsxs62(Fragment62, { children: [
5470
5516
  /* @__PURE__ */ jsx69(
5471
5517
  SmdChipLead,
5472
5518
  {
@@ -5588,7 +5634,7 @@ var SOT_363_default = SOT363;
5588
5634
 
5589
5635
  // lib/SOT-886.tsx
5590
5636
  import { Cuboid as Cuboid41 } from "jscad-fiber";
5591
- import { Fragment as Fragment63, jsx as jsx70, jsxs as jsxs62 } from "react/jsx-runtime";
5637
+ import { Fragment as Fragment63, jsx as jsx70, jsxs as jsxs63 } from "react/jsx-runtime";
5592
5638
  var SOT886 = () => {
5593
5639
  const bodyWidth = 1;
5594
5640
  const bodyLength10 = 1.45;
@@ -5599,7 +5645,7 @@ var SOT886 = () => {
5599
5645
  const pitch = 0.5;
5600
5646
  const pinsPerSide = 3;
5601
5647
  const pinSpan = pitch * (pinsPerSide - 1);
5602
- return /* @__PURE__ */ jsxs62(Fragment63, { children: [
5648
+ return /* @__PURE__ */ jsxs63(Fragment63, { children: [
5603
5649
  /* @__PURE__ */ jsx70(
5604
5650
  ChipBody,
5605
5651
  {
@@ -5648,7 +5694,7 @@ var SOT886 = () => {
5648
5694
 
5649
5695
  // lib/sod-323.tsx
5650
5696
  import { Colorize as Colorize38, Cuboid as Cuboid42 } from "jscad-fiber";
5651
- import { Fragment as Fragment64, jsx as jsx71, jsxs as jsxs63 } from "react/jsx-runtime";
5697
+ import { Fragment as Fragment64, jsx as jsx71, jsxs as jsxs64 } from "react/jsx-runtime";
5652
5698
  var SOD323 = () => {
5653
5699
  const fullWidth = 2.5;
5654
5700
  const bodyLength10 = 1.4;
@@ -5660,7 +5706,7 @@ var SOD323 = () => {
5660
5706
  const padCenterX = bodyWidth / 2;
5661
5707
  const bodyDistance = 0.45;
5662
5708
  const leadHeight = 0.7;
5663
- return /* @__PURE__ */ jsxs63(Fragment64, { children: [
5709
+ return /* @__PURE__ */ jsxs64(Fragment64, { children: [
5664
5710
  /* @__PURE__ */ jsx71(
5665
5711
  SmdChipLead,
5666
5712
  {
@@ -5720,7 +5766,7 @@ var SOD323 = () => {
5720
5766
 
5721
5767
  // lib/sod-323F.tsx
5722
5768
  import { Colorize as Colorize39, Cuboid as Cuboid43, Hull as Hull24, Translate as Translate30, Union as Union19 } from "jscad-fiber";
5723
- import { Fragment as Fragment65, jsx as jsx72, jsxs as jsxs64 } from "react/jsx-runtime";
5769
+ import { Fragment as Fragment65, jsx as jsx72, jsxs as jsxs65 } from "react/jsx-runtime";
5724
5770
  var SOD323F = () => {
5725
5771
  const fullWidth = 1.7;
5726
5772
  const bodyLength10 = 1.25;
@@ -5732,7 +5778,7 @@ var SOD323F = () => {
5732
5778
  const rightPadCenterX = fullWidth / 2 + padLength / 2;
5733
5779
  const taperOffset = 0.2;
5734
5780
  const straightHeight = padThickness;
5735
- return /* @__PURE__ */ jsxs64(Fragment65, { children: [
5781
+ return /* @__PURE__ */ jsxs65(Fragment65, { children: [
5736
5782
  /* @__PURE__ */ jsx72(
5737
5783
  Cuboid43,
5738
5784
  {
@@ -5749,9 +5795,9 @@ var SOD323F = () => {
5749
5795
  center: [rightPadCenterX, 0, padThickness / 2]
5750
5796
  }
5751
5797
  ),
5752
- /* @__PURE__ */ jsx72(Colorize39, { color: "#222", children: /* @__PURE__ */ jsxs64(Union19, { children: [
5798
+ /* @__PURE__ */ jsx72(Colorize39, { color: "#222", children: /* @__PURE__ */ jsxs65(Union19, { children: [
5753
5799
  /* @__PURE__ */ jsx72(Translate30, { z: straightHeight / 2, children: /* @__PURE__ */ jsx72(Cuboid43, { size: [fullWidth, bodyLength10, straightHeight] }) }),
5754
- /* @__PURE__ */ jsxs64(Hull24, { children: [
5800
+ /* @__PURE__ */ jsxs65(Hull24, { children: [
5755
5801
  /* @__PURE__ */ jsx72(Translate30, { z: straightHeight, children: /* @__PURE__ */ jsx72(Cuboid43, { size: [fullWidth, bodyLength10, 0.01] }) }),
5756
5802
  /* @__PURE__ */ jsx72(Translate30, { z: bodyHeight, children: /* @__PURE__ */ jsx72(
5757
5803
  Cuboid43,
@@ -5774,7 +5820,7 @@ var SOD323F = () => {
5774
5820
 
5775
5821
  // lib/sod-323FL.tsx
5776
5822
  import { Colorize as Colorize40, Cuboid as Cuboid44 } from "jscad-fiber";
5777
- import { Fragment as Fragment66, jsx as jsx73, jsxs as jsxs65 } from "react/jsx-runtime";
5823
+ import { Fragment as Fragment66, jsx as jsx73, jsxs as jsxs66 } from "react/jsx-runtime";
5778
5824
  var SOD323FL = () => {
5779
5825
  const fullWidth = 1.775;
5780
5826
  const bodyLength10 = 1.25;
@@ -5785,7 +5831,7 @@ var SOD323FL = () => {
5785
5831
  const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
5786
5832
  const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
5787
5833
  const taperOffset = 0.2;
5788
- return /* @__PURE__ */ jsxs65(Fragment66, { children: [
5834
+ return /* @__PURE__ */ jsxs66(Fragment66, { children: [
5789
5835
  /* @__PURE__ */ jsx73(
5790
5836
  Cuboid44,
5791
5837
  {
@@ -5828,10 +5874,10 @@ var SOD323FL = () => {
5828
5874
 
5829
5875
  // lib/AxialCapacitor.tsx
5830
5876
  import { Colorize as Colorize41, Cylinder as Cylinder15, Rotate as Rotate12, Sphere as Sphere2, Translate as Translate32 } from "jscad-fiber";
5831
- import { Fragment as Fragment67, jsx as jsx74, jsxs as jsxs66 } from "react/jsx-runtime";
5877
+ import { Fragment as Fragment67, jsx as jsx74, jsxs as jsxs67 } from "react/jsx-runtime";
5832
5878
  var AxialCapacitor = ({ pitch = 10 }) => {
5833
5879
  const heightToCenterOfCapacitor = 0.5 + 4 / 2;
5834
- return /* @__PURE__ */ jsxs66(Fragment67, { children: [
5880
+ return /* @__PURE__ */ jsxs67(Fragment67, { children: [
5835
5881
  /* @__PURE__ */ jsx74(Cylinder15, { height: 4, radius: 0.5, center: [-pitch / 2, 0, 0.5] }),
5836
5882
  /* @__PURE__ */ jsx74(
5837
5883
  Sphere2,
@@ -5840,7 +5886,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
5840
5886
  center: [-pitch / 2, 0, heightToCenterOfCapacitor]
5841
5887
  }
5842
5888
  ),
5843
- /* @__PURE__ */ jsx74(Translate32, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs66(Rotate12, { rotation: [0, Math.PI / 2, 0], children: [
5889
+ /* @__PURE__ */ jsx74(Translate32, { x: -2.5, y: 0, z: heightToCenterOfCapacitor, children: /* @__PURE__ */ jsxs67(Rotate12, { rotation: [0, Math.PI / 2, 0], children: [
5844
5890
  /* @__PURE__ */ jsx74(
5845
5891
  Cylinder15,
5846
5892
  {
@@ -5865,7 +5911,7 @@ var AxialCapacitor = ({ pitch = 10 }) => {
5865
5911
 
5866
5912
  // lib/stampboard.tsx
5867
5913
  import { Colorize as Colorize42, Cuboid as Cuboid45, Cylinder as Cylinder16, Subtract as Subtract11, Union as Union21 } from "jscad-fiber";
5868
- import { Fragment as Fragment68, jsx as jsx75, jsxs as jsxs67 } from "react/jsx-runtime";
5914
+ import { Fragment as Fragment68, jsx as jsx75, jsxs as jsxs68 } from "react/jsx-runtime";
5869
5915
  var StampBoard = ({
5870
5916
  bodyWidth = 21,
5871
5917
  boardThickness = 0.5,
@@ -5963,7 +6009,7 @@ var StampBoard = ({
5963
6009
  }
5964
6010
  }
5965
6011
  }
5966
- const boardBody = /* @__PURE__ */ jsx75(Colorize42, { color: "#051a0a", children: /* @__PURE__ */ jsxs67(Subtract11, { children: [
6012
+ const boardBody = /* @__PURE__ */ jsx75(Colorize42, { color: "#051a0a", children: /* @__PURE__ */ jsxs68(Subtract11, { children: [
5967
6013
  /* @__PURE__ */ jsx75(
5968
6014
  Cuboid45,
5969
6015
  {
@@ -5998,9 +6044,9 @@ var StampBoard = ({
5998
6044
  },
5999
6045
  index
6000
6046
  ));
6001
- return /* @__PURE__ */ jsxs67(Fragment68, { children: [
6047
+ return /* @__PURE__ */ jsxs68(Fragment68, { children: [
6002
6048
  boardBody,
6003
- /* @__PURE__ */ jsx75(Colorize42, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs67(Subtract11, { children: [
6049
+ /* @__PURE__ */ jsx75(Colorize42, { color: "#FFD700", children: innerHoles ? /* @__PURE__ */ jsxs68(Subtract11, { children: [
6004
6050
  /* @__PURE__ */ jsx75(Union21, { children: pads.map((pad, index) => /* @__PURE__ */ jsx75(
6005
6051
  Cuboid45,
6006
6052
  {
@@ -6019,7 +6065,7 @@ import { Colorize as Colorize44, Cuboid as Cuboid47, Cylinder as Cylinder17, Sub
6019
6065
 
6020
6066
  // lib/Screen.tsx
6021
6067
  import { Colorize as Colorize43, Cuboid as Cuboid46, Subtract as Subtract12, Translate as Translate33 } from "jscad-fiber";
6022
- import { jsx as jsx76, jsxs as jsxs68 } from "react/jsx-runtime";
6068
+ import { jsx as jsx76, jsxs as jsxs69 } from "react/jsx-runtime";
6023
6069
  var Screen = ({
6024
6070
  width: width10 = 30,
6025
6071
  height: height10 = 22,
@@ -6047,7 +6093,7 @@ var Screen = ({
6047
6093
  const offsetX = offset?.x ?? 0;
6048
6094
  const offsetY = offset?.y ?? 0;
6049
6095
  const offsetZ = offset?.z ?? 0;
6050
- return /* @__PURE__ */ jsxs68(Translate33, { offset: { x: offsetX, y: offsetY, z: offsetZ }, children: [
6096
+ return /* @__PURE__ */ jsxs69(Translate33, { offset: { x: offsetX, y: offsetY, z: offsetZ }, children: [
6051
6097
  backBlockHeight > 0 && /* @__PURE__ */ jsx76(Colorize43, { color: bezelColor, children: /* @__PURE__ */ jsx76(
6052
6098
  Cuboid46,
6053
6099
  {
@@ -6055,7 +6101,7 @@ var Screen = ({
6055
6101
  offset: [0, 0, backBlockHeight / 2]
6056
6102
  }
6057
6103
  ) }),
6058
- /* @__PURE__ */ jsx76(Colorize43, { color: bezelColor, children: /* @__PURE__ */ jsxs68(Subtract12, { children: [
6104
+ /* @__PURE__ */ jsx76(Colorize43, { color: bezelColor, children: /* @__PURE__ */ jsxs69(Subtract12, { children: [
6059
6105
  /* @__PURE__ */ jsx76(
6060
6106
  Cuboid46,
6061
6107
  {
@@ -6083,7 +6129,7 @@ var Screen = ({
6083
6129
  var Display = Screen;
6084
6130
 
6085
6131
  // lib/MountedPcbModule.tsx
6086
- import { Fragment as Fragment69, jsx as jsx77, jsxs as jsxs69 } from "react/jsx-runtime";
6132
+ import { Fragment as Fragment69, jsx as jsx77, jsxs as jsxs70 } from "react/jsx-runtime";
6087
6133
  var MountedPcbModule = ({
6088
6134
  numPins = 5,
6089
6135
  rows = 1,
@@ -6184,7 +6230,7 @@ var MountedPcbModule = ({
6184
6230
  const shortSidePinLength = 3;
6185
6231
  const boardOffsetZ = nopin || female ? 0 : pinBodyHeight;
6186
6232
  const boardTopZ = boardOffsetZ + boardThickness;
6187
- const boardBody = /* @__PURE__ */ jsx77(Colorize44, { color: "#008080", children: /* @__PURE__ */ jsxs69(Subtract13, { children: [
6233
+ const boardBody = /* @__PURE__ */ jsx77(Colorize44, { color: "#008080", children: /* @__PURE__ */ jsxs70(Subtract13, { children: [
6188
6234
  /* @__PURE__ */ jsx77(
6189
6235
  Cuboid47,
6190
6236
  {
@@ -6211,7 +6257,7 @@ var MountedPcbModule = ({
6211
6257
  `pin-hole-${index}`
6212
6258
  ))
6213
6259
  ] }) });
6214
- const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx77(Colorize44, { color: "#FFD700", children: /* @__PURE__ */ jsxs69(Subtract13, { children: [
6260
+ const platedHoles = pins.map((pin, index) => /* @__PURE__ */ jsx77(Colorize44, { color: "#FFD700", children: /* @__PURE__ */ jsxs70(Subtract13, { children: [
6215
6261
  /* @__PURE__ */ jsx77(
6216
6262
  Cylinder17,
6217
6263
  {
@@ -6251,7 +6297,7 @@ var MountedPcbModule = ({
6251
6297
  },
6252
6298
  `female-pin-3d-${index}`
6253
6299
  ));
6254
- return /* @__PURE__ */ jsxs69(Fragment69, { children: [
6300
+ return /* @__PURE__ */ jsxs70(Fragment69, { children: [
6255
6301
  boardBody,
6256
6302
  platedHoles,
6257
6303
  !female && !nopin && headerPins,
@@ -6273,7 +6319,7 @@ var MountedPcbModule = ({
6273
6319
 
6274
6320
  // lib/SOD723.tsx
6275
6321
  import { Colorize as Colorize45, Cuboid as Cuboid48, Hull as Hull26, Translate as Translate34, Union as Union22 } from "jscad-fiber";
6276
- import { Fragment as Fragment70, jsx as jsx78, jsxs as jsxs70 } from "react/jsx-runtime";
6322
+ import { Fragment as Fragment70, jsx as jsx78, jsxs as jsxs71 } from "react/jsx-runtime";
6277
6323
  var SOD723 = () => {
6278
6324
  const fullWidth = 1.4;
6279
6325
  const bodyLength10 = 0.6;
@@ -6286,7 +6332,7 @@ var SOD723 = () => {
6286
6332
  const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
6287
6333
  const taperOffset = 0.2;
6288
6334
  const straightHeight = bodyHeight * 0.24;
6289
- return /* @__PURE__ */ jsxs70(Fragment70, { children: [
6335
+ return /* @__PURE__ */ jsxs71(Fragment70, { children: [
6290
6336
  /* @__PURE__ */ jsx78(
6291
6337
  Cuboid48,
6292
6338
  {
@@ -6303,9 +6349,9 @@ var SOD723 = () => {
6303
6349
  center: [rightPadCenterX, 0, padThickness / 2]
6304
6350
  }
6305
6351
  ),
6306
- /* @__PURE__ */ jsx78(Colorize45, { color: "#222", children: /* @__PURE__ */ jsxs70(Union22, { children: [
6352
+ /* @__PURE__ */ jsx78(Colorize45, { color: "#222", children: /* @__PURE__ */ jsxs71(Union22, { children: [
6307
6353
  /* @__PURE__ */ jsx78(Translate34, { z: straightHeight / 2, children: /* @__PURE__ */ jsx78(Cuboid48, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
6308
- /* @__PURE__ */ jsxs70(Hull26, { children: [
6354
+ /* @__PURE__ */ jsxs71(Hull26, { children: [
6309
6355
  /* @__PURE__ */ jsx78(Translate34, { z: straightHeight, children: /* @__PURE__ */ jsx78(Cuboid48, { size: [bodyWidth, bodyLength10, 0.01] }) }),
6310
6356
  /* @__PURE__ */ jsx78(Translate34, { z: bodyHeight, children: /* @__PURE__ */ jsx78(
6311
6357
  Cuboid48,
@@ -6336,7 +6382,7 @@ import {
6336
6382
  Subtract as Subtract14,
6337
6383
  Translate as Translate35
6338
6384
  } from "jscad-fiber";
6339
- import { Fragment as Fragment71, jsx as jsx79, jsxs as jsxs71 } from "react/jsx-runtime";
6385
+ import { Fragment as Fragment71, jsx as jsx79, jsxs as jsxs72 } from "react/jsx-runtime";
6340
6386
  var JSTZH1_5mm = ({
6341
6387
  numPins = 7,
6342
6388
  showPins = true,
@@ -6352,8 +6398,8 @@ var JSTZH1_5mm = ({
6352
6398
  const pinLength = 6;
6353
6399
  const bodyWidth = (numPins - 1) * pitch + 4;
6354
6400
  const startX = -((numPins - 1) * pitch) / 2;
6355
- return /* @__PURE__ */ jsxs71(Fragment71, { children: [
6356
- /* @__PURE__ */ jsx79(Translate35, { offset: [0, 0, bodyHeight], children: /* @__PURE__ */ jsx79(Rotate13, { angles: [Math.PI, 0, 0], children: /* @__PURE__ */ jsx79(Colorize46, { color: bodyColor, children: /* @__PURE__ */ jsxs71(Subtract14, { children: [
6401
+ return /* @__PURE__ */ jsxs72(Fragment71, { children: [
6402
+ /* @__PURE__ */ jsx79(Translate35, { offset: [0, 0, bodyHeight], children: /* @__PURE__ */ jsx79(Rotate13, { angles: [Math.PI, 0, 0], children: /* @__PURE__ */ jsx79(Colorize46, { color: bodyColor, children: /* @__PURE__ */ jsxs72(Subtract14, { children: [
6357
6403
  /* @__PURE__ */ jsx79(
6358
6404
  Cuboid49,
6359
6405
  {
@@ -6495,7 +6541,7 @@ import {
6495
6541
  Subtract as Subtract15,
6496
6542
  Translate as Translate36
6497
6543
  } from "jscad-fiber";
6498
- import { Fragment as Fragment72, jsx as jsx80, jsxs as jsxs72 } from "react/jsx-runtime";
6544
+ import { Fragment as Fragment72, jsx as jsx80, jsxs as jsxs73 } from "react/jsx-runtime";
6499
6545
  var JSTPH2_0mm = ({
6500
6546
  numPins = 2,
6501
6547
  showPins = true,
@@ -6519,8 +6565,8 @@ var JSTPH2_0mm = ({
6519
6565
  const latchWindowInset = 0.7;
6520
6566
  const topReliefWidth = 0.8;
6521
6567
  const topReliefDepth = 0.65;
6522
- return /* @__PURE__ */ jsxs72(Fragment72, { children: [
6523
- /* @__PURE__ */ jsx80(Translate36, { offset: [0, 0, bodyHeight], children: /* @__PURE__ */ jsx80(Rotate14, { angles: [Math.PI, 0, 0], children: /* @__PURE__ */ jsx80(Colorize47, { color: bodyColor, children: /* @__PURE__ */ jsxs72(Subtract15, { children: [
6568
+ return /* @__PURE__ */ jsxs73(Fragment72, { children: [
6569
+ /* @__PURE__ */ jsx80(Translate36, { offset: [0, 0, bodyHeight], children: /* @__PURE__ */ jsx80(Rotate14, { angles: [Math.PI, 0, 0], children: /* @__PURE__ */ jsx80(Colorize47, { color: bodyColor, children: /* @__PURE__ */ jsxs73(Subtract15, { children: [
6524
6570
  /* @__PURE__ */ jsx80(
6525
6571
  Cuboid50,
6526
6572
  {
@@ -6677,7 +6723,7 @@ var JSTPH2_0mm = ({
6677
6723
  // lib/JSTXH2_5mm.tsx
6678
6724
  import { Colorize as Colorize48, Cuboid as Cuboid51, Subtract as Subtract16, Translate as Translate37 } from "jscad-fiber";
6679
6725
  import { fp as fp3 } from "@tscircuit/footprinter";
6680
- import { Fragment as Fragment73, jsx as jsx81, jsxs as jsxs73 } from "react/jsx-runtime";
6726
+ import { Fragment as Fragment73, jsx as jsx81, jsxs as jsxs74 } from "react/jsx-runtime";
6681
6727
  var JSTXH2_5mm = ({
6682
6728
  numPins = 4,
6683
6729
  showPins = true,
@@ -6705,8 +6751,8 @@ var JSTXH2_5mm = ({
6705
6751
  Math.max(3, (numPins - 1) * pitch * 0.4 + 2.2)
6706
6752
  );
6707
6753
  const lockNotchHeight = 2.4;
6708
- return /* @__PURE__ */ jsxs73(Fragment73, { children: [
6709
- /* @__PURE__ */ jsx81(Translate37, { offset: [0, 0, bodyHeight / 2], children: /* @__PURE__ */ jsx81(Colorize48, { color: bodyColor, children: /* @__PURE__ */ jsxs73(Subtract16, { children: [
6754
+ return /* @__PURE__ */ jsxs74(Fragment73, { children: [
6755
+ /* @__PURE__ */ jsx81(Translate37, { offset: [0, 0, bodyHeight / 2], children: /* @__PURE__ */ jsx81(Colorize48, { color: bodyColor, children: /* @__PURE__ */ jsxs74(Subtract16, { children: [
6710
6756
  /* @__PURE__ */ jsx81(Cuboid51, { size: [bodyWidth, bodyDepth, bodyHeight] }),
6711
6757
  /* @__PURE__ */ jsx81(Translate37, { offset: [0, 0, (bodyHeight - hollowHeight) / 2 + 0.1], children: /* @__PURE__ */ jsx81(
6712
6758
  Cuboid51,
@@ -6809,7 +6855,7 @@ var JSTXH2_5mm = ({
6809
6855
  import { fp as fp4 } from "@tscircuit/footprinter";
6810
6856
  import { mm } from "@tscircuit/mm";
6811
6857
  import { Colorize as Colorize49, Cuboid as Cuboid52, Rotate as Rotate15, Subtract as Subtract17, Union as Union23 } from "jscad-fiber";
6812
- import { jsx as jsx82, jsxs as jsxs74 } from "react/jsx-runtime";
6858
+ import { jsx as jsx82, jsxs as jsxs75 } from "react/jsx-runtime";
6813
6859
  function isJstShFootprint(footprint) {
6814
6860
  const p = fp4.string(footprint).json();
6815
6861
  if (p.fn !== "jst") return false;
@@ -6837,8 +6883,8 @@ var JstSh = ({ footprint = "jst6_sh" }) => {
6837
6883
  const direction = mounts[0].y > rowY ? 1 : -1;
6838
6884
  const y = rowY + direction * 1.8, width10 = n + 2, depth = 2.9, height10 = 4.2;
6839
6885
  const pinY = y - direction * 0.25;
6840
- return /* @__PURE__ */ jsxs74(Rotate15, { rotation: [0, 0, angle], children: [
6841
- /* @__PURE__ */ jsx82(Colorize49, { color: "#e4e1d6", children: /* @__PURE__ */ jsxs74(Subtract17, { children: [
6886
+ return /* @__PURE__ */ jsxs75(Rotate15, { rotation: [0, 0, angle], children: [
6887
+ /* @__PURE__ */ jsx82(Colorize49, { color: "#e4e1d6", children: /* @__PURE__ */ jsxs75(Subtract17, { children: [
6842
6888
  /* @__PURE__ */ jsx82(
6843
6889
  Cuboid52,
6844
6890
  {
@@ -6874,10 +6920,10 @@ var JstSh = ({ footprint = "jst6_sh" }) => {
6874
6920
  side
6875
6921
  ))
6876
6922
  ] }) }),
6877
- /* @__PURE__ */ jsxs74(Colorize49, { color: "#c6c7c9", children: [
6923
+ /* @__PURE__ */ jsxs75(Colorize49, { color: "#c6c7c9", children: [
6878
6924
  signals.map((pad, i) => {
6879
6925
  const tailY = pad.y - direction * pad.height * 0.4;
6880
- return /* @__PURE__ */ jsxs74(Union23, { children: [
6926
+ return /* @__PURE__ */ jsxs75(Union23, { children: [
6881
6927
  /* @__PURE__ */ jsx82(
6882
6928
  Cuboid52,
6883
6929
  {
@@ -6888,7 +6934,7 @@ var JstSh = ({ footprint = "jst6_sh" }) => {
6888
6934
  /* @__PURE__ */ jsx82(Cuboid52, { size: [0.2, 0.2, 3.45], center: [pad.x, pinY, 1.725] })
6889
6935
  ] }, i);
6890
6936
  }),
6891
- mounts.map((pad, i) => /* @__PURE__ */ jsxs74(Union23, { children: [
6937
+ mounts.map((pad, i) => /* @__PURE__ */ jsxs75(Union23, { children: [
6892
6938
  /* @__PURE__ */ jsx82(
6893
6939
  Cuboid52,
6894
6940
  {
@@ -6918,7 +6964,7 @@ import {
6918
6964
  Subtract as Subtract18,
6919
6965
  Translate as Translate38
6920
6966
  } from "jscad-fiber";
6921
- import { Fragment as Fragment74, jsx as jsx83, jsxs as jsxs75 } from "react/jsx-runtime";
6967
+ import { Fragment as Fragment74, jsx as jsx83, jsxs as jsxs76 } from "react/jsx-runtime";
6922
6968
  var HOUSING_COLOR = "#303339";
6923
6969
  var HOUSING_SHADOW = "#1f2227";
6924
6970
  var ACTUATOR_COLOR = "#eee8d8";
@@ -7005,7 +7051,7 @@ var FPC = ({
7005
7051
  const clipCapX = bodyWidth / 2 - 0.23;
7006
7052
  const sideBossX = bodyWidth / 2 - 0.32;
7007
7053
  const sideBossWidth = 0.68;
7008
- return /* @__PURE__ */ jsxs75(Fragment74, { children: [
7054
+ return /* @__PURE__ */ jsxs76(Fragment74, { children: [
7009
7055
  [-1, 1].map((direction) => /* @__PURE__ */ jsx83(
7010
7056
  Cuboid53,
7011
7057
  {
@@ -7033,7 +7079,7 @@ var FPC = ({
7033
7079
  roundRadius: 0.1
7034
7080
  }
7035
7081
  ),
7036
- /* @__PURE__ */ jsx83(Colorize50, { color: HOUSING_COLOR, children: /* @__PURE__ */ jsxs75(Subtract18, { children: [
7082
+ /* @__PURE__ */ jsx83(Colorize50, { color: HOUSING_COLOR, children: /* @__PURE__ */ jsxs76(Subtract18, { children: [
7037
7083
  /* @__PURE__ */ jsx83(
7038
7084
  RoundedCuboid4,
7039
7085
  {
@@ -7185,7 +7231,7 @@ var FPC = ({
7185
7231
 
7186
7232
  // lib/SmdPinHeader.tsx
7187
7233
  import { Colorize as Colorize51, Cuboid as Cuboid54, Hull as Hull27, Translate as Translate39 } from "jscad-fiber";
7188
- import { Fragment as Fragment75, jsx as jsx84, jsxs as jsxs76 } from "react/jsx-runtime";
7234
+ import { Fragment as Fragment75, jsx as jsx84, jsxs as jsxs77 } from "react/jsx-runtime";
7189
7235
  var SmdPinHeader = ({
7190
7236
  numberOfPins,
7191
7237
  pitch = 2.54,
@@ -7205,7 +7251,7 @@ var SmdPinHeader = ({
7205
7251
  const tailDirection = index % 2 === 0 ? 1 : -1;
7206
7252
  const postBodyLength = matingPinLength - tipChamferHeight;
7207
7253
  const verticalTailLength = standoffHeight - pinThickness / 2;
7208
- return /* @__PURE__ */ jsxs76(Translate39, { x, children: [
7254
+ return /* @__PURE__ */ jsxs77(Translate39, { x, children: [
7209
7255
  /* @__PURE__ */ jsx84(
7210
7256
  Cuboid54,
7211
7257
  {
@@ -7214,7 +7260,7 @@ var SmdPinHeader = ({
7214
7260
  center: [0, 0, standoffHeight + bodyHeight / 2]
7215
7261
  }
7216
7262
  ),
7217
- /* @__PURE__ */ jsxs76(Colorize51, { color: "#d4af37", children: [
7263
+ /* @__PURE__ */ jsxs77(Colorize51, { color: "#d4af37", children: [
7218
7264
  /* @__PURE__ */ jsx84(
7219
7265
  Cuboid54,
7220
7266
  {
@@ -7236,7 +7282,7 @@ var SmdPinHeader = ({
7236
7282
  center: [0, 0, bodyTop + postBodyLength / 2]
7237
7283
  }
7238
7284
  ),
7239
- /* @__PURE__ */ jsxs76(Hull27, { children: [
7285
+ /* @__PURE__ */ jsxs77(Hull27, { children: [
7240
7286
  /* @__PURE__ */ jsx84(
7241
7287
  Cuboid54,
7242
7288
  {
@@ -7289,7 +7335,7 @@ var getSmtPadRects = (footprint) => {
7289
7335
  };
7290
7336
 
7291
7337
  // lib/GullWingBody.tsx
7292
- import { Fragment as Fragment76, jsx as jsx85, jsxs as jsxs77 } from "react/jsx-runtime";
7338
+ import { Fragment as Fragment76, jsx as jsx85, jsxs as jsxs78 } from "react/jsx-runtime";
7293
7339
  var GullWingBody = ({
7294
7340
  bodyWidth,
7295
7341
  bodyLength: bodyLength10,
@@ -7301,7 +7347,7 @@ var GullWingBody = ({
7301
7347
  const centerX = pads.reduce((sum, pad) => sum + pad.x, 0) / (pads.length || 1);
7302
7348
  const centerY = pads.reduce((sum, pad) => sum + pad.y, 0) / (pads.length || 1);
7303
7349
  const leadHeight = bodyHeight * leadHeightRatio;
7304
- return /* @__PURE__ */ jsxs77(Fragment76, { children: [
7350
+ return /* @__PURE__ */ jsxs78(Fragment76, { children: [
7305
7351
  /* @__PURE__ */ jsx85(
7306
7352
  ChipBody,
7307
7353
  {
@@ -7341,7 +7387,7 @@ var GullWingBody = ({
7341
7387
 
7342
7388
  // lib/ParametricChip.tsx
7343
7389
  import { Cuboid as Cuboid55 } from "jscad-fiber";
7344
- import { Fragment as Fragment77, jsx as jsx86, jsxs as jsxs78 } from "react/jsx-runtime";
7390
+ import { Fragment as Fragment77, jsx as jsx86, jsxs as jsxs79 } from "react/jsx-runtime";
7345
7391
  var ParametricChip = ({
7346
7392
  padPitch,
7347
7393
  padHeight,
@@ -7352,7 +7398,7 @@ var ParametricChip = ({
7352
7398
  const height10 = width10;
7353
7399
  const terminatorWidth9 = fullLength10 * 0.2;
7354
7400
  const bodyLength10 = fullLength10 - terminatorWidth9 * 2;
7355
- return /* @__PURE__ */ jsxs78(Fragment77, { children: [
7401
+ return /* @__PURE__ */ jsxs79(Fragment77, { children: [
7356
7402
  /* @__PURE__ */ jsx86(
7357
7403
  Cuboid55,
7358
7404
  {
@@ -7389,7 +7435,7 @@ import {
7389
7435
  Subtract as Subtract19,
7390
7436
  Translate as Translate40
7391
7437
  } from "jscad-fiber";
7392
- import { Fragment as Fragment78, jsx as jsx87, jsxs as jsxs79 } from "react/jsx-runtime";
7438
+ import { Fragment as Fragment78, jsx as jsx87, jsxs as jsxs80 } from "react/jsx-runtime";
7393
7439
  var Led5050 = ({
7394
7440
  color = "#ffff00",
7395
7441
  bodyColor = "#ffffff",
@@ -7410,7 +7456,7 @@ var Led5050 = ({
7410
7456
  const cornerCutDepth = 0.3;
7411
7457
  const leadYPositions = [-1.7, 0, 1.7];
7412
7458
  const leadSides = [-1, 1];
7413
- return /* @__PURE__ */ jsxs79(Fragment78, { children: [
7459
+ return /* @__PURE__ */ jsxs80(Fragment78, { children: [
7414
7460
  leadYPositions.flatMap(
7415
7461
  (y) => leadSides.map((side) => /* @__PURE__ */ jsx87(
7416
7462
  Cuboid56,
@@ -7422,7 +7468,7 @@ var Led5050 = ({
7422
7468
  `${side}-${y}`
7423
7469
  ))
7424
7470
  ),
7425
- /* @__PURE__ */ jsx87(Colorize52, { color: bodyColor, children: /* @__PURE__ */ jsxs79(Subtract19, { children: [
7471
+ /* @__PURE__ */ jsx87(Colorize52, { color: bodyColor, children: /* @__PURE__ */ jsxs80(Subtract19, { children: [
7426
7472
  /* @__PURE__ */ jsx87(
7427
7473
  ChipBody,
7428
7474
  {
@@ -7471,7 +7517,7 @@ var Led5050 = ({
7471
7517
 
7472
7518
  // lib/Led2835.tsx
7473
7519
  import { Colorize as Colorize53, Cuboid as Cuboid57 } from "jscad-fiber";
7474
- import { Fragment as Fragment79, jsx as jsx88, jsxs as jsxs80 } from "react/jsx-runtime";
7520
+ import { Fragment as Fragment79, jsx as jsx88, jsxs as jsxs81 } from "react/jsx-runtime";
7475
7521
  var Led2835 = ({
7476
7522
  bodyWidth = 3.5,
7477
7523
  bodyLength: bodyLength10 = 2.8,
@@ -7490,7 +7536,7 @@ var Led2835 = ({
7490
7536
  const bodyCenterX = (pad1X + pad2X) / 2;
7491
7537
  const lensWidth = bodyWidth * 0.55;
7492
7538
  const lensLength = bodyLength10 * 0.55;
7493
- return /* @__PURE__ */ jsxs80(Fragment79, { children: [
7539
+ return /* @__PURE__ */ jsxs81(Fragment79, { children: [
7494
7540
  [
7495
7541
  { x: pad1X, w: pad1Width, key: "pad-1" },
7496
7542
  { x: pad2X, w: pad2Width, key: "pad-2" }
@@ -7532,7 +7578,7 @@ import {
7532
7578
  Subtract as Subtract20,
7533
7579
  Translate as Translate41
7534
7580
  } from "jscad-fiber";
7535
- import { Fragment as Fragment80, jsx as jsx89, jsxs as jsxs81 } from "react/jsx-runtime";
7581
+ import { Fragment as Fragment80, jsx as jsx89, jsxs as jsxs82 } from "react/jsx-runtime";
7536
7582
  var range2 = (length) => Array.from({ length }, (_, index) => index);
7537
7583
  var RJ45 = ({
7538
7584
  bodyWidth = 16.26,
@@ -7590,9 +7636,9 @@ var RJ45 = ({
7590
7636
  const contactY = frontY - frontDirection * Math.max(cavityDepth * 0.48, 1.2);
7591
7637
  const contactZ = openingCenterZ + openingHeight * 0.18;
7592
7638
  const frontLipY = frontY + frontDirection * shellThickness * 0.2;
7593
- return /* @__PURE__ */ jsxs81(Fragment80, { children: [
7594
- /* @__PURE__ */ jsxs81(Colorize54, { color: shellColor, children: [
7595
- /* @__PURE__ */ jsxs81(Subtract20, { children: [
7639
+ return /* @__PURE__ */ jsxs82(Fragment80, { children: [
7640
+ /* @__PURE__ */ jsxs82(Colorize54, { color: shellColor, children: [
7641
+ /* @__PURE__ */ jsxs82(Subtract20, { children: [
7596
7642
  /* @__PURE__ */ jsx89(
7597
7643
  Cuboid58,
7598
7644
  {
@@ -7644,8 +7690,8 @@ var RJ45 = ({
7644
7690
  `top-seam:${direction}`
7645
7691
  ))
7646
7692
  ] }),
7647
- /* @__PURE__ */ jsxs81(Colorize54, { color: housingColor, children: [
7648
- /* @__PURE__ */ jsxs81(Subtract20, { children: [
7693
+ /* @__PURE__ */ jsxs82(Colorize54, { color: housingColor, children: [
7694
+ /* @__PURE__ */ jsxs82(Subtract20, { children: [
7649
7695
  /* @__PURE__ */ jsx89(
7650
7696
  RoundedCuboid5,
7651
7697
  {
@@ -7699,7 +7745,7 @@ var RJ45 = ({
7699
7745
  `locator:${direction}`
7700
7746
  ))
7701
7747
  ] }),
7702
- /* @__PURE__ */ jsxs81(Colorize54, { color: contactColor, children: [
7748
+ /* @__PURE__ */ jsxs82(Colorize54, { color: contactColor, children: [
7703
7749
  signalPinPositions.map(({ x, y }, index) => /* @__PURE__ */ jsx89(
7704
7750
  Cylinder22,
7705
7751
  {
@@ -7737,7 +7783,7 @@ var RJ45 = ({
7737
7783
  `led-lead:${index}`
7738
7784
  ))
7739
7785
  ] }),
7740
- ledPins && /* @__PURE__ */ jsxs81(Fragment80, { children: [
7786
+ ledPins && /* @__PURE__ */ jsxs82(Fragment80, { children: [
7741
7787
  /* @__PURE__ */ jsx89(
7742
7788
  RoundedCuboid5,
7743
7789
  {
@@ -7770,7 +7816,7 @@ var RJ45 = ({
7770
7816
 
7771
7817
  // lib/DPAK.tsx
7772
7818
  import { Colorize as Colorize55, Cuboid as Cuboid59, Hull as Hull28 } from "jscad-fiber";
7773
- import { Fragment as Fragment81, jsx as jsx90, jsxs as jsxs82 } from "react/jsx-runtime";
7819
+ import { Fragment as Fragment81, jsx as jsx90, jsxs as jsxs83 } from "react/jsx-runtime";
7774
7820
  var DPAK = ({
7775
7821
  bodyWidth = 6.1,
7776
7822
  bodyLength: bodyLength10 = 6.5,
@@ -7792,7 +7838,7 @@ var DPAK = ({
7792
7838
  const bodyFrontX = bodyCenterX - bodyWidth / 2;
7793
7839
  const leadZ = tabThickness / 2;
7794
7840
  const leadThickness = 0.4;
7795
- return /* @__PURE__ */ jsxs82(Fragment81, { children: [
7841
+ return /* @__PURE__ */ jsxs83(Fragment81, { children: [
7796
7842
  /* @__PURE__ */ jsx90(Colorize55, { color: tabColor, children: /* @__PURE__ */ jsx90(
7797
7843
  Cuboid59,
7798
7844
  {
@@ -7808,7 +7854,7 @@ var DPAK = ({
7808
7854
  }
7809
7855
  ) }),
7810
7856
  [-1, 1].map((side) => {
7811
- return /* @__PURE__ */ jsxs82(Colorize55, { color: leadColor, children: [
7857
+ return /* @__PURE__ */ jsxs83(Colorize55, { color: leadColor, children: [
7812
7858
  /* @__PURE__ */ jsx90(
7813
7859
  Cuboid59,
7814
7860
  {
@@ -7820,7 +7866,7 @@ var DPAK = ({
7820
7866
  ]
7821
7867
  }
7822
7868
  ),
7823
- /* @__PURE__ */ jsxs82(Hull28, { children: [
7869
+ /* @__PURE__ */ jsxs83(Hull28, { children: [
7824
7870
  /* @__PURE__ */ jsx90(
7825
7871
  Cuboid59,
7826
7872
  {
@@ -7853,7 +7899,7 @@ import {
7853
7899
  RoundedCylinder as RoundedCylinder5,
7854
7900
  Subtract as Subtract21
7855
7901
  } from "jscad-fiber";
7856
- import { Fragment as Fragment82, jsx as jsx91, jsxs as jsxs83 } from "react/jsx-runtime";
7902
+ import { Fragment as Fragment82, jsx as jsx91, jsxs as jsxs84 } from "react/jsx-runtime";
7857
7903
  var ElectrolyticCapacitor = ({
7858
7904
  diameter = 6.3,
7859
7905
  heightToDiameterRatio = 1.4,
@@ -7871,7 +7917,7 @@ var ElectrolyticCapacitor = ({
7871
7917
  const canTop = canBottom + canHeight;
7872
7918
  const grooveWidth = Math.max(diameter * 0.06, 0.2);
7873
7919
  const grooveDepth = 0.3;
7874
- return /* @__PURE__ */ jsxs83(Fragment82, { children: [
7920
+ return /* @__PURE__ */ jsxs84(Fragment82, { children: [
7875
7921
  /* @__PURE__ */ jsx91(Colorize56, { color: baseColor, children: /* @__PURE__ */ jsx91(
7876
7922
  Cylinder23,
7877
7923
  {
@@ -7880,7 +7926,7 @@ var ElectrolyticCapacitor = ({
7880
7926
  center: [0, 0, baseHeight / 2]
7881
7927
  }
7882
7928
  ) }),
7883
- /* @__PURE__ */ jsx91(Colorize56, { color: sleeveColor, children: /* @__PURE__ */ jsxs83(Subtract21, { children: [
7929
+ /* @__PURE__ */ jsx91(Colorize56, { color: sleeveColor, children: /* @__PURE__ */ jsxs84(Subtract21, { children: [
7884
7930
  /* @__PURE__ */ jsx91(
7885
7931
  RoundedCylinder5,
7886
7932
  {
@@ -7918,7 +7964,7 @@ var ElectrolyticCapacitor = ({
7918
7964
 
7919
7965
  // lib/Potentiometer.tsx
7920
7966
  import { Colorize as Colorize57, Cuboid as Cuboid61, Cylinder as Cylinder24, Subtract as Subtract22 } from "jscad-fiber";
7921
- import { Fragment as Fragment83, jsx as jsx92, jsxs as jsxs84 } from "react/jsx-runtime";
7967
+ import { Fragment as Fragment83, jsx as jsx92, jsxs as jsxs85 } from "react/jsx-runtime";
7922
7968
  var Potentiometer = ({
7923
7969
  bodyWidth = 5.35,
7924
7970
  bodyLength: bodyLength10 = 14,
@@ -7936,7 +7982,7 @@ var Potentiometer = ({
7936
7982
  const adjusterHeight = 0.8;
7937
7983
  const adjusterZ = bodyHeight + adjusterHeight / 2;
7938
7984
  const slotWidth = Math.max(adjusterDiameter * 0.16, 0.3);
7939
- return /* @__PURE__ */ jsxs84(Fragment83, { children: [
7985
+ return /* @__PURE__ */ jsxs85(Fragment83, { children: [
7940
7986
  /* @__PURE__ */ jsx92(Colorize57, { color: bodyColor, children: /* @__PURE__ */ jsx92(
7941
7987
  Cuboid61,
7942
7988
  {
@@ -7944,7 +7990,7 @@ var Potentiometer = ({
7944
7990
  center: [bodyCenterX, 0, bodyHeight / 2]
7945
7991
  }
7946
7992
  ) }),
7947
- /* @__PURE__ */ jsx92(Colorize57, { color: adjusterColor, children: /* @__PURE__ */ jsxs84(Subtract22, { children: [
7993
+ /* @__PURE__ */ jsx92(Colorize57, { color: adjusterColor, children: /* @__PURE__ */ jsxs85(Subtract22, { children: [
7948
7994
  /* @__PURE__ */ jsx92(
7949
7995
  Cylinder24,
7950
7996
  {
@@ -7982,7 +8028,7 @@ var Potentiometer = ({
7982
8028
 
7983
8029
  // lib/SmdPushButton.tsx
7984
8030
  import { Colorize as Colorize58, Cuboid as Cuboid62, Cylinder as Cylinder25 } from "jscad-fiber";
7985
- import { Fragment as Fragment84, jsx as jsx93, jsxs as jsxs85 } from "react/jsx-runtime";
8031
+ import { Fragment as Fragment84, jsx as jsx93, jsxs as jsxs86 } from "react/jsx-runtime";
7986
8032
  var SmdPushButton = ({
7987
8033
  bodyWidth = 2.9,
7988
8034
  bodyLength: bodyLength10 = 3,
@@ -7998,7 +8044,7 @@ var SmdPushButton = ({
7998
8044
  leadColor = "#cccccc"
7999
8045
  }) => {
8000
8046
  const leadThickness = 0.15;
8001
- return /* @__PURE__ */ jsxs85(Fragment84, { children: [
8047
+ return /* @__PURE__ */ jsxs86(Fragment84, { children: [
8002
8048
  /* @__PURE__ */ jsx93(Colorize58, { color: bodyColor, children: /* @__PURE__ */ jsx93(
8003
8049
  Cuboid62,
8004
8050
  {
@@ -8033,7 +8079,7 @@ var SmdPushButton = ({
8033
8079
  // lib/SmdSlideSwitch.tsx
8034
8080
  import { fp as fp7 } from "@tscircuit/footprinter";
8035
8081
  import { Colorize as Colorize59, Cuboid as Cuboid63, Cylinder as Cylinder26, Rotate as Rotate19, Subtract as Subtract23 } from "jscad-fiber";
8036
- import { jsx as jsx94, jsxs as jsxs86 } from "react/jsx-runtime";
8082
+ import { jsx as jsx94, jsxs as jsxs87 } from "react/jsx-runtime";
8037
8083
  var SmdSlideSwitch = ({
8038
8084
  footprint = "smdslideswitch7",
8039
8085
  position = 0
@@ -8051,8 +8097,8 @@ var SmdSlideSwitch = ({
8051
8097
  throw new Error("SmdSlideSwitch needs signal pads and four mounting pads");
8052
8098
  const angle = Math.atan2(target[1].y - target[0].y, target[1].x - target[0].x) - Math.atan2(pads[1].y - pads[0].y, pads[1].x - pads[0].x);
8053
8099
  const width10 = params.mpx - 0.5, depth = 2.7, height10 = params.mpx > 6 ? 1.5 : 1.4, y = params.mounty;
8054
- return /* @__PURE__ */ jsxs86(Rotate19, { rotation: [0, 0, angle], children: [
8055
- /* @__PURE__ */ jsx94(Colorize59, { color: "#aeb4ba", children: /* @__PURE__ */ jsxs86(Subtract23, { children: [
8100
+ return /* @__PURE__ */ jsxs87(Rotate19, { rotation: [0, 0, angle], children: [
8101
+ /* @__PURE__ */ jsx94(Colorize59, { color: "#aeb4ba", children: /* @__PURE__ */ jsxs87(Subtract23, { children: [
8056
8102
  /* @__PURE__ */ jsx94(Cuboid63, { size: [width10, depth, height10], center: [0, y, height10 / 2] }),
8057
8103
  /* @__PURE__ */ jsx94(
8058
8104
  Cuboid63,
@@ -8063,7 +8109,7 @@ var SmdSlideSwitch = ({
8063
8109
  ),
8064
8110
  /* @__PURE__ */ jsx94(Cuboid63, { size: [2.7, 0.5, 0.9], center: [0, y - depth / 2, 0.65] })
8065
8111
  ] }) }),
8066
- /* @__PURE__ */ jsxs86(Colorize59, { color: "#28292c", children: [
8112
+ /* @__PURE__ */ jsxs87(Colorize59, { color: "#28292c", children: [
8067
8113
  /* @__PURE__ */ jsx94(
8068
8114
  Cuboid63,
8069
8115
  {
@@ -8112,7 +8158,7 @@ var SmdSlideSwitch = ({
8112
8158
 
8113
8159
  // lib/SOT-563.tsx
8114
8160
  import { Cuboid as Cuboid64, Translate as Translate43, Rotate as Rotate20, Colorize as Colorize60 } from "jscad-fiber";
8115
- import { Fragment as Fragment85, jsx as jsx95, jsxs as jsxs87 } from "react/jsx-runtime";
8161
+ import { Fragment as Fragment85, jsx as jsx95, jsxs as jsxs88 } from "react/jsx-runtime";
8116
8162
  var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
8117
8163
  const bodyWidth = 1.2;
8118
8164
  const bodyLength10 = 1.6;
@@ -8122,7 +8168,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
8122
8168
  const leadHeight = 0.13;
8123
8169
  const leadSpacing = 0.5;
8124
8170
  const bodyZOffset = -0.4;
8125
- return /* @__PURE__ */ jsxs87(Fragment85, { children: [
8171
+ return /* @__PURE__ */ jsxs88(Fragment85, { children: [
8126
8172
  /* @__PURE__ */ jsx95(Rotate20, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx95(Translate43, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx95(Colorize60, { color: "grey", children: /* @__PURE__ */ jsx95(Cuboid64, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
8127
8173
  [-1, 0, 1].flatMap((yOffset, index) => [
8128
8174
  // Left lead
@@ -8162,7 +8208,7 @@ import {
8162
8208
  Subtract as Subtract24,
8163
8209
  Translate as Translate44
8164
8210
  } from "jscad-fiber";
8165
- import { jsx as jsx96, jsxs as jsxs88 } from "react/jsx-runtime";
8211
+ import { jsx as jsx96, jsxs as jsxs89 } from "react/jsx-runtime";
8166
8212
  var Capsule = ({
8167
8213
  width: width10,
8168
8214
  height: height10,
@@ -8190,8 +8236,8 @@ var UsbCMidmount = ({
8190
8236
  "UsbCMidmount requires four mounting slots and a positive body depth"
8191
8237
  );
8192
8238
  const tabBottom = -0.9, tabTop = centerZ + 0.1;
8193
- return /* @__PURE__ */ jsxs88(Rotate21, { rotation: [0, 0, angle], children: [
8194
- /* @__PURE__ */ jsx96(Colorize61, { color: "#b8bdc4", children: /* @__PURE__ */ jsx96(Translate44, { offset: [0, centerY, centerZ], children: /* @__PURE__ */ jsxs88(Subtract24, { children: [
8239
+ return /* @__PURE__ */ jsxs89(Rotate21, { rotation: [0, 0, angle], children: [
8240
+ /* @__PURE__ */ jsx96(Colorize61, { color: "#b8bdc4", children: /* @__PURE__ */ jsx96(Translate44, { offset: [0, centerY, centerZ], children: /* @__PURE__ */ jsxs89(Subtract24, { children: [
8195
8241
  /* @__PURE__ */ jsx96(Capsule, { width: width10, height: height10, depth }),
8196
8242
  /* @__PURE__ */ jsx96(
8197
8243
  Capsule,
@@ -8202,7 +8248,7 @@ var UsbCMidmount = ({
8202
8248
  }
8203
8249
  )
8204
8250
  ] }) }) }),
8205
- /* @__PURE__ */ jsxs88(Colorize61, { color: "#242529", children: [
8251
+ /* @__PURE__ */ jsxs89(Colorize61, { color: "#242529", children: [
8206
8252
  /* @__PURE__ */ jsx96(
8207
8253
  Cuboid65,
8208
8254
  {
@@ -8223,7 +8269,7 @@ var UsbCMidmount = ({
8223
8269
  ) : null
8224
8270
  )
8225
8271
  ] }),
8226
- /* @__PURE__ */ jsxs88(Colorize61, { color: "#d3ad57", children: [
8272
+ /* @__PURE__ */ jsxs89(Colorize61, { color: "#d3ad57", children: [
8227
8273
  [-1, 1].flatMap(
8228
8274
  (side) => [-2.75, -2.25, -1.25, -0.25, 0.25, 1.25, 2.25, 2.75].map((x) => /* @__PURE__ */ jsx96(
8229
8275
  Cuboid65,
@@ -8265,7 +8311,7 @@ var UsbCMidmount = ({
8265
8311
  // lib/SOT143.tsx
8266
8312
  import { fp as fp9 } from "@tscircuit/footprinter";
8267
8313
  import { Rotate as Rotate22 } from "jscad-fiber";
8268
- import { jsx as jsx97, jsxs as jsxs89 } from "react/jsx-runtime";
8314
+ import { jsx as jsx97, jsxs as jsxs90 } from "react/jsx-runtime";
8269
8315
  var getPads = (footprint) => fp9.string(footprint).circuitJson().filter(
8270
8316
  (element) => element.type === "pcb_smtpad" && (element.shape === "rect" || element.shape === "rotated_rect")
8271
8317
  ).map((pad) => ({ x: pad.x, y: pad.y, pin: pad.port_hints?.[0] }));
@@ -8284,7 +8330,7 @@ var SOT143 = ({ footprint = "sot143" }) => {
8284
8330
  x: pad.x * Math.cos(angle) + pad.y * Math.sin(angle),
8285
8331
  y: -pad.x * Math.sin(angle) + pad.y * Math.cos(angle)
8286
8332
  }));
8287
- return /* @__PURE__ */ jsxs89(Rotate22, { rotation: [0, 0, angle], children: [
8333
+ return /* @__PURE__ */ jsxs90(Rotate22, { rotation: [0, 0, angle], children: [
8288
8334
  /* @__PURE__ */ jsx97(
8289
8335
  ChipBody,
8290
8336
  {
@@ -8320,7 +8366,7 @@ var SOT143 = ({ footprint = "sot143" }) => {
8320
8366
  // lib/FlexScreen.tsx
8321
8367
  import { Colorize as Colorize62, Rotate as Rotate23, RoundedCuboid as RoundedCuboid6, Translate as Translate45 } from "jscad-fiber";
8322
8368
  import { Fragment as Fragment86 } from "react";
8323
- import { Fragment as Fragment87, jsx as jsx98, jsxs as jsxs90 } from "react/jsx-runtime";
8369
+ import { Fragment as Fragment87, jsx as jsx98, jsxs as jsxs91 } from "react/jsx-runtime";
8324
8370
  var DEFAULT_ASPECT_RATIO = 16 / 9;
8325
8371
  var DEFAULT_DIAGONAL = 40;
8326
8372
  var EPSILON = 1e-6;
@@ -8777,7 +8823,7 @@ var FlexScreen = (props) => {
8777
8823
  );
8778
8824
  const conductorNormalOffset = (flexCableThickness + conductorThickness) / 2;
8779
8825
  const stiffenerNormalOffset = -(flexCableThickness + stiffenerThickness) / 2;
8780
- const assembly = /* @__PURE__ */ jsxs90(Fragment87, { children: [
8826
+ const assembly = /* @__PURE__ */ jsxs91(Fragment87, { children: [
8781
8827
  showFlexCable && /* @__PURE__ */ jsx98(
8782
8828
  CableStrip,
8783
8829
  {
@@ -8787,7 +8833,7 @@ var FlexScreen = (props) => {
8787
8833
  color: flexCableColor
8788
8834
  }
8789
8835
  ),
8790
- showFlexCable && showStiffeners && resolvedStiffenerLength > EPSILON && /* @__PURE__ */ jsxs90(Fragment87, { children: [
8836
+ showFlexCable && showStiffeners && resolvedStiffenerLength > EPSILON && /* @__PURE__ */ jsxs91(Fragment87, { children: [
8791
8837
  /* @__PURE__ */ jsx98(
8792
8838
  CableStrip,
8793
8839
  {
@@ -8809,7 +8855,7 @@ var FlexScreen = (props) => {
8809
8855
  }
8810
8856
  )
8811
8857
  ] }),
8812
- showFlexCable && showConductors && contactLength > EPSILON && conductorOffsets.map((acrossOffset, index) => /* @__PURE__ */ jsxs90(Fragment86, { children: [
8858
+ showFlexCable && showConductors && contactLength > EPSILON && conductorOffsets.map((acrossOffset, index) => /* @__PURE__ */ jsxs91(Fragment86, { children: [
8813
8859
  /* @__PURE__ */ jsx98(
8814
8860
  CableStrip,
8815
8861
  {
@@ -9548,7 +9594,7 @@ var Footprinter3d = ({ footprint }) => {
9548
9594
 
9549
9595
  // lib/utils/FlatLeadDiode.tsx
9550
9596
  import { Colorize as Colorize63, Cuboid as Cuboid67, Hull as Hull30, Subtract as Subtract25 } from "jscad-fiber";
9551
- import { Fragment as Fragment89, jsx as jsx100, jsxs as jsxs91 } from "react/jsx-runtime";
9597
+ import { Fragment as Fragment89, jsx as jsx100, jsxs as jsxs92 } from "react/jsx-runtime";
9552
9598
  function createFlatLeadDiode(p) {
9553
9599
  const dimensions = [
9554
9600
  "bodyLength",
@@ -9576,7 +9622,7 @@ function createFlatLeadDiode(p) {
9576
9622
  "Diode dimensions leave disconnected terminals or an invalid mold"
9577
9623
  );
9578
9624
  const slice = Math.min(p.bodyHeight - p.standoff, p.bodyWidth) / 100;
9579
- const body = /* @__PURE__ */ jsxs91(Hull30, { children: [
9625
+ const body = /* @__PURE__ */ jsxs92(Hull30, { children: [
9580
9626
  /* @__PURE__ */ jsx100(
9581
9627
  Cuboid67,
9582
9628
  {
@@ -9607,12 +9653,12 @@ function createFlatLeadDiode(p) {
9607
9653
  ]
9608
9654
  }
9609
9655
  );
9610
- return /* @__PURE__ */ jsxs91(Fragment89, { children: [
9611
- /* @__PURE__ */ jsx100(Colorize63, { color: "#25272a", children: p.markingWidth > 0 ? /* @__PURE__ */ jsxs91(Subtract25, { children: [
9656
+ return /* @__PURE__ */ jsxs92(Fragment89, { children: [
9657
+ /* @__PURE__ */ jsx100(Colorize63, { color: "#25272a", children: p.markingWidth > 0 ? /* @__PURE__ */ jsxs92(Subtract25, { children: [
9612
9658
  body,
9613
9659
  stripe
9614
9660
  ] }) : body }),
9615
- /* @__PURE__ */ jsxs91(Colorize63, { color: "#c7c9cd", children: [
9661
+ /* @__PURE__ */ jsxs92(Colorize63, { color: "#c7c9cd", children: [
9616
9662
  /* @__PURE__ */ jsx100(
9617
9663
  Cuboid67,
9618
9664
  {
@@ -9676,7 +9722,7 @@ var SOD323HE = (props) => createFlatLeadDiode({
9676
9722
 
9677
9723
  // lib/SOT89.tsx
9678
9724
  import { Colorize as Colorize64, Cuboid as Cuboid68, Translate as Translate47, Hull as Hull31, Union as Union24 } from "jscad-fiber";
9679
- import { Fragment as Fragment90, jsx as jsx101, jsxs as jsxs92 } from "react/jsx-runtime";
9725
+ import { Fragment as Fragment90, jsx as jsx101, jsxs as jsxs93 } from "react/jsx-runtime";
9680
9726
  function SOT89(p) {
9681
9727
  for (const k of [
9682
9728
  "bodyWidth",
@@ -9698,8 +9744,8 @@ function SOT89(p) {
9698
9744
  const front = -p.bodyWidth / 2, rear = p.bodyWidth / 2 + p.rearExtension, tabFront = rear - p.tabLength;
9699
9745
  const slice = Math.min(2e-3, (p.bodyHeight - p.standoff) / 100);
9700
9746
  const block = (x, y, length, width10) => /* @__PURE__ */ jsx101(Translate47, { offset: [x, y, p.terminalThickness / 2], children: /* @__PURE__ */ jsx101(Cuboid68, { size: [length, width10, p.terminalThickness] }) });
9701
- return /* @__PURE__ */ jsxs92(Fragment90, { children: [
9702
- /* @__PURE__ */ jsx101(Colorize64, { color: "#353535", children: /* @__PURE__ */ jsxs92(Hull31, { children: [
9747
+ return /* @__PURE__ */ jsxs93(Fragment90, { children: [
9748
+ /* @__PURE__ */ jsx101(Colorize64, { color: "#353535", children: /* @__PURE__ */ jsxs93(Hull31, { children: [
9703
9749
  /* @__PURE__ */ jsx101(Translate47, { z: p.standoff + slice / 2, children: /* @__PURE__ */ jsx101(Cuboid68, { size: [p.bodyWidth, p.bodyLength, slice] }) }),
9704
9750
  /* @__PURE__ */ jsx101(Translate47, { z: p.bodyHeight - slice / 2, children: /* @__PURE__ */ jsx101(
9705
9751
  Cuboid68,
@@ -9720,7 +9766,7 @@ function SOT89(p) {
9720
9766
  p.leadWidth
9721
9767
  )
9722
9768
  ) }),
9723
- /* @__PURE__ */ jsx101(Colorize64, { color: "#bfc1c4", children: /* @__PURE__ */ jsxs92(Union24, { children: [
9769
+ /* @__PURE__ */ jsx101(Colorize64, { color: "#bfc1c4", children: /* @__PURE__ */ jsxs93(Union24, { children: [
9724
9770
  block(
9725
9771
  (front - p.leadLength + tabFront + 0.15) / 2,
9726
9772
  0,
@@ -9734,7 +9780,7 @@ function SOT89(p) {
9734
9780
 
9735
9781
  // lib/TO277.tsx
9736
9782
  import { Colorize as Colorize65, Cuboid as Cuboid69, Translate as Translate48, Union as Union25 } from "jscad-fiber";
9737
- import { Fragment as Fragment91, jsx as jsx102, jsxs as jsxs93 } from "react/jsx-runtime";
9783
+ import { Fragment as Fragment91, jsx as jsx102, jsxs as jsxs94 } from "react/jsx-runtime";
9738
9784
  function TO277(p) {
9739
9785
  for (const k of [
9740
9786
  "bodyWidth",
@@ -9758,7 +9804,7 @@ function TO277(p) {
9758
9804
  if (p.terminalThickness >= p.bodyHeight || p.terminalSpan < p.bodyWidth || p.pitch + p.leadWidth >= p.bodyLength || p.leadWidth >= p.pitch || front + p.leadLength >= tabFront || front + p.leadLength <= -p.bodyWidth / 2 || tabFront >= p.bodyWidth / 2 || p.tabNeckWidth > p.tabWidth || p.tabWidth > p.bodyLength || p.tabBarWidth < p.tabWidth || p.tabNeckLength + p.tabBarLength >= p.tabLength)
9759
9805
  throw new Error("Invalid TO-277 terminal geometry or clearance");
9760
9806
  const block = (x, y, length, width10) => /* @__PURE__ */ jsx102(Translate48, { offset: [x, y, p.terminalThickness / 2], children: /* @__PURE__ */ jsx102(Cuboid69, { size: [length, width10, p.terminalThickness] }) });
9761
- return /* @__PURE__ */ jsxs93(Fragment91, { children: [
9807
+ return /* @__PURE__ */ jsxs94(Fragment91, { children: [
9762
9808
  /* @__PURE__ */ jsx102(Colorize65, { color: "#353535", children: /* @__PURE__ */ jsx102(Translate48, { z: (p.bodyHeight + p.terminalThickness / 2) / 2, children: /* @__PURE__ */ jsx102(
9763
9809
  Cuboid69,
9764
9810
  {
@@ -9777,7 +9823,7 @@ function TO277(p) {
9777
9823
  p.leadWidth
9778
9824
  )
9779
9825
  ) }),
9780
- /* @__PURE__ */ jsx102(Colorize65, { color: "#bfc1c4", children: /* @__PURE__ */ jsxs93(Union25, { children: [
9826
+ /* @__PURE__ */ jsx102(Colorize65, { color: "#bfc1c4", children: /* @__PURE__ */ jsxs94(Union25, { children: [
9781
9827
  block(
9782
9828
  tabFront + (p.tabLength - p.tabNeckLength) / 2,
9783
9829
  0,
@@ -9803,7 +9849,7 @@ function TO277(p) {
9803
9849
  // lib/TantalumCapacitor.tsx
9804
9850
  import { fp as fp11 } from "@tscircuit/footprinter";
9805
9851
  import { Colorize as Colorize66, Cuboid as Cuboid70, Hull as Hull32, Rotate as Rotate25, Translate as Translate49, Union as Union26 } from "jscad-fiber";
9806
- import { jsx as jsx103, jsxs as jsxs94 } from "react/jsx-runtime";
9852
+ import { jsx as jsx103, jsxs as jsxs95 } from "react/jsx-runtime";
9807
9853
  var tantalumCases = {
9808
9854
  A: [3.2, 1.6, 1.6, 1.2, 0.8],
9809
9855
  B: [3.5, 2.8, 1.9, 2.2, 0.8],
@@ -9823,8 +9869,8 @@ var TantalumCapacitor = ({
9823
9869
  if (pads.length !== 2) throw new Error("TantalumCapacitor requires two pads");
9824
9870
  const [a, b] = pads;
9825
9871
  const angle = Math.atan2(b.y - a.y, b.x - a.x);
9826
- return /* @__PURE__ */ jsx103(Translate49, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, 0], children: /* @__PURE__ */ jsxs94(Rotate25, { rotation: [0, 0, angle], children: [
9827
- /* @__PURE__ */ jsx103(Colorize66, { color: "#d5a64e", children: /* @__PURE__ */ jsxs94(Hull32, { children: [
9872
+ return /* @__PURE__ */ jsx103(Translate49, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, 0], children: /* @__PURE__ */ jsxs95(Rotate25, { rotation: [0, 0, angle], children: [
9873
+ /* @__PURE__ */ jsx103(Colorize66, { color: "#d5a64e", children: /* @__PURE__ */ jsxs95(Hull32, { children: [
9828
9874
  /* @__PURE__ */ jsx103(Cuboid70, { size: [length - 0.1, width10, 0.02], center: [0, 0, 0.21] }),
9829
9875
  /* @__PURE__ */ jsx103(
9830
9876
  Cuboid70,
@@ -9834,7 +9880,7 @@ var TantalumCapacitor = ({
9834
9880
  }
9835
9881
  )
9836
9882
  ] }) }),
9837
- /* @__PURE__ */ jsx103(Colorize66, { color: "#c5c8cb", children: [-1, 1].map((side) => /* @__PURE__ */ jsxs94(Union26, { children: [
9883
+ /* @__PURE__ */ jsx103(Colorize66, { color: "#c5c8cb", children: [-1, 1].map((side) => /* @__PURE__ */ jsxs95(Union26, { children: [
9838
9884
  /* @__PURE__ */ jsx103(
9839
9885
  Cuboid70,
9840
9886
  {
@@ -9864,7 +9910,7 @@ var TantalumCapacitor = ({
9864
9910
  // lib/TwoPadCrystal.tsx
9865
9911
  import { fp as fp12 } from "@tscircuit/footprinter";
9866
9912
  import { Colorize as Colorize67, Cuboid as Cuboid71, RoundedCuboid as RoundedCuboid7, Rotate as Rotate26, Translate as Translate50 } from "jscad-fiber";
9867
- import { jsx as jsx104, jsxs as jsxs95 } from "react/jsx-runtime";
9913
+ import { jsx as jsx104, jsxs as jsxs96 } from "react/jsx-runtime";
9868
9914
  var twoPadCrystalPackages = {
9869
9915
  FC135: [3.2, 1.5, 0.9, 0.7],
9870
9916
  FC12M: [2.05, 1.2, 0.6, 0.5],
@@ -9884,7 +9930,7 @@ var TwoPadCrystal = ({
9884
9930
  if (pads.length !== 2) throw new Error("TwoPadCrystal requires two pads");
9885
9931
  const [a, b] = pads;
9886
9932
  const angle = Math.atan2(b.y - a.y, b.x - a.x);
9887
- return /* @__PURE__ */ jsx104(Translate50, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, 0], children: /* @__PURE__ */ jsxs95(Rotate26, { rotation: [0, 0, angle], children: [
9933
+ return /* @__PURE__ */ jsx104(Translate50, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, 0], children: /* @__PURE__ */ jsxs96(Rotate26, { rotation: [0, 0, angle], children: [
9888
9934
  /* @__PURE__ */ jsx104(Colorize67, { color: "#e0dcca", children: /* @__PURE__ */ jsx104(Cuboid71, { size: [length, width10, 0.2], center: [0, 0, 0.13] }) }),
9889
9935
  /* @__PURE__ */ jsx104(Colorize67, { color: "#acb1b8", children: /* @__PURE__ */ jsx104(
9890
9936
  RoundedCuboid7,
@@ -9908,7 +9954,7 @@ var TwoPadCrystal = ({
9908
9954
  // lib/CeramicChipAntenna.tsx
9909
9955
  import { fp as fp13 } from "@tscircuit/footprinter";
9910
9956
  import { Colorize as Colorize68, Cuboid as Cuboid72, Rotate as Rotate27, Translate as Translate51 } from "jscad-fiber";
9911
- import { jsx as jsx105, jsxs as jsxs96 } from "react/jsx-runtime";
9957
+ import { jsx as jsx105, jsxs as jsxs97 } from "react/jsx-runtime";
9912
9958
  var CeramicChipAntenna = ({
9913
9959
  footprint = "smdpads2_p5.4mm_pw1mm_ph2mm"
9914
9960
  }) => {
@@ -9918,7 +9964,7 @@ var CeramicChipAntenna = ({
9918
9964
  if (pads.length !== 2) throw new Error("CeramicChipAntenna requires two pads");
9919
9965
  const [a, b] = pads;
9920
9966
  const angle = Math.atan2(b.y - a.y, b.x - a.x);
9921
- return /* @__PURE__ */ jsx105(Translate51, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, 0], children: /* @__PURE__ */ jsxs96(Rotate27, { rotation: [0, 0, angle], children: [
9967
+ return /* @__PURE__ */ jsx105(Translate51, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, 0], children: /* @__PURE__ */ jsxs97(Rotate27, { rotation: [0, 0, angle], children: [
9922
9968
  /* @__PURE__ */ jsx105(
9923
9969
  Cuboid72,
9924
9970
  {
@@ -9950,7 +9996,7 @@ var CeramicChipAntenna = ({
9950
9996
  // lib/MelfResistor.tsx
9951
9997
  import { fp as fp14 } from "@tscircuit/footprinter";
9952
9998
  import { Colorize as Colorize69, Cylinder as Cylinder28, Rotate as Rotate28, Translate as Translate52 } from "jscad-fiber";
9953
- import { jsx as jsx106, jsxs as jsxs97 } from "react/jsx-runtime";
9999
+ import { jsx as jsx106, jsxs as jsxs98 } from "react/jsx-runtime";
9954
10000
  var melfResistorSizes = {
9955
10001
  "0102": [2.2, 1.1, 0.4],
9956
10002
  "0204": [3.6, 1.4, 0.75],
@@ -9969,7 +10015,7 @@ var MelfResistor = ({
9969
10015
  if (pads.length !== 2) throw new Error("MelfResistor requires two pads");
9970
10016
  const [a, b] = pads;
9971
10017
  const angle = Math.atan2(b.y - a.y, b.x - a.x);
9972
- return /* @__PURE__ */ jsx106(Translate52, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, diameter / 2], children: /* @__PURE__ */ jsx106(Rotate28, { rotation: [0, 0, angle], children: /* @__PURE__ */ jsxs97(Rotate28, { rotation: [0, Math.PI / 2, 0], children: [
10018
+ return /* @__PURE__ */ jsx106(Translate52, { offset: [(a.x + b.x) / 2, (a.y + b.y) / 2, diameter / 2], children: /* @__PURE__ */ jsx106(Rotate28, { rotation: [0, 0, angle], children: /* @__PURE__ */ jsxs98(Rotate28, { rotation: [0, Math.PI / 2, 0], children: [
9973
10019
  /* @__PURE__ */ jsx106(Colorize69, { color: "#426d63", children: /* @__PURE__ */ jsx106(
9974
10020
  Cylinder28,
9975
10021
  {