11-12.mws

Describe how six identical pipes are joined together symmetrically.

> restart;

> tau:=1:

> with(plots):with(plottools):

Warning, the name changecoords has been redefined

> x:=cos(t):

> y:=sin(t):

> u:=x*tau:

> z:=(1-s)*2+s*u:

> a1:=plot3d([x,y,z],t=-Pi/4..Pi/4,s=0..1,scaling=constrained,grid=[30,8]):

> a2:=rotate(a1,0,0,2*Pi/4):

> a3:=rotate(a1,0,0,4*Pi/4):

> a4:=rotate(a1,0,0,6*Pi/4):

> a:=display(a1,a2,a3,a4):

> b1:=reflect(a,[[0,0,0],[1,0,tau],[1,1,tau]]):

> b2:=rotate(b1,0,0,2*Pi/4):

> c:=display(a,b1,b2):

> cc:=reflect(c,[0,0,0]):

> h:=display(c,cc):

> vrml(h,"c:/87138/ex11/11-12.wrl",background_color=white);

> display(h);

[Maple Plot]

>