Skip to content

Add crystal4 footprinter - #707

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

Add crystal4 footprinter#707
seveibar merged 2 commits into
mainfrom
agent/add-crystal4-footprint

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Summary

  • add a parametric crystal4 footprinter family
  • support horizontal/vertical pad pitch and pad dimensions
  • preserve the counter-clockwise 1–4 pin mapping

Why

The imported X322512MSB4SI footprint in common#78 only matched an existing generic footprint at 0.939 copper IoU. A dedicated four-pad crystal generator represents its 2×2 land pattern directly.

Impact

crystal4_px2.2mm_py1.7mm_pw1.4mm_ph1.2mm matches the target copper at 1.000 IoU while retaining the source pin positions.

Validation

  • bun test tests/crystal.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 22:41
@seveibar
seveibar requested a review from techmannih as a code owner July 13, 2026 22:41
@seveibar
seveibar merged commit 4980326 into main Jul 13, 2026
5 checks passed
@seveibar
seveibar deleted the agent/add-crystal4-footprint branch July 13, 2026 22:41
@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