Skip to content

add LED5050 3D model - #312

Merged
seveibar merged 3 commits into
tscircuit:mainfrom
rushabhcodes:feat/led5050
Jul 29, 2026
Merged

add LED5050 3D model#312
seveibar merged 3 commits into
tscircuit:mainfrom
rushabhcodes:feat/led5050

Conversation

@rushabhcodes

@rushabhcodes rushabhcodes commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

What changed

  • add a reusable Led5050 JSCAD model with a white tapered package, yellow phosphor surface, six aligned contacts, and a shallow pin-1 corner recess
  • integrate the led5050 footprinter function, including _color(...) overrides
  • export the component and add a Cosmos example
  • add a PNG snapshot regression test
  • update @tscircuit/footprinter to the version that supports led5050
image

Ref

image

Why

led5050 footprints previously had no matching 3D package model, so footprint previews could only render their pads.

Impact

Consumers using the led5050 footprint now receive a dimensionally matched 5.4 × 5.0 × 1.55 mm 3D model with contacts aligned to the footprint rows.

Validation

  • bun run format:check
  • bunx tsc --noEmit
  • bun run build
  • bun test — 75 passed, 0 failed

@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 28, 2026 8:09pm

Request Review

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

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/Led5050.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.

Add the snapshot the model which you're referencing

@rushabhcodes
rushabhcodes requested a review from imrishabh18 July 27, 2026 13:16
@seveibar
seveibar merged commit 361b247 into tscircuit:main Jul 29, 2026
6 checks passed
@rushabhcodes
rushabhcodes deleted the feat/led5050 branch July 29, 2026 17:10
@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