jscad-electronics 0.0.102 → 0.0.104

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
@@ -687,7 +687,7 @@ var PinRow = ({
687
687
  {
688
688
  color: "#222",
689
689
  size: [bodyWidth, pinThickness * 3, bodyHeight],
690
- center: [0, 0, bodyHeight / 2]
690
+ center: [0, 0, bodyHeight / 2 + 0.012]
691
691
  }
692
692
  ),
693
693
  Array.from({ length: numberOfPins }, (_, i) => /* @__PURE__ */ jsxs(Fragment2, { children: [
@@ -3701,6 +3701,58 @@ var SOD323F = () => {
3701
3701
  ] });
3702
3702
  };
3703
3703
 
3704
+ // lib/sod-323FL.tsx
3705
+ var SOD323FL = () => {
3706
+ const fullWidth = 1.775;
3707
+ const bodyLength10 = 1.25;
3708
+ const bodyHeight = 0.725;
3709
+ const padWidth = 0.325;
3710
+ const padLength = 0.4;
3711
+ const padThickness = 0.13;
3712
+ const leftPadCenterX = -fullWidth / 2 - padLength / 2 + 0.04;
3713
+ const rightPadCenterX = fullWidth / 2 + padLength / 2 - 0.04;
3714
+ const taperOffset = 0.2;
3715
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
3716
+ /* @__PURE__ */ jsx(
3717
+ Cuboid,
3718
+ {
3719
+ color: "#ccc",
3720
+ size: [padLength, padWidth, padThickness],
3721
+ center: [leftPadCenterX, 0, padThickness / 2]
3722
+ }
3723
+ ),
3724
+ /* @__PURE__ */ jsx(
3725
+ Cuboid,
3726
+ {
3727
+ color: "#ccc",
3728
+ size: [padLength, padWidth, padThickness],
3729
+ center: [rightPadCenterX, 0, padThickness / 2]
3730
+ }
3731
+ ),
3732
+ /* @__PURE__ */ jsx(Colorize, { color: "#222", children: /* @__PURE__ */ jsx(
3733
+ ChipBody,
3734
+ {
3735
+ width: fullWidth,
3736
+ length: bodyLength10,
3737
+ height: bodyHeight,
3738
+ center: { x: 0, y: 0, z: 0 },
3739
+ heightAboveSurface: 0,
3740
+ straightHeightRatio: 0.7,
3741
+ taperRatio: 0.06,
3742
+ includeNotch: false
3743
+ }
3744
+ ) }),
3745
+ /* @__PURE__ */ jsx(
3746
+ Cuboid,
3747
+ {
3748
+ color: "#777",
3749
+ size: [fullWidth / 3, bodyLength10 - 0.05, 0.02],
3750
+ center: [leftPadCenterX + fullWidth / 4.4 + taperOffset, 0, bodyHeight]
3751
+ }
3752
+ )
3753
+ ] });
3754
+ };
3755
+
3704
3756
  // lib/Footprinter3d.tsx
3705
3757
  var Footprinter3d = ({ footprint }) => {
3706
3758
  const fpJson = fp.string(footprint).json();
@@ -3831,6 +3883,8 @@ var Footprinter3d = ({ footprint }) => {
3831
3883
  return /* @__PURE__ */ jsx(SOT323, {});
3832
3884
  case "sod323f":
3833
3885
  return /* @__PURE__ */ jsx(SOD323F, {});
3886
+ case "sod323fl":
3887
+ return /* @__PURE__ */ jsx(SOD323FL, {});
3834
3888
  case "sot363":
3835
3889
  return /* @__PURE__ */ jsx(SOT_363_default, {});
3836
3890
  case "pushbutton":