Add regression test for 14334.
This commit is contained in:
parent
1b4f905f4c
commit
e65a58b823
|
@ -0,0 +1,302 @@
|
|||
(kicad_pcb (version 20221018) (generator pcbnew)
|
||||
|
||||
(general
|
||||
(thickness 1.6)
|
||||
)
|
||||
|
||||
(paper "A4")
|
||||
(layers
|
||||
(0 "F.Cu" signal)
|
||||
(31 "B.Cu" signal)
|
||||
(32 "B.Adhes" user "B.Adhesive")
|
||||
(33 "F.Adhes" user "F.Adhesive")
|
||||
(34 "B.Paste" user)
|
||||
(35 "F.Paste" user)
|
||||
(36 "B.SilkS" user "B.Silkscreen")
|
||||
(37 "F.SilkS" user "F.Silkscreen")
|
||||
(38 "B.Mask" user)
|
||||
(39 "F.Mask" user)
|
||||
(40 "Dwgs.User" user "User.Drawings")
|
||||
(41 "Cmts.User" user "User.Comments")
|
||||
(42 "Eco1.User" user "User.Eco1")
|
||||
(43 "Eco2.User" user "User.Eco2")
|
||||
(44 "Edge.Cuts" user)
|
||||
(45 "Margin" user)
|
||||
(46 "B.CrtYd" user "B.Courtyard")
|
||||
(47 "F.CrtYd" user "F.Courtyard")
|
||||
(48 "B.Fab" user)
|
||||
(49 "F.Fab" user)
|
||||
(50 "User.1" user)
|
||||
(51 "User.2" user)
|
||||
(52 "User.3" user)
|
||||
(53 "User.4" user)
|
||||
(54 "User.5" user)
|
||||
(55 "User.6" user)
|
||||
(56 "User.7" user)
|
||||
(57 "User.8" user)
|
||||
(58 "User.9" user)
|
||||
)
|
||||
|
||||
(setup
|
||||
(pad_to_mask_clearance 0)
|
||||
(pcbplotparams
|
||||
(layerselection 0x00010fc_ffffffff)
|
||||
(plot_on_all_layers_selection 0x0000000_00000000)
|
||||
(disableapertmacros false)
|
||||
(usegerberextensions false)
|
||||
(usegerberattributes true)
|
||||
(usegerberadvancedattributes true)
|
||||
(creategerberjobfile true)
|
||||
(dashed_line_dash_ratio 12.000000)
|
||||
(dashed_line_gap_ratio 3.000000)
|
||||
(svgprecision 4)
|
||||
(plotframeref false)
|
||||
(viasonmask false)
|
||||
(mode 1)
|
||||
(useauxorigin false)
|
||||
(hpglpennumber 1)
|
||||
(hpglpenspeed 20)
|
||||
(hpglpendiameter 15.000000)
|
||||
(dxfpolygonmode true)
|
||||
(dxfimperialunits true)
|
||||
(dxfusepcbnewfont true)
|
||||
(psnegative false)
|
||||
(psa4output false)
|
||||
(plotreference true)
|
||||
(plotvalue true)
|
||||
(plotinvisibletext false)
|
||||
(sketchpadsonfab false)
|
||||
(subtractmaskfromsilk false)
|
||||
(outputformat 1)
|
||||
(mirror false)
|
||||
(drillshape 1)
|
||||
(scaleselection 1)
|
||||
(outputdirectory "")
|
||||
)
|
||||
)
|
||||
|
||||
(net 0 "")
|
||||
(net 1 "Net-(J1-Pin_1)")
|
||||
|
||||
(footprint "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" (layer "F.Cu")
|
||||
(tstamp 68bc9f46-85a1-4162-a5c3-834b38cb9df1)
|
||||
(at 130 62.46)
|
||||
(descr "Through hole straight pin header, 1x02, 2.54mm pitch, single row")
|
||||
(tags "Through hole pin header THT 1x02 2.54mm single row")
|
||||
(property "Sheetfile" "drc_test.kicad_sch")
|
||||
(property "Sheetname" "")
|
||||
(property "ki_description" "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(property "ki_keywords" "connector")
|
||||
(path "/b069c179-b0e0-42a3-b403-2b7c752f320d")
|
||||
(attr through_hole)
|
||||
(fp_text reference "J1" (at 0 -2.33) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 2e4968c6-6be4-4e33-aa0d-c33bead056c1)
|
||||
)
|
||||
(fp_text value "Conn_01x02" (at 0 4.87) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 392d1358-fe9c-4107-b5bd-c53b0cbd2dfc)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 1.27 90) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 7186d18f-72ac-40ed-af23-5411fa618e42)
|
||||
)
|
||||
(fp_line (start -1.33 -1.33) (end 0 -1.33)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp fe204db4-d6a9-4861-9e60-6b7cbc12232b))
|
||||
(fp_line (start -1.33 0) (end -1.33 -1.33)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp de55de8c-87fd-4a6d-9ac4-aadfb00c3741))
|
||||
(fp_line (start -1.33 1.27) (end -1.33 3.87)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 0ac6dadb-2c9b-4260-86ee-10c9f4005f67))
|
||||
(fp_line (start -1.33 1.27) (end 1.33 1.27)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp f2b7276f-cd57-4a9e-9cf4-5353b8905df5))
|
||||
(fp_line (start -1.33 3.87) (end 1.33 3.87)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 6abba294-db45-4375-82fb-e19654c1da48))
|
||||
(fp_line (start 1.33 1.27) (end 1.33 3.87)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp b880dff7-048e-41c1-b179-87c3a6f48b02))
|
||||
(fp_line (start -1.8 -1.8) (end -1.8 4.35)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 593a9103-8809-4d41-a4d0-e7e08c576de2))
|
||||
(fp_line (start -1.8 4.35) (end 1.8 4.35)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 9abd1955-64d4-49db-9268-fdd86db93d13))
|
||||
(fp_line (start 1.8 -1.8) (end -1.8 -1.8)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 33ee2868-9e9c-4b07-9729-f19f823c592d))
|
||||
(fp_line (start 1.8 4.35) (end 1.8 -1.8)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 62278c55-4736-4459-8183-bf8f34c2404b))
|
||||
(fp_line (start -1.27 -0.635) (end -0.635 -1.27)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp db6b0bcf-ecd5-4ef9-8e8c-9286dd4e6e7e))
|
||||
(fp_line (start -1.27 3.81) (end -1.27 -0.635)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp b709afe9-6615-458f-9996-52c8c10a8447))
|
||||
(fp_line (start -0.635 -1.27) (end 1.27 -1.27)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 9507ba34-3989-4283-bdad-08c0174ed286))
|
||||
(fp_line (start 1.27 -1.27) (end 1.27 3.81)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp f168ab76-be7a-44e5-b324-0fede1cb97cc))
|
||||
(fp_line (start 1.27 3.81) (end -1.27 3.81)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp d63a17a1-dd57-4f5f-a5f9-01c563f19034))
|
||||
(pad "1" thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
|
||||
(net 1 "Net-(J1-Pin_1)") (pinfunction "Pin_1") (pintype "passive") (tstamp 69f942b8-65af-40b0-b6de-f6b7aec43de6))
|
||||
(pad "2" thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
|
||||
(net 1 "Net-(J1-Pin_1)") (pinfunction "Pin_2") (pintype "passive") (tstamp 82a572b9-d886-4709-8c47-30c7476f1065))
|
||||
(model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x02_P2.54mm_Vertical.wrl"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(gr_line (start 137.5 55) (end 122.5 55)
|
||||
(stroke (width 0.1) (type default)) (layer "Edge.Cuts") (tstamp 0729a4eb-2a78-47a1-a132-03bb32f0a616))
|
||||
(gr_line (start 122.5 55) (end 122.5 72.5)
|
||||
(stroke (width 0.1) (type default)) (layer "Edge.Cuts") (tstamp 36984778-a4cc-4023-b701-c6e818544244))
|
||||
(gr_line (start 137.5 72.5) (end 137.5 55)
|
||||
(stroke (width 0.1) (type default)) (layer "Edge.Cuts") (tstamp 41faf862-7eb4-4d81-8181-73323b62ded0))
|
||||
(gr_line (start 122.5 72.5) (end 137.5 72.5)
|
||||
(stroke (width 0.1) (type default)) (layer "Edge.Cuts") (tstamp f51d9d01-9882-4633-9a11-1824eba2e257))
|
||||
|
||||
(zone (net 0) (net_name "") (layer "F.Cu") (tstamp 324ad930-1eba-45f6-9808-c8b615e087db) (hatch edge 0.5)
|
||||
(connect_pads (clearance 0))
|
||||
(min_thickness 0.25) (filled_areas_thickness no)
|
||||
(keepout (tracks allowed) (vias allowed) (pads allowed) (copperpour not_allowed) (footprints allowed))
|
||||
(fill (thermal_gap 0.5) (thermal_bridge_width 0.5))
|
||||
(polygon
|
||||
(pts
|
||||
(xy 127.499318 60.26828)
|
||||
(xy 132.499318 60.26828)
|
||||
(xy 132.499318 61.26828)
|
||||
(xy 128.999318 61.26828)
|
||||
(xy 128.999318 63.25)
|
||||
(xy 130.25 63.25)
|
||||
(xy 130.25 64.25)
|
||||
(xy 128.999318 64.25)
|
||||
(xy 128.999318 67.01828)
|
||||
(xy 131.249318 67.01828)
|
||||
(xy 131.249318 65.5)
|
||||
(xy 132.499318 65.5)
|
||||
(xy 132.499321 68.01828)
|
||||
(xy 127.499318 68.01828)
|
||||
)
|
||||
)
|
||||
)
|
||||
(zone (net 1) (net_name "Net-(J1-Pin_1)") (layer "F.Cu") (tstamp d4e487fd-a8a8-45f4-bf48-98c28fc9d9d1) (hatch edge 0.5)
|
||||
(connect_pads (clearance 0.5))
|
||||
(min_thickness 0.25) (filled_areas_thickness no)
|
||||
(fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5))
|
||||
(polygon
|
||||
(pts
|
||||
(xy 120 52.5)
|
||||
(xy 140 52.5)
|
||||
(xy 140 75)
|
||||
(xy 120 75)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(layer "F.Cu")
|
||||
(pts
|
||||
(xy 137.4375 55.017113)
|
||||
(xy 137.482887 55.0625)
|
||||
(xy 137.4995 55.1245)
|
||||
(xy 137.4995 72.3755)
|
||||
(xy 137.482887 72.4375)
|
||||
(xy 137.4375 72.482887)
|
||||
(xy 137.3755 72.4995)
|
||||
(xy 122.6245 72.4995)
|
||||
(xy 122.5625 72.482887)
|
||||
(xy 122.517113 72.4375)
|
||||
(xy 122.5005 72.3755)
|
||||
(xy 122.5005 60.26828)
|
||||
(xy 127.499318 60.26828)
|
||||
(xy 127.499318 68.01828)
|
||||
(xy 132.49932 68.01828)
|
||||
(xy 132.499321 68.01828)
|
||||
(xy 132.499318 65.5)
|
||||
(xy 131.425249 65.5)
|
||||
(xy 131.370405 65.487212)
|
||||
(xy 131.326873 65.451486)
|
||||
(xy 131.303632 65.400191)
|
||||
(xy 131.305474 65.343906)
|
||||
(xy 131.330636 65.25)
|
||||
(xy 130.25 65.25)
|
||||
(xy 130.25 66.330635)
|
||||
(xy 130.463492 66.27343)
|
||||
(xy 130.677576 66.1736)
|
||||
(xy 130.871081 66.038106)
|
||||
(xy 131.037637 65.871551)
|
||||
(xy 131.087 65.841301)
|
||||
(xy 131.144716 65.836759)
|
||||
(xy 131.198203 65.858914)
|
||||
(xy 131.235803 65.902937)
|
||||
(xy 131.249318 65.959232)
|
||||
(xy 131.249318 66.89428)
|
||||
(xy 131.232705 66.95628)
|
||||
(xy 131.187318 67.001667)
|
||||
(xy 131.125318 67.01828)
|
||||
(xy 129.123318 67.01828)
|
||||
(xy 129.061318 67.001667)
|
||||
(xy 129.015931 66.95628)
|
||||
(xy 128.999318 66.89428)
|
||||
(xy 128.999318 66.185562)
|
||||
(xy 129.017309 66.121234)
|
||||
(xy 129.066061 66.075573)
|
||||
(xy 129.131428 66.061828)
|
||||
(xy 129.194442 66.083987)
|
||||
(xy 129.322423 66.1736)
|
||||
(xy 129.536507 66.27343)
|
||||
(xy 129.749999 66.330635)
|
||||
(xy 129.75 66.330636)
|
||||
(xy 129.75 64.374)
|
||||
(xy 129.766613 64.312)
|
||||
(xy 129.812 64.266613)
|
||||
(xy 129.874 64.25)
|
||||
(xy 130.126 64.25)
|
||||
(xy 130.188 64.266613)
|
||||
(xy 130.233387 64.312)
|
||||
(xy 130.25 64.374)
|
||||
(xy 130.25 64.75)
|
||||
(xy 131.330636 64.75)
|
||||
(xy 131.330635 64.749999)
|
||||
(xy 131.27343 64.536507)
|
||||
(xy 131.173599 64.322421)
|
||||
(xy 131.038109 64.128921)
|
||||
(xy 130.915665 64.006477)
|
||||
(xy 130.884369 63.953731)
|
||||
(xy 130.88218 63.892438)
|
||||
(xy 130.909633 63.837593)
|
||||
(xy 130.960013 63.802614)
|
||||
(xy 131.092088 63.753352)
|
||||
(xy 131.207188 63.667188)
|
||||
(xy 131.293352 63.552089)
|
||||
(xy 131.343597 63.417375)
|
||||
(xy 131.35 63.357824)
|
||||
(xy 131.35 62.71)
|
||||
(xy 130.25 62.71)
|
||||
(xy 130.25 63.126)
|
||||
(xy 130.233387 63.188)
|
||||
(xy 130.188 63.233387)
|
||||
(xy 130.126 63.25)
|
||||
(xy 129.874 63.25)
|
||||
(xy 129.812 63.233387)
|
||||
(xy 129.766613 63.188)
|
||||
(xy 129.75 63.126)
|
||||
(xy 129.75 62.334)
|
||||
(xy 129.766613 62.272)
|
||||
(xy 129.812 62.226613)
|
||||
(xy 129.874 62.21)
|
||||
(xy 131.35 62.21)
|
||||
(xy 131.35 61.562176)
|
||||
(xy 131.343597 61.502624)
|
||||
(xy 131.318604 61.435614)
|
||||
(xy 131.311753 61.376827)
|
||||
(xy 131.33293 61.32156)
|
||||
(xy 131.377311 61.282404)
|
||||
(xy 131.434786 61.26828)
|
||||
(xy 132.499318 61.26828)
|
||||
(xy 132.499318 60.26828)
|
||||
(xy 127.499318 60.26828)
|
||||
(xy 122.5005 60.26828)
|
||||
(xy 122.5005 55.1245)
|
||||
(xy 122.517113 55.0625)
|
||||
(xy 122.5625 55.017113)
|
||||
(xy 122.6245 55.0005)
|
||||
(xy 137.3755 55.0005)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
|
@ -0,0 +1,477 @@
|
|||
{
|
||||
"board": {
|
||||
"3dviewports": [],
|
||||
"design_settings": {
|
||||
"defaults": {
|
||||
"board_outline_line_width": 0.09999999999999999,
|
||||
"copper_line_width": 0.19999999999999998,
|
||||
"copper_text_italic": false,
|
||||
"copper_text_size_h": 1.5,
|
||||
"copper_text_size_v": 1.5,
|
||||
"copper_text_thickness": 0.3,
|
||||
"copper_text_upright": false,
|
||||
"courtyard_line_width": 0.049999999999999996,
|
||||
"dimension_precision": 4,
|
||||
"dimension_units": 3,
|
||||
"dimensions": {
|
||||
"arrow_length": 1270000,
|
||||
"extension_offset": 500000,
|
||||
"keep_text_aligned": true,
|
||||
"suppress_zeroes": false,
|
||||
"text_position": 0,
|
||||
"units_format": 1
|
||||
},
|
||||
"fab_line_width": 0.09999999999999999,
|
||||
"fab_text_italic": false,
|
||||
"fab_text_size_h": 1.0,
|
||||
"fab_text_size_v": 1.0,
|
||||
"fab_text_thickness": 0.15,
|
||||
"fab_text_upright": false,
|
||||
"other_line_width": 0.15,
|
||||
"other_text_italic": false,
|
||||
"other_text_size_h": 1.0,
|
||||
"other_text_size_v": 1.0,
|
||||
"other_text_thickness": 0.15,
|
||||
"other_text_upright": false,
|
||||
"pads": {
|
||||
"drill": 0.762,
|
||||
"height": 1.524,
|
||||
"width": 1.524
|
||||
},
|
||||
"silk_line_width": 0.15,
|
||||
"silk_text_italic": false,
|
||||
"silk_text_size_h": 1.0,
|
||||
"silk_text_size_v": 1.0,
|
||||
"silk_text_thickness": 0.15,
|
||||
"silk_text_upright": false,
|
||||
"zones": {
|
||||
"min_clearance": 0.0
|
||||
}
|
||||
},
|
||||
"diff_pair_dimensions": [],
|
||||
"drc_exclusions": [],
|
||||
"meta": {
|
||||
"version": 2
|
||||
},
|
||||
"rule_severities": {
|
||||
"annular_width": "error",
|
||||
"clearance": "error",
|
||||
"connection_width": "warning",
|
||||
"copper_edge_clearance": "error",
|
||||
"copper_sliver": "warning",
|
||||
"courtyards_overlap": "error",
|
||||
"diff_pair_gap_out_of_range": "error",
|
||||
"diff_pair_uncoupled_length_too_long": "error",
|
||||
"drill_out_of_range": "error",
|
||||
"duplicate_footprints": "warning",
|
||||
"extra_footprint": "warning",
|
||||
"footprint": "error",
|
||||
"footprint_type_mismatch": "ignore",
|
||||
"hole_clearance": "error",
|
||||
"hole_near_hole": "error",
|
||||
"invalid_outline": "error",
|
||||
"isolated_copper": "warning",
|
||||
"item_on_disabled_layer": "error",
|
||||
"items_not_allowed": "error",
|
||||
"length_out_of_range": "error",
|
||||
"lib_footprint_issues": "warning",
|
||||
"lib_footprint_mismatch": "warning",
|
||||
"malformed_courtyard": "error",
|
||||
"microvia_drill_out_of_range": "error",
|
||||
"missing_courtyard": "ignore",
|
||||
"missing_footprint": "warning",
|
||||
"net_conflict": "warning",
|
||||
"npth_inside_courtyard": "ignore",
|
||||
"padstack": "warning",
|
||||
"pth_inside_courtyard": "ignore",
|
||||
"shorting_items": "error",
|
||||
"silk_edge_clearance": "warning",
|
||||
"silk_over_copper": "warning",
|
||||
"silk_overlap": "warning",
|
||||
"skew_out_of_range": "error",
|
||||
"solder_mask_bridge": "error",
|
||||
"starved_thermal": "error",
|
||||
"text_height": "warning",
|
||||
"text_thickness": "warning",
|
||||
"through_hole_pad_without_hole": "error",
|
||||
"too_many_vias": "error",
|
||||
"track_dangling": "warning",
|
||||
"track_width": "error",
|
||||
"tracks_crossing": "error",
|
||||
"unconnected_items": "error",
|
||||
"unresolved_variable": "error",
|
||||
"via_dangling": "warning",
|
||||
"zones_intersect": "error"
|
||||
},
|
||||
"rules": {
|
||||
"max_error": 0.005,
|
||||
"min_clearance": 0.0,
|
||||
"min_connection": 0.0,
|
||||
"min_copper_edge_clearance": 0.0,
|
||||
"min_hole_clearance": 0.25,
|
||||
"min_hole_to_hole": 0.25,
|
||||
"min_microvia_diameter": 0.19999999999999998,
|
||||
"min_microvia_drill": 0.09999999999999999,
|
||||
"min_resolved_spokes": 2,
|
||||
"min_silk_clearance": 0.0,
|
||||
"min_text_height": 0.7999999999999999,
|
||||
"min_text_thickness": 0.08,
|
||||
"min_through_hole_diameter": 0.3,
|
||||
"min_track_width": 0.0,
|
||||
"min_via_annular_width": 0.09999999999999999,
|
||||
"min_via_diameter": 0.5,
|
||||
"solder_mask_clearance": 0.0,
|
||||
"solder_mask_min_width": 0.0,
|
||||
"solder_mask_to_copper_clearance": 0.0,
|
||||
"use_height_for_length_calcs": true
|
||||
},
|
||||
"teardrop_options": [
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 5,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_onpadsmd": true,
|
||||
"td_onroundshapesonly": false,
|
||||
"td_ontrackend": false,
|
||||
"td_onviapad": true
|
||||
}
|
||||
],
|
||||
"teardrop_parameters": [
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_round_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_rect_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_track_end",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
}
|
||||
],
|
||||
"track_widths": [],
|
||||
"via_dimensions": [],
|
||||
"zones_allow_external_fillets": false
|
||||
},
|
||||
"layer_presets": [],
|
||||
"viewports": []
|
||||
},
|
||||
"boards": [],
|
||||
"cvpcb": {
|
||||
"equivalence_files": []
|
||||
},
|
||||
"erc": {
|
||||
"erc_exclusions": [],
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"pin_map": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
]
|
||||
],
|
||||
"rule_severities": {
|
||||
"bus_definition_conflict": "error",
|
||||
"bus_entry_needed": "error",
|
||||
"bus_to_bus_conflict": "error",
|
||||
"bus_to_net_conflict": "error",
|
||||
"conflicting_netclasses": "error",
|
||||
"different_unit_footprint": "error",
|
||||
"different_unit_net": "error",
|
||||
"duplicate_reference": "error",
|
||||
"duplicate_sheet_names": "error",
|
||||
"endpoint_off_grid": "warning",
|
||||
"extra_units": "error",
|
||||
"global_label_dangling": "warning",
|
||||
"hier_label_mismatch": "error",
|
||||
"label_dangling": "error",
|
||||
"lib_symbol_issues": "warning",
|
||||
"missing_bidi_pin": "warning",
|
||||
"missing_input_pin": "warning",
|
||||
"missing_power_pin": "error",
|
||||
"missing_unit": "warning",
|
||||
"multiple_net_names": "warning",
|
||||
"net_not_bus_member": "warning",
|
||||
"no_connect_connected": "warning",
|
||||
"no_connect_dangling": "warning",
|
||||
"pin_not_connected": "error",
|
||||
"pin_not_driven": "error",
|
||||
"pin_to_pin": "warning",
|
||||
"power_pin_not_driven": "error",
|
||||
"similar_labels": "warning",
|
||||
"simulation_model_issue": "error",
|
||||
"unannotated": "error",
|
||||
"unit_value_mismatch": "error",
|
||||
"unresolved_variable": "error",
|
||||
"wire_dangling": "error"
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"pinned_footprint_libs": [],
|
||||
"pinned_symbol_libs": []
|
||||
},
|
||||
"meta": {
|
||||
"filename": "drc_test.kicad_pro",
|
||||
"version": 1
|
||||
},
|
||||
"net_settings": {
|
||||
"classes": [
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.2,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "Default",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 0.25,
|
||||
"via_diameter": 0.8,
|
||||
"via_drill": 0.4,
|
||||
"wire_width": 6
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"version": 3
|
||||
},
|
||||
"net_colors": null,
|
||||
"netclass_assignments": null,
|
||||
"netclass_patterns": []
|
||||
},
|
||||
"pcbnew": {
|
||||
"last_paths": {
|
||||
"gencad": "",
|
||||
"idf": "",
|
||||
"netlist": "",
|
||||
"specctra_dsn": "",
|
||||
"step": "",
|
||||
"vrml": ""
|
||||
},
|
||||
"page_layout_descr_file": ""
|
||||
},
|
||||
"schematic": {
|
||||
"annotate_start_num": 0,
|
||||
"drawing": {
|
||||
"dashed_lines_dash_length_ratio": 12.0,
|
||||
"dashed_lines_gap_length_ratio": 3.0,
|
||||
"default_line_thickness": 6.0,
|
||||
"default_text_size": 50.0,
|
||||
"field_names": [],
|
||||
"intersheets_ref_own_page": false,
|
||||
"intersheets_ref_prefix": "",
|
||||
"intersheets_ref_short": false,
|
||||
"intersheets_ref_show": false,
|
||||
"intersheets_ref_suffix": "",
|
||||
"junction_size_choice": 3,
|
||||
"label_size_ratio": 0.375,
|
||||
"pin_symbol_size": 25.0,
|
||||
"text_offset_ratio": 0.15
|
||||
},
|
||||
"legacy_lib_dir": "",
|
||||
"legacy_lib_list": [],
|
||||
"meta": {
|
||||
"version": 1
|
||||
},
|
||||
"net_format_name": "",
|
||||
"page_layout_descr_file": "",
|
||||
"plot_directory": "",
|
||||
"spice_current_sheet_as_root": false,
|
||||
"spice_external_command": "spice \"%I\"",
|
||||
"spice_model_current_sheet_as_root": true,
|
||||
"spice_save_all_currents": false,
|
||||
"spice_save_all_voltages": false,
|
||||
"subpart_first_id": 65,
|
||||
"subpart_id_separator": 0
|
||||
},
|
||||
"sheets": [
|
||||
[
|
||||
"5a6ff41a-b6d2-4856-990b-45674de763eb",
|
||||
""
|
||||
]
|
||||
],
|
||||
"text_variables": {}
|
||||
}
|
|
@ -61,7 +61,7 @@ BOOST_FIXTURE_TEST_CASE( DRCFalsePositiveRegressions, DRC_REGRESSION_TEST_FIXTUR
|
|||
"issue10906", // Soldermask bridge for only one object
|
||||
"issue11814", // Bad cache hit in isInsideArea
|
||||
"issue12609", // Arc collison edge case
|
||||
"issue14294" // Bad Clipper2 fill
|
||||
"issue14294", // Bad Clipper2 fill
|
||||
};
|
||||
|
||||
for( const wxString& relPath : tests )
|
||||
|
@ -134,6 +134,7 @@ BOOST_FIXTURE_TEST_CASE( DRCFalseNegativeRegressions, DRC_REGRESSION_TEST_FIXTUR
|
|||
{ "issue8003", 2 },
|
||||
{ "issue9081", 2 },
|
||||
{ "issue12109", 8 }, // Pads fail annular width test
|
||||
{ "issue14334", 2 }, // Thermal spoke to otherwise unconnected island
|
||||
{ "reverse_via", 3 } // Via/track ordering
|
||||
};
|
||||
|
||||
|
@ -147,7 +148,6 @@ BOOST_FIXTURE_TEST_CASE( DRCFalseNegativeRegressions, DRC_REGRESSION_TEST_FIXTUR
|
|||
|
||||
// Disable DRC tests not useful in this testcase
|
||||
bds.m_DRCSeverities[ DRCE_COPPER_SLIVER ] = SEVERITY::RPT_SEVERITY_IGNORE;
|
||||
bds.m_DRCSeverities[ DRCE_STARVED_THERMAL ] = SEVERITY::RPT_SEVERITY_IGNORE;
|
||||
bds.m_DRCSeverities[ DRCE_LIB_FOOTPRINT_ISSUES ] = SEVERITY::RPT_SEVERITY_IGNORE;
|
||||
bds.m_DRCSeverities[ DRCE_LIB_FOOTPRINT_MISMATCH ] = SEVERITY::RPT_SEVERITY_IGNORE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue