Index: trunk/src_plugins/drc_query/drc_query.conf =================================================================== --- trunk/src_plugins/drc_query/drc_query.conf (revision 30372) +++ trunk/src_plugins/drc_query/drc_query.conf (revision 30373) @@ -15,6 +15,20 @@ default = 0.0 desc = {How much drilled holes may overlap [-1..+1]; 0 means touching holes are reported; positive numbers allow more overlap, negative numbers report non-overlapping but close holes} } + + ha:min_copper_thickness { + type = coord + default = 0mm + legacy = design/min_wid + desc = {Minimum copper object width; anything thinner than this value is a violation} + } + + ha:min_silk_thickness { + type = coord + default = 0mm + legacy = design/min_slk + desc = {Minimum silk object width; anything thinner than this value is a violation} + } } li:rules { @@ -62,6 +76,20 @@ } } + ha:min_copper_thickness { + type = thin copper + title = copper object too thin + desc = Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. + query = {(@.layer.type == COPPER) && (@.thickness != 0) && (@.thickness < $min_copper_thickness)} + } + + ha:min_silk_thickness { + type = thin silk + title = silk object too thin + desc = Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. + query = {(@.layer.type == SILK) && (@.thickness != 0) && (@.thickness < $min_silk_thickness)} + } + } } }