登录【网站注册】点击左边“微信账号登陆”图标,微信扫描即自动注册并登陆
搜索
查看: 1845|回复: 0

[交流分享] UG趣味表达式大全,赶紧收藏下来吧

[复制链接]
发表于 2018-9-21 15:53:49 | 显示全部楼层 |阅读模式
天来给大家分享一些UG里的趣味表达式吧!学会表达式的使用,学会表达式的使用,你也能绘制出优美弧线,吾思UG产品设计。



¯双外摆线

b=2.5

l=2.5

t=1

xt=3*b*cos(t*360)+l*cos(3*t*360)

yt=3*b*sin(t*360)+l*sin(3*t*360)



¯星形线

a=5

t=1

xt=a*(cos(360*t))^3

yt=a*(sin(360*t))^3



叶形线

a=10

t=1

xt=3*a*t/(1+(t^3))

yt=3*a*(t^2)/(1+(t^3))



¯螺纹线

t=1

xt=4*cos(t*(5*360))

yt=4*sin(t*(5*360))

zt=6*t



蛇形线

²t=1

xt=2*cos(t*360*3)*t

yt=2*sin(t*360*3)*t

zt=(sqrt(sqrt(sqrt(t))))^3*5

²t=1

r=t*3

theta=t*360*3

zt=sqrt(t)*7

²t=1

rho=360*sqrt(t)*2

theta=t*25

phi=360*t*4



¯双余弦线

t=1

xt=-(9.5*6.5)+t*(9.5*6.5*2)

yt=cos(t*360*6.5)*(6.35/2)-(6.35/2)

zt=cos(t*360*8)*5



¯对数线

t=1

xt=10*t

yt=log(10*t+0.0001)



抛物线

t=1

xt=(4*t)

yt=(3*t)+(5*t^2)



¯勾形线

t=1

xt=(5*(cos(t*360))^3)*t

yt=(5*(sin(t*360))^3)*t



¯次声波

t=1

xt=t*5

yt=cos(t*360*8)*t



正弦波

t=1

xt=5*t*t

yt=sin(t*8*360)*0.5



渐开线

pitch_diameter=10

pressure_angle=20

r=(pitch_diameter/2)*cos(pressure_angle)

t=1

xt=r*cos(90*t*t)+r*(90*t*t)*(pi/180)*sin(90*t*t)

yt=r*sin(90*t*t)-r*(90*t*t)*(pi/180)*cos(90*t*t)



普通外摆线

r=10

t=1

xt=t*(2*pi*r)-sin(t*360)*r

yt=r-cos(t*360)*r



¯小飞机

t=1

xt=cos(t*360)+cos(3*t*360)

yt=sin(t*360)+sin(5*t*360)



¯弯月

t=1

xt=cos(t*360)+cos(2*t*360)

yt=sin(t*360)*2+sin(t*360)*2



¯五角形线

t=1

xt=2+(10-6)*cos(360*4*t)+10*cos((10/6-1)*(360*4*t))

yt=2+(10-6)*sin(360*4*t)-6*sin((10/6-1)*(360*4*t))



¯t=1

xt=2+(10-6)*cos(360*4*t)+10*cos((10/6-1)*(360*4*t))

yt=2+(10-6)*sin(360*4*t)-10*sin((10/6-1)*(360*4*t))



¯t=1

xt=2+(10-2)*cos(360*4*t)+10*cos((10/6-1)*(360*4*t))

yt=2+(10-2)*sin(360*4*t)-10*sin((10/6-1)*(360*4*t))



¯t=1

xt=0.5+(10-6)*cos(360*5*t)+10*cos((6/10-1)*(360*5*t))

yt=0.5+(10-6)*sin(360*5*t)-10*sin((6/10-1)*(360*5*t))



热带鱼

a=5

t=1

xt=(a*(cos(t*360*3))^4)*t

yt=(a*(sin(t*360*3))^4)*t



双蝴蝶线

t=1

theta=t*360+90

r=cos(360*t*5)*3+0.5

zt=cos(360*t*3)*3



天蚕丝

t=1

theta=t*3600

r=(cos(360*t*20)*0.5*t+1)*t



人民币

t=1

theta=-t*360+180

r=cos(360*(t/(1+t^6))*6)*3+5



t=1

rho=360*t*10

theta=360*t*20

phi=360*t*5



球面螺旋线

t=1

rho=4

theta=t*180

phi=t*360*12



蝴蝶线

t=1

rho=8*t

=360*t*4

phi=360*t*8



t=1

rho=3*t

theta=360*t*5

phi=360*t*2.5



t=1

rho=8*t

theta=360*t*4

phi=360*t*4


3.jpeg

【温馨提示】技术问题请优先发到问答专栏,优胜教师团队将及时回复,谢谢!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


快速回复 返回顶部 返回列表