Skip to content

feat: implement SIP (Single Inline Package) footprint#542

Open
victorjzq wants to merge 1 commit intotscircuit:mainfrom
victorjzq:feat/FOOTPRINT-sip
Open

feat: implement SIP (Single Inline Package) footprint#542
victorjzq wants to merge 1 commit intotscircuit:mainfrom
victorjzq:feat/FOOTPRINT-sip

Conversation

@victorjzq
Copy link
Contributor

/claim #2

Implements the sip footprint 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)
    • Pin 1 uses a square pad (rectangular plated hole) for polarity indication
    • Silkscreen outline drawn around the component body
    • Silkscreen ref designator text
    • Courtyard rect
  • src/fn/index.ts: exports sip
  • src/footprinter.ts: adds sip type declaration
  • tests/sip1.test.ts: snapshot test for sip5_w8.5mm_p2.54mm
  • tests/sip2.test.ts: snapshot test for sip10_w10mm_p2.54mm

Examples

sip5                         // 5-pin SIP, default 2.54mm pitch
sip10                        // 10-pin SIP
sip5_w8.5mm_p2.54mm          // ✅ matches breadth checklist
sip10_w10mm_p2.54mm          // ✅ matches breadth checklist

Test plan

  • bun test tests/sip1.test.ts passes
  • bun test tests/sip2.test.ts passes
  • bun run format clean

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
@victorjzq
Copy link
Contributor Author

Hey @seveibar — SIP (Single Inline Package) footprint implementation. CI green and ready for review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant