只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-04-22 00:34 老婆饼里有老婆 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1 UF_initialize(); 2 std::vector<tag_t>tool_tag; 3 tag_t ObjectTag = NULL_TAG; 4 int Type, SubType,n; 5 UF_OBJ_cycle_objs_in_part(UF_PART_ask_display_ 阅读全文
posted @ 2020-04-21 15:31 老婆饼里有老婆 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 1 // NX 8.5.3.3 2 // Journal created by Administrator on Mon Apr 20 11:21:24 2020 中国标准时间 3 // 4 #include "C:\\all_uf.h" 5 #include <uf_defs.h> 6 #incl 阅读全文
posted @ 2020-04-21 12:16 老婆饼里有老婆 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1 UF_initialize(); 2 std::vector<tag_t>tool_tag; 3 std::vector<tag_t>del_tag; 4 tag_t ObjectTag = NULL_TAG; 5 int Type, SubType,n; 6 UF_OBJ_cycle_objs 阅读全文
posted @ 2020-04-21 11:30 老婆饼里有老婆 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1 #include <uf.h> 2 #include <uf_ui.h> 3 #include <uf_obj.h> 4 #include <uf_object_types.h> 5 #include <uf_ncgroup.h> 6 #include <uf_setup.h> 7 #inclu 阅读全文
posted @ 2020-04-21 00:34 老婆饼里有老婆 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1 static logical cycelGenerateCb(tag_t tag, void* data) 2 { 3 logical is_group; 4 char name[133]; 5 UF_NCGROUP_is_group(tag, &is_group); 6 UF_OBJ_ask_ 阅读全文
posted @ 2020-04-20 23:51 老婆饼里有老婆 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1 @ECHO OFF 2 TITLE NX 环境变量设置 3 color 3f 4 :MENU 5 CLS 6 ECHO. NX环境变量设置工具 7 ECHO.*********************************************** 8 ECHO. 1. NX 8.5 9 E 阅读全文
posted @ 2020-04-09 11:04 老婆饼里有老婆 阅读(453) 评论(0) 推荐(0) 编辑
摘要: static int select_filter_proc_fn(tag_t object, int type[1], void* user_data, UF_UI_selection_p_t select){ if (object == NULL) { return UF_UI_SEL_REJEC 阅读全文
posted @ 2020-04-04 23:28 老婆饼里有老婆 阅读(331) 评论(1) 推荐(0) 编辑
摘要: 1 UF_initialize(); 2 tag_t disp_part_tag, next_tag = NULL_TAG, subtype = NULL_TAG; 3 int num = 0, nm = 0; 4 int type = UF_solid_type; // 对象类型 UF_solid 阅读全文
posted @ 2020-04-01 23:32 老婆饼里有老婆 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include <conio.h>#include <math.h>#include <stdio.h>#include <stdlib.h>#include <uf_part.h>#include <uf_ui.h>#include <uf.h>#includ 阅读全文
posted @ 2020-03-26 15:29 老婆饼里有老婆 阅读(225) 评论(0) 推荐(0) 编辑
摘要: //铣刀D16R0.8 void CREATE_TOOL::mill_D16R08() { UF_initialize(); tag_t Tooltag = NULL_TAG; //遍历所有刀具tag UF_OBJ_cycle_by_name_and_type(UF_PART_ask_display 阅读全文
posted @ 2020-03-11 17:09 老婆饼里有老婆 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 本文转自https://www.cnblogs.com/zzyfym/p/12119979.html 1 UF_initialize(); 2 3 tag_t setup_tag=NULL_TAG; 4 tag_t mct_root=NULL_TAG; 5 6 logical answer=fals 阅读全文
posted @ 2020-03-11 17:06 老婆饼里有老婆 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1 theDialog->TopBlock()->FindBlock("Dialog")->GetProperties()->SetString("Label", "找体");//dialog标题 2 theDialog->TopBlock()->FindBlock("group0")->GetPr 阅读全文
posted @ 2020-03-08 09:22 老婆饼里有老婆 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1 double XX = expression0->Value(); 2 double YY = expression01->Value(); 3 double ZZ = expression02->Value(); 4 5 UF_initialize(); 6 tag_t ObjectTag = 阅读全文
posted @ 2020-03-07 22:52 老婆饼里有老婆 阅读(217) 评论(0) 推荐(0) 编辑
摘要: //此函数的功能是打印当前坐标系试图的所有坐标系名称 static void geom_list_name(tag_t group_tag) { //ask_member_list int count=0; tag_t *list=NULL; //ask_name char name[UF_OBJ_ 阅读全文
posted @ 2020-03-06 08:20 老婆饼里有老婆 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 #include <uf.h> 2 #include <uf_ui.h> 3 #include <uf_obj.h> 4 #include <uf_modl_primitives.h> 5 #include <uf_csys.h> 6 #include <uf_layer.h> 7 #inclu 阅读全文
posted @ 2020-03-04 22:22 老婆饼里有老婆 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Body *body1(dynamic_cast<Body *>(NXObjectManager::Get(SolidVector[i]))); std::vector<Face*> face = body1->GetFaces();//通过体获得所有面 阅读全文
posted @ 2020-03-04 19:19 老婆饼里有老婆 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1 #include <uf.h> 2 #include <uf_ui.h> 3 #include <uf_part.h> 4 #include <atlstr.h> 5 #include <iostream> 6 #include <sstream> 1 UF_initialize; 2 3 // 阅读全文
posted @ 2020-03-02 23:05 老婆饼里有老婆 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 1 #include <uf.h> 2 #include <uf_part.h> 3 4 void ufusr( char *parm, int *returnCode, int rlen ) 5 { 6 UF_PART_close(UF_PART_ask_display_part(),1,0); 阅读全文
posted @ 2020-03-02 10:29 老婆饼里有老婆 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #include <uf_defs.h> #include <uf_ui_types.h> #include <uf_drf.h> #include <uf_obj.h> #include <uf_part.h> #include <uf.h> #include <uf_modl.h> #inclu 阅读全文
posted @ 2020-02-16 18:33 老婆饼里有老婆 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 案例源代码如下: #include <uf_obj.h> #include <uf_setup.h> #include <uf_ncgroup.h> static logical cycelGenerateCb(tag_t tag, void* data) { logical is_group; c 阅读全文
posted @ 2020-01-23 22:36 老婆饼里有老婆 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma comment(lib,"shell32.lib")2 3 4 ShellExecute(NULL, NULL,"calc.exe", NULL, NULL, SW_SHOWNORMAL); //没有黑框 打开计算器 #define SW_HIDE 0 /*隐藏窗体,并激活另一个 阅读全文
posted @ 2020-01-20 02:05 老婆饼里有老婆 阅读(252) 评论(0) 推荐(0) 编辑
摘要: //CESHI_ARC // Mandatory UF Includes #include "C:\\all_uf.h" #include <uf.h> #include <uf_modl.h> #include <uf_disp.h> #include<vector> // Internal In 阅读全文
posted @ 2020-01-18 14:55 老婆饼里有老婆 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: 1 uf_list_p_t FaceList; 2 UF_MODL_ask_body_faces(ObjectTag, &FaceList); 3 4 5 //获取链表数量 6 int Count; 7 UF_MODL_ask_list_count(FaceList, &Count); 8 9 // 阅读全文
posted @ 2020-01-12 20:13 老婆饼里有老婆 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1 //获取当前的UF_SETUP对象 2 tag_t setupTag = NULL_TAG; 3 UF_SETUP_ask_setup(&setupTag); 4 5 //获取几何的根组 6 tag_t rootGeomGroup = NULL_TAG; 7 UF_SETUP_ask_geom_ 阅读全文
posted @ 2020-01-11 21:43 老婆饼里有老婆 阅读(447) 评论(0) 推荐(0) 编辑
摘要: UF_initialize(); tag_t ObjectTag = NULL_TAG; tag_t view_tag = NULL_TAG; UF_OBJ_disp_props_t disp_props; int Type, SubType, quantity=0; char msg[256]; 阅读全文
posted @ 2019-12-27 10:28 老婆饼里有老婆 阅读(208) 评论(0) 推荐(0) 编辑
摘要: void 隐藏同色() { UF_initialize(); //单选对象对话框 char 提示语[] = "选择对象,隐藏对象同色的所有对象", 对话框title[] = "单选对象隐藏同色", msg[256]; int 选择范围 = UF_UI_SEL_SCOPE_WORK_PART, 响应, 阅读全文
posted @ 2019-12-22 01:46 老婆饼里有老婆 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include <uf.h> #include <uf_ui.h> #include <uf_layer.h> #include <uf_obj.h> #include <uf_object_types.h> #include <uf_defs.h> #include <libufun_expor 阅读全文
posted @ 2019-12-12 12:51 老婆饼里有老婆 阅读(245) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-12-11 19:22 老婆饼里有老婆 阅读(13) 评论(0) 推荐(0) 编辑
摘要: #! NX/KF 5.0 # #******************************************************************************************* # Design: GuiTu # Date : 2017.9.8 # E_mall 阅读全文
posted @ 2019-12-11 19:14 老婆饼里有老婆 阅读(447) 评论(0) 推荐(0) 编辑
摘要: #include <uf.h> #include <uf_object_types.h> #include <uf_modl_primitives.h> #include <uf_modl.h> //创建块 tag_t Block_tag=NULL_TAG; double O1[3]={0,0,0} 阅读全文
posted @ 2019-12-10 14:23 老婆饼里有老婆 阅读(252) 评论(0) 推荐(0) 编辑
摘要: #include <uf_defs.h> #include <uf_ui_types.h> #include <uf.h> #include <uf_ui.h> #include <uf_modl.h> #include <uf_obj.h> #include <uf_modl_primitives 阅读全文
posted @ 2019-12-10 09:39 老婆饼里有老婆 阅读(803) 评论(0) 推荐(0) 编辑
摘要: //获得selection0控件选择的对象 UF_initialize(); std::vector<TaggedObject*>objects=this->selection0->GetProperties()->GetTaggedObjectVector("SelectedObjects"); 阅读全文
posted @ 2019-12-10 08:16 老婆饼里有老婆 阅读(366) 评论(2) 推荐(0) 编辑
摘要: #include <uf.h> #include <uf_modl.h> #include <uf_part.h> #include <uf_modl_primitives.h> #include <uf_object_types.h> #include <uf_CSYS.h> #include < 阅读全文
posted @ 2019-12-09 18:13 老婆饼里有老婆 阅读(772) 评论(0) 推荐(0) 编辑