Skip to content

Feat/merge same net railsfeat: simplify collinear trace vertices + prep same-net rail merging - #752

Open
khozakhulile27-netizen wants to merge 129 commits into
tscircuit:mainfrom
khozakhulile27-netizen:feat/merge-same-net-rails
Open

Feat/merge same net railsfeat: simplify collinear trace vertices + prep same-net rail merging#752
khozakhulile27-netizen wants to merge 129 commits into
tscircuit:mainfrom
khozakhulile27-netizen:feat/merge-same-net-rails

Conversation

@khozakhulile27-netizen

Copy link
Copy Markdown

No description provided.

khozakhulile27-netizen and others added 30 commits May 22, 2026 12:35
Closes tscircuit#34

Adds a new `snapSameNetTraces` step to `TraceCleanupSolver` that detects
parallel segments belonging to the same net that are within a configurable
threshold (default 0.05) of each other and snaps them to their midpoint
coordinate, eliminating near-coincident same-net trace lines.

- New file: lib/solvers/TraceCleanupSolver/snapSameNetTraces.ts
- Modified: TraceCleanupSolver pipeline adds `snapping_same_net` step after `balancing_l_shapes`
- New file: tests/solvers/TraceCleanupSolver/snapSameNetTraces.test.ts (7 unit tests)
khozakhulile27-netizen and others added 28 commits July 11, 2026 11:33
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile  <khozakhulile27@gmail.com>
…arallel-traces

Fix/snap same net parallel traces
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
schematic-trace-solver Error Error Aug 1, 2026 8:50am

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant