|
发表于 2017-3-1 02:41:28
|
显示全部楼层
global mom_tool_diameter
global mom_tool_flute_length
global mom_tool_corner1_radius mom_tool_lower_corner_radius
global mom_tool_type
if {$mom_tool_type == "Milling Tool-T Cutter"} {
MOM_output_literal "( Tool:DIA=[format "%.2f" $mom_tool_diameter] CR=[format "%.2f" $mom_tool_lower_corner_radius] FL=[format "%.2f" $mom_tool_flute_length] )"
} else {
MOM_output_literal "( Tool:DIA=[format "%.2f" $mom_tool_diameter] CR=[format "%.2f" $mom_tool_corner1_radius] FL=[format "%.2f" $mom_tool_flute_length] )"
} |
|