|
最近小弟在尝试着加入二次开发的队伍中来,因为以前有点c语言的底子,所以选择了ugopenapi
% Q: R9 l0 _1 H写了小段代码,实体已经做出无误,但是实体合并始终无法做出,请大家指点。
# J( D' \- x: E2 I& k7 ~
# l, J( w% f: ~/ t0 y/ U8 X+ wdouble mould_dmfb_create_org[3]={0.0,0.0,0.0},fangxiang[3]={0,0,1};( C2 ^) |5 C8 H/ N
char *mould_dmfb_chicun[3]={"100","120","20"},*height="20",,*zhijing="50";" s5 M* L4 E8 x4 |. m- o; q A: T
tag_t fangkuai,,yuanzhu;
+ Q9 Y% Y& B- `8 s* Q7 [ int i_err;/ v/ r! x( K9 c+ P
) m" j: F6 x) s9 {1 x i_err=UF_MODL_create_block1(UF_NULLSIGN,mould_dmfb_create_org,mould_dmfb_chicun,&fangkuai);* N8 X7 W K g9 l; ]3 k
i_err=UF_MODL_create_cyl1(UF_NULLSIGN,mould_dmfb_create_org,height,zhijing,fangxiang,&yuanzhu);' R6 O( E s0 z) L" o: p
i_err=UF_MODL_unite_bodies(fangkuai,yuanzhu);# a5 a6 K5 w; z- I) z* v, n. B) |' N
编译无误1 T& I4 ]! T7 _; i( A$ i- N+ a& k
但是合并实体无法进行7 d6 }8 o' ]9 l
请大家指点 |
|