Skip to content

fix: sot343 symmetric about origin, matching KiCad SOT-343_SC-70-4 - #855

Open
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:fix-sot343-symmetry
Open

fix: sot343 symmetric about origin, matching KiCad SOT-343_SC-70-4#855
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:fix-sot343-symmetry

Conversation

@birdup000

Copy link
Copy Markdown

Fixes #667

What

getCcwSot343Coords scaled the left column by p*1.92 but the right by bare p, so pads sat at −1.056 / +0.55 (center −0.253, columns ~1.6mm apart) — a real SC-70-4's leads would miss half their pads. I fetched KiCad's SOT-343_SC-70-4 reference: pads are symmetric at ±0.825mm, so both columns now use p*1.5 (0.55mm default pitch). The hardcoded courtyard is replaced with KiCad's exact outline (outer ±1.45, arms ±0.73).

Verification

  • Pads now [−0.825, −0.825, +0.825, +0.825], centered on origin, column spacing 1.65mm = KiCad exactly
  • KiCad parity test: courtyard IoU 100.00% (diff 0.00%)
  • Symmetry regression test added; all SVG snapshots updated; full suite 565/565 pass, biome clean

…scircuit#667)

The left pad column sat at -p*1.92 while the right used +p only
(missing the scale factor), so pads were lopsided (-1.056 vs +0.55)
and the land pattern would not match a real SC-70-4. KiCad's
SOT-343_SC-70-4 places pads at +/-0.825mm, so both columns now use
p*1.5. The hardcoded courtyard is aligned to KiCad's exact outline
(outer edge +/-1.45, arms +/-0.73) and keeps 100.00% courtyard IoU
in the parity test.

Fixes tscircuit#667
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sot343 footprint is lopsided — the right pads sit too close to the center

1 participant