KiCad PCB EDA Suite
excellon_image.h File Reference

Go to the source code of this file.

Classes

struct  EXCELLON_CMD
 
struct  EXCELLON_ROUTE_COORD
 
class  EXCELLON_IMAGE
 Handle a drill image. More...
 

Macros

#define ROUTE_CCW   1
 
#define ROUTE_CW   -1
 

Enumerations

enum  drill_M_code_t {
  DRILL_M_UNKNOWN , DRILL_M_END , DRILL_M_TOOL_DOWN , DRILL_M_TOOL_UP ,
  DRILL_M_ENDFILE , DRILL_M_MESSAGE , DRILL_M_LONGMESSAGE , DRILL_M_HEADER ,
  DRILL_M_ENDHEADER , DRILL_M_BEGINPATTERN , DRILL_M_ENDPATTERN , DRILL_M_CANNEDTEXT ,
  DRILL_M_TIPCHECK , DRILL_M_METRIC , DRILL_M_IMPERIAL , DRILL_METRIC_HEADER ,
  DRILL_IMPERIAL_HEADER , DRILL_DETECT_BROKEN , DRILL_INCREMENTALHEADER , DRILL_REWIND_STOP ,
  DRILL_TOOL_CHANGE_STOP , DRILL_AUTOMATIC_SPEED , DRILL_AXIS_VERSION , DRILL_RESET_CMD ,
  DRILL_AUTOMATIC_TOOL_CHANGE , DRILL_FMT , DRILL_FORMAT_ALTIUM , DRILL_HEADER_SKIP ,
  DRILL_SKIP , DRILL_TOOL_INFORMATION , DRILL_M_END_LIST
}
 
enum  drill_G_code_t {
  DRILL_G_UNKNOWN = DRILL_M_END_LIST+1 , DRILL_G_ABSOLUTE , DRILL_G_INCREMENTAL , DRILL_G_ZEROSET ,
  DRILL_G_ROUT , DRILL_G_DRILL , DRILL_G_SLOT , DRILL_G_ZERO_SET ,
  DRILL_G_LINEARMOVE , DRILL_G_CWMOVE , DRILL_G_CCWMOVE
}
 

Macro Definition Documentation

◆ ROUTE_CCW

#define ROUTE_CCW   1

Definition at line 89 of file excellon_image.h.

◆ ROUTE_CW

#define ROUTE_CW   -1

Definition at line 90 of file excellon_image.h.

Enumeration Type Documentation

◆ drill_G_code_t

Enumerator
DRILL_G_UNKNOWN 
DRILL_G_ABSOLUTE 
DRILL_G_INCREMENTAL 
DRILL_G_ZEROSET 
DRILL_G_ROUT 
DRILL_G_DRILL 
DRILL_G_SLOT 
DRILL_G_ZERO_SET 
DRILL_G_LINEARMOVE 
DRILL_G_CWMOVE 
DRILL_G_CCWMOVE 

Definition at line 66 of file excellon_image.h.

66 {
67 DRILL_G_UNKNOWN = DRILL_M_END_LIST+1, // Use next available value
78};
@ DRILL_G_CWMOVE
@ DRILL_G_ZERO_SET
@ DRILL_G_INCREMENTAL
@ DRILL_G_ZEROSET
@ DRILL_G_DRILL
@ DRILL_G_LINEARMOVE
@ DRILL_G_ABSOLUTE
@ DRILL_G_SLOT
@ DRILL_G_ROUT
@ DRILL_G_UNKNOWN
@ DRILL_G_CCWMOVE
@ DRILL_M_END_LIST

◆ drill_M_code_t

Enumerator
DRILL_M_UNKNOWN 
DRILL_M_END 
DRILL_M_TOOL_DOWN 
DRILL_M_TOOL_UP 
DRILL_M_ENDFILE 
DRILL_M_MESSAGE 
DRILL_M_LONGMESSAGE 
DRILL_M_HEADER 
DRILL_M_ENDHEADER 
DRILL_M_BEGINPATTERN 
DRILL_M_ENDPATTERN 
DRILL_M_CANNEDTEXT 
DRILL_M_TIPCHECK 
DRILL_M_METRIC 
DRILL_M_IMPERIAL 
DRILL_METRIC_HEADER 
DRILL_IMPERIAL_HEADER 
DRILL_DETECT_BROKEN 
DRILL_INCREMENTALHEADER 
DRILL_REWIND_STOP 
DRILL_TOOL_CHANGE_STOP 
DRILL_AUTOMATIC_SPEED 
DRILL_AXIS_VERSION 
DRILL_RESET_CMD 
DRILL_AUTOMATIC_TOOL_CHANGE 
DRILL_FMT 
DRILL_FORMAT_ALTIUM 
DRILL_HEADER_SKIP 
DRILL_SKIP 
DRILL_TOOL_INFORMATION 
DRILL_M_END_LIST 

Definition at line 31 of file excellon_image.h.

31 {
34 DRILL_M_TOOL_DOWN, // tool down (starting a routed hole)
35 DRILL_M_TOOL_UP, // tool up (ending a routed hole)
62 DRILL_M_END_LIST // not used: sentinel
63};
@ DRILL_M_UNKNOWN
@ DRILL_M_TOOL_UP
@ DRILL_SKIP
@ DRILL_M_ENDPATTERN
@ DRILL_M_TOOL_DOWN
@ DRILL_AUTOMATIC_SPEED
@ DRILL_M_END
@ DRILL_TOOL_CHANGE_STOP
@ DRILL_TOOL_INFORMATION
@ DRILL_AUTOMATIC_TOOL_CHANGE
@ DRILL_M_ENDHEADER
@ DRILL_M_HEADER
@ DRILL_FORMAT_ALTIUM
@ DRILL_M_METRIC
@ DRILL_DETECT_BROKEN
@ DRILL_HEADER_SKIP
@ DRILL_REWIND_STOP
@ DRILL_M_TIPCHECK
@ DRILL_M_LONGMESSAGE
@ DRILL_INCREMENTALHEADER
@ DRILL_AXIS_VERSION
@ DRILL_RESET_CMD
@ DRILL_M_MESSAGE
@ DRILL_METRIC_HEADER
@ DRILL_M_BEGINPATTERN
@ DRILL_IMPERIAL_HEADER
@ DRILL_M_ENDFILE
@ DRILL_FMT
@ DRILL_M_CANNEDTEXT
@ DRILL_M_IMPERIAL