马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我的问题是我用的时候该命令什么都没做。不知道为什么
void trimed_sheet_prj(tag_t line_t[],tag_t sheet_tag)
{
// tag_t line_t[],工具曲线tag_t sheet_tag,被剪切的曲面
int count_bounding_objects=1;
UF_MODL_trim_object trim_objects[8];
UF_MODL_trim_object_p_t trim_objects_p[8];
double projection_vector[3]={0,0,1};
int point_key=0;
int point_count=1;
double point_coords[3]={3000,3000,2015};
double tolerance=0.0254;
int * number_gap_points;
double ** gap_points;
for(int i=0;i<8;i++)
{
trim_objects_p = [$trim_objects]
}
for(i=0;i<8;i++)
{
trim_objects_p->object_tag = line_t;
trim_objects_p->curve_project_method = 1;
}
UF_MODL_trim_sheet (sheet_tag, count_bounding_objects, trim_objects_p,
projection_vector,0, point_count, point_coords,
tolerance, number_gap_points, gap_points );
} |