Skip to content

Add visual repro for incorrect bottom courtyard color - #66

Open
anil08607 wants to merge 1 commit into
tscircuit:mainfrom
anil08607:repro/bottom-courtyard-color
Open

Add visual repro for incorrect bottom courtyard color#66
anil08607 wants to merge 1 commit into
tscircuit:mainfrom
anil08607:repro/bottom-courtyard-color

Conversation

@anil08607

Copy link
Copy Markdown
Contributor

Summary

Adds a passing visual repro for the PCB bottom-courtyard color issue.

The test renders courtyard primitives directly with altiumts:

  • Mechanical 15 represents the top courtyard.
  • Mechanical 16 represents the bottom courtyard.
  • Tracks and a region cover Mechanical 15.
  • A full-circle arc covers Mechanical 16.

Current behavior

Mechanical 16 incorrectly uses the same magenta color (#ec4899) as Mechanical 15.

The test explicitly confirms that both layers receive the same color and includes a single Altium SVG snapshot demonstrating the issue.

Notes

This PR only adds the reproduction. It does not fix the layer-color mapping and does not use Circuit JSON.

Test

bun test tests/svg/pcb-courtyards.test.ts

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

@anil08607 is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

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