Gerber export X3: fix an incorrect keyword ("route" must be "rout")

This commit is contained in:
jean-pierre charras 2023-07-27 20:11:04 +02:00
parent 1e66129218
commit 60806edac0
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ const wxString GENDRILL_WRITER_BASE::BuildFileFunctionAttributeString(
else if( hasDrill )
text << wxT( ",Drill" );
else if( hasOblong )
text << wxT( ",Route" );
text << wxT( ",Rout" );
// else: empty file.

View File

@ -158,7 +158,7 @@ int GERBER_WRITER::createDrillFile( wxString& aFullFilename, bool aIsNpth,
plotter.SetCreator( wxT( "PCBNEW" ) );
// Add the standard X2 FileFunction for drill files
// %TF.FileFunction,Plated[NonPlated],layer1num,layer2num,PTH[NPTH][Blind][Buried],Drill[Route][Mixed]*%
// %TF.FileFunction,Plated[NonPlated],layer1num,layer2num,PTH[NPTH][Blind][Buried],Drill[Rout][Mixed]*%
wxString text = BuildFileFunctionAttributeString( aLayerPair,
aIsNpth ? TYPE_FILE::NPTH_FILE
: TYPE_FILE::PTH_FILE );