Don't do any hole clearance testing within a single footprint.
Fixes https://gitlab.com/kicad/code/kicad/issues/8141
This commit is contained in:
parent
7ba110bd77
commit
2cde76a191
|
@ -509,8 +509,7 @@ bool DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem( PAD* pad, SHAPE* pa
|
|||
if( fp->IsNetTie() && ( other->Type() == PCB_FP_SHAPE_T || other->Type() == PCB_PAD_T ) )
|
||||
testClearance = false;
|
||||
|
||||
// CADSTAR implements thermal vias using pads insteads of vias
|
||||
if( fp->AllowThermalPads() && other->Type() == PCB_PAD_T )
|
||||
// No hole testing within a footprint
|
||||
testHoles = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -241,12 +241,6 @@ public:
|
|||
return GetKeywords().StartsWith( wxT( "net tie" ) );
|
||||
}
|
||||
|
||||
// Might as well keep all the hacks in the same place....
|
||||
bool AllowThermalPads() const
|
||||
{
|
||||
return GetKeywords().StartsWith( wxT( "allow thermal pads" ) );
|
||||
}
|
||||
|
||||
void Move( const wxPoint& aMoveVector ) override;
|
||||
|
||||
void Rotate( const wxPoint& aRotCentre, double aAngle ) override;
|
||||
|
|
|
@ -655,7 +655,6 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadComponentLibrary()
|
|||
wxT( "" ) );
|
||||
FOOTPRINT* footprint = new FOOTPRINT( m_board );
|
||||
footprint->SetPosition( getKiCadPoint( component.Origin ) );
|
||||
footprint->SetKeywords( wxT( "allow thermal pads" ) );
|
||||
|
||||
LIB_ID libID;
|
||||
libID.Parse( fpName, true );
|
||||
|
|
Loading…
Reference in New Issue