; any numbers in here are in mm
; whether a metric machine or not
[Options]
Comment=Milling
File Extension=NC
Line Numbers=False
Line Number Start=10
Line Number Step=10
Line Number Char=N
Comment Char={40}
Inch Mode=Yes
Metric Code=(G21)
Inch Code=(G20)
Add Comments=YES

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

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

[Arc Moves]
Expand Arcs=False
Arc Step Size=0.1
Min Arc Radius=0.2
Plane Switching=False
Plane01 Code=(G17)
Plane02 Code=(G18)
Plane12 Code=(G19)
Output Centre=True
Centre Letter0=I
Centre Letter1=J
Centre Letter2=K
Radius Letter=R
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]
%
{MMINCHCODE}
{40}Denford Post Output - {APPLICATION}{41}
{40}Date: {DATE}{41}
{40}Time: {TIME}{41}
{40}Source File: {SOURCEFILE}{41}
{40}{91}BILLET X{BILLET0} Y{BILLET1} Z{BILLET2}{41}

[Footer]
G0 Z{SAFE2}
M30
%

[Tool Change]
{40}{91}TOOLDEF T{TOOL} D{TOOLDIAM}{41}
;G90 G00 Z{SAFE2}
;G91 G28 X0 Y0 Z0 M05
M5
M6 T{TOOL}
M03 S{SPINDLERPM}


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

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