Skip to content

Add dimensionally accurate crystal4 3D model support - #311

Merged
seveibar merged 4 commits into
tscircuit:mainfrom
rushabhcodes:add-crystal4-3d-model
Jul 29, 2026
Merged

Add dimensionally accurate crystal4 3D model support#311
seveibar merged 4 commits into
tscircuit:mainfrom
rushabhcodes:add-crystal4-3d-model

Conversation

@rushabhcodes

@rushabhcodes rushabhcodes commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the first dedicated 3D model implementation for crystal4 footprints.

The new model represents a 3.2 × 2.5 × 0.7 mm metal-can crystal package and derives its geometry from footprinter parameters.

Visual Coverage

Adds a PNG snapshot test for crystal4 to validate the complete rendered package and protect the new model from visual regressions.
image

Validation

  • bun test — 73 tests passing
  • bun test tests/snapshots/crystal4.test.ts
  • bun run build
  • bunx biome check lib/Crystal.tsx

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
jscad-electronics Ready Ready Preview, Comment Jul 26, 2026 10:27am

Request Review

@rushabhcodes
rushabhcodes marked this pull request as ready for review July 26, 2026 10:25
Copilot AI review requested due to automatic review settings July 26, 2026 10:25

Copilot AI left a comment

Copy link
Copy Markdown

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.

Comment thread lib/Footprinter3d.tsx

@imrishabh18 imrishabh18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@github-actions

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@seveibar
seveibar merged commit 8f99793 into tscircuit:main Jul 29, 2026
6 checks passed
@rushabhcodes
rushabhcodes deleted the add-crystal4-3d-model branch July 29, 2026 16:17
@tscircuitbot

Copy link
Copy Markdown

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.

5 participants