KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_drc_creepage_issue24523.cpp File Reference

Regression test for issue #24523: creepage DRC fails to find the shortest surface path when it has to wind around two parallel NPTH slots. More...

Go to the source code of this file.

Classes

struct  DRC_CREEPAGE_TWO_SLOTS_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (CreepageTwoNPTHSlotsIssue24523, DRC_CREEPAGE_TWO_SLOTS_FIXTURE)
 

Detailed Description

Regression test for issue #24523: creepage DRC fails to find the shortest surface path when it has to wind around two parallel NPTH slots.

The repro board has two capacitors (C4, C5), each with a 10 mm x 1 mm NPTH oval slot, placed side by side. Two nets ('Sitove' netclass, 5 mm creepage rule) snake around both slots. The true creepage path between the nets wraps around the slot end caps and threads the gap between the two slots, measuring roughly 3 mm - well below the 5 mm requirement. Before the fix the path search could not assemble this multi-leg route, so it overestimated the creepage distance and reported no violation (a false negative).

Definition in file test_drc_creepage_issue24523.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()