PNS: Reduce minimum distance to start turn in diff pair placer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8193
This commit is contained in:
parent
cac4d70154
commit
c829dba88e
|
@ -631,7 +631,7 @@ bool DIFF_PAIR_PLACER::routeHead( const VECTOR2I& aP )
|
||||||
gwsTarget.SetFitVias( m_placingVia, m_sizes.ViaDiameter(), viaGap() );
|
gwsTarget.SetFitVias( m_placingVia, m_sizes.ViaDiameter(), viaGap() );
|
||||||
|
|
||||||
// far from the initial segment extension line -> allow a 45-degree obtuse turn
|
// far from the initial segment extension line -> allow a 45-degree obtuse turn
|
||||||
if( lead_dist > m_sizes.DiffPairGap() + m_sizes.DiffPairWidth() )
|
if( lead_dist > ( m_sizes.DiffPairGap() + m_sizes.DiffPairWidth() ) / 2 )
|
||||||
{
|
{
|
||||||
gwsTarget.BuildForCursor( fp );
|
gwsTarget.BuildForCursor( fp );
|
||||||
}
|
}
|
||||||
|
@ -640,7 +640,8 @@ bool DIFF_PAIR_PLACER::routeHead( const VECTOR2I& aP )
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gwsTarget.BuildForCursor( fpProj );
|
gwsTarget.BuildForCursor( fpProj );
|
||||||
gwsTarget.FilterByOrientation( DIRECTION_45::ANG_STRAIGHT | DIRECTION_45::ANG_HALF_FULL, DIRECTION_45( dirV ) );
|
gwsTarget.FilterByOrientation( DIRECTION_45::ANG_STRAIGHT | DIRECTION_45::ANG_HALF_FULL,
|
||||||
|
DIRECTION_45( dirV ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_snapOnTarget = false;
|
m_snapOnTarget = false;
|
||||||
|
|
Loading…
Reference in New Issue