jscad-electronics 0.0.96 → 0.0.97

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-123W.tsx
2151
+ var SOD123W = () => {
2152
+ const fullWidth = 2.6;
2153
+ const bodyLength10 = 1.7;
2154
+ const bodyHeight = 1;
2155
+ const padWidth = 0.9;
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.1;
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-128.tsx
2151
2225
  var SOD128 = () => {
2152
2226
  const fullWidth = 3.8;
@@ -3599,6 +3673,8 @@ var Footprinter3d = ({ footprint }) => {
3599
3673
  return /* @__PURE__ */ jsx(SOD123F, {});
3600
3674
  case "sod123fl":
3601
3675
  return /* @__PURE__ */ jsx(SOD123FL, {});
3676
+ case "sod123w":
3677
+ return /* @__PURE__ */ jsx(SOD123W, {});
3602
3678
  case "sod128":
3603
3679
  return /* @__PURE__ */ jsx(SOD128, {});
3604
3680
  case "sod923":