@tscircuit/footprinter 0.0.257 → 0.0.259

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.js CHANGED
@@ -1353,10 +1353,10 @@ var sot363 = (raw_params) => {
1353
1353
  const parameters = sot363_def.parse({
1354
1354
  fn: "sot363",
1355
1355
  num_pins: 6,
1356
- w: 1.94,
1356
+ w: 2.56,
1357
1357
  p: 0.65,
1358
- pw: 0.3,
1359
- pl: 0.7,
1358
+ pw: 0.4,
1359
+ pl: 0.65,
1360
1360
  legoutside: true
1361
1361
  });
1362
1362
  return {
@@ -4281,7 +4281,7 @@ import { z as z34 } from "zod";
4281
4281
  var sot89_def = z34.object({
4282
4282
  fn: z34.string(),
4283
4283
  num_pins: z34.union([z34.literal(3), z34.literal(5)]).default(3),
4284
- w: z34.string().default("4.80mm"),
4284
+ w: z34.string().default("4.20mm"),
4285
4285
  h: z34.string().default("4.80mm"),
4286
4286
  pl: z34.string().default("1.3mm"),
4287
4287
  pw: z34.string().default("0.9mm"),
@@ -4294,10 +4294,12 @@ var sot89_3 = (parameters) => {
4294
4294
  const padWidth = Number.parseFloat(parameters.pw);
4295
4295
  const length47 = Number.parseFloat(parameters.w);
4296
4296
  const padHeight = Number.parseFloat(parameters.pl);
4297
+ const centerExtra = 0.175;
4298
+ const outerPadXShift = (padHeight - (padHeight + centerExtra)) / 2;
4297
4299
  pads.push(
4298
- rectpad(1, -length47 / 2, padGap, padHeight, padWidth),
4299
- rectpad(2, -length47 / 2 + (1.5 - 1.3) / 2, 0, 1.5, padWidth),
4300
- rectpad(3, -length47 / 2, -padGap, padHeight, padWidth)
4300
+ rectpad(1, -length47 / 2 + outerPadXShift, padGap, padHeight, padWidth),
4301
+ rectpad(2, -length47 / 2, 0, padHeight + centerExtra, padWidth),
4302
+ rectpad(3, -length47 / 2 + outerPadXShift, -padGap, padHeight, padWidth)
4301
4303
  );
4302
4304
  const silkscreenRefText = silkscreenRef(0, 0, 0.3);
4303
4305
  const width = Number.parseFloat(parameters.w) / 2 - 1;