|
楼主 |
发表于 2024-7-24 10:43:41
|
显示全部楼层
ptoolcomment #Comment for tool
if tool_info = 1 | tool_info = 3,
[
tnote = abs(t$)
toffnote = tloffno$
strtool$ = ucase(strtool$)
stinsert2 = ucase(stinsert2)
!spaces$
spaces$ = zero
#scomm_str, *tnote, " ", *toffnote, scomm_end, e$
if posttype$ = two, # Lathe toolpath operation
[
if tool_op$ = 64, # Drill operation
scomm_str, *strtool$, scomm_end, e$
else,
scomm_str, *strtool$, " ", *stinsert, *stinsert2, scomm_end, e$
]
else, # Mill toolpath operation
scomm_str, *strtool$, scomm_end, e$
spaces$ = prv_spaces$
]
这一段看看有什么问题吗? 会不会是加上的空格又强制删除了 看不懂这些
|
|