diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index 70aaf8a3ee..6d3e3c8a84 100644 --- a/pcbnew/zone_filler.cpp +++ b/pcbnew/zone_filler.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2014-2017 CERN - * Copyright (C) 2014-2020 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2014-2021 KiCad Developers, see AUTHORS.txt for contributors. * @author Tomasz Włostowski * * This program is free software: you can redistribute it and/or modify it @@ -768,6 +768,13 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa } else { + // Gives more clearance to arcs (the arc to area conv is not perfect) + // extra_margin is not enought here + // This is a workaround, that can be removed when (if?) the arcs + // issues are fixed + if( aTrack->Type() == PCB_ARC_T ) + gap += Millimeter2iu( 0.004 ); + aTrack->TransformShapeWithClearanceToPolygon( aHoles, aLayer, gap, m_maxError, ERROR_OUTSIDE ); }