@tscircuit/footprinter 0.0.269 → 0.0.270

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
@@ -132,7 +132,7 @@ var platedhole = (pn, x, y, id, od) => {
132
132
 
133
133
  // src/helpers/platedHoleWithRectPad.ts
134
134
  import { mm as mm2 } from "@tscircuit/mm";
135
- var platedHoleWithRectPad = (pn, x, y, holeDiameter, rectPadWidth, rectPadHeight) => {
135
+ var platedHoleWithRectPad = (pn, x, y, holeDiameter, rectPadWidth, rectPadHeight, holeOffsetX, holeOffsetY) => {
136
136
  return {
137
137
  pcb_plated_hole_id: "",
138
138
  type: "pcb_plated_hole",
@@ -146,7 +146,9 @@ var platedHoleWithRectPad = (pn, x, y, holeDiameter, rectPadWidth, rectPadHeight
146
146
  rect_pad_height: mm2(rectPadHeight),
147
147
  pcb_port_id: "",
148
148
  layers: ["top", "bottom"],
149
- port_hints: [pn.toString()]
149
+ port_hints: [pn.toString()],
150
+ hole_offset_x: holeOffsetX,
151
+ hole_offset_y: holeOffsetY
150
152
  };
151
153
  };
152
154