jscad-electronics 0.0.67 → 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/index.d.ts +3 -1
- package/dist/index.js +132 -75
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +54 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/vanilla.js
CHANGED
|
@@ -1847,6 +1847,58 @@ var SOD123F = () => {
|
|
|
1847
1847
|
] });
|
|
1848
1848
|
};
|
|
1849
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
|
+
|
|
1850
1902
|
// lib/SOD-923.tsx
|
|
1851
1903
|
var SOD923 = () => {
|
|
1852
1904
|
const fullWidth = 0.8;
|
|
@@ -2009,6 +2061,8 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2009
2061
|
return /* @__PURE__ */ jsx(SMF, {});
|
|
2010
2062
|
case "sod123f":
|
|
2011
2063
|
return /* @__PURE__ */ jsx(SOD123F, {});
|
|
2064
|
+
case "sod123fl":
|
|
2065
|
+
return /* @__PURE__ */ jsx(SOD123FL, {});
|
|
2012
2066
|
case "sod923":
|
|
2013
2067
|
return /* @__PURE__ */ jsx(SOD923, {});
|
|
2014
2068
|
}
|