Gerber plotter, GERBER_PLOTTER::plotArc( SHAPE_ARC& aArc ): fix missing G75 command

This commit is contained in:
jean-pierre charras 2021-08-06 17:45:57 +02:00
parent b1c67d9ad4
commit 5f84071cfa
1 changed files with 2 additions and 0 deletions

View File

@ -856,6 +856,8 @@ void GERBER_PLOTTER::plotArc( const SHAPE_ARC& aArc, bool aPlotInRegion )
DPOINT devEnd = userToDeviceCoordinates( end );
DPOINT devCenter = userToDeviceCoordinates( center ) - userToDeviceCoordinates( start );
fprintf( m_outputFile, "G75*\n" ); // Multiquadrant (360 degrees) mode
if( start_angle < end_angle )
fprintf( m_outputFile, "G03*\n" ); // Active circular interpolation, CCW
else