From 24cd80ef3ec5ae8e042c8329b178be78f1bb870c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 18 Dec 2019 11:35:28 +0100 Subject: [PATCH] Gerber plotter: modify G02 and G03 commands. They are now in a specific block and no longer combined with an other command. (combining these commands with an other command (D01 or D02) is deprecated) Fixes #3677 | https://gitlab.com/kicad/code/kicad/issues/3677 --- common/plotters/GERBER_plotter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index 235723136c..897b6dccb5 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -529,9 +529,9 @@ void GERBER_PLOTTER::Arc( const wxPoint& aCenter, double aStAngle, double aEndAn fprintf( outputFile, "G75*\n" ); // Multiquadrant (360 degrees) mode if( aStAngle < aEndAngle ) - fprintf( outputFile, "G03" ); + fprintf( outputFile, "G03*\n" ); // Active circular interpolation, CCW else - fprintf( outputFile, "G02" ); + fprintf( outputFile, "G02*\n" ); // Active circular interpolation, CW fprintf( outputFile, "X%dY%dI%dJ%dD01*\n", KiROUND( devEnd.x ), KiROUND( devEnd.y ),