Basic Examples (2)
Basic Examples
(2)
Label the sides of a cube:
In[3]:=
tab={{0,{0,1,0}},{Pi/2,{0,1,0}},{Pi/2,{1,0,0}},{-Pi/2,{1,0,0}},{-Pi/2,{0,1,0}},{Pi,{0,1,0}}};Graphics3DTablePolygon[ToString[n]][[1]].RotationMatrix[tab[[n,1]],tab[[n,2]]],{n,1,6}
Out[4]=
———
Return a 2D polygon for 42:
In[5]:=
GraphicsEdgeForm[Black],Red,["42","2D"]
Out[5]=
Scope (1)
Scope
(1)