Skip to content

Add Copper Text Rendering and Knockout Support to Gerber Generator#74

Merged
Abse2001 merged 1 commit into
tscircuit:mainfrom
Abse2001:main
Dec 10, 2025
Merged

Add Copper Text Rendering and Knockout Support to Gerber Generator#74
Abse2001 merged 1 commit into
tscircuit:mainfrom
Abse2001:main

Conversation

@Abse2001

@Abse2001 Abse2001 commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

This PR adds full Gerber support for pcb_copper_text, including aperture config, vector text rendering, rotation, mirroring, and anchor alignment.
A unified renderVectorText function is introduced and used for both silkscreen and copper layers.
Knockout mode is supported via padded region drawing and polarity switching, enabling proper copper cutout text.
Two new snapshot tests validate normal copper text and knockout behavior across top and bottom layers.

* Add copper text gerber support

* Add copper text knockout rendering
@vercel

vercel Bot commented Dec 10, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
circuit-json-to-gerber Ready Ready Preview Comment Dec 10, 2025 0:27am

@Abse2001 Abse2001 changed the title Add copper text gerber support Add Copper Text Rendering and Knockout Support to Gerber Generator Dec 10, 2025
@Abse2001 Abse2001 merged commit 33f3846 into tscircuit:main Dec 10, 2025
5 checks passed
@tscircuitbot

Copy link
Copy Markdown

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

3 participants