router: fix getting stuck when routing right next to other tracks in Walkaround mode.
The walkround algorithm fails if the path points are inside the padded hull, so remove the extra hull clearance padding. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20117 Fixes https://gitlab.com/kicad/code/kicad/-/issues/21813
This commit is contained in:
@@ -164,7 +164,7 @@ bool WALKAROUND::singleStep()
|
||||
}
|
||||
|
||||
int clearance = m_world->GetClearance( clItem, &aLine, false );
|
||||
SHAPE_LINE_CHAIN hull = clItem->Hull( clearance + 1000, aLine.Width(), aLine.Layer() );
|
||||
SHAPE_LINE_CHAIN hull = clItem->Hull( clearance, aLine.Width(), aLine.Layer() );
|
||||
|
||||
if( cornerMode == DIRECTION_45::MITERED_90 || cornerMode == DIRECTION_45::ROUNDED_90 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user