Skip to content

fix: default tqfp44 to the 0.8mm-pitch / 0.55mm-pad family - #890

Open
Furox-Art wants to merge 4 commits into
tscircuit:mainfrom
Furox-Art:fix/tqfp44-0.8mm-pitch
Open

Furox-Art wants to merge 4 commits into
tscircuit:mainfrom
Furox-Art:fix/tqfp44-0.8mm-pitch

Conversation

@Furox-Art

Copy link
Copy Markdown

/claim #792

Problem

tqfp44 shared the 0.5mm-pitch / 0.30mm-pad defaults with tqfp48/64/100. TQFP-44 is standardized as a 10x10mm body on 0.8mm pitch with 0.55mm-wide leads (JEDEC MS-026 BBA; KiCad TQFP-44_10x10mm_P0.8mm = 0.8mm pitch, 1.475 × 0.55mm pads — exactly the values footprinter already emits for its sibling tqfp32).

Output on main matches no real TQFP-44: pads 0.5mm apart and too narrow to sit under the leads.

Fix

Move case 44 from the 0.5mm/0.3mm group into the tqfp32 family in both the pitch and pad-width default switches in src/fn/tqfp.ts. Explicit p/pw overrides keep winning. tqfp48/64/100/144 defaults are untouched.

Tests (4 new, snapshot-free, deterministic)

Check main this PR
tqfp44 pitch 0.5mm 0.8mm (11 centers/side on the 0.8mm grid, 8mm span)
tqfp44 pad size 1.475 × 0.30 1.475 × 0.55 — identical to tqfp32
explicit p("0.5mm").pw("0.3mm") ✓ still honored
tqfp48/64/100 defaults 0.5mm / 0.3mm unchanged (asserted)

Snapshots

The affected tqfp44_w10.snap.svg was regenerated on ubuntu-latest CI (temporary workflow_dispatch helper, removed before opening this PR). Note: tqfp64/tqfp100 snapshot tests fail on Windows even on clean main (font rendering); this PR does not touch them and CI on Ubuntu confirms they pass.

Relation to #829

#829 (open since Aug 25) bundles fixes for five unrelated issues (#786/#788/#789/#790/#792) in one PR — including this change. This PR is scoped to #792 only, adds pitch/pad regression tests #829 does not have, and keeps #829's other fixes independently reviewable.

TQFP-44 is standardized as a 10x10mm body on 0.8mm pitch with 0.55mm-wide
leads (JEDEC MS-026 BBA; KiCad TQFP-44_10x10mm_P0.8mm), matching the sibling
tqfp32 defaults. It shared the 0.5mm-pitch / 0.3mm-pad group with tqfp48/64/
100 instead, producing pads too close together and too narrow for the leads.

Closes tscircuit#792
@Furox-Art
Furox-Art force-pushed the fix/tqfp44-0.8mm-pitch branch from 5f8d795 to 644109a Compare September 18, 2026 18:52
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.

1 participant