@tscircuit/footprinter 0.0.326 → 0.0.328

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
@@ -5032,7 +5032,7 @@ import { length as length33 } from "circuit-json";
5032
5032
  var sod_def7 = base_def.extend({
5033
5033
  fn: z42.string(),
5034
5034
  num_pins: z42.literal(2).default(2),
5035
- w: z42.string().default("3,05mm"),
5035
+ w: z42.string().default("3.05mm"),
5036
5036
  h: z42.string().default("1.65mm"),
5037
5037
  pl: z42.string().default("0.6mm"),
5038
5038
  pw: z42.string().default("0.6mm"),
@@ -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;