jscad-electronics 0.0.104 → 0.0.105

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
@@ -3411,6 +3411,69 @@ var SOT457 = () => {
3411
3411
  ] });
3412
3412
  };
3413
3413
 
3414
+ // lib/SOT-963.tsx
3415
+ var SOT963 = () => {
3416
+ const bodyWidth = 0.8;
3417
+ const bodyLength10 = 1;
3418
+ const bodyHeight = 0.37;
3419
+ const terminalWidth = 0.15;
3420
+ const terminalLength = 0.19;
3421
+ const terminalThickness = 0.12;
3422
+ const pitch = 0.35;
3423
+ const pinsPerSide = 3;
3424
+ const pinSpan = pitch * (pinsPerSide - 1);
3425
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
3426
+ /* @__PURE__ */ jsx(
3427
+ ChipBody,
3428
+ {
3429
+ center: { x: 0, y: 0, z: 0 },
3430
+ width: bodyWidth,
3431
+ length: bodyLength10,
3432
+ height: bodyHeight,
3433
+ heightAboveSurface: 0,
3434
+ color: "#1a1a1a",
3435
+ taperRatio: 0.15,
3436
+ straightHeightRatio: 0,
3437
+ notchPosition: {
3438
+ x: -bodyWidth / 4,
3439
+ y: pinSpan / 2.2,
3440
+ z: bodyHeight + 0.1
3441
+ }
3442
+ }
3443
+ ),
3444
+ [0, 1, 2].map((i) => {
3445
+ const y = -pinSpan / 2 + i * pitch;
3446
+ return /* @__PURE__ */ jsx(
3447
+ Cuboid,
3448
+ {
3449
+ center: [
3450
+ -bodyWidth / 2 + terminalLength / 2 - 0.1,
3451
+ y,
3452
+ terminalThickness / 2
3453
+ ],
3454
+ size: [terminalLength, terminalWidth, terminalThickness]
3455
+ },
3456
+ `left-${i}`
3457
+ );
3458
+ }),
3459
+ [0, 1, 2].map((i) => {
3460
+ const y = -pinSpan / 2 + i * pitch;
3461
+ return /* @__PURE__ */ jsx(
3462
+ Cuboid,
3463
+ {
3464
+ center: [
3465
+ bodyWidth / 2 - terminalLength / 2 + 0.1,
3466
+ y,
3467
+ terminalThickness / 2
3468
+ ],
3469
+ size: [terminalLength, terminalWidth, terminalThickness]
3470
+ },
3471
+ `right-${i}`
3472
+ );
3473
+ })
3474
+ ] });
3475
+ };
3476
+
3414
3477
  // lib/TO92.tsx
3415
3478
  var TO92 = () => {
3416
3479
  const bodyRadius = 2.4;
@@ -3579,6 +3642,64 @@ var SOT363 = () => {
3579
3642
  };
3580
3643
  var SOT_363_default = SOT363;
3581
3644
 
3645
+ // lib/SOT-886.tsx
3646
+ var SOT886 = () => {
3647
+ const bodyWidth = 1;
3648
+ const bodyLength10 = 1.45;
3649
+ const bodyHeight = 0.5;
3650
+ const terminalWidth = 0.2;
3651
+ const terminalLength = 0.3;
3652
+ const terminalThickness = 0.05;
3653
+ const pitch = 0.5;
3654
+ const pinsPerSide = 3;
3655
+ const pinSpan = pitch * (pinsPerSide - 1);
3656
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
3657
+ /* @__PURE__ */ jsx(
3658
+ ChipBody,
3659
+ {
3660
+ center: { x: 0, y: 0, z: terminalThickness },
3661
+ width: bodyWidth,
3662
+ length: bodyLength10,
3663
+ height: bodyHeight,
3664
+ heightAboveSurface: 0,
3665
+ color: "#1a1a1a",
3666
+ taperRatio: 0,
3667
+ includeNotch: false
3668
+ }
3669
+ ),
3670
+ [0, 1, 2].map((i) => {
3671
+ const y = -pinSpan / 2 + i * pitch;
3672
+ return /* @__PURE__ */ jsx(
3673
+ Cuboid,
3674
+ {
3675
+ center: [
3676
+ -bodyWidth / 2 + terminalLength / 2,
3677
+ y,
3678
+ terminalThickness / 2
3679
+ ],
3680
+ size: [terminalLength, terminalWidth, terminalThickness]
3681
+ },
3682
+ `left-${i}`
3683
+ );
3684
+ }),
3685
+ [0, 1, 2].map((i) => {
3686
+ const y = -pinSpan / 2 + i * pitch;
3687
+ return /* @__PURE__ */ jsx(
3688
+ Cuboid,
3689
+ {
3690
+ center: [
3691
+ bodyWidth / 2 - terminalLength / 2,
3692
+ y,
3693
+ terminalThickness / 2
3694
+ ],
3695
+ size: [terminalLength, terminalWidth, terminalThickness]
3696
+ },
3697
+ `right-${i}`
3698
+ );
3699
+ })
3700
+ ] });
3701
+ };
3702
+
3582
3703
  // lib/sod-323.tsx
3583
3704
  var SOD323 = () => {
3584
3705
  const fullWidth = 2.5;
@@ -3887,6 +4008,10 @@ var Footprinter3d = ({ footprint }) => {
3887
4008
  return /* @__PURE__ */ jsx(SOD323FL, {});
3888
4009
  case "sot363":
3889
4010
  return /* @__PURE__ */ jsx(SOT_363_default, {});
4011
+ case "sot886":
4012
+ return /* @__PURE__ */ jsx(SOT886, {});
4013
+ case "sot963":
4014
+ return /* @__PURE__ */ jsx(SOT963, {});
3890
4015
  case "pushbutton":
3891
4016
  return /* @__PURE__ */ jsx(
3892
4017
  PushButton,