Via visibility in composite renders - vias blend with copper color #390
Unanswered
YouCanflyThruMostTheSun
asked this question in
Q&A
Replies: 1 comment
-
|
Hi If vias are a separate layer and are tagged appropriately I think it should be possible to change their color with a color map. For now please refer to the color map test case here for an example of how to set up a color map. You can also have a look at adjacent files for more. If 3.0.0a4 is missing API from those examples then I guess I will have to finally deploy 3.0.0b1 or at least 3.0.0a5 to publish it. It is surely there in the dev version 😅 If vias are part of the copper layer and you don't have a separate Gerber file containing only them then as of now there will be no way to change colors of parts of a single layer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a PCB viewer application using PyGerber's API to render composite board images. The rendering works, but vias are not visually distinct from copper traces - they appear the same color as the copper layer, making them effectively invisible.
Looking at the rendered image, I can see evidence that vias exist (there's a half-circle via visible at the board edge), but they blend in with the copper color scheme.
Color/Style API: What's the correct way to apply different colors to different layer types in v3.0.04a? I see the custom color maps documentation is not yet available.
Or am I doing something wrong and I should be displaying vias differently.
Current Approach
Main composite rendering:
Drill overlay attempt:
Beta Was this translation helpful? Give feedback.
All reactions