Skip to content

Preserve native curved PCB routes - #82

Open
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/preserve-native-pcb-arcs
Open

Preserve native curved PCB routes#82
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/preserve-native-pcb-arcs

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

Summary

  • import partial Altium copper arcs as one Circuit JSON route segment with standard bulge curvature instead of many straight chords
  • export curved route segments as native Altium Arc records while retaining straight Track output for ordinary segments
  • preserve clockwise and counterclockwise geometry, net, layer, and width
  • pin the exact native Arc writer from Serialize native PCB arcs altiumts#102

Schema dependency: tscircuit/circuit-json#744
Writer dependency: tscircuit/altiumts#102

Real-board verification

  • NodeMCU ESP-12 contains 214 netted copper arcs
  • source import: 214 curved traces
  • binary Altium round trip: 214 curved traces
  • updated the real-board side-by-side snapshot

Tests

  • bun run format:check
  • bun run typecheck
  • bun test --max-concurrency 1 (25 pass, 0 fail)

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