1 NX11+VS2013 2 3 #include <uf.h> 4 #include <uf_modl.h> 5 6 UF_initialize(); 7 8 //创建块 9 UF_FEATURE_SIGN Sign = UF_NULLSIGN; 10 double Corner_Pt[3] = {0.0, 0.0, 0.0}; 11 char *Edge_Len[3] = {"100", "200", "100"}; 12 tag_t BlkTag = NULL_TAG; 13 UF_MODL_create_block1(Sign, Corner_Pt, Edge_Len, &BlkTag); 14 15 //特征找体 16 tag_t BodyTag = NULL_TAG; 17 UF_MODL_ask_feat_body(BlkTag, &BodyTag); 18 19 //创建固定的基准平面 20 double Origin_Point[3] = {500.0, 500.0, 500.0}; 21 double Plane_Normal[3] = {0.0, 0.0, 1.0}; 22 tag_t Plane_Tag = NULL_TAG; 23 UF_MODL_create_fixed_dplane(Origin_Point, Plane_Normal, &Plane_Tag); 24 25 //创建镜像体 26 tag_t Mirrored_Body = NULL_TAG; 27 UF_MODL_create_mirror_body(BodyTag, Plane_Tag, &Mirrored_Body); 28 29 UF_terminate();
NX二次开发-UFUN创建固定的基准平面UF_MODL_create_fixed_dplane
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
NX二次开发 创建基准平面UF_MODL_create_fixed_dplane
NX二次开发 创建基准平面UF_MODL_create_fixed_dplane。
NX二次开发 UG二次开发 UG 二次开发 c++ -
Creo 9.0 基准特征:基准坐标系
选择三个平面(模型的表平面或基准平面),这些平面
CAD CREO 系统使用 装配件 -
UG NX 12 基准特征和系统设置
UG NX 10.0中的基准包括基准平面、基准轴、基准点和基准
实体模型 提高工作效率 下拉菜单