iCAx开思网

标题: UG二次开发曲面UV扩展 [打印本页]

作者: guoling167    时间: 2010-10-28 23:08
标题: UG二次开发曲面UV扩展
新手学做一个曲面剪切实体的功能,求教UF_MODL_create_enlarge的用法,请高手详解,我想先将曲面扩展,在剪切掉扩展曲面一边的实体
作者: guoling167    时间: 2010-11-1 21:51
高手快来吧! 1# guoling167
作者: zjs    时间: 2010-11-2 22:45
这是 ugdoc内的,看看应该可以做了
int UF_MODL_create_enlarge
(

tag_t face
int type
char * percent_size [ 4 ]
double tolerance
tag_t * feat_obj_tag

)

tag_t face Input tag of the base face of the enlarged sheet
int type Input enlarge extension type: 0-linear extension; 1-natural extension
char * percent_size [ 4 ]  Input Array of the percent increase for the surface parameters. These are character
pointers to allow for input expressions.
For linear type extensions, the range is from [0, 100], with 0 meaning no increase,
and 100 meaning a 100% increase.
For natural type extensions, the range is from [-99, +100], with -99 meaning a 99%
decrease or shrinkage of the surface, and +100 meaning a 100% increase.

percent_size[0] is the percent for U-min
percent_size[1] is the percent for U-max
percent_size[2] is the percent for V-min
percent_size[3] is the percent for V-max
double tolerance Input Distance tolerance for approximations.
tag_t * feat_obj_tag Output tag of the feature record of the enlarged sheet
作者: guoling167    时间: 2010-11-4 20:42
感谢楼上的函数详细解释,现在遇到一个问题,这个用了后没一点反应,也不扩大,也不报错,将实体的平面萃取出来后(UF_MODL_extract_face),换成片体的tag报错,貌似enlarge函数只能扩大实体的face.还请高手详解,另外请问还有别的方法么,比如先萃取face成片体,然后延伸片体,在缝合,请用过的前辈指点一下。
作者: guoling167    时间: 2010-11-5 23:40
现在已经解决了,是我太急切了,看来路漫漫其修远兮,谢谢大家
作者: zhang0107yue    时间: 2011-12-8 18:21
你好,我遇到你曾经遇到的问题,这个用了后没一点反应,也不扩大,也不报错,我想问下你是怎么解决的?




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3