可是我的程序加了下边的一段,执行时出现“memory access voilation".
//CHAMFER
uf_list_p_t edge_list;
tag_t chamfers;
UF_CALL(UF_MODL_ask_body_edges(tCyl1,[$edge_list))]
int subtype = 2;
char *offset1 ="0.5";
char *offset2 ="0.5";
char *theta;
UF_MODL_create_chamfer
(subtype,offset1,offset2,theta,edge_list,[$chamfers)]
UF_CALL(UF_MODL_delete_list([$edge_list))]
} |