fix: sot343 symmetric about origin, matching KiCad SOT-343_SC-70-4 - #855
Open
birdup000 wants to merge 1 commit into
Open
fix: sot343 symmetric about origin, matching KiCad SOT-343_SC-70-4#855birdup000 wants to merge 1 commit into
birdup000 wants to merge 1 commit into
Conversation
…scircuit#667) The left pad column sat at -p*1.92 while the right used +p only (missing the scale factor), so pads were lopsided (-1.056 vs +0.55) and the land pattern would not match a real SC-70-4. KiCad's SOT-343_SC-70-4 places pads at +/-0.825mm, so both columns now use p*1.5. The hardcoded courtyard is aligned to KiCad's exact outline (outer edge +/-1.45, arms +/-0.73) and keeps 100.00% courtyard IoU in the parity test. Fixes tscircuit#667
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #667
What
getCcwSot343Coordsscaled the left column byp*1.92but the right by barep, so pads sat at −1.056 / +0.55 (center −0.253, columns ~1.6mm apart) — a real SC-70-4's leads would miss half their pads. I fetched KiCad'sSOT-343_SC-70-4reference: pads are symmetric at ±0.825mm, so both columns now usep*1.5(0.55mm default pitch). The hardcoded courtyard is replaced with KiCad's exact outline (outer ±1.45, arms ±0.73).Verification
[−0.825, −0.825, +0.825, +0.825], centered on origin, column spacing 1.65mm = KiCad exactly