iCAx开思网

标题: 求后处理生成加速文件,即pb_cmd_activate_turbo_modle.tcl [打印本页]

作者: oushiyun    时间: 2006-5-26 14:34
标题: 求后处理生成加速文件,即pb_cmd_activate_turbo_modle.tcl
哪位大侠有pb_cmd_activate_turbo_modle.tcl
可否发我一个

作者: lang0653    时间: 2006-5-26 22:19
UG 里面有的啊
作者: oushiyun    时间: 2006-5-27 09:37
标题: 恢复
但我的NX2搜索不到
作者: oushiyun    时间: 2006-5-29 11:29
标题: 虎伏
哪位行行好传一个上来拉
现在急着救命啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
作者: egkj001    时间: 2006-5-29 13:42
pb_cmd_activate_turbo_modle.tcl来啦

#=============================================================
proc PB_CMD_init_turbo { } {
#=============================================================
#
#  This custom command may only be used with Post Builder 3.2.1
#  or later and NX2 or later.
#
#  Place this custom command with the "Start of Program" marker.
#
#
#  This custom command will activate the turbo process mode for
#  the 3-axis mill posts. The execution time will be about 5 to
#  10 times faster than the normal process.
#
#  Special Blocks are included in any 3-axis mill post created
#  by Post Builder v3.2.1 and on.
#
#  The blocks being output are formatted similar to that of the
#  Fanuc type of controllers.
#
#  The following turbo blocks will appear in the Block section
#  of N/C Data Definitions in Post Builder:
#
#     linear_move_turbo
#     circular_move_turbo
#     rapid_move_turbo
#     sequence_number_turbo
#
#  In Post Builder, you may modify the Word parameters from
#  the N/C Data Defitions dialog to configure the output of that
#  word used within the turbo blocks. You may also modify the Format
#  parameters. You may not, however, edit the expression in the
#  words, remove or add words in any turbo block.
#
#  All rapid motion is output in a single move.  Any custom
#  commands in the linear move, circular move, rapid move and
#  mom_before_motion event markers will be ignored.
#

  global mom_kin_machine_type

  if {$mom_kin_machine_type == "3_axis_mill"} {

    uplevel #0 {
      set mom_kin_is_turbo_output  "TRUE"
      MOM_reload_kinematics
    }
  }
}
作者: oushiyun    时间: 2006-5-29 19:57
标题: 虎伏
谢谢EGKJ001大哥拉
有缘的话请你吃饭!!!!!!!!!
作者: oushiyun    时间: 2006-5-29 20:14
标题: 虎伏
真的很快
简直是由马车换飞船的感觉
再次谢谢EGKJ001大哥




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3