feat: implement PDIP footprint (PDIP-8)#702
Open
chengdazhi wants to merge 1 commit into
Open
Conversation
Add pdip as a footprint function reusing the standard DIP layout (0.3in/7.62mm row width, 2.54mm pitch, 0.8mm holes, 1.6mm pads), matching KiCad's PDIP/DIP-8_W7.62mm. - src/fn/pdip.ts: pdip function and pdip_def (reuses dip) - footprinter string support: pdip8 and hyphenated PDIP-8 alias - snapshot tests + KiCad parity test vs DIP-8_W7.62mm (courtyard IoU 99.90%, pads fully overlap)
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.
Closes #371
Summary
Implements the PDIP (Plastic Dual In-line Package) footprint. PDIP is the standard through-hole DIP layout, so
pdipreuses the existingdipgenerator with its industry-standard defaults (0.3in / 7.62mm row width, 2.54mm pitch, 0.8mm holes, 1.6mm pads, rectangular pin-1 pad).Supported strings:
pdip8/pdip<N>PDIP-8(hyphenated alias, normalized likeSOT-223-5)pdip8_w7.62mm_p2.54mmVerification
tests/kicad-parity/pdip8_kicad_parity.test.ts) comparespdip8againstPackage_DIP.pretty/DIP-8_W7.62mm: courtyard IoU 99.90% and pads fully overlap (boolean-difference snapshot shows complete overlap).tests/pdip.test.ts.bun test→ 437 pass / 0 fail.bun run buildsucceeds.Note: this PR was prepared with assistance from an AI coding agent; dimensions were verified against the KiCad footprint library reference.