Index: trunk/src_plugins/drc_query/drc_query.conf =================================================================== --- trunk/src_plugins/drc_query/drc_query.conf (revision 33043) +++ trunk/src_plugins/drc_query/drc_query.conf (revision 33044) @@ -55,7 +55,7 @@ type = single hole title = hole too small desc = padstack hole diameter is too small - query = {(@.hole > 0) && (@.hole < $min_drill)} + query = {(@.hole > 0) && (@.hole < $min_drill) thus violation(DRCGRP1, @, DRCMEASURE, @.hole, DRCEXPECT, $min_drill)} } ha:hole_overlap { @@ -66,7 +66,7 @@ rule overlap let A @.type==PSTK let B A -assert (A.IID > B.IID) && (distance(A.x, A.y, B.x, B.y) < (A.hole + B.hole)/(2*(1+$hole_overlap_factor))) thus violation(DRCGRP1, A, DRCGRP2, B, DRCMEASURE, distance(A.x, A.y, B.x, B.y), DRCEXPECT, (A.hole + B.hole)/(2*(1+$hole_overlap_factor))) +assert (A.IID > B.IID) && (distance(A.x, A.y, B.x, B.y) < (A.hole + B.hole)/(2*(1+$hole_overlap_factor))) thus violation(DRCGRP1, A, DRCGRP2, B, DRCMEASURE, coord(distance(A.x, A.y, B.x, B.y)), DRCEXPECT, coord((A.hole + B.hole)/(2*(1+$hole_overlap_factor)))) } } @@ -98,7 +98,7 @@ 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)} + query = {(@.layer.type == COPPER) && (@.thickness != 0) && (@.thickness < $min_copper_thickness) thus violation(DRCGRP1, @, DRCMEASURE, @.thickness, DRCEXPECT, $min_copper_thickness)} } ha:min_silk_thickness { @@ -105,7 +105,7 @@ 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)} + query = {(@.layer.type == SILK) && (@.thickness != 0) && (@.thickness < $min_silk_thickness) thus violation(DRCGRP1, @, DRCMEASURE, @.thickness, DRCEXPECT, $min_silk_thickness) } } ha:beyond_drawing_area { Index: trunk/tests/drc_query/dwg_area.ref =================================================================== --- trunk/tests/drc_query/dwg_area.ref (revision 33043) +++ trunk/tests/drc_query/dwg_area.ref (revision 33044) @@ -1,20 +1,16 @@ x: object beyond drawing area: Objects located outside of the drawing area within (487.40, 43.65, 612.60, 106.35) mil -required value 0.00 Objects may be omitted from exports or may be outside of the board contour. x: object beyond drawing area: Objects located outside of the drawing area within (112.40, 193.65, 237.60, 256.35) mil -required value 0.00 Objects may be omitted from exports or may be outside of the board contour. x: object beyond drawing area: Objects located outside of the drawing area within (112.40, -106.35, 237.60, -43.65) mil -required value 0.00 Objects may be omitted from exports or may be outside of the board contour. x: object beyond drawing area: Objects located outside of the drawing area within (-212.60, 43.65, -87.40, 106.35) mil -required value 0.00 Objects may be omitted from exports or may be outside of the board contour. Index: trunk/tests/drc_query/fullpoly.ref =================================================================== --- trunk/tests/drc_query/fullpoly.ref (revision 33043) +++ trunk/tests/drc_query/fullpoly.ref (revision 33044) @@ -2,6 +2,5 @@ W: Polygon #116 cleared out of existence near (8.5725 mm, 8.5725 mm) x: fullpoly: Multi-island polygon with the fullpoly flag within (259.38, 9.38, 415.63, 165.63) mil -required value 0.00 Polygon with the fullpoly flag set is cut into multiple islands Index: trunk/tests/drc_query/netint.ref =================================================================== --- trunk/tests/drc_query/netint.ref (revision 33043) +++ trunk/tests/drc_query/netint.ref (revision 33044) @@ -1,15 +1,12 @@ x: shorted nets: net too close to other net within (23.98, 7.31, 126.02, 183.43) mil -required value 0.00 insufficient clearance between an object of the network and objects of other networks x: shorted nets: net too close to other net within (23.98, 7.31, 126.02, 183.43) mil -required value 0.00 insufficient clearance between an object of the network and objects of other networks x: broken net: insufficient overlap within (17.50, 111.25, 91.76, 248.01) mil -required value 0.00 the overlap between two objects in the net is insufficient and can lead to broken network during board fabrication Index: trunk/tests/drc_query/overlap.ref =================================================================== --- trunk/tests/drc_query/overlap.ref (revision 33043) +++ trunk/tests/drc_query/overlap.ref (revision 33044) @@ -6,6 +6,7 @@ x: single hole: hole too small within (20.00, 245.00, 130.00, 355.00) mil -required value 0.00 +required value 15.00 mil +measured value 1.50 mil padstack hole diameter is too small Index: trunk/tests/drc_query/thickness.ref =================================================================== --- trunk/tests/drc_query/thickness.ref (revision 33043) +++ trunk/tests/drc_query/thickness.ref (revision 33044) @@ -1,30 +1,36 @@ x: thin silk: silk object too thin within (1196.00, 413.75, 1566.00, 556.25) mil -required value 0.00 +required value 7.00 mil +measured value 6.00 mil Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. x: thin silk: silk object too thin within (976.92, 351.93, 1223.08, 598.08) mil -required value 0.00 +required value 7.00 mil +measured value 6.00 mil Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. x: thin silk: silk object too thin within (896.16, 324.29, 953.84, 600.71) mil -required value 0.00 +required value 7.00 mil +measured value 6.00 mil Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. x: thin copper: copper object too thin within (346.00, 413.75, 716.00, 556.25) mil -required value 0.00 +required value 10.00 mil +measured value 9.00 mil Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. x: thin copper: copper object too thin within (125.01, 350.01, 374.99, 599.99) mil -required value 0.00 +required value 10.00 mil +measured value 9.00 mil Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. x: thin copper: copper object too thin within (44.28, 322.41, 105.72, 602.59) mil -required value 0.00 +required value 10.00 mil +measured value 9.00 mil Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. Index: trunk/tests/drc_query/zone_clr.ref =================================================================== --- trunk/tests/drc_query/zone_clr.ref (revision 33043) +++ trunk/tests/drc_query/zone_clr.ref (revision 33044) @@ -1,10 +1,10 @@ x: shorted nets: net too close to other net (zone) within (396.78, 131.15, 678.22, 568.85) mil -required value 20.00 mil +required value 20mil insufficient clearance between an object of the network and objects of other networks x: shorted nets: net too close to other net (zone) within (362.40, 284.28, 487.60, 440.72) mil -required value 20.00 mil +required value 20mil insufficient clearance between an object of the network and objects of other networks