Skip to content

Render schematic document parameter values - #69

Open
ShiboSoftwareDev wants to merge 7 commits into
codex/render-schematic-sheet-symbolsfrom
codex/resolve-schematic-title-block-parameters
Open

Render schematic document parameter values#69
ShiboSoftwareDev wants to merge 7 commits into
codex/render-schematic-sheet-symbolsfrom
codex/resolve-schematic-title-block-parameters

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

Why

Schematic title blocks store text such as =Title and =Revision, while the actual values live in hidden document parameters. The SVG renderer was drawing the references literally, so title blocks did not show the values Altium shows.

What changed

  • Resolve document-level parameter references case-insensitively before rendering schematic text.
  • Follow chained document parameters, such as DocumentNumber referring to SheetNumber.
  • Leave project/runtime references unchanged when their value is not present in the .SchDoc.
  • Keep component-owned parameter text out of document-level resolution.
  • Add a focused one-test SVG snapshot and update the real Elk Pi schematic snapshot.

No geometry, font, color, or placement transformations were added.

Verification

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • focused SVG tests
  • all locally available tests (the optional TI bundle could not be downloaded because TI returned HTTP 403)
  • bun run build

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
altiumts Error Error Aug 24, 2026 6:30pm

Request Review

@ShiboSoftwareDev
ShiboSoftwareDev force-pushed the codex/resolve-schematic-title-block-parameters branch from 9a41f70 to b51096a Compare August 24, 2026 18:30
@ShiboSoftwareDev
ShiboSoftwareDev changed the base branch from main to codex/render-schematic-sheet-symbols August 24, 2026 18:33
@ShiboSoftwareDev
ShiboSoftwareDev force-pushed the codex/render-schematic-sheet-symbols branch from 3b8f95a to 90087d4 Compare August 27, 2026 09:17
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