iCAx开思工具箱

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 23966|回复: 0
打印 上一主题 下一主题

大家帮我看下吧。多谢

[复制链接]
跳转到指定楼层
楼主
发表于 2005-7-15 19:20:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册登录,享用更多网站功能!

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

x
下面是UF_SETUP_generate_program这个函数的说明,可我不知道const char * post_name中的信息应该怎么得到,才能产生数控代码。那位给我点建议吧。真的非常感谢!
  
This function generates the NC program for all the operations contained in
the specified group of the specified setup. It will use the Post (i.e., the
Definition File and Event Handler) specified by 'post_name'. It will write
the generated NC Program to a file with name 'output_filename'. If
'output_filename' exists the output will be appended to the existing file.
If the behavior wanted is to overwrite the exsiting file, then the user
has to delete the file before calling this function.
  
See the Note in the File Description regarding the relationship between the
'post_name' and the CAM resource files.
  
See Also
  
History
Originally released in V16.0
  
extern int UF_SETUP_generate_program (
tag_t setup,  
tag_t group,  
const char * post_name,  
const char * output_filename,  
UF_SETUP_output_units_t output_units );
  
tag_t  setup Input - the setup object to process  
tag_t  group Input - the program group to process  
const char *  post_name Input - the name (as found in a resource file) of
the post instructions to use. This name
specifies the Definition File and Event
Handler file to use  
const char *  output_filename Input - the name of the file to write the
output to  
UF_SETUP_output_units_t  output_units Input - the output units for the
Post to use
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 支持支持
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手板模型制作,在线3D打印服务

QQ|小黑屋|手机版|开思工具箱 CAD工具箱_CAM工具箱  

GMT+8, 2024-11-16 21:50 , Processed in 0.015158 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

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