08 2020 档案
摘要:函数:UF_MODL_trace_a_ray() 函数说明:打射线,找交点。 用法: 1 #include "Text.h" 2 3 #include <stdio.h> 4 #include <uf.h> 5 #include <uf_part.h> 6 #include <uf_defs.h>
阅读全文
摘要:扫描特征相关函数: 创建扫描特征的相关函数: 1.UF_MODL_create_extrude_trim_opts 拉伸 2.UF_MODL_create_extrude_trim_opts1 拉伸 tag_t * extrude_array, //被拉伸的对象列表 int extrude_coun
阅读全文
摘要:内容包括:1.属相创建2.判断属性是否存在3.读取属性值4.时间属性转换成字符串5.统计属性的数量6.删除指定属性7.删除全部属性 源码: 1 #include <stdlib.h> 2 #include <stdio.h> 3 #include <uf.h> 4 #include <uf_attr
阅读全文
摘要:边拔模函数UF_MODL_create_taper_from_edges()的第一个参数为tag_t类型的矢量,可以使用UF_SO_create_dirr_doubles()来获取。下面是例子 1 #include "Text.h" 2 extern DllExport void ufusr(cha
阅读全文
摘要:UF_CSYS_map_point用来变换点的坐标,比较简单且实用。例如工作坐标系与绝对坐标系转换,一个部件的坐标与另一个部件坐标系之间的转换。下面的例子是在三个坐标下创建三个点相对坐标为{10,50,100}; 下面是UF_CSYS_map_point函数用到的三个坐标系的参数: //根部件的绝对
阅读全文