六级士官
UID2037011
U币1
G币1026
技术0
主题1
精华0
阅读权限70
注册时间2012-12-24
最后登录2019-12-9
在线时间50 小时
六级士官
|
我在后处理中加入如下信息,但会出现报警,请大神出手解决,目的是钻头可以出钻尖角度。谢谢!
global mom_tool_name mom_tool_type
global mom_tool_diameter mom_tool_corner1_radius mom_tool_flute_length
global mom_tool_length tip_angle mom_tool_point_angle RAD2DEG
if ![ info exists mom_tool_corner1_radius ] { set mom_tool_corner1_radius 0 }
if { $mom_tool_type == "Drilling Tool" } {
set tip_angle [ expr $mom_tool_point_angle * $RAD2DEG ]
MOM_output_literal";(D=[format "%.2f" $mom_tool_diameter]Tip angle=[format "%.2f" $tip_angle]
FL=[format "%.1f" $mom_tool_flute_length]L=[format "%.1f" $mom_tool_length])"
} else {
MOM_output_literal";(D=[format "%.2f" $mom_tool_diameter]R=[format "%.2f"
$mom_tool_corner1_radius]FL=[format "%.1f" $mom_tool_flute_length]L=[format "%.1f"
$mom_tool_length])"
}
|
|