25#ifndef EXCELLON_IMAGE_H
26#define EXCELLON_IMAGE_H
110 m_x( aPos.x ),
m_y( aPos.y ),
116 m_x( aPos.x ),
m_y( aPos.y ),
122 m_x( aPos.x ),
m_y( aPos.y ),
void readFileFormat(char *&aText)
Read an Altium-specific FILE_FORMAT=X:X attribute that specifies the length and mantissa of the numbe...
static bool TestFileIsExcellon(const wxString &aFullFileName)
Performs a heuristics-based check of whether the file is an Excellon drill file.
bool LoadFile(const wxString &aFullFileName, EXCELLON_DEFAULTS *aDefaults)
Read and load a drill (EXCELLON format) file.
bool Execute_Drill_Command(char *&text)
void FinishRouteCommand()
End a route command started by M15 ot G01, G02 or G03 command.
bool Execute_HEADER_And_M_Command(char *&text)
bool Execute_EXCELLON_G_Command(char *&text)
bool m_hasFormat
Excellon file do not have a format statement to specify the coordinate format like nn:mm.
bool readToolInformation(char *&aText)
Read a tool definition like T1C0.02 or T1F00S00C0.02 or T1C0.02F00S00 and enter params in TCODE list.
virtual void ResetDefaultValues() override
Set all parameters to a default value, before reading a file.
std::vector< EXCELLON_ROUTE_COORD > m_RoutePositions
bool Select_Tool(char *&text)
void SelectUnits(bool aMetric, EXCELLON_DEFAULTS *aDefaults)
Switch unit selection, and the coordinate format (nn:mm) if not yet set.
EXCELLON_IMAGE(int layer)
Hold the image data and parameters for one gerber file and layer parameters.
@ DRILL_AUTOMATIC_TOOL_CHANGE
@ DRILL_INCREMENTALHEADER
management of default values used to read a Excellon (.nc) drill file Some important parameters are n...
EXCELLON_ROUTE_COORD(const VECTOR2I &aPos, const VECTOR2I &aCenter, int aMode)
EXCELLON_ROUTE_COORD(const VECTOR2I &aPos)
EXCELLON_ROUTE_COORD(const VECTOR2I &aPos, int aRadius, int aMode)
VECTOR2< int32_t > VECTOR2I