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:
parent
9d88a9f60a
commit
7cf861a239
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue