Record hole knockouts in zone filler earlier
Spokes are placed across an entire pad when filling, so the hole knockouts need to knocked out prior to deflating Fixes https://gitlab.com/kicad/code/kicad/-/issues/15160
This commit is contained in:
parent
a85a2b9cbc
commit
3030c80de7
|
@ -1432,6 +1432,10 @@ bool ZONE_FILLER::fillCopperZone( const ZONE* aZone, PCB_LAYER_ID aLayer, PCB_LA
|
|||
*/
|
||||
|
||||
buildCopperItemClearances( aZone, aLayer, noConnectionPads, clearanceHoles );
|
||||
|
||||
for( PAD* pad : thermalConnectionPads )
|
||||
addHoleKnockout( pad, 0, clearanceHoles );
|
||||
|
||||
DUMP_POLYS_TO_COPPER_LAYER( clearanceHoles, In3_Cu, wxT( "clearance-holes" ) );
|
||||
|
||||
if( m_progressReporter && m_progressReporter->IsCancelled() )
|
||||
|
@ -1582,9 +1586,6 @@ bool ZONE_FILLER::fillCopperZone( const ZONE* aZone, PCB_LAYER_ID aLayer, PCB_LA
|
|||
* islands
|
||||
*/
|
||||
|
||||
for( PAD* pad : thermalConnectionPads )
|
||||
addHoleKnockout( pad, 0, clearanceHoles );
|
||||
|
||||
aFillPolys.BooleanIntersection( aMaxExtents, SHAPE_POLY_SET::PM_FAST );
|
||||
DUMP_POLYS_TO_COPPER_LAYER( aFillPolys, In16_Cu, wxT( "after-trim-to-outline" ) );
|
||||
aFillPolys.BooleanSubtract( clearanceHoles, SHAPE_POLY_SET::PM_FAST );
|
||||
|
|
Loading…
Reference in New Issue