current set of variable substitutions
All Modes "pre" and "post" (header/footer)
{top} = offset in mm of bed top Y axis
{left} = offset in mm of bed left X axis
{right} = offset in mm of bed right X axis
{bottom} = offset in mm of bed bottom Y axis
All Modes "post" (footer)
{time} = job run time (printing/milling) in seconds (fractional)
{print-time} = alias for {time}
3D printing / FDM
"pre" and "post" (header/footer)
{temp} = hot end temperature
{bed_temp} = bed temperature
{fan_speed} = active cooling fan speed (usually 0-255)
{z_max} = max build height in mm
{material} = length in mm of material (filament) used
CAM
{tool} = CAM tool #
{tool_name} = CAM tool name
{time} = dwell time in seconds
{time_ms} = dwell time in milliseconds
{time_sec} = dwell time in seconds
{speed} = spindle speed
{spindle}, {rpm} = spindle speed (v2.7+)
simple algebraic expressions supported in the form
{token+n} {token-n}