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

Regression test for issue #23578: creepage DRC must correctly model rounded rectangle slots on Edge.Cuts. More...

Go to the source code of this file.

Classes

struct  DRC_CREEPAGE_ROUNDRECT_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (CreepageRoundedRectSlotIssue23578, DRC_CREEPAGE_ROUNDRECT_FIXTURE)
 

Detailed Description

Regression test for issue #23578: creepage DRC must correctly model rounded rectangle slots on Edge.Cuts.

The board contains a gr_rect with radius=0.5mm (a fully-rounded stadium slot) on Edge.Cuts, with Sitove-class copper traces within 5mm creepage distance measured around the slot boundary. Before the fix, TransformEdgeToCreepShapes ignored the corner radius and placed BE_SHAPE_POINT nodes at the raw rectangle corners instead of BE_SHAPE_ARC nodes at the true rounded corners. This caused the DRC to report no violation (false negative) for the fully-rounded case.

Definition in file test_drc_creepage_issue23578.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()