Skip to content

Preserve inner-layer routing from real Altium boards - #75

Open
Abse2001 wants to merge 1 commit into
tscircuit:codex/repro-multilayer-routingfrom
Abse2001:codex/multilayer-routing
Open

Preserve inner-layer routing from real Altium boards#75
Abse2001 wants to merge 1 commit into
tscircuit:codex/repro-multilayer-routingfrom
Abse2001:codex/multilayer-routing

Conversation

@Abse2001

@Abse2001 Abse2001 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Fix

Stacked on the real-board reproduction PR. This change preserves Circuit JSON innerN copper layers as Altium MID-LAYERN instead of flattening every non-bottom route onto TOP.

The complete EBAZ4205 snapshot changes with the fix because all 20 real inner2 routes survive the round trip. The complete HERON PAY-SSM fixture independently verifies its real inner-layer route. Top- and bottom-layer behavior remains covered by the other full boards.

Verification

  • bun test tests/roundtrip01-nodemcu-esp12.test.ts tests/roundtrip02-ebaz4205.test.ts tests/roundtrip03-heron-payload-ssm.test.ts tests/roundtrip04-simplefoc-mini.test.ts tests/roundtrip05-simplefoc-shield-v3.test.ts
  • bun run format
  • bun run typecheck

Base/reproduction PR: #96

@Abse2001
Abse2001 force-pushed the codex/multilayer-routing branch from 840cb8a to 0a18448 Compare August 31, 2026 21:22
@Abse2001 Abse2001 changed the title Preserve multilayer routing and via spans Preserve inner-layer routing from real Altium boards Aug 31, 2026
@Abse2001
Abse2001 force-pushed the codex/multilayer-routing branch from 0a18448 to 8bfa6a5 Compare September 2, 2026 12:11
@Abse2001
Abse2001 changed the base branch from main to codex/repro-multilayer-routing September 2, 2026 12:11
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