Skip to content

Add smdpushbutton4 footprinter - #705

Merged
seveibar merged 2 commits into
mainfrom
agent/add-smdpushbutton4-footprint
Jul 13, 2026
Merged

Add smdpushbutton4 footprinter#705
seveibar merged 2 commits into
mainfrom
agent/add-smdpushbutton4-footprint

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Summary

  • add a parametric smdpushbutton4 footprinter family
  • support horizontal/vertical pad pitch and pad dimensions
  • preserve the source row-based 1–4 pin mapping

Why

The imported SKRPACE010 footprint in common#78 does not have an existing footprinter representation with sufficiently high copper overlap. A dedicated four-pad SMD pushbutton generator captures the repeated switch land pattern.

Impact

smdpushbutton4_px4.2mm_py2.15mm_pw1.05mm_ph0.7mm matches the target copper at 1.000 IoU while retaining the source pin positions.

Validation

  • bun test tests/smdpushbutton.test.ts
  • bun test — 434 pass, 0 fail
  • bun run build
  • git diff --check

@seveibar
seveibar marked this pull request as ready for review July 13, 2026 23:06
@seveibar
seveibar requested a review from techmannih as a code owner July 13, 2026 23:07
@seveibar
seveibar merged commit ba6e68a into main Jul 13, 2026
5 checks passed
@seveibar
seveibar deleted the agent/add-smdpushbutton4-footprint branch July 13, 2026 23:07
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating:
Impact: Tiny

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.

2 participants