青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 910|回复: 0

[疑难] 帮我看看哪里有错误

[复制链接]
发表于 2014-8-16 18:27 | 显示全部楼层 |阅读模式
lobal mom_tool_name mom_tool_type
global mom_tool_diameter mom_tool_cornerl_radius m global mom_tool_name mom_tool_type
global mom_tool_diameter mom_tool_cornerl_radius mom_tool_flute_length
global mom_tool_length tip_angle mom_tool_point_angle rad2deg
if ![ info exists mom_tool_cornerl_radius ] { set mom_tool_corner1_
radius 0 }
Mom_output_literal"($mom_operation_name)"
Mom_output_literal"($mom_tool_namemom_tool_type)"
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] F=[format "%.2f" mom_tool_flute_length_]
L=[format "%.2f" $mom_tool_length])"
} else {
  {MOM_output_literal ";(D=[format "%.2f" $mom_tool_diameter] R=[ format
"%.2f"  $mom_tool_corner_radius] F=[format "%.2f" $mom_tool_flute_length]
L=[format "%.2f" $mom_tool_length])"
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2024-11-18 00:24 , Processed in 0.099323 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表