jscad-electronics 0.0.92 → 0.0.93

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/index.d.ts CHANGED
@@ -295,4 +295,6 @@ declare const MS012: ({ pinCount, padContactLength, leadWidth, pitch, }: {
295
295
 
296
296
  declare const TO220: () => react_jsx_runtime.JSX.Element;
297
297
 
298
- export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, DFN, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, LQFP, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MSOP, MicroMELF, type MicroMELFProps, PinRow, QFN, QFP, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD523, SOD882, SOD923, SOT223, SOT233P, SOT323, SOT363, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, TO220, TQFP, Tssop, VSSOP };
298
+ declare const TO92: () => react_jsx_runtime.JSX.Element;
299
+
300
+ export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, DFN, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, LQFP, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MSOP, MicroMELF, type MicroMELFProps, PinRow, QFN, QFP, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD523, SOD882, SOD923, SOT223, SOT233P, SOT323, SOT363, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, TO220, TO92, TQFP, Tssop, VSSOP };
package/dist/index.js CHANGED
@@ -3172,8 +3172,54 @@ var TO220 = () => {
3172
3172
  ] }) });
3173
3173
  };
3174
3174
 
3175
+ // lib/TO92.tsx
3176
+ import {
3177
+ Colorize as Colorize25,
3178
+ Cuboid as Cuboid32,
3179
+ Hull as Hull16,
3180
+ Translate as Translate20,
3181
+ Cylinder as Cylinder9,
3182
+ Subtract as Subtract5
3183
+ } from "jscad-fiber";
3184
+ import { jsx as jsx48, jsxs as jsxs46 } from "react/jsx-runtime";
3185
+ var TO92 = () => {
3186
+ const bodyRadius = 2.4;
3187
+ const bodyHeight = 4.5;
3188
+ const flatCut = 1.1;
3189
+ const legWidth = 0.4;
3190
+ const legThickness = 0.25;
3191
+ const bodyZ = bodyHeight / 2;
3192
+ const bodyColor = "#222";
3193
+ const leadLength = 0.43;
3194
+ const leadTipSize = [leadLength, legWidth, 1.32];
3195
+ const leadSmallSize = [
3196
+ leadLength,
3197
+ legWidth,
3198
+ legThickness
3199
+ ];
3200
+ const leadTipPos1 = [0, 0, -0.66];
3201
+ const leadMidPosA = [0, 0, -1.32];
3202
+ const leadMidPosB = [0, 1.28, -2.72];
3203
+ const leadTipPos2 = [0, 1.28, -8.9];
3204
+ const sideLeadZ = -7.5;
3205
+ return /* @__PURE__ */ jsxs46(Translate20, { center: [0, 1, 10.5], children: [
3206
+ /* @__PURE__ */ jsx48(Colorize25, { color: bodyColor, children: /* @__PURE__ */ jsxs46(Subtract5, { children: [
3207
+ /* @__PURE__ */ jsx48(Translate20, { center: [0, 0, bodyZ], children: /* @__PURE__ */ jsx48(Cylinder9, { radius: bodyRadius, height: bodyHeight }) }),
3208
+ /* @__PURE__ */ jsx48(Translate20, { center: [0, -(bodyRadius - flatCut / 2), bodyZ], children: /* @__PURE__ */ jsx48(Cuboid32, { size: [bodyRadius * 2, flatCut, bodyHeight + 0.2] }) })
3209
+ ] }) }),
3210
+ /* @__PURE__ */ jsx48(Translate20, { center: leadTipPos1, children: /* @__PURE__ */ jsx48(Cuboid32, { size: leadTipSize }) }),
3211
+ /* @__PURE__ */ jsxs46(Hull16, { children: [
3212
+ /* @__PURE__ */ jsx48(Translate20, { center: leadMidPosA, children: /* @__PURE__ */ jsx48(Cuboid32, { size: leadSmallSize }) }),
3213
+ /* @__PURE__ */ jsx48(Translate20, { center: leadMidPosB, children: /* @__PURE__ */ jsx48(Cuboid32, { size: leadSmallSize }) })
3214
+ ] }),
3215
+ /* @__PURE__ */ jsx48(Translate20, { center: leadTipPos2, children: /* @__PURE__ */ jsx48(Cuboid32, { size: [leadLength, legWidth, 12.2] }) }),
3216
+ /* @__PURE__ */ jsx48(Translate20, { center: [1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx48(Cuboid32, { size: [leadLength, legWidth, 15] }) }),
3217
+ /* @__PURE__ */ jsx48(Translate20, { center: [-1.3, 0, sideLeadZ], children: /* @__PURE__ */ jsx48(Cuboid32, { size: [leadLength, legWidth, 15] }) })
3218
+ ] });
3219
+ };
3220
+
3175
3221
  // lib/SOT-363.tsx
3176
- import { Fragment as Fragment44, jsx as jsx48, jsxs as jsxs46 } from "react/jsx-runtime";
3222
+ import { Fragment as Fragment44, jsx as jsx49, jsxs as jsxs47 } from "react/jsx-runtime";
3177
3223
  var SOT363 = () => {
3178
3224
  const fullWidth = 2;
3179
3225
  const bodyWidth = 1.25;
@@ -3184,8 +3230,8 @@ var SOT363 = () => {
3184
3230
  const leadHeight = 0.85;
3185
3231
  const padContactLength = 0.3;
3186
3232
  const extendedBodyDistance = fullWidth - bodyWidth;
3187
- return /* @__PURE__ */ jsxs46(Fragment44, { children: [
3188
- /* @__PURE__ */ jsx48(
3233
+ return /* @__PURE__ */ jsxs47(Fragment44, { children: [
3234
+ /* @__PURE__ */ jsx49(
3189
3235
  SmdChipLead,
3190
3236
  {
3191
3237
  rotation: Math.PI,
@@ -3202,7 +3248,7 @@ var SOT363 = () => {
3202
3248
  },
3203
3249
  1
3204
3250
  ),
3205
- /* @__PURE__ */ jsx48(
3251
+ /* @__PURE__ */ jsx49(
3206
3252
  SmdChipLead,
3207
3253
  {
3208
3254
  rotation: Math.PI,
@@ -3219,7 +3265,7 @@ var SOT363 = () => {
3219
3265
  },
3220
3266
  2
3221
3267
  ),
3222
- /* @__PURE__ */ jsx48(
3268
+ /* @__PURE__ */ jsx49(
3223
3269
  SmdChipLead,
3224
3270
  {
3225
3271
  rotation: Math.PI,
@@ -3236,7 +3282,7 @@ var SOT363 = () => {
3236
3282
  },
3237
3283
  3
3238
3284
  ),
3239
- /* @__PURE__ */ jsx48(
3285
+ /* @__PURE__ */ jsx49(
3240
3286
  SmdChipLead,
3241
3287
  {
3242
3288
  position: {
@@ -3252,7 +3298,7 @@ var SOT363 = () => {
3252
3298
  },
3253
3299
  3
3254
3300
  ),
3255
- /* @__PURE__ */ jsx48(
3301
+ /* @__PURE__ */ jsx49(
3256
3302
  SmdChipLead,
3257
3303
  {
3258
3304
  position: {
@@ -3268,7 +3314,7 @@ var SOT363 = () => {
3268
3314
  },
3269
3315
  1
3270
3316
  ),
3271
- /* @__PURE__ */ jsx48(
3317
+ /* @__PURE__ */ jsx49(
3272
3318
  SmdChipLead,
3273
3319
  {
3274
3320
  position: {
@@ -3284,7 +3330,7 @@ var SOT363 = () => {
3284
3330
  },
3285
3331
  2
3286
3332
  ),
3287
- /* @__PURE__ */ jsx48(
3333
+ /* @__PURE__ */ jsx49(
3288
3334
  ChipBody,
3289
3335
  {
3290
3336
  center: { x: 0, y: 0, z: 0 },
@@ -3305,14 +3351,14 @@ var SOT363 = () => {
3305
3351
  var SOT_363_default = SOT363;
3306
3352
 
3307
3353
  // lib/Footprinter3d.tsx
3308
- import { jsx as jsx49 } from "react/jsx-runtime";
3354
+ import { jsx as jsx50 } from "react/jsx-runtime";
3309
3355
  var Footprinter3d = ({ footprint }) => {
3310
3356
  const fpJson = fp3.string(footprint).json();
3311
3357
  switch (fpJson.fn) {
3312
3358
  case "dip":
3313
- return /* @__PURE__ */ jsx49(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
3359
+ return /* @__PURE__ */ jsx50(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
3314
3360
  case "tssop":
3315
- return /* @__PURE__ */ jsx49(
3361
+ return /* @__PURE__ */ jsx50(
3316
3362
  Tssop,
3317
3363
  {
3318
3364
  pinCount: fpJson.num_pins,
@@ -3323,7 +3369,7 @@ var Footprinter3d = ({ footprint }) => {
3323
3369
  }
3324
3370
  );
3325
3371
  case "msop":
3326
- return /* @__PURE__ */ jsx49(
3372
+ return /* @__PURE__ */ jsx50(
3327
3373
  MSOP,
3328
3374
  {
3329
3375
  pinCount: fpJson.num_pins,
@@ -3334,7 +3380,7 @@ var Footprinter3d = ({ footprint }) => {
3334
3380
  }
3335
3381
  );
3336
3382
  case "vssop":
3337
- return /* @__PURE__ */ jsx49(
3383
+ return /* @__PURE__ */ jsx50(
3338
3384
  VSSOP,
3339
3385
  {
3340
3386
  pinCount: fpJson.num_pins,
@@ -3346,7 +3392,7 @@ var Footprinter3d = ({ footprint }) => {
3346
3392
  }
3347
3393
  );
3348
3394
  case "qfp":
3349
- return /* @__PURE__ */ jsx49(
3395
+ return /* @__PURE__ */ jsx50(
3350
3396
  QFP,
3351
3397
  {
3352
3398
  pinCount: fpJson.num_pins,
@@ -3357,12 +3403,12 @@ var Footprinter3d = ({ footprint }) => {
3357
3403
  }
3358
3404
  );
3359
3405
  case "tqfp":
3360
- return /* @__PURE__ */ jsx49(tqfp_default, {});
3406
+ return /* @__PURE__ */ jsx50(tqfp_default, {});
3361
3407
  case "lqfp":
3362
- return /* @__PURE__ */ jsx49(LQFP, { pinCount: fpJson.num_pins });
3408
+ return /* @__PURE__ */ jsx50(LQFP, { pinCount: fpJson.num_pins });
3363
3409
  case "qfn": {
3364
3410
  const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
3365
- return /* @__PURE__ */ jsx49(
3411
+ return /* @__PURE__ */ jsx50(
3366
3412
  qfn_default,
3367
3413
  {
3368
3414
  num_pins: fpJson.num_pins,
@@ -3380,7 +3426,7 @@ var Footprinter3d = ({ footprint }) => {
3380
3426
  }
3381
3427
  case "dfn": {
3382
3428
  const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
3383
- return /* @__PURE__ */ jsx49(
3429
+ return /* @__PURE__ */ jsx50(
3384
3430
  DFN,
3385
3431
  {
3386
3432
  num_pins: fpJson.num_pins,
@@ -3398,41 +3444,41 @@ var Footprinter3d = ({ footprint }) => {
3398
3444
  }
3399
3445
  case "pinrow":
3400
3446
  if (fpJson.male)
3401
- return /* @__PURE__ */ jsx49(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
3447
+ return /* @__PURE__ */ jsx50(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
3402
3448
  if (fpJson.female)
3403
- return /* @__PURE__ */ jsx49(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
3449
+ return /* @__PURE__ */ jsx50(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
3404
3450
  case "cap": {
3405
3451
  switch (fpJson.imperial) {
3406
3452
  case "0402":
3407
- return /* @__PURE__ */ jsx49(A0402, { color: "#856c4d" });
3453
+ return /* @__PURE__ */ jsx50(A0402, { color: "#856c4d" });
3408
3454
  case "0603":
3409
- return /* @__PURE__ */ jsx49(A0603, { color: "#856c4d" });
3455
+ return /* @__PURE__ */ jsx50(A0603, { color: "#856c4d" });
3410
3456
  case "0805":
3411
- return /* @__PURE__ */ jsx49(A0805, { color: "#856c4d" });
3457
+ return /* @__PURE__ */ jsx50(A0805, { color: "#856c4d" });
3412
3458
  case "0201":
3413
- return /* @__PURE__ */ jsx49(A0201, { color: "#856c4d" });
3459
+ return /* @__PURE__ */ jsx50(A0201, { color: "#856c4d" });
3414
3460
  case "01005":
3415
- return /* @__PURE__ */ jsx49(A01005, { color: "#856c4d" });
3461
+ return /* @__PURE__ */ jsx50(A01005, { color: "#856c4d" });
3416
3462
  case "1206":
3417
- return /* @__PURE__ */ jsx49(A1206, { color: "#856c4d" });
3463
+ return /* @__PURE__ */ jsx50(A1206, { color: "#856c4d" });
3418
3464
  case "1210":
3419
- return /* @__PURE__ */ jsx49(A1210, { color: "#856c4d" });
3465
+ return /* @__PURE__ */ jsx50(A1210, { color: "#856c4d" });
3420
3466
  case "2010":
3421
- return /* @__PURE__ */ jsx49(A2010, { color: "#856c4d" });
3467
+ return /* @__PURE__ */ jsx50(A2010, { color: "#856c4d" });
3422
3468
  case "2512":
3423
- return /* @__PURE__ */ jsx49(A2512, { color: "#856c4d" });
3469
+ return /* @__PURE__ */ jsx50(A2512, { color: "#856c4d" });
3424
3470
  }
3425
3471
  }
3426
3472
  case "sot235":
3427
- return /* @__PURE__ */ jsx49(SOT_235_default, {});
3473
+ return /* @__PURE__ */ jsx50(SOT_235_default, {});
3428
3474
  case "sot223":
3429
- return /* @__PURE__ */ jsx49(SOT223, {});
3475
+ return /* @__PURE__ */ jsx50(SOT223, {});
3430
3476
  case "sot323":
3431
- return /* @__PURE__ */ jsx49(SOT323, {});
3477
+ return /* @__PURE__ */ jsx50(SOT323, {});
3432
3478
  case "sot363":
3433
- return /* @__PURE__ */ jsx49(SOT_363_default, {});
3479
+ return /* @__PURE__ */ jsx50(SOT_363_default, {});
3434
3480
  case "pushbutton":
3435
- return /* @__PURE__ */ jsx49(
3481
+ return /* @__PURE__ */ jsx50(
3436
3482
  PushButton,
3437
3483
  {
3438
3484
  width: fpJson.w,
@@ -3441,7 +3487,7 @@ var Footprinter3d = ({ footprint }) => {
3441
3487
  }
3442
3488
  );
3443
3489
  case "soic":
3444
- return /* @__PURE__ */ jsx49(
3490
+ return /* @__PURE__ */ jsx50(
3445
3491
  SOIC,
3446
3492
  {
3447
3493
  pinCount: fpJson.num_pins,
@@ -3452,33 +3498,33 @@ var Footprinter3d = ({ footprint }) => {
3452
3498
  }
3453
3499
  );
3454
3500
  case "sod523":
3455
- return /* @__PURE__ */ jsx49(SOD523, {});
3501
+ return /* @__PURE__ */ jsx50(SOD523, {});
3456
3502
  case "sod882":
3457
- return /* @__PURE__ */ jsx49(SOD882, {});
3503
+ return /* @__PURE__ */ jsx50(SOD882, {});
3458
3504
  case "sma":
3459
- return /* @__PURE__ */ jsx49(SMA, {});
3505
+ return /* @__PURE__ */ jsx50(SMA, {});
3460
3506
  case "smb":
3461
- return /* @__PURE__ */ jsx49(SMB, {});
3507
+ return /* @__PURE__ */ jsx50(SMB, {});
3462
3508
  case "smc":
3463
- return /* @__PURE__ */ jsx49(SMC, {});
3509
+ return /* @__PURE__ */ jsx50(SMC, {});
3464
3510
  case "smf":
3465
- return /* @__PURE__ */ jsx49(SMF, {});
3511
+ return /* @__PURE__ */ jsx50(SMF, {});
3466
3512
  case "sod123f":
3467
- return /* @__PURE__ */ jsx49(SOD123F, {});
3513
+ return /* @__PURE__ */ jsx50(SOD123F, {});
3468
3514
  case "sod123fl":
3469
- return /* @__PURE__ */ jsx49(SOD123FL, {});
3515
+ return /* @__PURE__ */ jsx50(SOD123FL, {});
3470
3516
  case "sod923":
3471
- return /* @__PURE__ */ jsx49(SOD923, {});
3517
+ return /* @__PURE__ */ jsx50(SOD923, {});
3472
3518
  case "hc49":
3473
- return /* @__PURE__ */ jsx49(HC49, {});
3519
+ return /* @__PURE__ */ jsx50(HC49, {});
3474
3520
  case "micromelf":
3475
- return /* @__PURE__ */ jsx49(MicroMELF, {});
3521
+ return /* @__PURE__ */ jsx50(MicroMELF, {});
3476
3522
  case "minimelf":
3477
- return /* @__PURE__ */ jsx49(MINIMELF, {});
3523
+ return /* @__PURE__ */ jsx50(MINIMELF, {});
3478
3524
  case "melf":
3479
- return /* @__PURE__ */ jsx49(MELF, {});
3525
+ return /* @__PURE__ */ jsx50(MELF, {});
3480
3526
  case "ms012":
3481
- return /* @__PURE__ */ jsx49(
3527
+ return /* @__PURE__ */ jsx50(
3482
3528
  MS012,
3483
3529
  {
3484
3530
  pinCount: fpJson.num_pins,
@@ -3488,37 +3534,39 @@ var Footprinter3d = ({ footprint }) => {
3488
3534
  }
3489
3535
  );
3490
3536
  case "sot723":
3491
- return /* @__PURE__ */ jsx49(SOT723, {});
3537
+ return /* @__PURE__ */ jsx50(SOT723, {});
3492
3538
  case "to220":
3493
- return /* @__PURE__ */ jsx49(TO220, {});
3539
+ return /* @__PURE__ */ jsx50(TO220, {});
3540
+ case "to92":
3541
+ return /* @__PURE__ */ jsx50(TO92, {});
3494
3542
  }
3495
3543
  const colorMatch = footprint.match(/_color\(([^)]+)\)/);
3496
3544
  const color = colorMatch ? colorMatch[1] : void 0;
3497
3545
  switch (fpJson.imperial) {
3498
3546
  case "0402":
3499
- return /* @__PURE__ */ jsx49(A0402, { color });
3547
+ return /* @__PURE__ */ jsx50(A0402, { color });
3500
3548
  case "0603":
3501
- return /* @__PURE__ */ jsx49(A0603, { color });
3549
+ return /* @__PURE__ */ jsx50(A0603, { color });
3502
3550
  case "0805":
3503
- return /* @__PURE__ */ jsx49(A0805, { color });
3551
+ return /* @__PURE__ */ jsx50(A0805, { color });
3504
3552
  case "0201":
3505
- return /* @__PURE__ */ jsx49(A0201, { color });
3553
+ return /* @__PURE__ */ jsx50(A0201, { color });
3506
3554
  case "01005":
3507
- return /* @__PURE__ */ jsx49(A01005, { color });
3555
+ return /* @__PURE__ */ jsx50(A01005, { color });
3508
3556
  case "1206":
3509
- return /* @__PURE__ */ jsx49(A1206, { color });
3557
+ return /* @__PURE__ */ jsx50(A1206, { color });
3510
3558
  case "1210":
3511
- return /* @__PURE__ */ jsx49(A1210, { color });
3559
+ return /* @__PURE__ */ jsx50(A1210, { color });
3512
3560
  case "2010":
3513
- return /* @__PURE__ */ jsx49(A2010, { color });
3561
+ return /* @__PURE__ */ jsx50(A2010, { color });
3514
3562
  case "2512":
3515
- return /* @__PURE__ */ jsx49(A2512, { color });
3563
+ return /* @__PURE__ */ jsx50(A2512, { color });
3516
3564
  }
3517
3565
  return null;
3518
3566
  };
3519
3567
 
3520
3568
  // lib/SOT-23-3P.tsx
3521
- import { Fragment as Fragment45, jsx as jsx50, jsxs as jsxs47 } from "react/jsx-runtime";
3569
+ import { Fragment as Fragment45, jsx as jsx51, jsxs as jsxs48 } from "react/jsx-runtime";
3522
3570
  var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
3523
3571
  const bodyWidth = 1.3;
3524
3572
  const bodyLength10 = 2.9;
@@ -3529,8 +3577,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
3529
3577
  const padContactLength = 0.4;
3530
3578
  const padThickness = leadThickness / 2;
3531
3579
  const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
3532
- return /* @__PURE__ */ jsxs47(Fragment45, { children: [
3533
- /* @__PURE__ */ jsx50(
3580
+ return /* @__PURE__ */ jsxs48(Fragment45, { children: [
3581
+ /* @__PURE__ */ jsx51(
3534
3582
  SmdChipLead,
3535
3583
  {
3536
3584
  rotation: Math.PI,
@@ -3547,7 +3595,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
3547
3595
  },
3548
3596
  1
3549
3597
  ),
3550
- /* @__PURE__ */ jsx50(
3598
+ /* @__PURE__ */ jsx51(
3551
3599
  SmdChipLead,
3552
3600
  {
3553
3601
  rotation: Math.PI,
@@ -3564,7 +3612,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
3564
3612
  },
3565
3613
  2
3566
3614
  ),
3567
- /* @__PURE__ */ jsx50(
3615
+ /* @__PURE__ */ jsx51(
3568
3616
  SmdChipLead,
3569
3617
  {
3570
3618
  position: {
@@ -3580,7 +3628,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
3580
3628
  },
3581
3629
  3
3582
3630
  ),
3583
- /* @__PURE__ */ jsx50(
3631
+ /* @__PURE__ */ jsx51(
3584
3632
  ChipBody,
3585
3633
  {
3586
3634
  center: { x: 0, y: 0, z: 0 },
@@ -3593,8 +3641,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
3593
3641
  };
3594
3642
 
3595
3643
  // lib/SOT-563.tsx
3596
- import { Cuboid as Cuboid32, Translate as Translate20, Rotate as Rotate10, Colorize as Colorize25 } from "jscad-fiber";
3597
- import { Fragment as Fragment46, jsx as jsx51, jsxs as jsxs48 } from "react/jsx-runtime";
3644
+ import { Cuboid as Cuboid33, Translate as Translate21, Rotate as Rotate10, Colorize as Colorize26 } from "jscad-fiber";
3645
+ import { Fragment as Fragment46, jsx as jsx52, jsxs as jsxs49 } from "react/jsx-runtime";
3598
3646
  var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
3599
3647
  const bodyWidth = 1.2;
3600
3648
  const bodyLength10 = 1.6;
@@ -3604,28 +3652,28 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
3604
3652
  const leadHeight = 0.13;
3605
3653
  const leadSpacing = 0.5;
3606
3654
  const bodyZOffset = -0.4;
3607
- return /* @__PURE__ */ jsxs48(Fragment46, { children: [
3608
- /* @__PURE__ */ jsx51(Rotate10, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx51(Translate20, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx51(Colorize25, { color: "grey", children: /* @__PURE__ */ jsx51(Cuboid32, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
3655
+ return /* @__PURE__ */ jsxs49(Fragment46, { children: [
3656
+ /* @__PURE__ */ jsx52(Rotate10, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx52(Translate21, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx52(Colorize26, { color: "grey", children: /* @__PURE__ */ jsx52(Cuboid33, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
3609
3657
  [-1, 0, 1].flatMap((yOffset, index) => [
3610
3658
  // Left lead
3611
- /* @__PURE__ */ jsx51(
3612
- Translate20,
3659
+ /* @__PURE__ */ jsx52(
3660
+ Translate21,
3613
3661
  {
3614
3662
  center: [
3615
3663
  -bodyWidth / 2 - 0.03,
3616
3664
  yOffset * leadSpacing,
3617
3665
  leadHeight / 2
3618
3666
  ],
3619
- children: /* @__PURE__ */ jsx51(Cuboid32, { size: [leadLength, leadWidth, leadHeight] })
3667
+ children: /* @__PURE__ */ jsx52(Cuboid33, { size: [leadLength, leadWidth, leadHeight] })
3620
3668
  },
3621
3669
  `left-${index}`
3622
3670
  ),
3623
3671
  // Right lead
3624
- /* @__PURE__ */ jsx51(
3625
- Translate20,
3672
+ /* @__PURE__ */ jsx52(
3673
+ Translate21,
3626
3674
  {
3627
3675
  center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
3628
- children: /* @__PURE__ */ jsx51(Cuboid32, { size: [leadLength, leadWidth, leadHeight] })
3676
+ children: /* @__PURE__ */ jsx52(Cuboid33, { size: [leadLength, leadWidth, leadHeight] })
3629
3677
  },
3630
3678
  `right-${index}`
3631
3679
  )
@@ -3634,7 +3682,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
3634
3682
  };
3635
3683
 
3636
3684
  // lib/sod-123.tsx
3637
- import { Fragment as Fragment47, jsx as jsx52, jsxs as jsxs49 } from "react/jsx-runtime";
3685
+ import { Fragment as Fragment47, jsx as jsx53, jsxs as jsxs50 } from "react/jsx-runtime";
3638
3686
  var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
3639
3687
  const bodyWidth = 2.9;
3640
3688
  const bodyLength10 = 1.3;
@@ -3645,8 +3693,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
3645
3693
  const padContactLength = 0.4;
3646
3694
  const padThickness = leadThickness / 2;
3647
3695
  const bodyDistance = (fullWidth - bodyWidth) / 2;
3648
- return /* @__PURE__ */ jsxs49(Fragment47, { children: [
3649
- /* @__PURE__ */ jsx52(
3696
+ return /* @__PURE__ */ jsxs50(Fragment47, { children: [
3697
+ /* @__PURE__ */ jsx53(
3650
3698
  SmdChipLead,
3651
3699
  {
3652
3700
  position: {
@@ -3662,7 +3710,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
3662
3710
  },
3663
3711
  1
3664
3712
  ),
3665
- /* @__PURE__ */ jsx52(
3713
+ /* @__PURE__ */ jsx53(
3666
3714
  SmdChipLead,
3667
3715
  {
3668
3716
  rotation: Math.PI,
@@ -3679,7 +3727,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
3679
3727
  },
3680
3728
  2
3681
3729
  ),
3682
- /* @__PURE__ */ jsx52(
3730
+ /* @__PURE__ */ jsx53(
3683
3731
  ChipBody,
3684
3732
  {
3685
3733
  center: { x: 0, y: 0, z: 0 },
@@ -3735,6 +3783,7 @@ export {
3735
3783
  SOT723,
3736
3784
  SmdChipLead,
3737
3785
  TO220,
3786
+ TO92,
3738
3787
  TQFP,
3739
3788
  Tssop,
3740
3789
  VSSOP