feat: add pdip and spdip aliases for dip footprint#673
Open
di3go04 wants to merge 5 commits into
Open
Conversation
- Normalize pdip/PDIP/pdip-* to dip in normalizeDefinition - Normalize spdip/SPDIP/spdip-* to dip in normalizeDefinition - Add 12 tests covering resolution, case-insensitivity, hyphen variants, parameter passthrough, and SVG snapshots - Update README examples with pdip8 and spdip8 Fixes tscircuit#371
SPDIP (Shrink DIP) is now a first-class footprint function instead of an alias to dip. Default pitch is 1.778mm (70mil). Refs tscircuit#180
UTDFN is an Ultra Thin DFN package. Supports exposed pads via the _epWxH string syntax (e.g. utdfn4_ep1x1). Refs tscircuit#183
Add 5050 (5.0x5.0mm) and 2835 (2.8x3.5mm) LED package sizes to the passive footprint sizes array. Refs tscircuit#122
Author
|
This PR now also resolves:
Also fixed the biome format check failure. All 456 tests pass locally. |
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.
Description
Fixes #371
Adds pdip and spdip as aliases for the existing dip footprint in the string normalizer. PDIP (Plastic Dual In-line Package) and SPDIP (Shrink Plastic DIP) are electrically and dimensionally identical to standard DIP — sharing 2.54mm pitch and 300mil row spacing.
Changes
ormalizeDefinition\ to map \pdip/\spdip\ (case-insensitive, with/without hyphen) to \dip\
Verification
All 443 tests pass (0 failures).
Approach
Alias-based approach (recommended in the issue) to avoid dimensional divergence from DIP.