From 6a9a177fa367973379509943d791936ec59e4255 Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Mon, 26 Jul 2021 20:58:59 +0100 Subject: [PATCH] Remove zone filler arc collision workaround --- pcbnew/zone_filler.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index 03149c5efe..5d1a242d65 100644 --- a/pcbnew/zone_filler.cpp +++ b/pcbnew/zone_filler.cpp @@ -768,17 +768,6 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa } else { - // Gives more clearance to arcs (the arc to area drc test is not perfect) - // extra_margin is not enough here - // This is a workaround, that can be removed when (if?) the DRC arcs - // issues are fixed - // The root cause is the fact the DRC approximates the arc shape - // by a segmentlist with a error = +- SHAPE_ARC::DefaultAccuracyForPCB()/2 - // and the arc to polygons approximation also creates approximations when - // filling the zone - if( aTrack->Type() == PCB_ARC_T ) - gap += SHAPE_ARC::DefaultAccuracyForPCB(); - aTrack->TransformShapeWithClearanceToPolygon( aHoles, aLayer, gap, m_maxError, ERROR_OUTSIDE ); }