Skip to content

Fix courtyards for jst, sot, to220, vson, electrolytic#590

Merged
MustafaMulla29 merged 9 commits intomainfrom
codex/fix-jst-footprint-courtyards
Apr 8, 2026
Merged

Fix courtyards for jst, sot, to220, vson, electrolytic#590
MustafaMulla29 merged 9 commits intomainfrom
codex/fix-jst-footprint-courtyards

Conversation

@MustafaMulla29
Copy link
Copy Markdown
Contributor

No description provided.

@MustafaMulla29 MustafaMulla29 requested a review from seveibar as a code owner April 8, 2026 06:47
@MustafaMulla29 MustafaMulla29 changed the title Fix courtyards for jst, sot, ssop, to220, vson Fix courtyards for jst, sot, to220, vson Apr 8, 2026
@MustafaMulla29 MustafaMulla29 changed the title Fix courtyards for jst, sot, to220, vson Fix courtyards for jst, sot, to220, vson, electrolytic Apr 8, 2026
src/fn/vson.ts Outdated
const courtyard: PcbCourtyardRect = {
type: "pcb_courtyard_rect",
pcb_courtyard_rect_id: "",
const roundToCourtyardGrid = (value: number) =>
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.

This function doesnt make sense. What is a courtyard grid? I should have said something earlier but there is no suvh thing as a courtyard grid. You could say roundTo10um but why are we rounding anyway?

Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

See comments.

We never use inline closures, i keep seeing them in your code! They are an antipattern and prevent refactoring code because they steal scope!

@MustafaMulla29 MustafaMulla29 merged commit 194e23a into main Apr 8, 2026
4 checks passed
@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.

3 participants