Skip to content

Allow pcbRotation on silkscreen rectangles - #884

Closed
anil08607 wants to merge 1 commit into
tscircuit:mainfrom
anil08607:fix/silkscreen-rect-rotation
Closed

anil08607 wants to merge 1 commit into
tscircuit:mainfrom
anil08607:fix/silkscreen-rect-rotation

Conversation

@anil08607

@anil08607 anil08607 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Silkscreen rectangle props currently strip pcbRotation, so a converted rectangle loses its orientation. Preserve the common unit-aware rotation prop, including arbitrary and negative angles, without swapping its dimensions.

Found while auditing tscircuit/circuit-json-to-tscircuit#89.

Validation: all 574 tests pass, TypeScript typecheck and package build pass. All four required documentation/type generation scripts were run and their outputs included.

Runtime implementation: tscircuit/core#4265. Converter mapping: tscircuit/circuit-json-to-tscircuit#119.

@imrishabh18 imrishabh18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Start with a reproduction test PR in core before these changes

@seveibar seveibar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what this is needed for

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions Bot closed this Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants