gen_gerber_and_drill_files_board.py script: fix incorrect output folder for drill files.

This commit is contained in:
jean-pierre charras 2015-10-26 19:55:37 +01:00
parent bb95fcccfc
commit 8ff5bc6108
1 changed files with 4 additions and 2 deletions

View File

@ -107,8 +107,10 @@ drlwriter.SetFormat( metricFmt )
genDrl = True
genMap = True
drlwriter.CreateDrillandMapFilesSet( plotDir, genDrl, genMap );
print 'create drill and map files in %s' % pctl.GetPlotDirName()
drlwriter.CreateDrillandMapFilesSet( pctl.GetPlotDirName(), genDrl, genMap );
# One can create a text file to report drill statistics
rptfn = pctl.GetPlotDirName() + 'drill_report.txt'
rptfn = pctl.GetPlotDirName() + 'drill_report.rpt'
print 'report: %s' % rptfn
drlwriter.GenDrillReportFile( rptfn );