mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
PNS: Fix skew calculation with pad-to-die specified
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11710 (cherry picked from commit 53dbd3bb0294368f338dc37955a690ac078adc58)
This commit is contained in:
parent
6c0856c384
commit
9470bd15a1
@ -110,14 +110,14 @@ bool MEANDER_SKEW_PLACER::Start( const VECTOR2I& aP, ITEM* aStartItem )
|
||||
|
||||
if ( m_originPair.PLine().Net() == m_originLine.Net() )
|
||||
{
|
||||
m_padToDieLength = m_padToDieN;
|
||||
m_coupledLength = lineLength( m_tunedPathN );
|
||||
m_padToDieLength = m_padToDieP;
|
||||
m_coupledLength = m_padToDieN + lineLength( m_tunedPathN );
|
||||
m_tunedPath = m_tunedPathP;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_padToDieLength = m_padToDieP;
|
||||
m_coupledLength = lineLength( m_tunedPathP );
|
||||
m_padToDieLength = m_padToDieN;
|
||||
m_coupledLength = m_padToDieP + lineLength( m_tunedPathP );
|
||||
m_tunedPath = m_tunedPathN;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user