|
马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
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 |
|