jscad-electronics 0.0.95 → 0.0.96

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
@@ -2147,6 +2147,80 @@ var SOD123FL = () => {
2147
2147
  ] });
2148
2148
  };
2149
2149
 
2150
+ // lib/sod-128.tsx
2151
+ var SOD128 = () => {
2152
+ const fullWidth = 3.8;
2153
+ const bodyLength10 = 2.5;
2154
+ const bodyHeight = 1;
2155
+ const padWidth = 1.75;
2156
+ const padLength = 0.9;
2157
+ const padThickness = 0.2;
2158
+ const leftPadCenterX = -(fullWidth / 2 - 0.075);
2159
+ const rightPadCenterX = fullWidth / 2 - 0.075;
2160
+ const taperOffset = 0.4;
2161
+ const lowerTaperOffset = 0.05;
2162
+ const straightHeight = bodyHeight * 0.2;
2163
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
2164
+ /* @__PURE__ */ jsx(
2165
+ Cuboid,
2166
+ {
2167
+ color: "#ccc",
2168
+ size: [padLength, padWidth, padThickness],
2169
+ center: [leftPadCenterX, 0, padThickness / 2]
2170
+ }
2171
+ ),
2172
+ /* @__PURE__ */ jsx(
2173
+ Cuboid,
2174
+ {
2175
+ color: "#ccc",
2176
+ size: [padLength, padWidth, padThickness],
2177
+ center: [rightPadCenterX, 0, padThickness / 2]
2178
+ }
2179
+ ),
2180
+ /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
2181
+ /* @__PURE__ */ jsxs(Hull, { children: [
2182
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(
2183
+ Cuboid,
2184
+ {
2185
+ size: [
2186
+ fullWidth - lowerTaperOffset / 2,
2187
+ bodyLength10 - lowerTaperOffset / 2,
2188
+ 0.01
2189
+ ]
2190
+ }
2191
+ ) }),
2192
+ /* @__PURE__ */ jsx(Translate, { z: 0.01, children: /* @__PURE__ */ jsx(
2193
+ Cuboid,
2194
+ {
2195
+ size: [
2196
+ fullWidth - lowerTaperOffset,
2197
+ bodyLength10 - lowerTaperOffset,
2198
+ 0.01
2199
+ ]
2200
+ }
2201
+ ) })
2202
+ ] }),
2203
+ /* @__PURE__ */ jsxs(Hull, { children: [
2204
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [fullWidth, bodyLength10, 0.01] }) }),
2205
+ /* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
2206
+ Cuboid,
2207
+ {
2208
+ size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
2209
+ }
2210
+ ) })
2211
+ ] })
2212
+ ] }) }),
2213
+ /* @__PURE__ */ jsx(
2214
+ Cuboid,
2215
+ {
2216
+ color: "#777",
2217
+ size: [padThickness * 2.7, bodyLength10 - taperOffset, 0.02],
2218
+ center: [leftPadCenterX + taperOffset, 0, bodyHeight]
2219
+ }
2220
+ )
2221
+ ] });
2222
+ };
2223
+
2150
2224
  // lib/SOD-923.tsx
2151
2225
  var SOD923 = () => {
2152
2226
  const fullWidth = 0.8;
@@ -3525,6 +3599,8 @@ var Footprinter3d = ({ footprint }) => {
3525
3599
  return /* @__PURE__ */ jsx(SOD123F, {});
3526
3600
  case "sod123fl":
3527
3601
  return /* @__PURE__ */ jsx(SOD123FL, {});
3602
+ case "sod128":
3603
+ return /* @__PURE__ */ jsx(SOD128, {});
3528
3604
  case "sod923":
3529
3605
  return /* @__PURE__ */ jsx(SOD923, {});
3530
3606
  case "hc49":