Remove zone filler arc collision workaround
This commit is contained in:
parent
eaf8eb284a
commit
6a9a177fa3
|
@ -768,17 +768,6 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa
|
||||||
}
|
}
|
||||||
else
|
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,
|
aTrack->TransformShapeWithClearanceToPolygon( aHoles, aLayer, gap,
|
||||||
m_maxError, ERROR_OUTSIDE );
|
m_maxError, ERROR_OUTSIDE );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue