jscad-electronics 0.0.123 → 0.0.124

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
@@ -4466,6 +4466,60 @@ var MountedPcbModule = ({
4466
4466
  ] });
4467
4467
  };
4468
4468
 
4469
+ // lib/SOD723.tsx
4470
+ var SOD723 = () => {
4471
+ const fullWidth = 1.4;
4472
+ const bodyLength10 = 0.6;
4473
+ const bodyHeight = 0.5;
4474
+ const padWidth = 0.28;
4475
+ const padLength = 0.5;
4476
+ const padThickness = 0.12;
4477
+ const bodyWidth = fullWidth - padLength;
4478
+ const leftPadCenterX = -bodyWidth / 2 + padLength / 2 - 0.15;
4479
+ const rightPadCenterX = bodyWidth / 2 - padLength / 2 + 0.15;
4480
+ const taperOffset = 0.2;
4481
+ const straightHeight = bodyHeight * 0.24;
4482
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
4483
+ /* @__PURE__ */ jsx(
4484
+ Cuboid,
4485
+ {
4486
+ color: "#ccc",
4487
+ size: [padLength, padWidth, padThickness],
4488
+ center: [leftPadCenterX, 0, padThickness / 2]
4489
+ }
4490
+ ),
4491
+ /* @__PURE__ */ jsx(
4492
+ Cuboid,
4493
+ {
4494
+ color: "#ccc",
4495
+ size: [padLength, padWidth, padThickness],
4496
+ center: [rightPadCenterX, 0, padThickness / 2]
4497
+ }
4498
+ ),
4499
+ /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
4500
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, straightHeight] }) }),
4501
+ /* @__PURE__ */ jsxs(Hull, { children: [
4502
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [bodyWidth, bodyLength10, 0.01] }) }),
4503
+ /* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
4504
+ Cuboid,
4505
+ {
4506
+ size: [bodyWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
4507
+ }
4508
+ ) })
4509
+ ] })
4510
+ ] }) }),
4511
+ /* @__PURE__ */ jsx(
4512
+ Cuboid,
4513
+ {
4514
+ color: "#777",
4515
+ size: [fullWidth / 6, bodyLength10 - taperOffset, 0.02],
4516
+ center: [-bodyWidth / 4, 0, bodyHeight]
4517
+ }
4518
+ )
4519
+ ] });
4520
+ };
4521
+ var SOD723_default = SOD723;
4522
+
4469
4523
  // lib/Footprinter3d.tsx
4470
4524
  var Footprinter3d = ({ footprint }) => {
4471
4525
  const fpJson = fp2.string(footprint).json();
@@ -4649,6 +4703,8 @@ var Footprinter3d = ({ footprint }) => {
4649
4703
  );
4650
4704
  case "sod523":
4651
4705
  return /* @__PURE__ */ jsx(SOD523, {});
4706
+ case "sod723":
4707
+ return /* @__PURE__ */ jsx(SOD723_default, {});
4652
4708
  case "sod882":
4653
4709
  return /* @__PURE__ */ jsx(SOD882, {});
4654
4710
  case "sma":