找回密码 注册 QQ登录
一站式解决方案

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
查看: 24541|回复: 16
打印 上一主题 下一主题

【分享】Post Builder 變數一覽

[复制链接]
跳转到指定楼层
1
发表于 2003-5-9 22:03:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
相信論壇上許多人對PostBuilder中到底有哪些變數可以引用而傷腦筋,現在3.0的版本終於列出變數表了,雖然還不是很詳盡,總是聊勝於無:I:I

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 赞一下!赞一下!
2
发表于 2003-5-10 01:33:42 | 只看该作者
搭YEAGER兄的便车,我来给一些解析,英文的,不懂的提出来,能回答的就回答,不能回答的大家来共同研究!
This section describes miscellaneous parameters that are applicable to all event types.
  
mom_cutting_time
  
Actual cutting time till the current event in minutes.
  
Default is 0.
  
mom_date
  
The current date. This variable is loaded before any events are called.
  
mom_definition_file_name
  
The name of the current definition file. This variable is loaded before any events are called.
  
mom_event_handler_file_name
  
The name of the current event handler. This variable is loaded before any events are called.
  
mom_event_time
  
Total time required for the current event in minutes.
  
Default is 0.
  
mom_logname
  
The login name of the person running Unigraphics NX. This variable is loaded before any events are called.

mom_machine_name

  
MACHINE <name> is present in the Definition File. This variable is <name> of the primary Definition File. This variable is loaded before any events are called.
  
mom_machine_time
  
Total time required till the current event in minutes.
  
Default is 0.
  
mom_output_file_basename
  
The name of the output file without the path. This variable is loaded before any events are called.
  
mom_output_file_directory
  
The name of the directory where the output file is located. This variable is loaded before any events are called.
  
mom_output_file_suffix
  
The output file extension following the last "."
  
(i.e., ptp). This variable is loaded before any events are called.
  
mom_part_name
  
The name of the current part. This variable is loaded before any events are called.
  
mom_source_directory
  
The name of the directory where the event handler is located. 'Source'd files should probably reside in the same directory. This variable is loaded before any events are called.
  
mom_tool_count
  
Count of the tools used till the current event.
  
Default is 0.
  
mom_tool_use
  
tool_number, tool_usage_time (in minutes) couplets:
  
   
   
  Tool usage till the
   
Tool Number
   
  current event
   
mom_tool_use(0,0)
  
  mom_tool_use(0,1)
   
mom_tool_use(1,0)
  
  mom_tool_use(1,1)

   
   
  ----
   
   
   
  ----
   
   
mom_tool_use(n-1,0)
   
  mom_tool_use(n-1,1)
   
where n is the mom_tool_count
   
  
3
发表于 2003-5-10 01:42:33 | 只看该作者
mom_lathe_spindle_axis
  
The axis of the lathe (TLDATA parameter).
  
Values:
  MCSX (default)
   
   
  MCSY
   
  
mom_next_tool_status
  
The status of the next tool used in the task.
  
Values:
  NEXT (there is a next tool available)
   
   
  FIRST (there is no next tool available)
   
  
mom_operation_type
  
The type of machining operation.
  
Values:
  PLANAR_MILL
   
   
  POCKET_PROFILE
   
   
  SURFACE_MILLING
   
   
  FIX_CONTOUR
   
   
  VAR_CONTOUR
   
   
  GSSM
   
   
  PARAMETER_LINE
   
   
  ZIG_ZAG_SURFACE
   
   
  ROUGH_TO_DEPTH
   
   
  CAVITY_MILL
   
   
  LATHE
   
   
  LATHE_ROUGH
   
   
  LATHE_FINISH
   
   
  LATHE_GROOVE
   
   
  LATHE_THREAD
   
   
  LATHE_DRILL
   
   
  LATHE_FACE
   
   
  BASIC_MACHINING
   
   
  POINT_TO_POINT
   
   
  SEQ_CURVE_MILL
   
   
  LATHE_DRIVE_CURVE
   
   
  SHEET_METAL
   
   
  NESTING
   
   
  FLAT_PATTERNS
   
   
  PUNCH_PRESS
   
   
  PCB
   
   
  WEDM
   
   
  ORPHAN
   
   
  PLOP
   
   
  MILL_MACHINE_CONTROL
   
   
  LATHE_MACHINE_CONTROL
   
   
  WEDM_MACHINE_CONTROL
   
   
  MILL_USER
   
   
  LATHE_USER
   
   
  WEDM_USER
   
   
  UNDEFINED (default)
   
  
mom_tool_insert_width
  
Thread tool insert width.
  
Default is 0.0.
  
mom_tool_tip_offset
  
Thread tool insert tip offset.
  
Default is 0.0.
  
mom_tool_x_imaginery_offset
  
Imaginery tool tip xoffset.
  
Default is 0.0.
  
mom_tool_z_imaginery_offset
  
Imaginery tool tip zoffset.
  
Default is 0.0.
  
mom_path_name
  
The name of the current path.
  
mom_tool_name
  
The name of the current tool.
  
mom_tool_number
  
The number of the current tool.
  
mom_tool_adjust_register
  
The number of the current tool's adjust register.
  
mom_tool_type
  
The type of machining tool (TLDATA parameter).
  
Values:
  MILL
   
   
  DRILL
   
   
  TURN
   
   
  GROOVE
   
   
  THREAD
   
   
  WEDM
   
   
  BARREL
   
   
  TCUTTER
   
  
mom_tool_parameter_count
  
The number of parameters used to define the tool.
  
Default = 5
  
mom_tool_diameter
  
The diameter of the tool.
  
Default = 0.0
  
mom_tool_corner1_radius
  
The lower corner radius of the tool.
  
Default = 0.0
  
mom_tool_equipment
  
Type of machine used for the current operation.
  
Values:
  MILL
   
   
  LATHE
   
  
mom_tool_shape
  
Tool shapes applicable to turning operations.
  
Values:
  STANDARD
   
   
  BUTTON
   
   
  BORING_BAR
   
   
  RING
   
   
  BUTTRESS
   
   
  ACME
   

mom_tool_gage_length

  
The gage length of the tool.
  
Default = 0.0
  
mom_tool_taper_angle
  
The taper angle of the tool.
  
Default = 0.0
  
mom_tool_tip_angle
  
The tip angle of the tool.
  
Default = 0.0
  
mom_tool_corner1_x
  
The first component of the center of the arc repesenting the lower corner radius of the tool.
  
Default = 0.0

mom_tool_corner1_y

  
The second component of the center of the arc repesenting the lower corner radius of the tool.
  
Default = 0.0
  
mom_tool_flute_length
  
The flute length of the tool.
  
Default = 0.0
  
mom_tool_corner2_radius
  
The upper corner radius of the tool.
  
Default = 0.0
  
mom_tool_corner2_x
  
The first component of the center of the arc repesenting the upper corner radius of the tool.
  
Default = 0.0
  
mom_tool_corner2_y
  
The second component of the center of the arc repesenting the upper corner radius of the tool.
  
Default = 0.0
  
mom_tool_holder_width
The width of the tool holder plus the insert.
  
Default = 0.0
  
mom_tool_lead_angle
  
The angle of the leading edge of the cutting insert.
  
Default = 0.0
  
mom_tool_heel_angle
  
The angle of the trailing edge of the cutting insert.
  
Default = 0.0
  
mom_tool_holder_height
  
The holder height (TLDATA parameter).
  
Default = 0.0
  
mom_tool_orient_angle
  
The orientation of the tool holder with respect to the turning axis.
  
Default = 0.0
  
mom_tool_insert_width
  
The width of the tool insert.
  
Default = 0.0
  
mom_tool_left_radius
  
The left corner radius of the tool insert.
  
Default = 0.0
  
mom_tool_right_radius
  
The right corner radius of the tool insert.
  
Default = 0.0
  
mom_tool_max_depth
  
The maximum depth that a grooving tool can cut into the part.
  
Default = 0.0
  
mom_tool_insert_angle
  
The orientation of the insert with respect to the tool holder.
  
Default = 0.0
  
mom_wire_guides_upper_plane
  
The upper plane for wire EDM.
  
Default = 0.0
  
mom_wire_guides_lower_plane
  
The lower plane for wire EDM.
  
Default = 0.0

mom_tool_barrel_radius

  
The radius of the arc defining the profile shape of the sides of a barrel cutter.
  
Default = 0.0
  
mom_tool_barrel_y
The height of the center of the arc defining the profile of the outside edge of a barrel cutter.
  
Default = 0.0
  
mom_tool_shank_diameter
  
The diameter of the shank at the top of a barrel cutter.
  
Default = 0.0
  
mom_tool_orientation
  
The turning tool orientation.
  
Values:
  LEFT
   
   
  RIGHT
   
  
mom_tool_work_side
  
The cutting side for the turning tool.
  
Values:
  INSIDE
   
   
  OUTSIDE
   
  
mom_tool_track_side
  
The tracking side for the grooving tool.
  
Values:
  LEFT
   
   
  CENTER
   
   
  RIGHT
   
  
mom_paint_arrow
  
Value:
  TRUE
   
   
  FALSE
   

mom_paint_feed

  
Value:
  TRUE
   
   
  FALSE
   
  
mom_paint_line_number
  
Value:
  TRUE
   
   
  FALSE
   

mom_paint_path_type

  
Values:
  SOLID
   
   
  DASHED
   
   
  SILHOUTTE_WITH_TOOL_AXIS
   
   
  SILHOUTTE_WITH_SILHOUTTE_NORMAL
   
   
  NONE
   
  
mom_paint_pattern
  
Value:
  TRUE
   
   
  FALSE
   
  
mom_paint_silhoutte_percentage
  
mom_paint_speed
  
Value:
  TRUE
   
   
  FALSE
   
  
mom_paint_speed_value
  
mom_paint_tool
  
Values:
  NONE
   
   
  2D
   
   
  3D
   
  
mom_tool_display_type
  
Values:
  TOOL_AXIS
   
   
  TWO_DIMENSIONAL
   
   
  THREE_DIMENSIONAL
   
  
mom_tool_display_frequency
4
发表于 2003-5-10 23:32:33 | 只看该作者
内容已经被删除!
5
发表于 2003-5-11 10:52:26 | 只看该作者
xianglong wrote:
。。。。。!

  
::6::6::6
6
发表于 2003-5-11 10:53:11 | 只看该作者
flash_star wrote:
搭YEAGER兄的便车,我来给一些解析,英文的,不懂的提出来,能回答的就回答,不能回答的大家来共同研究!  
  This section describes miscellaneous parameters that are applicable to all event types.  
  
  mom_cutting_time  
  
  Actual cutting time till the current event in minutes.  
  
  Default is 0.  
  
  mom_date  
  
  The current date. This variable is loaded before any events are called.  
  
  mom_definition_file_name  
  
  The name of the current definition file. This variable is loaded before any events are called.  
  
  mom_event_handler_file_name  
  
  The name of the current event handler. This variable is loaded before any events are called.  
  
  mom_event_time  
  
  Total time required for the current event in minutes.  
  
  Default is 0.  
  
  mom_logname  
  
  The login name of the person running Unigraphics NX. This variable is loaded before any events are called.  
    
  mom_machine_name
  
  
  MACHINE <name> is present in the Definition File. This variable is <name> of the primary Definition File. This variable is loaded before any events are called.  
  
  mom_machine_time  
  
  Total time required till the current event in minutes.  
  
  Default is 0.  
  
  mom_output_file_basename  
  
  The name of the output file without the path. This variable is loaded before any events are called.  
  
  mom_output_file_directory  
  
  The name of the directory where the output file is located. This variable is loaded before any events are called.  
  
  mom_output_file_suffix  
  
  The output file extension following the last "."  
  
  (i.e., ptp). This variable is loaded before any events are called.  
  
  mom_part_name  
  
  The name of the current part. This variable is loaded before any events are called.  
  
  mom_source_directory  
  
  The name of the directory where the event handler is located. 'Source'd files should probably reside in the same directory. This variable is loaded before any events are called.  
  
  mom_tool_count  
  
  Count of the tools used till the current event.  
  
  Default is 0.  
  
  mom_tool_use  
  
  tool_number, tool_usage_time (in minutes) couplets:  
  
   
    
  Tool usage till the  
   
  Tool Number  
    
  current event  
   
  mom_tool_use(0,0)  
      
  mom_tool_use(0,1)  
   
  mom_tool_use(1,0)  
      
  mom_tool_use(1,1)
  
   
   
  ----  
    
   
   
  ----  
    
   
  mom_tool_use(n-1,0)  
    
  mom_tool_use(n-1,1)  
   
  where n is the mom_tool_count  
    
   

  
::y::y::K::K
7
发表于 2003-5-12 06:30:47 | 只看该作者
flash_star兄真是有心人啊!!呵呵.....
8
发表于 2003-5-14 22:46:46 | 只看该作者
大家打开.tcl文件可能已经注意到有以MOM_开头的KEYWORD也有mom_开头的,不知大家是否知道两者的区别?
MOM开头是过程,相当于子程序;
mom开头的则是变量;
9
发表于 2003-5-15 08:49:47 | 只看该作者
谢谢!
10
发表于 2003-5-24 10:52:13 | 只看该作者
刚开始UG的CAM很莱,目前还在用MASTERCAM,不懂后处理怎么做,可不可以E一个后处理给偶,EMAIL—zsifan@sina.com...多多谢!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网  

GMT+8, 2025-1-22 23:49 , Processed in 0.041893 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2025 www.iCAx.org

快速回复 返回顶部 返回列表