摘要: static void do_it(void) { tag_t selectedFace = select_a_face("选择平面"); if (selectedFace == NULL_TAG) { return; } tag_t psid = NULL_TAG; UF_PS_ask_ps_ta 阅读全文
posted @ 2021-10-26 18:05 阿、、呆 阅读(182) 评论(0) 推荐(0)
摘要: //tableView双击事件获取未修改前得值 与 更后单元格数据对比 bool isChange;//是否修改 QString oldString; //未更改值 //双击事件 connect(m_tableView, SIGNAL(doubleClicked(const QModelIndex 阅读全文
posted @ 2021-10-06 17:11 阿、、呆 阅读(2137) 评论(0) 推荐(0)
摘要: 1.由于QT没有mysql动态库,使用时需要配置 2.根据自己编译器安装对应动态mysql库 3.安装目录 4.上述步骤完成,就能操作mysql 1 #include <QApplication> 2 #include <QtSql> 3 4 5 #int main(int argc, char* 阅读全文
posted @ 2021-09-18 15:33 阿、、呆 阅读(235) 评论(2) 推荐(0)
摘要: 1.登录ubuntu服务器 2.在命令行更新安装包:sudo apt-get update 3.安装mysql数据库: sudo apt-get install mysql-server mysql-client 4.安装中,会设定登录mysql密码 5.打开mysql: mysql -u root 阅读全文
posted @ 2021-09-18 14:35 阿、、呆 阅读(408) 评论(0) 推荐(0)
摘要: ` double ask_face_radian(tag_t face) { if(face != NULL_TAG) { double uv[4] = {0}; UF_MODL_ask_face_uv_minmax(face,uv); return (uv[1]-uv[0]); } return 阅读全文
posted @ 2021-07-22 16:17 阿、、呆 阅读(156) 评论(1) 推荐(2)
摘要: 1 #define FaceRules_SingleFace (1 << 0); //单个面 2 #define FaceRules_RegionFaces (1 << 1); //区域面 3 #define FaceRules_TangentFaces (1 << 2); //相切面 4 #def 阅读全文
posted @ 2020-11-29 07:30 阿、、呆 阅读(873) 评论(3) 推荐(0)
摘要: 1 NXOpen::Session *theSession = NXOpen::Session::GetSession(); 2 NXOpen::Part *workPart(theSession->Parts()->Work()); 3 NXOpen::Part *displayPart(theS 阅读全文
posted @ 2020-06-12 10:52 阿、、呆 阅读(339) 评论(1) 推荐(0)
摘要: 1 //特征过多时不建议使用 2 3 4 5 UF_initialize(); 6 7 Session *theSession = Session::GetSession(); //获得Session绘画 8 Part *workPart(theSession->Parts()->Work()); 阅读全文
posted @ 2020-06-09 20:35 阿、、呆 阅读(310) 评论(1) 推荐(0)