I am finishing up my first project in KiCAD and have been trying to clean up my PCB text on the layers and run the DRC check to find things I need to fix. The only items left in the DRC check are warnings about the Silkscreen being clipped by solder mask and Silkscreen Overlapping lines.
Is there a way to disable those checks? Silkscreen lines for a Footprint being crossed by a line that I have specifically drawn around parts is not a warning I care about. Neither are warnings about the silkscreen going through solder mask areas or silkscreens being crossed by Edge Cuts. I sometimes have to add internal cutouts between AC and DC sections so UL does not complain and if they cross a components silkscreen outline, it does not matter.
My PCB shows 126 of those warnings. I know I can turn warnings off, but It would be nice to be able to refine them somewhat so that I donât have to see them every time I design a board.
You can exclude them on a case-by-case basis, which gives you the most flexibility but will be annoying for 126 of them. Right click on the violation in the DRC window and click âexclude this itemâ.
You can ignore all silkscreen-clipped-by-solder-mask (or whatever) at once by right clicking on one of them in the DRC window and clicking âignore all âsilkscreen clipped by solder maskâ violationsâ. That sets the violation severity for that category of violations to âignoreâ so you wonât see any of those in the future for this project.
You can manually set severities for all violation types in File â Board Setup â Violation Severity. You can also get here by right-clicking any violation in the DRC window and clicking âedit violation severitiesâ:
Assuming youâre using 6.0, right click on one of the warnings. Youâll get a menu that allows you to either mark that specific case as an exception, or turn of all warnings of that particular class.
Depending on whether you mean a specific component on your board or specific type of component youâll need to draw a rule area either on your board or in the footprint and name it âsilk_okâ.
Let me know if it works; itâs probably worth adding to the syntax help examplesâŚ
There is a complication though if you only want to make the rule apply to only one component. You cannot create a group if you have only selected one component, so you have to select two components, create the group and then delete the component you donât want in the group which leaves the group with only one component.
It would be handy if there was an expression function that allowed you to determine if an object was an element of a footprint. Something like the following:
@JeffYoung Ok, works. Hereâs the (your) example. Maybe for the docs? Demonstrates use of rule areas.
#ignore silkscreen overlap violations in rule area(s) 'silk_ok'
#rule area has to be on the respective silkscreen layer(s)
(rule allow_silk_collisions
(constraint silk_clearance (min -1mm))
(condition "A.insideArea('silk_ok')"))