Skip to content

Serialize native PCB arcs - #102

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

Serialize native PCB arcs#102
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/serialize-native-pcb-arcs-v2

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

Summary

  • encode PCB Arc primitives into native Arcs6 binary records
  • preserve center, radius, start/end angles, width, ownership, net, layer, and keepout flags
  • decode the native keepout bit and keep unsupported-record rejection strict

This is the writer prerequisite for preserving curved copper routes in circuit-json-to-altium.

Tests

  • bun test tests/binary-pcb-arc-creation.test.ts tests/binary-pcb-unsupported-record-rejection.test.ts
  • bun run typecheck
  • bun run format:check
  • bun run build

The full suite was also attempted. TI currently returns 403 from bun run download-references; tests backed by the available local corpus ran, while tests requiring the missing Novena, Elk Pi, and dated SimpleFOC files could not load their fixtures.

@vercel

vercel Bot commented Aug 31, 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 31, 2026 8:18pm

Request Review

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