Use ARC_HIGH_DEF (not ARC_LOW_DEF) for courtyard generation.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16695
This commit is contained in:
Jeff Young 2024-01-24 12:00:21 +00:00
parent 9d88a9f60a
commit 7cf861a239
1 changed files with 1 additions and 1 deletions

View File

@ -2551,7 +2551,7 @@ void FOOTPRINT::BuildCourtyardCaches( OUTLINE_ERROR_HANDLER* aErrorHandler )
if( !list_front.size() && !list_back.size() ) if( !list_front.size() && !list_back.size() )
return; return;
int maxError = pcbIUScale.mmToIU( 0.02 ); // max error for polygonization int maxError = pcbIUScale.mmToIU( 0.005 ); // max error for polygonization
int chainingEpsilon = pcbIUScale.mmToIU( 0.02 ); // max dist from one endPt to next startPt int chainingEpsilon = pcbIUScale.mmToIU( 0.02 ); // max dist from one endPt to next startPt
if( ConvertOutlineToPolygon( list_front, m_courtyard_cache_front, maxError, chainingEpsilon, if( ConvertOutlineToPolygon( list_front, m_courtyard_cache_front, maxError, chainingEpsilon,