快捷导航 上传作品

UG后处理显示刀具大小加工方法及加工时间教程

[复制链接]
ug7发表于 2017-10-9 08:32:51 | 显示全部楼层 |阅读模式
在后出里构造器里打开一个后处理文件,或者新建一个也行,然后在打开的后处理文件里添加变量,如 global mom_tool_name  // 刀具名

UG后处理构造器

UG后处理构造器

     global mom_tool_diameter   // 刀具直径

     global mom_tool_corner1_radius  // 刀具角半径

    global mom_path_name    // 路径名称

   global mom_machine_time   //加工时间

    MOM_output_literal "(NAME :S mom_tool_name )"        

    MOM_output_literal "(D : [ format  "%.2f" $mom_tool_diameter]  )"        

    MOM_output_literal "(R :?[ format  "%.2f" $mom_tool_corner1_radius]  )"

    MOM_output_literal “(Path name: $mom_path_name)"

   MOM_output_literal "(TIME :[ format  "%.2f" $mom_machine_time])"
回复

使用道具 评分 举报

您需要登录后才可以回帖 登录 | 注册UG网

本版积分规则