Skip to content

feat: add pcb trace preview element#620

Open
vahapogut wants to merge 1 commit into
tscircuit:mainfrom
vahapogut:codex/add-pcb-trace-preview
Open

feat: add pcb trace preview element#620
vahapogut wants to merge 1 commit into
tscircuit:mainfrom
vahapogut:codex/add-pcb-trace-preview

Conversation

@vahapogut

Copy link
Copy Markdown

Fixes #136

Summary

  • Add a pcb_trace_preview Circuit JSON element for autorouting preview routes.
  • Reuse existing pcb_trace_route_point shapes so preview routes match real trace geometry.
  • Export the new element through PCB unions and any_circuit_element.

Verification

  • bun test tests\pcb-trace-preview.test.ts
  • bun x biome check src\pcb\pcb_trace_preview.ts tests\pcb-trace-preview.test.ts src\any_circuit_element.ts
  • bun run check-snake-case
  • bun run build

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.

Create a trace preview object to enable previewing autorouting results

1 participant