jscad-electronics 0.0.66 → 0.0.68

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/vanilla.js CHANGED
@@ -1515,18 +1515,6 @@ var SOD523 = () => {
1515
1515
  const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
1516
1516
  const taperOffset = 0.2;
1517
1517
  const straightHeight = bodyHeight * 0.5;
1518
- const Body = /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
1519
- /* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
1520
- /* @__PURE__ */ jsxs(Hull, { children: [
1521
- /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, 0.01] }) }),
1522
- /* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
1523
- Cuboid,
1524
- {
1525
- size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
1526
- }
1527
- ) })
1528
- ] })
1529
- ] }) });
1530
1518
  return /* @__PURE__ */ jsxs(Fragment2, { children: [
1531
1519
  /* @__PURE__ */ jsx(
1532
1520
  Cuboid,
@@ -1544,7 +1532,18 @@ var SOD523 = () => {
1544
1532
  center: [rightPadCenterX, 0, padThickness / 2]
1545
1533
  }
1546
1534
  ),
1547
- Body
1535
+ /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
1536
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
1537
+ /* @__PURE__ */ jsxs(Hull, { children: [
1538
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, 0.01] }) }),
1539
+ /* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
1540
+ Cuboid,
1541
+ {
1542
+ size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
1543
+ }
1544
+ ) })
1545
+ ] })
1546
+ ] }) })
1548
1547
  ] });
1549
1548
  };
1550
1549
 
@@ -1848,6 +1847,58 @@ var SOD123F = () => {
1848
1847
  ] });
1849
1848
  };
1850
1849
 
1850
+ // lib/sod-123FL.tsx
1851
+ var SOD123FL = () => {
1852
+ const fullWidth = 2.75;
1853
+ const bodyLength10 = 1.8;
1854
+ const bodyHeight = 1;
1855
+ const padWidth = 0.9;
1856
+ const padLength = 1;
1857
+ const padThickness = 0.2;
1858
+ const leftPadCenterX = -(fullWidth / 2 - 0.075);
1859
+ const rightPadCenterX = fullWidth / 2 - 0.075;
1860
+ const taperOffset = 0.4;
1861
+ const straightHeight = bodyHeight * 0.2;
1862
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
1863
+ /* @__PURE__ */ jsx(
1864
+ Cuboid,
1865
+ {
1866
+ color: "#ccc",
1867
+ size: [padLength, padWidth, padThickness],
1868
+ center: [leftPadCenterX, 0, padThickness / 2]
1869
+ }
1870
+ ),
1871
+ /* @__PURE__ */ jsx(
1872
+ Cuboid,
1873
+ {
1874
+ color: "#ccc",
1875
+ size: [padLength, padWidth, padThickness],
1876
+ center: [rightPadCenterX, 0, padThickness / 2]
1877
+ }
1878
+ ),
1879
+ /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
1880
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [fullWidth, bodyLength10, straightHeight] }) }),
1881
+ /* @__PURE__ */ jsxs(Hull, { children: [
1882
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [fullWidth, bodyLength10, 0.01] }) }),
1883
+ /* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
1884
+ Cuboid,
1885
+ {
1886
+ size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
1887
+ }
1888
+ ) })
1889
+ ] })
1890
+ ] }) }),
1891
+ /* @__PURE__ */ jsx(
1892
+ Cuboid,
1893
+ {
1894
+ color: "#777",
1895
+ size: [padThickness, bodyLength10 - taperOffset, 0.01],
1896
+ center: [leftPadCenterX + taperOffset, 0, bodyHeight]
1897
+ }
1898
+ )
1899
+ ] });
1900
+ };
1901
+
1851
1902
  // lib/SOD-923.tsx
1852
1903
  var SOD923 = () => {
1853
1904
  const fullWidth = 0.8;
@@ -2010,6 +2061,8 @@ var Footprinter3d = ({ footprint }) => {
2010
2061
  return /* @__PURE__ */ jsx(SMF, {});
2011
2062
  case "sod123f":
2012
2063
  return /* @__PURE__ */ jsx(SOD123F, {});
2064
+ case "sod123fl":
2065
+ return /* @__PURE__ */ jsx(SOD123FL, {});
2013
2066
  case "sod923":
2014
2067
  return /* @__PURE__ */ jsx(SOD923, {});
2015
2068
  }