Skip to content

Skip locationless schematic text - #84

Open
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/hide-schematic-simulation-text
Open

Skip locationless schematic text#84
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
codex/hide-schematic-simulation-text

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

What changed

AltiumTS now renders schematic text records only when the source record contains a location.

Why

Altium stores simulation-model metadata as parameter records without LOCATION.X or LOCATION.Y. The SVG renderer treated missing coordinates as (0, 0), so unrelated strings such as SPICE netlist templates were all drawn on top of each other along the lower-left edge of the sheet.

Locationless records do not have drawable placement information. Skipping them preserves every normally positioned label while removing the invented pile of simulation text.

Testing

  • Added a focused SVG snapshot test with a locationless simulation parameter beside a positioned annotation.
  • Updated the existing Hyperpolyglot schematic snapshot; only the locationless metadata disappears.
  • bun test tests/svg/schematic-locationless-text.test.ts tests/svg/sample-schematic-sheet.test.ts --max-concurrency=1
  • SVG suite: 99 passed; its only initial failure was the intentionally changed Hyperpolyglot snapshot, which was regenerated and then passed.
  • bun run format:check
  • bun run typecheck
  • bun run build

@vercel

vercel Bot commented Aug 27, 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 27, 2026 9:57pm

Request Review

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