feat: implement SIP (Single Inline Package) footprint#542
Open
victorjzq wants to merge 1 commit intotscircuit:mainfrom
Open
feat: implement SIP (Single Inline Package) footprint#542victorjzq wants to merge 1 commit intotscircuit:mainfrom
victorjzq wants to merge 1 commit intotscircuit:mainfrom
Conversation
Add sip footprint for single-row through-hole pin packages (e.g., SIP-5, SIP-10). Supports configurable pin count, pitch, hole diameter, and body width. Pin 1 uses a rectangular pad for polarity indication. Addresses sip5_w8.5mm_p2.54mm and sip10_w10mm_p2.54mm items in tscircuit#2
Contributor
Author
|
Hey @seveibar — SIP (Single Inline Package) footprint implementation. CI green and ready for review! |
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.
/claim #2
Implements the
sipfootprint for Single Inline Package through-hole components (sip5 and sip10 from the breadth checklist).What changed
src/fn/sip.ts: New SIP footprint with configurable pin count (num_pins), pitch (p, default 2.54mm), hole/pad sizes (id/od), and body width (w)src/fn/index.ts: exportssipsrc/footprinter.ts: addssiptype declarationtests/sip1.test.ts: snapshot test forsip5_w8.5mm_p2.54mmtests/sip2.test.ts: snapshot test forsip10_w10mm_p2.54mmExamples
Test plan
bun test tests/sip1.test.tspassesbun test tests/sip2.test.tspassesbun run formatclean