Eagle doesn't use netclass clearance so make them the board clearance.
Fixes https://gitlab.com/kicad/code/kicad/issues/2442
This commit is contained in:
parent
ae8f817938
commit
04aff93248
|
@ -409,6 +409,10 @@ BOARD* EAGLE_PLUGIN::Load( const wxString& aFileName, BOARD* aAppendToMe,
|
|||
auto finishNetclass =
|
||||
[&]( NETCLASSPTR netclass )
|
||||
{
|
||||
// If Eagle has a clearance matrix then we'll build custom rules from that.
|
||||
// Netclasses should just be the board minimum clearance.
|
||||
netclass->SetClearance( KiROUND( designSettings.m_MinClearance ) );
|
||||
|
||||
if( netclass->GetTrackWidth() == INT_MAX )
|
||||
netclass->SetTrackWidth( defaults.GetTrackWidth() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue