global mom_tool_pitch mom_spindle_speed feed
if ![info exists mom_tool_pitch ] { set mom_tool_pitch 0 }
if {$mom_tool_pitch != 0 } {
if { $feed <= 3 } {
set feed [ format "%.2f" $mom_tool_pitch ]
} else {
set feed [expr $mom_tool_pitch*$mom_spindle_speed]
MOM_do_template TAP
}
}