Skip to content

Serialize native PCB arcs - #64

Open
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/issue-8-native-arcs
Open

Serialize native PCB arcs#64
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/issue-8-native-arcs

Conversation

@ShiboSoftwareDev

@ShiboSoftwareDev ShiboSoftwareDev commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Why

Altium stores PCB curves as native Arc primitives in an Arcs6 stream. AltiumTS could parse some arc data, but its PCB writer rejected Arc, so converters could not produce a real curved Altium primitive.

What changed

  • serialize PCB Arc records into the native Arcs6 binary stream
  • preserve center, radius, start/end angles, width, layer, component, net, polygon, and keepout data
  • parse the native arc keepout flag
  • validate supported arc fields and continue rejecting genuinely unsupported primitive kinds
  • prove the binary round trip with one focused test file

Verification

  • bun test — 182 passed, 1,269 assertions
  • bun run lint
  • bun run typecheck
  • bun run format:check
  • package ESM, declaration, CLI, and size verification
  • browser bundle verification
  • site typecheck

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
altiumts Error Error Aug 26, 2026 2:14pm

Request Review

@ShiboSoftwareDev
ShiboSoftwareDev force-pushed the codex/issue-8-native-arcs branch from b6c502c to 20b4807 Compare August 26, 2026 14:14
@ShiboSoftwareDev
ShiboSoftwareDev marked this pull request as ready for review August 26, 2026 14:31
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