选择面进上下拉伸
挤压实例
创造一个30kv挤了由一系列的曲线。该计划允许选择交互的曲线,然后扫他们在zc型轴在距离2。
entity/face_ln,ln(2000),tqfzqx,solid(3)
number/poin(3)
l10:
mask/71
ident/'梅雷提示!请选择面...',face_ln,resp
jump/l10:,end:,,,resp
l20:
$$提取 面的失量方向 x=poin(1),y=poin(2),z=poin(3)
poin=snorf(face_ln,.5,.5)
$$提取 面的边缘曲线
ln=soledg/face_ln,cnt,n
$$ 向上拉伸
solid(1)=solext/ln(1..n),height,5000,axis,poin(1),poin(2),poin(3)
$$ 向下拉伸
solid(2)=solext/ln(1..n),height,-5000,axis,poin(1),poin(2),poin(3)
$$ 缝合
solid(3)=unite/solid(1),with,solid(2)
end:
halt
_____________________________________________________________________________ _
中磊UG二次开发教程 梅雷著 qq1821117007
学UG就上UG网 http://www.9sug.com/
|