网站建设及制作,重庆市网站备案材料,网站建设电话销售话术,如何申请网页域名文章作者:里海 来源网站:王牌飞行员_里海_里海NX二次开发3000例,C\C++,Qt-CSDN博客 简介: 下面是在制图模块创建中心线的例子,用的是ufun函数。 效果:
代码:
#include me.hpp#include stdio.h
#include string.h
#include uf.h
代码:
#include "me.hpp"#include stdio.h
#include string.h
#include uf.h
#include uf_ui.h
#include uf_drf.h
#include uf_object_types.hstatic int mask_for_drf_arcs(UF_UI_selection_p_t select, void *type)
{UF_UI_mask_t mask[3] = {{ UF_circle_type, 0, 0 },{UF_solid_type, 0, UF_UI_SEL_FEATURE_CIRCULAR_EDGE },{ UF_section_edge_type, 0, 0 }};if (!(UF_UI_set_sel_mask(select,UF_UI_SEL_MAS