jscad-electronics 0.0.99 → 0.0.101

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
@@ -3645,6 +3645,58 @@ var SOD323 = () => {
3645
3645
  ] });
3646
3646
  };
3647
3647
 
3648
+ // lib/sod-323F.tsx
3649
+ var SOD323F = () => {
3650
+ const fullWidth = 1.7;
3651
+ const bodyLength10 = 1.25;
3652
+ const bodyHeight = 0.725;
3653
+ const padWidth = 0.325;
3654
+ const padLength = 0.4;
3655
+ const padThickness = 0.175;
3656
+ const leftPadCenterX = -fullWidth / 2 - padLength / 2;
3657
+ const rightPadCenterX = fullWidth / 2 + padLength / 2;
3658
+ const taperOffset = 0.2;
3659
+ const straightHeight = padThickness;
3660
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
3661
+ /* @__PURE__ */ jsx(
3662
+ Cuboid,
3663
+ {
3664
+ color: "#ccc",
3665
+ size: [padLength, padWidth, padThickness],
3666
+ center: [leftPadCenterX, 0, padThickness / 2]
3667
+ }
3668
+ ),
3669
+ /* @__PURE__ */ jsx(
3670
+ Cuboid,
3671
+ {
3672
+ color: "#ccc",
3673
+ size: [padLength, padWidth, padThickness],
3674
+ center: [rightPadCenterX, 0, padThickness / 2]
3675
+ }
3676
+ ),
3677
+ /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsxs(Union, { children: [
3678
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight / 2, children: /* @__PURE__ */ jsx(Cuboid, { size: [fullWidth, bodyLength10, straightHeight] }) }),
3679
+ /* @__PURE__ */ jsxs(Hull, { children: [
3680
+ /* @__PURE__ */ jsx(Translate, { z: straightHeight, children: /* @__PURE__ */ jsx(Cuboid, { size: [fullWidth, bodyLength10, 0.01] }) }),
3681
+ /* @__PURE__ */ jsx(Translate, { z: bodyHeight, children: /* @__PURE__ */ jsx(
3682
+ Cuboid,
3683
+ {
3684
+ size: [fullWidth - taperOffset, bodyLength10 - taperOffset, 0.01]
3685
+ }
3686
+ ) })
3687
+ ] })
3688
+ ] }) }),
3689
+ /* @__PURE__ */ jsx(
3690
+ Cuboid,
3691
+ {
3692
+ color: "#777",
3693
+ size: [fullWidth / 3, bodyLength10 - taperOffset, 0.02],
3694
+ center: [leftPadCenterX + fullWidth / 4.4 + taperOffset, 0, bodyHeight]
3695
+ }
3696
+ )
3697
+ ] });
3698
+ };
3699
+
3648
3700
  // lib/Footprinter3d.tsx
3649
3701
  var Footprinter3d = ({ footprint }) => {
3650
3702
  const fpJson = fp.string(footprint).json();
@@ -3773,6 +3825,8 @@ var Footprinter3d = ({ footprint }) => {
3773
3825
  return /* @__PURE__ */ jsx(SOT23W, {});
3774
3826
  case "sot323":
3775
3827
  return /* @__PURE__ */ jsx(SOT323, {});
3828
+ case "sod323f":
3829
+ return /* @__PURE__ */ jsx(SOD323F, {});
3776
3830
  case "sot363":
3777
3831
  return /* @__PURE__ */ jsx(SOT_363_default, {});
3778
3832
  case "pushbutton":