Skip to content

Merge close same-net trace segments#398

Open
akmittal006 wants to merge 1 commit into
tscircuit:mainfrom
akmittal006:codex-align-same-net-trace-segments
Open

Merge close same-net trace segments#398
akmittal006 wants to merge 1 commit into
tscircuit:mainfrom
akmittal006:codex-align-same-net-trace-segments

Conversation

@akmittal006
Copy link
Copy Markdown

Fixes #34

/claim #34

Summary

  • add a TraceCleanup pass that aligns close, overlapping orthogonal trace segments on the same net
  • keep endpoint pin segments untouched by only adjusting interior segments
  • add unit coverage for horizontal/vertical same-net alignment and different-net behavior
  • update SVG snapshots for the new cleanup output

Tests

  • bun run format:check
  • bun test

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview, Comment May 21, 2026 7:15am

Request 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.

Merge same-net trace lines that are close together (make at the same Y or same X)

1 participant