31 #ifndef _GENDRILL_EXCELLON_WRITER_ 32 #define _GENDRILL_EXCELLON_WRITER_ 78 int aLeftDigits = 0,
int aRightDigits = 0 );
89 void SetOptions(
bool aMirror,
bool aMinimalHeader,
const wxPoint& aOffset,
90 bool aMerge_PTH_NPTH )
162 #endif // #ifndef _GENDRILL_EXCELLON_WRITER_
void SetRouteModeForOvalHoles(bool aUseRouteModeForOvalHoles)
void writeEXCELLONEndOfFile()
Create Excellon drill, drill map, and drill report files.
A pure virtual class used to derive REPORTER objects from.
virtual ~EXCELLON_WRITER()
void SetFormat(bool aMetric, ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)
Initialize internal parameters to match the given format.
void writeCoordinates(char *aLine, double aCoordX, double aCoordY)
Create a line like according to the selected format.
wxPoint GetOffset()
Return the plot offset (usually the position of the auxiliary axis.
EXCELLON_WRITER(BOARD *aPcb)
helper classes to handle hole info for drill files generators.
bool m_useRouteModeForOval
void SetOptions(bool aMirror, bool aMinimalHeader, const wxPoint &aOffset, bool aMerge_PTH_NPTH)
Initialize internal parameters to match drill options.
std::pair< PCB_LAYER_ID, PCB_LAYER_ID > DRILL_LAYER_PAIR
void writeHoleAttribute(HOLE_ATTRIBUTE aAttribute)
Write a comment string giving the hole attribute.
int createDrillFile(FILE *aFile, DRILL_LAYER_PAIR aLayerPair, TYPE_FILE aHolesType)
Create an Excellon drill file.
Base plotter engine class.
Information pertinent to a Pcbnew printed circuit board.
void writeEXCELLONHeader(DRILL_LAYER_PAIR aLayerPair, TYPE_FILE aHolesType)
Print the DRILL file header.
void CreateDrillandMapFilesSet(const wxString &aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER *aReporter=nullptr)
Create the full set of Excellon drill file for the board.
Create drill maps and drill reports and drill files.