Skip to content

fix MSOP KiCad pad parity#681

Merged
rushabhcodes merged 1 commit into
tscircuit:mainfrom
rushabhcodes:codex/fix-msop8-kicad-parity
Jul 3, 2026
Merged

fix MSOP KiCad pad parity#681
rushabhcodes merged 1 commit into
tscircuit:mainfrom
rushabhcodes:codex/fix-msop8-kicad-parity

Conversation

@rushabhcodes

Copy link
Copy Markdown
Contributor

Summary

  • derive MSOP pad-row positions from body width and pad length
  • preserve KiCad’s 0.2 mm pad-to-body overlap
  • update MSOP footprint and KiCad parity snapshots

Why

The MSOP coordinate helper accepted the package body width but ignored it, placing every pad row at a hard-coded ±2 mm. For the KiCad MSOP-8 footprint, this put both rows 0.1125 mm too close to the package center.

Impact

MSOP pad placement now scales correctly with package and pad dimensions, and the MSOP-8 parity visualization has complete pad overlap.

Validation

  • bun test tests/msop.test.ts tests/kicad-parity/msop8_kicad_parity.test.ts
  • bun run build

@rushabhcodes rushabhcodes changed the title [codex] fix MSOP KiCad pad parity fix MSOP KiCad pad parity Jul 3, 2026
@rushabhcodes rushabhcodes marked this pull request as ready for review July 3, 2026 10:23
Copilot AI review requested due to automatic review settings July 3, 2026 10:23

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.

@rushabhcodes rushabhcodes merged commit ff29a43 into tscircuit:main Jul 3, 2026
6 checks passed
@rushabhcodes rushabhcodes deleted the codex/fix-msop8-kicad-parity branch July 3, 2026 18:00
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

4 participants