NX二次开发-UFUN创建镜像体UF_MODL_create_mirror_body
2024-09-06 05:17:11
NX11+VS2013 #include <uf.h>
#include <uf_modl.h> UF_initialize(); //创建块
UF_FEATURE_SIGN Sign = UF_NULLSIGN;
double Corner_Pt[] = {0.0, 0.0, 0.0};
char *Edge_Len[] = {"", "", ""};
tag_t BlkTag = NULL_TAG;
UF_MODL_create_block1(Sign, Corner_Pt, Edge_Len, &BlkTag); //特征找体
tag_t BodyTag = NULL_TAG;
UF_MODL_ask_feat_body(BlkTag, &BodyTag); //创建基准平面
double Origin_Point[] = {500.0, 500.0, 500.0};
double Plane_Normal[] = {0.0, 0.0, 1.0};
tag_t Plane_Tag = NULL_TAG;
UF_MODL_create_fixed_dplane(Origin_Point, Plane_Normal, &Plane_Tag); //创建镜像体
tag_t Mirrored_Body = NULL_TAG;
UF_MODL_create_mirror_body(BodyTag, Plane_Tag, &Mirrored_Body); UF_terminate();
最新文章
- Android Stuido 常用快捷键
- centos6.7下编译安装lamp环境
- Careercup - Microsoft面试题 - 5204967652589568
- ASP-----分页功能的实现
- iOS 各种控件默认高度
- 【JS】Intermediate1:The DOM
- 职责链模式vs状态模式区别
- openoffice转换过程中遇到繁体字文档转换失败的问题
- hdu 5430 Reflect (数学推导题)
- css3之3D翻牌效果
- HDU 4359	 Easy Tree DP? 带权二叉树的构造方法 dp
- 201521123031《java程序设计》第五周学习总结
- 小程序 - swiper除了左右切换还有上下滚动超出屏幕的内容
- How to Simulate the Price Order or Price Line Function using API QP_PREQ_PUB.PRICE_REQUEST Includes
- [Luogu P1119]灾后重建
- Python UnboundLocalError和NameError错误根源解析
- C#中Skip和Take的用法
- 解决类似umount target is busy挂载盘卸载不掉问题
- centos7 LNMP
- 使用Sharding-Proxy进行分库分表