Gerber files: ensure the "level polarity dark" is set in each file (this is the default, but ensuring that is better and can avoid issues when panneling files)

This commit is contained in:
jean-pierre charras 2016-04-15 14:24:25 -04:00 committed by Wayne Stambaugh
parent ab99c58ead
commit 6a33549b68
1 changed files with 5 additions and 1 deletions

View File

@ -147,8 +147,12 @@ bool GERBER_PLOTTER::StartPlot()
else else
fputs( "%MOMM*%\n", outputFile ); fputs( "%MOMM*%\n", outputFile );
/* Specify linear interpol (G01) */ // Be sure the usual dark polarity is selected:
fputs( "%LPD*%\n", outputFile );
// Specify linear interpol (G01):
fputs( "G01*\n", outputFile ); fputs( "G01*\n", outputFile );
fputs( "G04 APERTURE LIST*\n", outputFile ); fputs( "G04 APERTURE LIST*\n", outputFile );
/* Select the default aperture */ /* Select the default aperture */
SetCurrentLineWidth( -1 ); SetCurrentLineWidth( -1 );