Skip to content

Commit 1d607ed

Browse files
Merge branch 'main' into fix-qfn-pad-sizing-clean
2 parents 7c9fc5d + 866c687 commit 1d607ed

31 files changed

Lines changed: 34 additions & 34 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tscircuit/footprinter",
33
"type": "module",
4-
"version": "0.0.254",
4+
"version": "0.0.255",
55
"description": "",
66
"main": "dist/index.js",
77
"files": [

src/fn/quad.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ export const getQuadCoords = (params: {
9898

9999
switch (side) {
100100
case "left":
101-
return { x: -w / 2 - pcdfe, y: ibh / 2 - pos * p, o: "vert" }
101+
return { x: -w / 2 - pcdfe + 0.1, y: ibh / 2 - pos * p, o: "vert" }
102102
case "bottom":
103-
return { x: -ibw / 2 + pos * p, y: -h / 2 - pcdfe, o: "horz" }
103+
return { x: -ibw / 2 + pos * p, y: -h / 2 - pcdfe + 0.1, o: "horz" }
104104
case "right":
105-
return { x: w / 2 + pcdfe, y: -ibh / 2 + pos * p, o: "vert" }
105+
return { x: w / 2 + pcdfe - 0.1, y: -ibh / 2 + pos * p, o: "vert" }
106106
case "top":
107-
return { x: ibw / 2 - pos * p, y: h / 2 + pcdfe, o: "horz" }
107+
return { x: ibw / 2 - pos * p, y: h / 2 + pcdfe - 0.1, o: "horz" }
108108
default:
109109
throw new Error("Invalid pin number")
110110
}

tests/__snapshots__/lqfp64_w10_h10_pl1_pw0.25mm.snap.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)