PB后处理如何通过加工公差输出不同等级的高精代码这样子写的代码报错了

我是这样子写的但是报警了

global mom_inside_outside_tolerances mom_operation_type

    set tol [expr $mom_inside_outside_tolerances(0) + $mom_inside_outside_tolerances(1)]

    if {$tol >= 0.015} {

        MOM_output_literal "G05.Q1R3"

        } else {

        MOM_output_literal "G05.Q1R6"

请先 登录 后评论

2 个回答

https://www.caxpx.com/course/28,此UG后处理教程里面有讲解。

请先 登录 后评论
小鸡炖毒菇

你结尾的 } 呢

我测试了下是可以的  

请先 登录 后评论
  • 2 关注
  • 0 收藏,759 浏览
  • 秋天 提出于 2023-06-27 10:18

相似问题