Skip to content

test: reproduce imported bottom silkscreen layer and rotation loss - #5900

Open
rushabhcodes wants to merge 2 commits into
mainfrom
codex/repro-imported-bottom-silkscreen
Open

rushabhcodes wants to merge 2 commits into
mainfrom
codex/repro-imported-bottom-silkscreen

Conversation

@rushabhcodes

@rushabhcodes rushabhcodes commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Importing the two-resistor KiCad board used by tscircuit/eval changes R2's silkscreen from bottom at 0° to top at 180°. Native KiCad 10.0.7 reports B.SilkS, a 0° draw rotation, and mirrored text for this source board.

Adds two test.failing regressions: the real KiCad import and a compact circuit with components at 0°, 90°, 180°, and 270° on both sides. Each records a PCB SVG plus top and bottom angled 3D PNG snapshots before asserting the desired board-space text layer and rotation. Production code is unchanged. The 3D views show the misplaced top-side labels and the missing bottom-side labels.

Validation: both expected-failure tests pass. Removing test.failing produces the intended layer/rotation failures after the SVG and 3D comparisons. Fix: #5901, linked in a native GitHub stack.

Before: top 3D

Before: bottom 3D

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
tscircuit-core-benchmarks Ready Ready Preview Nov 25, 2026 3:20pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 19924d38 Deployed Nov 25, 2026 by vercel[bot]
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