Repository navigation
test: reproduce imported bottom silkscreen layer and rotation loss - #5900
Open
rushabhcodes wants to merge 2 commits into
Open
rushabhcodes wants to merge 2 commits into
rushabhcodes wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.failingregressions: 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.failingproduces the intended layer/rotation failures after the SVG and 3D comparisons. Fix: #5901, linked in a native GitHub stack.