|
最近小弟在尝试着加入二次开发的队伍中来,因为以前有点c语言的底子,所以选择了ugopenapi7 c& |, R W" [# f
写了小段代码,实体已经做出无误,但是实体合并始终无法做出,请大家指点。! a* u& d w; k$ u4 Q1 i, z$ b0 c
4 F p* g# c1 d5 K" ~double mould_dmfb_create_org[3]={0.0,0.0,0.0},fangxiang[3]={0,0,1};1 t! G q* s& G* n
char *mould_dmfb_chicun[3]={"100","120","20"},*height="20",,*zhijing="50";
' }' _0 E3 [4 M2 s) E$ i, P2 K# W tag_t fangkuai,,yuanzhu;5 l+ t$ N" e; x6 {- A6 H r$ V3 q
int i_err;
/ k$ o3 f) p; I / v0 `3 E& o; J1 u) c: k0 G& x5 Y: R
i_err=UF_MODL_create_block1(UF_NULLSIGN,mould_dmfb_create_org,mould_dmfb_chicun,&fangkuai);- L( p+ w2 d: P! g; h1 R3 B
i_err=UF_MODL_create_cyl1(UF_NULLSIGN,mould_dmfb_create_org,height,zhijing,fangxiang,&yuanzhu);* j+ o$ |, x. f4 Z* ~! x! c
i_err=UF_MODL_unite_bodies(fangkuai,yuanzhu);
. d* \% q- b+ P编译无误. I. ?0 t9 G7 O9 T0 c
但是合并实体无法进行2 _- W1 \4 v7 J3 @/ V+ @& J+ }
请大家指点 |
|