马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我的代码如下:
其中我已经成功创建了曲线。
int object_count = 1;
UF_MODL_SWEEP_TRIM_object_p_t trim_data = NULL;
char taper_angle = '0';
char *limits[2] ;
char *offsets[2];
char lm_1 = '0';
limits[0] = [$lm_1]
char lm_2 = '3';
limits[1] = [$lm_2]
char of_1 = '0';
offsets[0] = [$of_1]
char of_2 = '0';
offsets[1] = [$of_2]
double region_point[3] = {0.0,0.0,0.0};
logical region_specified = false;
logical solid_creation = false;
double direction[3] = {0.0,0.0,1.0};
UF_FEATURE_SIGN sign = UF_NULLSIGN;
tag_t *ex_features;
int number_of_features;
reEdge =UF_MODL_create_extrusion(&ugcrv_id,object_count,trim_data,
&taper_angle,limits,offsets,region_point,region_specified,s
olid_creation,direction,sign,[$ex_features,&number_of_features)] |