STEP export: don't put copper on non-flashed pad layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18267
This commit is contained in:
parent
c70ef36739
commit
dc2a63d146
|
@ -765,6 +765,9 @@ bool STEP_PCB_MODEL::AddPadShape( const PAD* aPad, const VECTOR2D& aOrigin, bool
|
||||||
if( pcb_layer == F_Mask || pcb_layer == B_Mask )
|
if( pcb_layer == F_Mask || pcb_layer == B_Mask )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if( !aPad->FlashLayer( pcb_layer ) )
|
||||||
|
continue;
|
||||||
|
|
||||||
double Zpos, thickness;
|
double Zpos, thickness;
|
||||||
getLayerZPlacement( pcb_layer, Zpos, thickness );
|
getLayerZPlacement( pcb_layer, Zpos, thickness );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue