Allow length-matched routes beside their connected terminal pads - #63
Open
seveibar wants to merge 2 commits into
Open
Allow length-matched routes beside their connected terminal pads#63seveibar wants to merge 2 commits into
seveibar wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Sep 3, 2026
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.
Pipeline9's SOIC8 differential-pair route has a valid terminal escape that passes close to its own pad. Post-processing applied the clearance reserved for unrelated copper to the next segment, rejected the completed meander, and returned the original pair with 4.395931 mm skew instead of the requested 0.05 mm.
For connected pads, validate the actual copper envelope without the extra unrelated-copper margin. Terminal exceptions stay limited to terminal segments; nonterminal copper still cannot overlap the pad, and unrelated-pad clearance is unchanged.
The regression reproduces the input emitted by tscircuit/core's
differential-pair/routing-phase.test.tsx. It now produces 0.0000000004 mm skew and preserves both route endpoints. A separate geometry test verifies that pad overlap and unrelated-pad clearance violations are still rejected.Validation: 83 tests passed, TypeScript and structural file checks passed, build passed. The emitted routing snapshot was rendered and inspected. This unblocks the Pipeline9 default migration in core.