Browse Source

Spokes are from center of pad, not from hole (ie: pad position).

Fixes https://gitlab.com/kicad/code/kicad/issues/8195
6.0.7
Jeff Young 5 years ago
parent
commit
fe6cc0c3d8
  1. 4
      pcbnew/zone_filler.cpp

4
pcbnew/zone_filler.cpp

@ -1303,7 +1303,9 @@ void ZONE_FILLER::buildThermalSpokes( const ZONE* aZone, PCB_LAYER_ID aLayer,
double padAngle = pad->GetOrientation();
PAD dummy_pad( *pad );
dummy_pad.SetOrientation( 0.0 );
dummy_pad.SetPosition( { 0, 0 } );
// Spokes are from center of pad, not from hole
dummy_pad.SetPosition( -pad->GetOffset() );
BOX2I reliefBB = dummy_pad.GetBoundingBox();
reliefBB.Inflate( thermalReliefGap + epsilon );

Loading…
Cancel
Save