iCAx开思工具箱

标题: 请教UF_MODL_create_rect_slot的用法: [打印本页]

作者: jjf1120    时间: 2005-7-31 16:18
标题: 请教UF_MODL_create_rect_slot的用法:
请那位大侠讲解一下UF_MODL_create_rect_slot的用法:
extern int UF_MODL_create_rect_slot (
double location[ ],  
double tool_axis[ ],  
double direction[ ],  
char * width,  
char * depth,  
char * distance,  
tag_t face_li,  
tag_t face_t1,  
tag_t face_t2,  
tag_t * feature_tag );
  
double  location[ ] Input Rectangular slot location.  
double  tool_axis[ ] Input Rectangular slot tool axis.  
double  direction[ ] Input Rectangular slot direction.  
char *  width Input Rectangular slot width.  
char *  depth Input Rectangular slot depth.  
char *  distance Input Rectangular slot distance.  
tag_t  face_li Input Face for the RPO constraint.  
tag_t  face_t1 Input Face for thru face 1.  
tag_t  face_t2 Input Face for thru face 2.  
tag_t *  feature_tag Output Feature object identifier of created rectangular slot  
里面的location[ ],tool_axis[ ],direction[ ]怎么取得呀
作者: KangKang    时间: 2005-8-4 10:54
    double block_orig[3] = {0.0,0.0,0.0};
    char *block_len[3] = {"100","60","40"};
    tag_t blk_fea,blk_obj,*face_tag=NULL;
    int count,i;
    uf_list_p_t face_list;
    
    double location[3]={50,30,40}; //slot 的原点
        double tool_axis[ ]={0,0,1};//工具轴
        double direction[ ]={1,0,0};//方向
        char * width="15";
        char * depth="15";  
        char * distance="40";
作者: jjf1120    时间: 2005-8-4 15:43
谢谢kangkang兄




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3