Skip to content

fix(lcc): default pitch to standard 1.27mm to eliminate overlapping pads - #805

Open
rudra496 wants to merge 1 commit into
tscircuit:mainfrom
rudra496:fix/lcc-default-pitch
Open

fix(lcc): default pitch to standard 1.27mm to eliminate overlapping pads#805
rudra496 wants to merge 1 commit into
tscircuit:mainfrom
rudra496:fix/lcc-default-pitch

Conversation

@rudra496

Copy link
Copy Markdown

Summary

Fixes #794.

Previously, calling `fp.string("lccN")` without an explicit pitch inherited the generic quad default pitch of `0.5mm`. Because LCC pad width (`pw`) defaults to `0.6mm`, adjacent pads overlapped by `0.1mm`, generating an electrical short on emitted PCBs.

Changes

  1. Default Pitch: Defaulted `parameters.p` to standard `1.27mm` (JEDEC MO-047 / MS-034 standard for LCC/PLCC packages) in `src/fn/lcc.ts` when not explicitly specified by the caller.
  2. Unit Tests: Added `tests/lcc-pitch.test.ts` asserting that `fp.string("lcc44")` pads have `1.27mm` pitch spacing and do not overlap.

Verification

  • `bun test tests/lcc-pitch.test.ts` (1/1 passing).

Fixes tscircuit#794 by defaulting parameters.p to 1.27mm in lcc(), preventing adjacent 0.6mm pads from overlapping on 0.5mm default quad pitches.
Copilot AI lite review requested due to automatic review settings August 15, 2026 21:06
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

lcc footprints default to a 0.5mm pitch and emit overlapping pads

2 participants