jscad-electronics 0.0.145 → 0.0.146

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
@@ -2486,6 +2486,81 @@ var SOD123W = () => {
2486
2486
  ] });
2487
2487
  };
2488
2488
 
2489
+ // lib/sod-123.tsx
2490
+ var SOD123 = ({
2491
+ fullWidth = 3.7,
2492
+ fullLength: fullLength10 = 1.55
2493
+ } = {}) => {
2494
+ const bodyWidth = fullWidth - 1;
2495
+ const bodyLength10 = fullLength10;
2496
+ const packageHeight = 1.175;
2497
+ const bodyStandoff = 0.1;
2498
+ const bodyHeight = packageHeight - bodyStandoff;
2499
+ const leadWidth = 0.55;
2500
+ const leadThickness = 0.12;
2501
+ const leadHeight = 0.35;
2502
+ const bodyDistance = (fullWidth - bodyWidth) / 2;
2503
+ const padContactLength = 0.25;
2504
+ const leadCurveLength = 0.2;
2505
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
2506
+ /* @__PURE__ */ jsx(
2507
+ SmdChipLead,
2508
+ {
2509
+ position: {
2510
+ x: -fullWidth / 2,
2511
+ y: 0,
2512
+ z: leadThickness / 2
2513
+ },
2514
+ width: leadWidth,
2515
+ thickness: leadThickness,
2516
+ padContactLength,
2517
+ bodyDistance,
2518
+ curveLength: leadCurveLength,
2519
+ height: leadHeight
2520
+ }
2521
+ ),
2522
+ /* @__PURE__ */ jsx(
2523
+ SmdChipLead,
2524
+ {
2525
+ rotation: Math.PI,
2526
+ position: {
2527
+ x: fullWidth / 2,
2528
+ y: 0,
2529
+ z: leadThickness / 2
2530
+ },
2531
+ width: leadWidth,
2532
+ thickness: leadThickness,
2533
+ padContactLength,
2534
+ bodyDistance,
2535
+ curveLength: leadCurveLength,
2536
+ height: leadHeight
2537
+ }
2538
+ ),
2539
+ /* @__PURE__ */ jsx(
2540
+ ChipBody,
2541
+ {
2542
+ center: { x: 0, y: 0, z: 0 },
2543
+ width: bodyWidth,
2544
+ length: bodyLength10,
2545
+ height: bodyHeight,
2546
+ heightAboveSurface: bodyStandoff,
2547
+ includeNotch: false,
2548
+ color: "#222",
2549
+ taperRatio: 0.06,
2550
+ straightHeightRatio: 0.6
2551
+ }
2552
+ ),
2553
+ /* @__PURE__ */ jsx(
2554
+ Cuboid,
2555
+ {
2556
+ color: "#777",
2557
+ size: [0.45, bodyLength10 - 0.15, 0.02],
2558
+ center: [-bodyWidth / 4, 0, packageHeight]
2559
+ }
2560
+ )
2561
+ ] });
2562
+ };
2563
+
2489
2564
  // lib/sod-128.tsx
2490
2565
  var SOD128 = () => {
2491
2566
  const fullWidth = 3.8;
@@ -5882,6 +5957,8 @@ var Footprinter3d = ({ footprint }) => {
5882
5957
  return /* @__PURE__ */ jsx(SMC, {});
5883
5958
  case "smf":
5884
5959
  return /* @__PURE__ */ jsx(SMF, {});
5960
+ case "sod123":
5961
+ return /* @__PURE__ */ jsx(SOD123, {});
5885
5962
  case "sod123f":
5886
5963
  return /* @__PURE__ */ jsx(SOD123F, {});
5887
5964
  case "sod123fl":