Remove zone filler arc collision workaround

This commit is contained in:
Roberto Fernandez Bautista 2021-07-26 20:58:59 +01:00
parent eaf8eb284a
commit 6a9a177fa3
1 changed files with 0 additions and 11 deletions

View File

@ -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 );
}