一级士官
UID9494168
U币1
G币174
技术0
主题0
精华0
阅读权限30
注册时间2021-8-11
最后登录2022-6-24
在线时间31 小时
一级士官
|
本帖最后由 daixin19871017 于 2021-10-28 19:24 编辑
朋友给的四轴后处理,定制了刀名检查,如何删掉,请哪位好心大哥帮忙去掉,任何刀名都能处理。不胜感激,谢谢!
补充内容 (2021-11-2 20:26):
global mom_tool_name index topword
#-----------------------------------------------------------------------ma20180115
set index [string first "-" $mom_tool_name]
set topword [string range $mom_to...
补充内容 (2021-11-2 20:27):
global mom_tool_name index topword
#-----------------------------------------------------------------------ma20180115
set index [string first "-" $mom_tool_name]
set topword [string range $mom_tool_name 0 [expr $index-1]]
if {$topword != "TL" && $topword != "013" && $topword != "303" && $topword != "304" && $topword != "302" && $topword != "042" && $topword != "045" && $topword != "TX26" && $topword != "010" && $topword != "018" } {
MOM_abort " Tool name must be IPNA! Please reselect tool! "
}
|
-
-
4轴后处理.zip
90.78 KB, 下载次数: 39, 下载积分: G币 -1
后处理
|