If we're plotting small drill marks then we need to plot the pad even if the hole is the same size.
Fixes: lp:1835617 * https://bugs.launchpad.net/kicad/+bug/1835617
This commit is contained in:
parent
46f47adebe
commit
d7f3a38510
|
@ -422,6 +422,7 @@ void PlotStandardLayer( BOARD *aBoard, PLOTTER* aPlotter,
|
||||||
pad->SetSize( padPlotsSize );
|
pad->SetSize( padPlotsSize );
|
||||||
|
|
||||||
if( aPlotOpt.GetSkipPlotNPTH_Pads() &&
|
if( aPlotOpt.GetSkipPlotNPTH_Pads() &&
|
||||||
|
( aPlotOpt.GetDrillMarksType() == PCB_PLOT_PARAMS::NO_DRILL_SHAPE ) &&
|
||||||
( pad->GetSize() == pad->GetDrillSize() ) &&
|
( pad->GetSize() == pad->GetDrillSize() ) &&
|
||||||
( pad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED ) )
|
( pad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED ) )
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -86,8 +86,7 @@ void BRDITEMS_PLOTTER::PlotPad( D_PAD* aPad, COLOR4D aColor, EDA_DRAW_MODE_T aPl
|
||||||
// Some pads are mechanical pads ( through hole or smd )
|
// Some pads are mechanical pads ( through hole or smd )
|
||||||
// when this is the case, they have no pad name and/or are not plated.
|
// when this is the case, they have no pad name and/or are not plated.
|
||||||
// In this case gerber files have slightly different attributes.
|
// In this case gerber files have slightly different attributes.
|
||||||
if( aPad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED ||
|
if( aPad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED || aPad->GetName().IsEmpty() )
|
||||||
aPad->GetName().IsEmpty() )
|
|
||||||
gbr_metadata.m_NetlistMetadata.m_NotInNet = true;
|
gbr_metadata.m_NetlistMetadata.m_NotInNet = true;
|
||||||
|
|
||||||
if( !isOnExternalCopperLayer || !isPadOnBoardTechLayers )
|
if( !isOnExternalCopperLayer || !isPadOnBoardTechLayers )
|
||||||
|
|
Loading…
Reference in New Issue