Add DRC_ITEM definition for DRC_VIA_DIAMETER.
Fixes https://gitlab.com/kicad/code/kicad/issues/5695
This commit is contained in:
parent
079bc52f6d
commit
90b147a914
|
@ -106,6 +106,10 @@ DRC_ITEM DRC_ITEM::viaHoleLargerThanPad( DRCE_VIA_HOLE_BIGGER,
|
|||
_( "Via hole larger than diameter" ),
|
||||
wxT( "via_hole_larger_than_pad" ) );
|
||||
|
||||
DRC_ITEM DRC_ITEM::viaDiameter( DRCE_VIA_DIAMETER,
|
||||
_( "Via diameter outside allowed limits" ),
|
||||
wxT( "via_diameter" ) );
|
||||
|
||||
DRC_ITEM DRC_ITEM::padstack( DRCE_PADSTACK,
|
||||
_( "Padstack is not valid" ),
|
||||
wxT( "padstack" ) );
|
||||
|
@ -229,6 +233,7 @@ std::shared_ptr<DRC_ITEM> DRC_ITEM::Create( int aErrorCode )
|
|||
case DRCE_ANNULUS: return std::make_shared<DRC_ITEM>( annulus );
|
||||
case DRCE_TOO_SMALL_DRILL: return std::make_shared<DRC_ITEM>( drillTooSmall );
|
||||
case DRCE_VIA_HOLE_BIGGER: return std::make_shared<DRC_ITEM>( viaHoleLargerThanPad );
|
||||
case DRCE_VIA_DIAMETER: return std::make_shared<DRC_ITEM>( viaDiameter );
|
||||
case DRCE_PADSTACK: return std::make_shared<DRC_ITEM>( padstack );
|
||||
case DRCE_TOO_SMALL_MICROVIA: return std::make_shared<DRC_ITEM>( microviaTooSmall );
|
||||
case DRCE_TOO_SMALL_MICROVIA_DRILL: return std::make_shared<DRC_ITEM>( microviaDrillTooSmall );
|
||||
|
|
|
@ -124,13 +124,14 @@ private:
|
|||
static DRC_ITEM zoneHasEmptyNet;
|
||||
static DRC_ITEM viaDangling;
|
||||
static DRC_ITEM trackDangling;
|
||||
static DRC_ITEM holeNearHole; // JEY TODO
|
||||
static DRC_ITEM holeClearance; // JEY TODO
|
||||
static DRC_ITEM holeNearHole;
|
||||
static DRC_ITEM holeClearance;
|
||||
static DRC_ITEM trackWidth;
|
||||
static DRC_ITEM viaTooSmall;
|
||||
static DRC_ITEM annulus;
|
||||
static DRC_ITEM drillTooSmall;
|
||||
static DRC_ITEM viaHoleLargerThanPad;
|
||||
static DRC_ITEM viaDiameter;
|
||||
static DRC_ITEM padstack;
|
||||
static DRC_ITEM microviaTooSmall;
|
||||
static DRC_ITEM microviaDrillTooSmall;
|
||||
|
|
Loading…
Reference in New Issue