@tscircuit/footprinter 0.0.325 → 0.0.327

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
@@ -7192,7 +7192,7 @@ var getVssopPadCoord = (pinCount, pn, w, p) => {
7192
7192
  const col = pn <= half ? -1 : 1;
7193
7193
  const row = (half - 1) / 2 - rowIndex;
7194
7194
  return {
7195
- x: col * length50.parse(pinCount === 8 ? "1.8mm" : "2.2mm"),
7195
+ x: col * 2.11,
7196
7196
  y: row * p
7197
7197
  };
7198
7198
  };
@@ -9527,7 +9527,7 @@ var applyNoSilkscreen = (elements, parameters) => {
9527
9527
  var applyOrigin = (elements, origin) => {
9528
9528
  if (!origin) return elements;
9529
9529
  const pads = elements.filter(
9530
- (el) => el.type === "pcb_smtpad" || el.type === "pcb_plated_hole" || el.type === "pcb_thtpad"
9530
+ (el) => el.type === "pcb_smtpad" || el.type === "pcb_plated_hole"
9531
9531
  );
9532
9532
  if (pads.length === 0) return elements;
9533
9533
  let minX = Number.POSITIVE_INFINITY;
@@ -9552,9 +9552,6 @@ var applyOrigin = (elements, origin) => {
9552
9552
  } else if (pad2.type === "pcb_plated_hole") {
9553
9553
  const d = pad2.outer_diameter ?? pad2.hole_diameter;
9554
9554
  updateBounds(pad2.x, pad2.y, d, d);
9555
- } else if (pad2.type === "pcb_thtpad") {
9556
- const d = pad2.diameter;
9557
- updateBounds(pad2.x, pad2.y, d, d);
9558
9555
  }
9559
9556
  }
9560
9557
  let dx = 0;