Refinement in Gerber drill file: add %TF.FilePolarity,Positive*% in header.
This commit is contained in:
parent
e3d69b619f
commit
5d252639fa
|
@ -207,11 +207,15 @@ int GERBER_WRITER::createDrillFile( wxString& aFullFilename, bool aIsNpth,
|
|||
|
||||
// else: empty file.
|
||||
|
||||
// End of attribute:
|
||||
// End of .FileFunction attribute:
|
||||
text << "*%";
|
||||
|
||||
plotter.AddLineToHeader( text );
|
||||
|
||||
// Add file polarity (positive)
|
||||
text = "%TF.FilePolarity,Positive*%";
|
||||
plotter.AddLineToHeader( text );
|
||||
|
||||
if( !plotter.OpenFile( aFullFilename ) )
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue