From 0f8747e19452afc7ac9b2eb0c2da7f84c530a5e1 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 06b3065f48..2f44ad0091 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -486,9 +486,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 ),