@tscircuit/footprinter 0.0.232 → 0.0.233
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 +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7109,10 +7109,12 @@ var m2host = (raw_params) => {
|
|
|
7109
7109
|
const pn = i + 1;
|
|
7110
7110
|
if (pn >= 24 && pn <= 31) continue;
|
|
7111
7111
|
const y = startY - i * halfPitch;
|
|
7112
|
-
const
|
|
7113
|
-
const padLengthWithOffset = padLength + (
|
|
7112
|
+
const isBottomLayer = pn % 2 === 0;
|
|
7113
|
+
const padLengthWithOffset = padLength + (isBottomLayer ? 0.25 : 0);
|
|
7114
|
+
const rightEdgeOffset = 0.5;
|
|
7115
|
+
const x = rightEdgeOffset - padLengthWithOffset / 2;
|
|
7114
7116
|
const pad2 = rectpad(pn, x, y, padLengthWithOffset, padWidth);
|
|
7115
|
-
pad2.layer =
|
|
7117
|
+
pad2.layer = isBottomLayer ? "bottom" : "top";
|
|
7116
7118
|
pads.push(pad2);
|
|
7117
7119
|
}
|
|
7118
7120
|
const cutoutWidth = 46 * 0.0254;
|