Skip to content

implement issue #29#141

Closed
acercreed305 wants to merge 1 commit intotscircuit:mainfrom
acercreed305:issue-29
Closed

implement issue #29#141
acercreed305 wants to merge 1 commit intotscircuit:mainfrom
acercreed305:issue-29

Conversation

@acercreed305
Copy link

/claim #29
Solution
Adds TraceCombineSolver to merge parallel, collinear trace segments on the same net.

Changes

  • New solver: lib/solvers/TraceCombineSolver/TraceCombineSolver.ts
    Groups traces by net, combines overlapping/touching parallel segments within 0.1 distance, snaps shorter to longer. Runs up to 4 passes for cascading merges.
  • Pipeline: Inserted in SchematicTracePipelineSolver.ts after traceOverlapShiftSolver. Updated downstream solvers to use combined traces.
  • Cleanup: Removes dup points and simplifies collinear verts after combining.
  • Test: tests/solvers/TraceCombineSolver/TraceCombineSolver.test.ts verifies combining behavior.

@vercel
Copy link

vercel bot commented Mar 24, 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 Mar 24, 2026 9:49am

Request Review

@MustafaMulla29
Copy link

@acercreed305 hey! We stopped giving out bounties. And also the tests are failing.

@seveibar
Copy link
Contributor

closing based on poor title

@seveibar seveibar closed this Mar 24, 2026
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.

3 participants