Skip to content

feat: add silkscreen reference designator to m2host footprint#541

Open
victorjzq wants to merge 1 commit intotscircuit:mainfrom
victorjzq:feat/FOOTPRINT-34
Open

feat: add silkscreen reference designator to m2host footprint#541
victorjzq wants to merge 1 commit intotscircuit:mainfrom
victorjzq:feat/FOOTPRINT-34

Conversation

@victorjzq
Copy link
Contributor

/claim #34

Enables the silkscreen reference designator text ({REF}) on the m2host footprint.

What changed

  • src/fn/m2host.ts: Uncommented the silkscreenRefText variable and added it to the circuit JSON output
  • Extended the translate() helper inside m2host to also translate anchor_position so the ref text is correctly centered with the rest of the footprint
  • tests/__snapshots__/m2host.snap.svg: Updated snapshot to reflect the new ref text

Test plan

  • bun test tests/m2host.test.ts passes with updated snapshot

…uit#34)

Uncomment and properly position the silkscreenRef text in m2host.ts so
that every footprint includes a reference designator silkscreen text element.
@victorjzq
Copy link
Contributor Author

Hey @seveibar — adds silkscreen reference designator to m2host footprint. CI green!

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.

1 participant