Skip to content

Render pcb_courtyard_rect as <courtyardrect>#23

Open
yuliuyi717-ux wants to merge 1 commit intotscircuit:mainfrom
yuliuyi717-ux:codex/issue-1081-courtyard-rect-tsx
Open

Render pcb_courtyard_rect as <courtyardrect>#23
yuliuyi717-ux wants to merge 1 commit intotscircuit:mainfrom
yuliuyi717-ux:codex/issue-1081-courtyard-rect-tsx

Conversation

@yuliuyi717-ux
Copy link
Copy Markdown

Implements TSX generation support for courtyard rectangles for tscircuit/tscircuit#1081.

What this changes:

  • handle pcb_courtyard_rect elements in generateFootprintTsx
  • emit <courtyardrect ... /> with pcbX, pcbY, width, and height
  • include optional color passthrough when present
  • add regression test covering courtyard rect rendering

Validation:

  • bun test

/claim #1081

@yuliuyi717-ux yuliuyi717-ux force-pushed the codex/issue-1081-courtyard-rect-tsx branch from 65a42aa to 440cd50 Compare March 11, 2026 17:56
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