; any numbers in here are in mm
; whether a metric machine or not
[Options]
Comment=Milling
File Extension=cnc
Line Numbers=False
Line Number Start=10
Line Number Step=10
Line Number Char=N
Comment Char={47}{47}
Inch Mode=NO
Metric Code= //Metric code?
Inch Code= //Inch code?
Add Comments=NO

[Axes]
Number of axes=3
Axis Letter0=X
Axis Letter1=Y
Axis Letter2=Z
Modal Positions=True
Axis Seperator={32}
Safe2=60

[Linear Moves]
Rapid=G00 {POSITION}
Initial Feed=G01 {POSITION} F{FEEDRATE}
Initial Feed No Feed=G01 {POSITION}
Feed={POSITION}
Plunge Feed Percentage=25

[Arc Moves]
Expand Arcs=False
Arc Step Size=0.1
Min Arc Radius=0.2
Plane Switching=False
Plane01 Code=
Plane02 Code=
Plane12 Code=
Output Centre=True
Centre Letter0=I
Centre Letter1=J
Centre Letter2=K
Radius Letter=R
Absolute Centre=True
CW Move=G2 {POSITION} {CENTREPOSITION}
CCW Move=G3 {POSITION} {CENTREPOSITION}
Initial CW Move=G2 {POSITION} {CENTREPOSITION} F{FEEDRATE}
Initial CW Move No Feed=G2 {POSITION} {CENTREPOSITION}
Initial CCW Move=G3 {POSITION} {CENTREPOSITION} F{FEEDRATE}
Initial CCW Move No Feed=G3 {POSITION} {CENTREPOSITION}


[Header]
M90
G90
G70
G75
M12

[Footer]
M22
G0 Z{SAFE2}
G98 P147 D1
M02

[Tool Change]
M22
G97 S{SPINDLERPM}
G00 Tool Call T{TOOL} D{TOOLDIAM}
M12


[Format Strings]
Tool=%-2d
Axis0=%1.4f
Feedrate=%1.1f
Spindle=%1.0f

[Scaling]
Axis0=1
Axis1=1
Axis2=-1
Spindle=1
Feedrate=1
