Draw a sphere: Difference between revisions

no edit summary
(Undo revision 103805 by Paddy3118 (talk) Frivolous)
No edit summary
Line 8:
units cm # Set the unit of measure
in ball.s sph 0 0 0 3 # Create a sphere of radius 3 cm named ball.s with its centre at 0,0,0 </lang>
 
=={{header|Mathematica}}==
Mathematica has many 3D drawing capabilities. To create a sphere with radius one centered at (0,0,0):
<lang Mathematica>Graphics3D[Sphere[{0,0,0},1]]</lang>
 
=={{header|Openscad}}==
Anonymous user