kicad/pcbnew/drc
Seth Hillbrand 51b9d8e7ad Allow for rounding error in connection width checker
We perform checks using squared distance but this loses the integer
rounding in the standard norm.  To correct for this, we allow a single
IU in the restriction, allowing fractionally smaller connection widths
before calculating the squared limit

Fixes https://gitlab.com/kicad/code/kicad/issues/14130

Fixes https://gitlab.com/kicad/code/kicad/issues/14131

(cherry picked from commit a0f99ea8ba)
2023-02-28 15:26:49 -08:00
..
drc_cache_generator.cpp Don't run DRC rules on non-existant layers. 2023-02-03 15:08:31 +00:00
drc_cache_generator.h More caching for DRC. 2022-06-17 23:58:31 +01:00
drc_engine.cpp Fix for overwriting non-specified constraints. 2023-02-28 18:29:43 +00:00
drc_engine.h Fix uninitialized variable. 2022-12-05 14:42:05 +00:00
drc_interactive_courtyard_clearance.cpp Keep courtyard caches alive during move. 2022-11-25 17:20:11 +00:00
drc_interactive_courtyard_clearance.h Share more of the courtyard collision highlighting code. 2022-10-14 10:42:07 +01:00
drc_item.cpp Don't use FindNamedPad for net-tie logic. It only reutrns the *first* 2022-09-25 17:38:31 +01:00
drc_item.h Don't use FindNamedPad for net-tie logic. It only reutrns the *first* 2022-09-25 17:38:31 +01:00
drc_length_report.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
drc_rtree.h Fix two bugs in RTree polygon collions special case. 2023-02-04 13:46:40 +00:00
drc_rule.cpp Fetch a better location for keepout area collsions. 2022-12-21 18:22:15 +00:00
drc_rule.h Fetch a better location for keepout area collsions. 2022-12-21 18:22:15 +00:00
drc_rule_condition.cpp Add support for unitless values to PCB_EXPR_EVALUATOR. 2022-11-29 14:24:20 +00:00
drc_rule_condition.h Apply a more sophisticated test for ignoring isInCoupledDiffPair. 2022-04-02 15:12:42 +01:00
drc_rule_parser.cpp Add support for unitless values to PCB_EXPR_EVALUATOR. 2022-11-29 14:24:20 +00:00
drc_rule_parser.h Add support for unitless values to PCB_EXPR_EVALUATOR. 2022-11-29 14:24:20 +00:00
drc_test_provider.cpp Exact clearance is allowed; less than clearance is an error. 2023-01-04 00:03:11 +00:00
drc_test_provider.h Pull interactive courtyard checker out of move tool to share with router. 2022-10-14 00:48:37 +01:00
drc_test_provider_annular_width.cpp Name shortening and line-break reduction. 2022-10-21 18:41:39 +01:00
drc_test_provider_clearance_base.h More caching for DRC. 2022-06-17 23:58:31 +01:00
drc_test_provider_connection_width.cpp Allow for rounding error in connection width checker 2023-02-28 15:26:49 -08:00
drc_test_provider_connectivity.cpp More safety around ratsnest state. 2022-11-30 13:00:21 +00:00
drc_test_provider_copper_clearance.cpp Don't run DRC rules on non-existant layers. 2023-02-03 15:08:31 +00:00
drc_test_provider_courtyard_clearance.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_diff_pair_coupling.cpp DRC: Allow disabling DP constraints in specific areas 2023-02-01 23:11:39 -05:00
drc_test_provider_disallow.cpp Fetch a better location for keepout area collsions. 2022-12-21 18:22:15 +00:00
drc_test_provider_edge_clearance.cpp Exact clearance is allowed; less than clearance is an error. 2023-01-04 00:03:11 +00:00
drc_test_provider_footprint_checks.cpp Don't run the footprint checker's shorting pads routine at board level. 2023-01-16 16:44:16 +00:00
drc_test_provider_hole_size.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_hole_to_hole.cpp Cleanup unused local variable. 2023-01-24 23:45:55 +00:00
drc_test_provider_library_parity.cpp Do not invalidate board caches during DRC 2023-02-25 03:56:27 +00:00
drc_test_provider_matched_length.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_misc.cpp Fixes in build board outlines as polygon and convert_shape_list_to_polygon: 2023-02-28 17:26:28 +01:00
drc_test_provider_physical_clearance.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_schematic_parity.cpp Remove shared wxString instance in DRC 2022-06-15 16:46:03 -07:00
drc_test_provider_silk_clearance.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_sliver_checker.cpp Add an advanced config value for the minimum sliver 2022-12-03 16:03:43 -08:00
drc_test_provider_solder_mask.cpp Fix copy-pasta 2023-02-10 13:33:21 -08:00
drc_test_provider_text_dims.cpp Move default font to RENDER_SETTINGS. 2022-10-22 21:32:42 +01:00
drc_test_provider_track_width.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_via_diameter.cpp Use more precise formatting in DRC messages when less precise values are identical. 2022-10-06 22:18:53 +01:00
drc_test_provider_zone_connections.cpp Record layer for starved thermal exclusions. 2022-12-01 18:04:34 +00:00