1、正弦线*AFUN,RAD /PREP7 *do,i,0,100,1 *SET,x,0.1* i *SET,y,sin(0.1*i) k,i+1,x,y *enddo *do,j,1,100,1 l,j,j+1 *enddo
1、正弦线
*AFUN,RAD
/PREP7
*do,i,0,100,1
*SET,x,0.1* i
*SET,y,sin(0.1*i)
k,i+1,x,y
*enddo
*do,j,1,100,1
l,j,j+1
*enddo
2楼
2、次声波
/prep7
*do,i,1,91,1
*set,x,i*0.25
*set,y,cos(i*360*8*0.05)*i*0.05
k,i,x,y
*enddo
*do,j,1,90,5
spline,j,j+1,j+2,j+3,j+4,j+5
*enddo
回复
3楼
3、“波形环线”
/prep7
*do,i,0,100,1
*set,x,50*sin(5*360*i)*i/5
*set,y,50*cos(5*360*i)*i/5
*set,z,10*sin(25*360*i)*i/5
k,i+1,x,y,z
*enddo
*do,j,1,45,5
spline,2*j,2*(j+1),2*(j+2),2*(j+3),2*(j+4),2*(j+5)
*enddo
*do,k,0,45,5
spline,2*k+1,2*k+3,2*k+5,2*k+7,2*k+9,2*k+11
*enddo
splin,92,94,96,98,100
line,1,2
回复
4楼
4、弹簧线
/prep7
*do,i,0,200
*set,x,200*cos(i/4)
*set,y,i*3
*set,z,200*sin(i/4)
k,i+1,x,y,z
*enddo
*do,i,1,194,5
bsplin,i,i+1,i+2,i+3,i+4,i+5
*enddo
bsplin,196,197,198,199,200
kwpave,1
pcirc,20,,0,360
*do,j,1,40,1
vdrag,1+(j-1)*5,,,,,,j
*enddo
回复
5楼
弹簧线2
/prep7
*do,i,0,119
*set,x,(200-i)*cos(i/4)
*set,y,i*3
*set,z,(200-i)*sin(i/4)
k,i+1,x,y,z
*enddo
*do,i,1,114,5
bsplin,i,i+1,i+2,i+3,i+4,i+5
*enddo
bsplin,116,117,118,119,120
kwpave,1
pcirc,20,,0,360
*do,j,1,24,1
vdrag,1+(j-1)*5,,,,,,j
*enddo
回复
6楼
5、星型线
/prep7
*do,i,0,70,1
*set,x,5*(cos(i*360))**3
*set,y,5*(sin(i*360))**3
k,i+1,x,y
*enddo
(连线用鼠标操作)
回复
7楼
6、叶型线
/prep7
*do,i,0,10,1
*set,x,3*10*i/(1+(i**3))
*set,y,3*10*(i**2)/(1+i**3)
k,i+1,x,y
*enddo
spline,2,3,4,5,6,7
spline,7,8,9,10,1
回复
8楼
7、奥运标志
/prep7
*do,i,0,34,1
*set,x,2+(10-5)*cos(i*360*4)+6*cos((10/6-1)*i*360*4)
*set,y,2+(10-5)*sin(i*360*4)-6*sin((10/6-1)*i*360*4)
k,i+1,x,y
*enddo
*do,j,1,5,1
spline,j,j+5,j+10
*enddo
*do,k,15,20,1
spline,k,k+5,k+10
*enddo
*do,m,11,15,1
l,m,m+5
*enddo
spline,1,34,29
spline,2,35,30
spline,3,31,26
spline,4,32,27
spline,5,33,28
回复
9楼
8、“花花” 欢迎大家继续补充!
/prep7
*do,i,0,474,1
*set,x,(8+5*sin(i*6.28*5*5)*i)*cos(i*6.28*5)
*set,y,(8+5*sin(i*6.28*5*5)*i)*sin(i*6.28*5)
k,i+1,x,y
*enddo
*do,j,1,469,5
spline,j,j+1,j+2,j+3,j+4,j+5
*enddo
回复
10楼
好东西,值得学习学习 ,谢谢了
回复
11楼
值得好好学习
回复